mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
add romanian and bulgarian
This commit is contained in:
@@ -567,6 +567,7 @@ FunctionEnd
|
|||||||
;Languages
|
;Languages
|
||||||
|
|
||||||
!insertmacro MUI_LANGUAGE "English" ;first language is the default language
|
!insertmacro MUI_LANGUAGE "English" ;first language is the default language
|
||||||
|
!insertmacro MUI_LANGUAGE "Bulgarian"
|
||||||
!insertmacro MUI_LANGUAGE "Czech"
|
!insertmacro MUI_LANGUAGE "Czech"
|
||||||
!insertmacro MUI_LANGUAGE "SimpChinese"
|
!insertmacro MUI_LANGUAGE "SimpChinese"
|
||||||
!insertmacro MUI_LANGUAGE "Finnish"
|
!insertmacro MUI_LANGUAGE "Finnish"
|
||||||
@@ -580,6 +581,7 @@ FunctionEnd
|
|||||||
!insertmacro MUI_LANGUAGE "Norwegian"
|
!insertmacro MUI_LANGUAGE "Norwegian"
|
||||||
!insertmacro MUI_LANGUAGE "Polish"
|
!insertmacro MUI_LANGUAGE "Polish"
|
||||||
!insertmacro MUI_LANGUAGE "Portuguese"
|
!insertmacro MUI_LANGUAGE "Portuguese"
|
||||||
|
!insertmacro MUI_LANGUAGE "Romanian"
|
||||||
!insertmacro MUI_LANGUAGE "Russian"
|
!insertmacro MUI_LANGUAGE "Russian"
|
||||||
!insertmacro MUI_LANGUAGE "Spanish"
|
!insertmacro MUI_LANGUAGE "Spanish"
|
||||||
!insertmacro MUI_LANGUAGE "Swedish"
|
!insertmacro MUI_LANGUAGE "Swedish"
|
||||||
@@ -593,7 +595,6 @@ FunctionEnd
|
|||||||
;!insertmacro MUI_LANGUAGE "Belarusian"
|
;!insertmacro MUI_LANGUAGE "Belarusian"
|
||||||
;!insertmacro MUI_LANGUAGE "Bosnian"
|
;!insertmacro MUI_LANGUAGE "Bosnian"
|
||||||
;!insertmacro MUI_LANGUAGE "Breton"
|
;!insertmacro MUI_LANGUAGE "Breton"
|
||||||
;!insertmacro MUI_LANGUAGE "Bulgarian"
|
|
||||||
;!insertmacro MUI_LANGUAGE "Croatian"
|
;!insertmacro MUI_LANGUAGE "Croatian"
|
||||||
;!insertmacro MUI_LANGUAGE "Danish"
|
;!insertmacro MUI_LANGUAGE "Danish"
|
||||||
;!insertmacro MUI_LANGUAGE "Dutch"
|
;!insertmacro MUI_LANGUAGE "Dutch"
|
||||||
@@ -611,7 +612,6 @@ FunctionEnd
|
|||||||
;!insertmacro MUI_LANGUAGE "Malay"
|
;!insertmacro MUI_LANGUAGE "Malay"
|
||||||
;!insertmacro MUI_LANGUAGE "Mongolian"
|
;!insertmacro MUI_LANGUAGE "Mongolian"
|
||||||
;!insertmacro MUI_LANGUAGE "PortugueseBR"
|
;!insertmacro MUI_LANGUAGE "PortugueseBR"
|
||||||
;!insertmacro MUI_LANGUAGE "Romanian"
|
|
||||||
;!insertmacro MUI_LANGUAGE "Serbian"
|
;!insertmacro MUI_LANGUAGE "Serbian"
|
||||||
;!insertmacro MUI_LANGUAGE "SerbianLatin"
|
;!insertmacro MUI_LANGUAGE "SerbianLatin"
|
||||||
;!insertmacro MUI_LANGUAGE "Slovak"
|
;!insertmacro MUI_LANGUAGE "Slovak"
|
||||||
|
|||||||
3
Mods/vcmi/Content/config/bulgarian.json
Normal file
3
Mods/vcmi/Content/config/bulgarian.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
3
Mods/vcmi/Content/config/romanian.json
Normal file
3
Mods/vcmi/Content/config/romanian.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
@@ -10,9 +10,21 @@
|
|||||||
"creatures" : [ "config/towerCreature" ],
|
"creatures" : [ "config/towerCreature" ],
|
||||||
"spells" : [ "config/spells" ],
|
"spells" : [ "config/spells" ],
|
||||||
|
|
||||||
|
"bulgarian" : {
|
||||||
|
"name" : "Основни файлове на VCMI",
|
||||||
|
"description" : "Основни файлове, необходими за правилното функциониране на VCMI",
|
||||||
|
"author" : "Екип на VCMI",
|
||||||
|
|
||||||
|
"skipValidation" : true,
|
||||||
|
"translations" : [
|
||||||
|
"config/bulgarian.json"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
"czech" : {
|
"czech" : {
|
||||||
"name" : "Nezbytné soubory VCMI",
|
"name" : "Nezbytné soubory VCMI",
|
||||||
"description" : "Nezbytné soubory pro správný běh VCMI",
|
"description" : "Nezbytné soubory pro správný běh VCMI",
|
||||||
|
"author" : "Tým VCMI",
|
||||||
|
|
||||||
"skipValidation" : true,
|
"skipValidation" : true,
|
||||||
"translations" : [
|
"translations" : [
|
||||||
@@ -21,8 +33,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"chinese" : {
|
"chinese" : {
|
||||||
"name" : "VCMI essential files",
|
"name" : "VCMI 基本檔案",
|
||||||
"description" : "Essential files required for VCMI to run correctly",
|
"description" : "VCMI 正確執行所需的基本檔案",
|
||||||
|
"author" : "VCMI 團隊",
|
||||||
|
|
||||||
"skipValidation" : true,
|
"skipValidation" : true,
|
||||||
"translations" : [
|
"translations" : [
|
||||||
@@ -150,6 +163,17 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"romanian" : {
|
||||||
|
"name" : "Fișiere esențiale VCMI",
|
||||||
|
"description" : "Fișiere esențiale necesare pentru ca VCMI să funcționeze corect",
|
||||||
|
"author" : "Echipa VCMI",
|
||||||
|
|
||||||
|
"skipValidation" : true,
|
||||||
|
"translations" : [
|
||||||
|
"config/romanian.json"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
"russian" : {
|
"russian" : {
|
||||||
"name" : "Ключевые файлы VCMI",
|
"name" : "Ключевые файлы VCMI",
|
||||||
"description" : "Файлы, необходимые для полноценной работы VCMI",
|
"description" : "Файлы, необходимые для полноценной работы VCMI",
|
||||||
|
|||||||
@@ -175,7 +175,10 @@
|
|||||||
"language" : {
|
"language" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"description" : "Base language of the mod, before applying localizations. By default vcmi assumes English",
|
"description" : "Base language of the mod, before applying localizations. By default vcmi assumes English",
|
||||||
"enum" : [ "czech", "chinese", "english", "finnish", "french", "german", "greek", "hungarian", "italian", "japanese", "korean", "norwegian", "polish", "portuguese", "russian", "spanish", "swedish", "turkish", "ukrainian", "vietnamese" ]
|
"enum" : [ "bulgarian", "czech", "chinese", "english", "finnish", "french", "german", "greek", "hungarian", "italian", "japanese", "korean", "norwegian", "polish", "portuguese", "romanian", "russian", "spanish", "swedish", "turkish", "ukrainian", "vietnamese" ]
|
||||||
|
},
|
||||||
|
"bulgarian" : {
|
||||||
|
"$ref" : "#/definitions/localizable"
|
||||||
},
|
},
|
||||||
"czech" : {
|
"czech" : {
|
||||||
"$ref" : "#/definitions/localizable"
|
"$ref" : "#/definitions/localizable"
|
||||||
@@ -219,6 +222,9 @@
|
|||||||
"portuguese" : {
|
"portuguese" : {
|
||||||
"$ref" : "#/definitions/localizable"
|
"$ref" : "#/definitions/localizable"
|
||||||
},
|
},
|
||||||
|
"romanian" : {
|
||||||
|
"$ref" : "#/definitions/localizable"
|
||||||
|
},
|
||||||
"russian" : {
|
"russian" : {
|
||||||
"$ref" : "#/definitions/localizable"
|
"$ref" : "#/definitions/localizable"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -73,12 +73,12 @@
|
|||||||
},
|
},
|
||||||
"language" : {
|
"language" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"enum" : [ "english", "czech", "chinese", "finnish", "french", "german", "greek", "hungarian", "italian", "japanese", "korean", "norwegian", "polish", "portuguese", "russian", "spanish", "swedish", "turkish", "ukrainian", "vietnamese" ],
|
"enum" : [ "english", "bulgarian", "czech", "chinese", "finnish", "french", "german", "greek", "hungarian", "italian", "japanese", "korean", "norwegian", "polish", "portuguese", "romanian", "russian", "spanish", "swedish", "turkish", "ukrainian", "vietnamese" ],
|
||||||
"default" : "english"
|
"default" : "english"
|
||||||
},
|
},
|
||||||
"gameDataLanguage" : {
|
"gameDataLanguage" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"enum" : [ "auto", "english", "czech", "chinese", "finnish", "french", "german", "greek", "hungarian", "italian", "japanese", "korean", "norwegian", "polish", "portuguese", "russian", "spanish", "swedish", "turkish", "ukrainian", "vietnamese" ],
|
"enum" : [ "auto", "english", "bulgarian", "czech", "chinese", "finnish", "french", "german", "greek", "hungarian", "italian", "japanese", "korean", "norwegian", "polish", "portuguese", "romanian", "russian", "spanish", "swedish", "turkish", "ukrainian", "vietnamese" ],
|
||||||
"default" : "auto"
|
"default" : "auto"
|
||||||
},
|
},
|
||||||
"lastSave" : {
|
"lastSave" : {
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
This is list of all languages that are currently supported by VCMI. If your languages is missing from the list and you wish to translate VCMI - please contact our team and we'll add support for your language in next release.
|
This is list of all languages that are currently supported by VCMI. If your languages is missing from the list and you wish to translate VCMI - please contact our team and we'll add support for your language in next release.
|
||||||
|
|
||||||
|
- Bulgarian
|
||||||
- Czech
|
- Czech
|
||||||
- Chinese (Simplified)
|
- Chinese (Simplified)
|
||||||
- English
|
- English
|
||||||
@@ -18,6 +19,7 @@ This is list of all languages that are currently supported by VCMI. If your lang
|
|||||||
- Norwegian
|
- Norwegian
|
||||||
- Polish
|
- Polish
|
||||||
- Portuguese (Brazilian)
|
- Portuguese (Brazilian)
|
||||||
|
- Romanian
|
||||||
- Russian
|
- Russian
|
||||||
- Spanish
|
- Spanish
|
||||||
- Swedish
|
- Swedish
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ set(launcher_RESOURCES
|
|||||||
|
|
||||||
set(translationsDir "translation")
|
set(translationsDir "translation")
|
||||||
set(launcher_TS
|
set(launcher_TS
|
||||||
|
"${translationsDir}/bulgarian.ts"
|
||||||
"${translationsDir}/chinese.ts"
|
"${translationsDir}/chinese.ts"
|
||||||
"${translationsDir}/czech.ts"
|
"${translationsDir}/czech.ts"
|
||||||
"${translationsDir}/english.ts"
|
"${translationsDir}/english.ts"
|
||||||
@@ -88,6 +89,7 @@ set(launcher_TS
|
|||||||
"${translationsDir}/norwegian.ts"
|
"${translationsDir}/norwegian.ts"
|
||||||
"${translationsDir}/polish.ts"
|
"${translationsDir}/polish.ts"
|
||||||
"${translationsDir}/portuguese.ts"
|
"${translationsDir}/portuguese.ts"
|
||||||
|
"${translationsDir}/romanian.ts"
|
||||||
"${translationsDir}/russian.ts"
|
"${translationsDir}/russian.ts"
|
||||||
"${translationsDir}/spanish.ts"
|
"${translationsDir}/spanish.ts"
|
||||||
"${translationsDir}/swedish.ts"
|
"${translationsDir}/swedish.ts"
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
// list of language names, for generation of translations. Do not use directly, use Languages namespace instead
|
// list of language names, for generation of translations. Do not use directly, use Languages namespace instead
|
||||||
static const std::array<std::string, 20> languageTranslatedNamesGenerator = {
|
static const std::array<std::string, 20> languageTranslatedNamesGenerator = {
|
||||||
{
|
{
|
||||||
|
QT_TRANSLATE_NOOP("Language", "Bulgarian"),
|
||||||
QT_TRANSLATE_NOOP("Language", "Czech"),
|
QT_TRANSLATE_NOOP("Language", "Czech"),
|
||||||
QT_TRANSLATE_NOOP("Language", "Chinese"),
|
QT_TRANSLATE_NOOP("Language", "Chinese"),
|
||||||
QT_TRANSLATE_NOOP("Language", "English"),
|
QT_TRANSLATE_NOOP("Language", "English"),
|
||||||
@@ -34,6 +35,7 @@ static const std::array<std::string, 20> languageTranslatedNamesGenerator = {
|
|||||||
QT_TRANSLATE_NOOP("Language", "Norwegian"),
|
QT_TRANSLATE_NOOP("Language", "Norwegian"),
|
||||||
QT_TRANSLATE_NOOP("Language", "Polish"),
|
QT_TRANSLATE_NOOP("Language", "Polish"),
|
||||||
QT_TRANSLATE_NOOP("Language", "Portuguese"),
|
QT_TRANSLATE_NOOP("Language", "Portuguese"),
|
||||||
|
QT_TRANSLATE_NOOP("Language", "Romanian"),
|
||||||
QT_TRANSLATE_NOOP("Language", "Russian"),
|
QT_TRANSLATE_NOOP("Language", "Russian"),
|
||||||
QT_TRANSLATE_NOOP("Language", "Spanish"),
|
QT_TRANSLATE_NOOP("Language", "Spanish"),
|
||||||
QT_TRANSLATE_NOOP("Language", "Swedish"),
|
QT_TRANSLATE_NOOP("Language", "Swedish"),
|
||||||
|
|||||||
1855
launcher/translation/bulgarian.ts
Normal file
1855
launcher/translation/bulgarian.ts
Normal file
File diff suppressed because it is too large
Load Diff
1855
launcher/translation/romanian.ts
Normal file
1855
launcher/translation/romanian.ts
Normal file
File diff suppressed because it is too large
Load Diff
@@ -25,6 +25,7 @@ enum class EPluralForms
|
|||||||
|
|
||||||
enum class ELanguages
|
enum class ELanguages
|
||||||
{
|
{
|
||||||
|
BULGARIAN,
|
||||||
CZECH,
|
CZECH,
|
||||||
CHINESE,
|
CHINESE,
|
||||||
ENGLISH,
|
ENGLISH,
|
||||||
@@ -39,6 +40,7 @@ enum class ELanguages
|
|||||||
NORWEGIAN,
|
NORWEGIAN,
|
||||||
POLISH,
|
POLISH,
|
||||||
PORTUGUESE,
|
PORTUGUESE,
|
||||||
|
ROMANIAN,
|
||||||
RUSSIAN,
|
RUSSIAN,
|
||||||
SPANISH,
|
SPANISH,
|
||||||
SWEDISH,
|
SWEDISH,
|
||||||
@@ -83,6 +85,7 @@ inline const auto & getLanguageList()
|
|||||||
{
|
{
|
||||||
static const std::array<Options, 20> languages
|
static const std::array<Options, 20> languages
|
||||||
{ {
|
{ {
|
||||||
|
{ "bulgarian", "Bulgarian", "Български", "CP1251", "bg", "bul", "%d.%m.%Y %H:%M", EPluralForms::EN_2, true },
|
||||||
{ "czech", "Czech", "Čeština", "CP1250", "cs", "cze", "%d.%m.%Y %H:%M", EPluralForms::CZ_3, true },
|
{ "czech", "Czech", "Čeština", "CP1250", "cs", "cze", "%d.%m.%Y %H:%M", EPluralForms::CZ_3, true },
|
||||||
{ "chinese", "Chinese", "简体中文", "GBK", "zh", "chi", "%Y-%m-%d %H:%M", EPluralForms::VI_1, true }, // Note: actually Simplified Chinese
|
{ "chinese", "Chinese", "简体中文", "GBK", "zh", "chi", "%Y-%m-%d %H:%M", EPluralForms::VI_1, true }, // Note: actually Simplified Chinese
|
||||||
{ "english", "English", "English", "CP1252", "en", "eng", "%Y-%m-%d %H:%M", EPluralForms::EN_2, true }, // English uses international date/time format here
|
{ "english", "English", "English", "CP1252", "en", "eng", "%Y-%m-%d %H:%M", EPluralForms::EN_2, true }, // English uses international date/time format here
|
||||||
@@ -96,6 +99,7 @@ inline const auto & getLanguageList()
|
|||||||
{ "korean", "Korean", "한국어", "CP949", "ko", "kor", "%Y-%m-%d %H:%M", EPluralForms::VI_1, true },
|
{ "korean", "Korean", "한국어", "CP949", "ko", "kor", "%Y-%m-%d %H:%M", EPluralForms::VI_1, true },
|
||||||
{ "polish", "Polish", "Polski", "CP1250", "pl", "pol", "%d.%m.%Y %H:%M", EPluralForms::PL_3, true },
|
{ "polish", "Polish", "Polski", "CP1250", "pl", "pol", "%d.%m.%Y %H:%M", EPluralForms::PL_3, true },
|
||||||
{ "portuguese", "Portuguese", "Português", "CP1252", "pt", "por", "%d/%m/%Y %H:%M", EPluralForms::EN_2, true }, // Note: actually Brazilian Portuguese
|
{ "portuguese", "Portuguese", "Português", "CP1252", "pt", "por", "%d/%m/%Y %H:%M", EPluralForms::EN_2, true }, // Note: actually Brazilian Portuguese
|
||||||
|
{ "romanian", "Romanian", "Română", "CP28606","ro", "rum", "%Y-%m-%d %H:%M", EPluralForms::EN_2, false },
|
||||||
{ "russian", "Russian", "Русский", "CP1251", "ru", "rus", "%d.%m.%Y %H:%M", EPluralForms::UK_3, true },
|
{ "russian", "Russian", "Русский", "CP1251", "ru", "rus", "%d.%m.%Y %H:%M", EPluralForms::UK_3, true },
|
||||||
{ "spanish", "Spanish", "Español", "CP1252", "es", "spa", "%d/%m/%Y %H:%M", EPluralForms::EN_2, true },
|
{ "spanish", "Spanish", "Español", "CP1252", "es", "spa", "%d/%m/%Y %H:%M", EPluralForms::EN_2, true },
|
||||||
{ "swedish", "Swedish", "Svenska", "CP1252", "sv", "swe", "%Y-%m-%d %H:%M", EPluralForms::EN_2, true },
|
{ "swedish", "Swedish", "Svenska", "CP1252", "sv", "swe", "%Y-%m-%d %H:%M", EPluralForms::EN_2, true },
|
||||||
|
|||||||
@@ -126,6 +126,7 @@ set(editor_RESOURCES
|
|||||||
|
|
||||||
set(translationsDir "translation")
|
set(translationsDir "translation")
|
||||||
set(editor_TS
|
set(editor_TS
|
||||||
|
"${translationsDir}/bulgarian.ts"
|
||||||
"${translationsDir}/chinese.ts"
|
"${translationsDir}/chinese.ts"
|
||||||
"${translationsDir}/czech.ts"
|
"${translationsDir}/czech.ts"
|
||||||
"${translationsDir}/english.ts"
|
"${translationsDir}/english.ts"
|
||||||
@@ -140,6 +141,7 @@ set(editor_TS
|
|||||||
"${translationsDir}/norwegian.ts"
|
"${translationsDir}/norwegian.ts"
|
||||||
"${translationsDir}/polish.ts"
|
"${translationsDir}/polish.ts"
|
||||||
"${translationsDir}/portuguese.ts"
|
"${translationsDir}/portuguese.ts"
|
||||||
|
"${translationsDir}/romanian.ts"
|
||||||
"${translationsDir}/russian.ts"
|
"${translationsDir}/russian.ts"
|
||||||
"${translationsDir}/spanish.ts"
|
"${translationsDir}/spanish.ts"
|
||||||
"${translationsDir}/swedish.ts"
|
"${translationsDir}/swedish.ts"
|
||||||
|
|||||||
2891
mapeditor/translation/bulgarian.ts
Normal file
2891
mapeditor/translation/bulgarian.ts
Normal file
File diff suppressed because it is too large
Load Diff
2891
mapeditor/translation/romanian.ts
Normal file
2891
mapeditor/translation/romanian.ts
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user