mirror of https://github.com/buggins/dlangide.git
add Spanish translation
This commit is contained in:
parent
d22c68bdc3
commit
87f12a9435
|
@ -8,7 +8,7 @@ import dlangui.dialogs.settingsdialog;
|
|||
|
||||
|
||||
const AVAILABLE_THEMES = ["ide_theme_default", "ide_theme_dark"];
|
||||
const AVAILABLE_LANGUAGES = ["en", "ru"];
|
||||
const AVAILABLE_LANGUAGES = ["en", "ru", "es"];
|
||||
|
||||
class IDESettings : SettingsFile {
|
||||
|
||||
|
@ -146,7 +146,10 @@ SettingsPage createSettingsPages() {
|
|||
ui.addStringComboBox("interface/theme", UIString("Theme"d), [
|
||||
StringListValue("ide_theme_default", "Default"d),
|
||||
StringListValue("ide_theme_dark", "Dark"d)]);
|
||||
ui.addStringComboBox("interface/language", UIString("Language"d), [StringListValue("en", "English"d), StringListValue("ru", "Russian"d)]);
|
||||
ui.addStringComboBox("interface/language", UIString("Language"d), [
|
||||
StringListValue("en", "English"d),
|
||||
StringListValue("ru", "Russian"d),
|
||||
StringListValue("es", "Spanish"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)]);
|
||||
ui.addIntComboBox("interface/minAntialiasedFontSize", UIString("Minimum font size for antialiasing"d),
|
||||
|
|
|
@ -2,6 +2,7 @@ res/ide_theme_default.xml
|
|||
res/ide_theme_dark.xml
|
||||
res/i18n/en.ini
|
||||
res/i18n/ru.ini
|
||||
res/i18n/es.ini
|
||||
res/hdpi/hdpi_configure.png
|
||||
res/hdpi/hdpi_debug-run.png
|
||||
res/hdpi/hdpi_document-close.png
|
||||
|
|
Loading…
Reference in New Issue