diff --git a/android/vcmi-app/src/main/java/eu/vcmi/vcmi/settings/LanguageSettingDialog.java b/android/vcmi-app/src/main/java/eu/vcmi/vcmi/settings/LanguageSettingDialog.java index 1fb5e8894..98bbcd9b2 100644 --- a/android/vcmi-app/src/main/java/eu/vcmi/vcmi/settings/LanguageSettingDialog.java +++ b/android/vcmi-app/src/main/java/eu/vcmi/vcmi/settings/LanguageSettingDialog.java @@ -15,13 +15,20 @@ public class LanguageSettingDialog extends LauncherSettingDialog static { AVAILABLE_LANGUAGES.add("english"); + AVAILABLE_LANGUAGES.add("czech"); AVAILABLE_LANGUAGES.add("chinese"); + AVAILABLE_LANGUAGES.add("finnish"); AVAILABLE_LANGUAGES.add("french"); AVAILABLE_LANGUAGES.add("german"); + AVAILABLE_LANGUAGES.add("hungarian"); + AVAILABLE_LANGUAGES.add("italian"); AVAILABLE_LANGUAGES.add("korean"); AVAILABLE_LANGUAGES.add("polish"); + AVAILABLE_LANGUAGES.add("portuguese"); AVAILABLE_LANGUAGES.add("russian"); AVAILABLE_LANGUAGES.add("spanish"); + AVAILABLE_LANGUAGES.add("swedish"); + AVAILABLE_LANGUAGES.add("turkish"); AVAILABLE_LANGUAGES.add("ukrainian"); AVAILABLE_LANGUAGES.add("other_cp1250"); AVAILABLE_LANGUAGES.add("other_cp1251"); diff --git a/config/schemas/mod.json b/config/schemas/mod.json index 10621db8f..9c0d5b4e3 100644 --- a/config/schemas/mod.json +++ b/config/schemas/mod.json @@ -153,7 +153,7 @@ "language" : { "type" : "string", "description" : "Base language of the mod, before applying localizations. By default vcmi assumes English", - "enum" : [ "czech", "chinese", "english", "french", "german", "hungarian", "italian", "korean", "polish", "russian", "spanish", "ukrainian" ] + "enum" : [ "czech", "chinese", "english", "finnish", "french", "german", "hungarian", "italian", "korean", "polish", "portuguese", "russian", "spanish", "swedish", "turkish", "ukrainian" ] }, "czech" : { "$ref" : "#/definitions/localizable" @@ -164,6 +164,9 @@ "english" : { "$ref" : "#/definitions/localizable" }, + "finnish" : { + "$ref" : "#/definitions/localizable" + }, "french" : { "$ref" : "#/definitions/localizable" }, @@ -182,12 +185,21 @@ "polish" : { "$ref" : "#/definitions/localizable" }, + "portuguese" : { + "$ref" : "#/definitions/localizable" + }, "russian" : { "$ref" : "#/definitions/localizable" }, "spanish" : { "$ref" : "#/definitions/localizable" }, + "swedish" : { + "$ref" : "#/definitions/localizable" + }, + "turkish" : { + "$ref" : "#/definitions/localizable" + }, "ukrainian" : { "$ref" : "#/definitions/localizable" }, diff --git a/config/schemas/settings.json b/config/schemas/settings.json index b3dbd1651..a712c7f95 100644 --- a/config/schemas/settings.json +++ b/config/schemas/settings.json @@ -59,12 +59,12 @@ }, "language" : { "type" : "string", - "enum" : [ "english", "czech", "chinese", "french", "german", "hungarian", "italian", "korean", "polish", "russian", "spanish", "ukrainian" ], + "enum" : [ "english", "czech", "chinese", "finnish", "french", "german", "hungarian", "italian", "korean", "polish", "portuguese", "russian", "spanish", "swedish", "turkish", "ukrainian" ], "default" : "english" }, "gameDataLanguage" : { "type" : "string", - "enum" : [ "auto", "english", "czech", "chinese", "french", "german", "hungarian", "italian", "korean", "polish", "russian", "spanish", "ukrainian", "other_cp1250", "other_cp1251", "other_cp1252" ], + "enum" : [ "auto", "english", "czech", "chinese", "finnish", "french", "german", "hungarian", "italian", "korean", "polish", "portuguese", "russian", "spanish", "swedish", "turkish", "ukrainian", "other_cp1250", "other_cp1251", "other_cp1252" ], "default" : "auto" }, "lastSave" : {