add czech language support ; needs to complete

This commit is contained in:
theokeist 2016-02-22 21:32:42 +01:00
parent 89b7dd40b2
commit ec21b3e55c
7 changed files with 107 additions and 2 deletions

View File

@ -21,7 +21,8 @@ SettingsPage createSettingsPages() {
ui.addStringComboBox("interface/language", UIString("Language"d), [ ui.addStringComboBox("interface/language", UIString("Language"d), [
StringListValue("en", "English"d), StringListValue("en", "English"d),
StringListValue("ru", "Russian"d), StringListValue("ru", "Russian"d),
StringListValue("es", "Spanish"d)]); StringListValue("es", "Spanish"d),
StringListValue("cs", "Čeština"d)]);
ui.addIntComboBox("interface/hintingMode", UIString("Font hinting mode"d), [StringListValue(0, "Normal"d), StringListValue(1, "Force Auto Hint"d), ui.addIntComboBox("interface/hintingMode", UIString("Font hinting mode"d), [StringListValue(0, "Normal"d), StringListValue(1, "Force Auto Hint"d),
StringListValue(2, "Disabled"d), StringListValue(3, "Light"d)]); StringListValue(2, "Disabled"d), StringListValue(3, "Light"d)]);
ui.addIntComboBox("interface/minAntialiasedFontSize", UIString("Minimum font size for antialiasing"d), ui.addIntComboBox("interface/minAntialiasedFontSize", UIString("Minimum font size for antialiasing"d),

View File

@ -5,7 +5,7 @@ import dlangui.core.i18n;
import dlangui.graphics.fonts; import dlangui.graphics.fonts;
const AVAILABLE_THEMES = ["ide_theme_default", "ide_theme_dark"]; const AVAILABLE_THEMES = ["ide_theme_default", "ide_theme_dark"];
const AVAILABLE_LANGUAGES = ["en", "ru", "es"]; const AVAILABLE_LANGUAGES = ["en", "ru", "es", "cs"];
class IDESettings : SettingsFile { class IDESettings : SettingsFile {

98
views/res/i18n/cs.ini Normal file
View File

@ -0,0 +1,98 @@
EXIT=Zavřít
MENU_FILE=&Soubor
MENU_FILE_NEW=&Vytvořit
MENU_FILE_NEW_SOURCE_FILE=Nový soubor
MENU_FILE_NEW_PROJECT=Nový projekt
MENU_FILE_NEW_WORKSPACE=Nové pracovní prostředí
MENU_FILE_OPEN=&Otevřít soubor...
MENU_FILE_OPEN_WORKSPACE=Otevřít projekt nebo pracovní prostřeí...
MENU_FILE_OPEN_RECENT=Open recent
MENU_FILE_SAVE=&Uložit soubor
MENU_FILE_SAVE_AS=&Uložit soubor jako...
MENU_FILE_SAVE_ALL=&Uložit vše
MENU_FILE_WORKSPACE_CLOSE=Zavřít pracovní prostředí
MENU_FILE_EXIT=E&xit
MENU_EDIT=&Edit
MENU_EDIT_COPY=&Kopírovat
MENU_EDIT_PASTE=&Vložit
MENU_EDIT_CUT=Cu&t
MENU_EDIT_UNDO=&Undo
MENU_EDIT_REDO=&Redo
MENU_EDIT_INDENT=Odsadit blok
MENU_EDIT_UNINDENT=Unindent block
MENU_EDIT_TOGGLE_LINE_COMMENT=Toggle line comment
MENU_EDIT_TOGGLE_BLOCK_COMMENT=Toggle block comment
MENU_EDIT_ADVANCED=Pokročilé...
MENU_EDIT_PREFERENCES=&Nastavení
MENU_PROJECT=&Projekt
MENU_PROJECT_CONFIGURATIONS=Konfigurace projektu
MENU_PROJECT_SET_AS_STARTUP=Set as startup project
MENU_PROJECT_SETTINGS=Nastavení projektu
MENU_PROJECT_REFRESH=Obnovit položku pracovního prostředí
MENU_PROJECT_UPDATE_DEPENDENCIES=Upgradovat závislosti
MENU_NAVIGATE=&Navigovat
GO_TO_DEFINITION=Přejít na definici
SHOW_COMPLETIONS=Get autocompletions
SHOW_DOC_COMMENTS=Ukázat dokumentaci
SHOW_PAREN_COMPLETION=Call hints
FIND_IN_FILES=Najít v souborech...
MENU_BUILD_CONFIGURATIONS=Sestavit konfiguraci
MENU_BUILD=&Sestavit
MENU_BUILD_WORKSPACE_BUILD=Sestavit pracovní prostředí
MENU_BUILD_WORKSPACE_REBUILD=Přestavět pracovní prostředí
MENU_BUILD_WORKSPACE_CLEAN=Vyčistit pracovní prostředí
MENU_BUILD_PROJECT_BUILD=Sestavit projekt
MENU_BUILD_PROJECT_REBUILD=Přestavět projekt
MENU_BUILD_PROJECT_CLEAN=Vyčistit projekt
MENU_BUILD_RUN_WITH_RDMD=Spustit s rdmd
MENU_DEBUG=&Debug
MENU_DEBUG_START_DEBUGGING=Začít ladění
MENU_DEBUG_START_NO_DEBUGGING=Začít bez ladění
MENU_DEBUG_CONTINUE=Pokračovat v ladění
MENU_DEBUG_STOP=Stop
MENU_DEBUG_PAUSE=Pauza
MENU_DEBUG_RESTART=Restart
MENU_DEBUG_STEP_INTO=Step into
MENU_DEBUG_STEP_OVER=Step over
MENU_DEBUG_STEP_OUT=Step out
MENU_DEBUG_BREAKPOINT_TOGGLE=Toggle breakpoint
MENU_DEBUG_BREAKPOINT_ENABLE=Enable breakpoint
MENU_DEBUG_BREAKPOINT_DISABLE=Disable breakpoint
MENU_WINDOW=&Okno
MENU_WINDOW_PREFERENCES=&Nastavení
MENU_WINDOW_CLOSE_DOCUMENT=Zavřít dokument
MENU_WINDOW_CLOSE_ALL_DOCUMENTS=Zavřít všechny dokumenty
MENU_HELP=&Pomoc
MENU_HELP_VIEW_HELP=&Zobrazit pomoc
MENU_HELP_ABOUT=&O projektu
MENU_VIEW=&Zobrazit
MENU_VIEW_LANGUAGE=Rozhraní &Jazyk
MENU_VIEW_LANGUAGE_EN=English
MENU_VIEW_LANGUAGE_RU=Русский
MENU_VIEW_LANGUAGE_CS=Čeština
MENU_VIEW_LANGUAGE_ES=Spanish
MENU_VIEW_THEME=&Téma
MENU_VIEW_THEME_DEFAULT=&Default
MENU_VIEW_THEME_CUSTOM1=&Custom 1
TAB_LONG_LIST=Long list
TAB_BUTTONS=Tlačítka
TAB_ANIMATION=Animace
TAB_TABLE_LAYOUT=Table layout
TAB_EDITORS=Editor
MENU_PROJECT_FOLDER_ADD_ITEM=Přidat...
MENU_PROJECT_FOLDER_OPEN_ITEM=Otevřít
MENU_PROJECT_FOLDER_REMOVE_ITEM=Odebrat
MENU_PROJECT_FOLDER_RENAME_ITEM=Přejmenovat...
MENU_PROJECT_FOLDER_REFRESH=Obnovit
MENU_PROJECT_REVEAL_IN_EXPLORER=Reveal in Explorer

View File

@ -78,6 +78,8 @@ MENU_VIEW=&View
MENU_VIEW_LANGUAGE=Interface &Language MENU_VIEW_LANGUAGE=Interface &Language
MENU_VIEW_LANGUAGE_EN=English MENU_VIEW_LANGUAGE_EN=English
MENU_VIEW_LANGUAGE_RU=Русский MENU_VIEW_LANGUAGE_RU=Русский
MENU_VIEW_LANGUAGE_CS=Čeština
MENU_VIEW_LANGUAGE_ES=Spanish
MENU_VIEW_THEME=&Theme MENU_VIEW_THEME=&Theme
MENU_VIEW_THEME_DEFAULT=&Default MENU_VIEW_THEME_DEFAULT=&Default
MENU_VIEW_THEME_CUSTOM1=&Custom 1 MENU_VIEW_THEME_CUSTOM1=&Custom 1

View File

@ -48,6 +48,7 @@ MENU_VIEW_LANGUAGE=Lenguaje de &Interfaz
MENU_VIEW_LANGUAGE_ES=Spanish MENU_VIEW_LANGUAGE_ES=Spanish
MENU_VIEW_LANGUAGE_EN=English MENU_VIEW_LANGUAGE_EN=English
MENU_VIEW_LANGUAGE_RU=Русский MENU_VIEW_LANGUAGE_RU=Русский
MENU_VIEW_LANGUAGE_CS=Čeština
MENU_VIEW_THEME=&Tema MENU_VIEW_THEME=&Tema
MENU_VIEW_THEME_DEFAULT=&Por Defecto MENU_VIEW_THEME_DEFAULT=&Por Defecto
MENU_VIEW_THEME_CUSTOM1=&Personalizado 1 MENU_VIEW_THEME_CUSTOM1=&Personalizado 1

View File

@ -60,8 +60,10 @@ MENU_HELP_ABOUT=&О программе
MENU_VIEW=&Вид MENU_VIEW=&Вид
MENU_VIEW_LANGUAGE=&Язык интерфейса MENU_VIEW_LANGUAGE=&Язык интерфейса
MENU_VIEW_LANGUAGE_ES=Spanish
MENU_VIEW_LANGUAGE_EN=English MENU_VIEW_LANGUAGE_EN=English
MENU_VIEW_LANGUAGE_RU=Русский MENU_VIEW_LANGUAGE_RU=Русский
MENU_VIEW_LANGUAGE_CS=Čeština
MENU_VIEW_THEME=&Тема MENU_VIEW_THEME=&Тема
MENU_VIEW_THEME_DEFAULT=Стандартная MENU_VIEW_THEME_DEFAULT=Стандартная
MENU_VIEW_THEME_CUSTOM1=Пример 1 MENU_VIEW_THEME_CUSTOM1=Пример 1

View File

@ -3,6 +3,7 @@ res/ide_theme_dark.xml
res/i18n/en.ini res/i18n/en.ini
res/i18n/ru.ini res/i18n/ru.ini
res/i18n/es.ini res/i18n/es.ini
res/i18n/cs.ini
res/hdpi/hdpi_configure.png res/hdpi/hdpi_configure.png
res/hdpi/hdpi_debug-run.png res/hdpi/hdpi_debug-run.png
res/hdpi/hdpi_document-close.png res/hdpi/hdpi_document-close.png