From 5d3b453ded720d633696b27ed05fbc2bc66d6403 Mon Sep 17 00:00:00 2001 From: "waffle.lord" Date: Fri, 26 Jan 2024 21:39:52 -0500 Subject: [PATCH] update locales --- .../Helpers/LocalizationProvider.cs | 146 ++++++++++++++---- .../Locales/Chinese (Simplified).json | 10 +- .../Locales/Chinese (Traditional).json | 10 +- .../Aki_Data/Launcher/Locales/English.json | 10 +- .../Aki_Data/Launcher/Locales/French.json | 10 +- .../Aki_Data/Launcher/Locales/German.json | 10 +- .../Aki_Data/Launcher/Locales/Italian.json | 10 +- .../Aki_Data/Launcher/Locales/Japanese.json | 10 +- .../Aki_Data/Launcher/Locales/Korean.json | 10 +- .../Aki_Data/Launcher/Locales/Polish.json | 10 +- .../Aki_Data/Launcher/Locales/Russian.json | 10 +- .../Aki_Data/Launcher/Locales/Spanish.json | 10 +- 12 files changed, 189 insertions(+), 67 deletions(-) diff --git a/project/Aki.Launcher.Base/Helpers/LocalizationProvider.cs b/project/Aki.Launcher.Base/Helpers/LocalizationProvider.cs index 39a5df3..b4a516b 100644 --- a/project/Aki.Launcher.Base/Helpers/LocalizationProvider.cs +++ b/project/Aki.Launcher.Base/Helpers/LocalizationProvider.cs @@ -172,12 +172,17 @@ namespace Aki.Launcher.Helpers englishLocale.i_understand = "I Understand"; englishLocale.game_version_mismatch_format_2 = "SPT is unable to run, this is because SPT expected to find EFT version '{1}',\nbut instead found version '{0}'\n\nEnsure you've downgraded your EFT as described in the install guide\non the page you downloaded SPT from"; englishLocale.description = "Description"; - englishLocale.server_mods = "Server Mods"; - englishLocale.profile_mods = "Profile Mods"; englishLocale.author = "Author"; englishLocale.wipe_on_start = "Wipe profile on game start"; englishLocale.copy_live_settings_question = "Would you like to copy your live game settings to spt"; englishLocale.mod_not_in_server_warning = "This mod was found in your profile, but is not loaded on the server"; + englishLocale.active_server_mods = "Active Server Mods"; + englishLocale.active_server_mods_info_text = "These mods are currently running on the server"; + englishLocale.inactive_server_mods = "Inactive Server Mods"; + englishLocale.inactive_server_mods_info_text = + "These mods have not been loaded by the server, but your profile has used them in the past"; + englishLocale.open_link_question_format_1 = "Are you sure you want to open the following link: \n{0}"; + englishLocale.open_link = "Open Link"; #endregion Directory.CreateDirectory(LocalizationProvider.DefaultLocaleFolderPath); @@ -1576,38 +1581,6 @@ namespace Aki.Launcher.Helpers } #endregion - #region server_mods - private string _server_mods; - public string server_mods - { - get => _server_mods; - set - { - if (_server_mods != value) - { - _server_mods = value; - RaisePropertyChanged(nameof(server_mods)); - } - } - } - #endregion - - #region profile_mods - private string _profile_mods; - public string profile_mods - { - get => _profile_mods; - set - { - if (_profile_mods != value) - { - _profile_mods = value; - RaisePropertyChanged(nameof(profile_mods)); - } - } - } - #endregion - #region author private string _author; public string author @@ -1672,6 +1645,111 @@ namespace Aki.Launcher.Helpers } } #endregion + + #region active_server_mods + private string _active_server_mods; + public string active_server_mods + { + get => _active_server_mods; + set + { + if (_active_server_mods != value) + { + _active_server_mods = value; + RaisePropertyChanged(nameof(active_server_mods)); + } + } + } + #endregion + + #region active_server_mods_info_text + + private string _active_server_mods_info_text; + + public string active_server_mods_info_text + { + get => _active_server_mods_info_text; + set + { + if (_active_server_mods_info_text != value) + { + _active_server_mods_info_text = value; + RaisePropertyChanged(nameof(active_server_mods_info_text)); + } + } + } + #endregion + + #region inactive_server_mods + private string _inactive_server_mods; + public string inactive_server_mods + { + get => _inactive_server_mods; + set + { + if (_inactive_server_mods != value) + { + _inactive_server_mods = value; + RaisePropertyChanged(nameof(inactive_server_mods)); + } + } + } + #endregion + + #region inactive_server_mods_info_text + + private string _inactive_server_mods_info_text; + + public string inactive_server_mods_info_text + { + get => _inactive_server_mods_info_text; + set + { + if (_inactive_server_mods_info_text != value) + { + _inactive_server_mods_info_text = value; + RaisePropertyChanged(nameof(inactive_server_mods_info_text)); + } + } + } + #endregion + + #region open_link_question_format_1 + + private string _open_link_question_format_1; + + public string open_link_question_format_1 + { + get => _open_link_question_format_1; + set + { + if (_open_link_question_format_1 != value) + { + _open_link_question_format_1 = value; + RaisePropertyChanged(nameof(open_link_question_format_1)); + } + } + } + #endregion + + #region open_link + + private string _open_link; + + public string open_link + { + get => _open_link; + set + { + if (_open_link != value) + { + _open_link = value; + RaisePropertyChanged(nameof(open_link)); + } + } + } + #endregion + #endregion public event PropertyChangedEventHandler PropertyChanged; diff --git a/project/Aki.Launcher/Aki_Data/Launcher/Locales/Chinese (Simplified).json b/project/Aki.Launcher/Aki_Data/Launcher/Locales/Chinese (Simplified).json index 9ddeb28..99f6f19 100644 --- a/project/Aki.Launcher/Aki_Data/Launcher/Locales/Chinese (Simplified).json +++ b/project/Aki.Launcher/Aki_Data/Launcher/Locales/Chinese (Simplified).json @@ -81,13 +81,17 @@ "i_understand": "我了解", "game_version_mismatch_format_2": "SPT无法运行,这是由于SPT需要EFT版本 '{1}',\n但现有版本是 '{0}'\n\n确保你已经按照你下载SPT的页面上的\n安装指导的描述降级你的EFT", "description": "描述", - "server_mods": "Server Mods", - "profile_mods": "Profile Mods", "author": "Author", "load_live_settings": "Load Live Settings", "load_live_settings_succeeded": "Game settings copied from live", "load_live_settings_failed": "Failed to copy live settings", "wipe_on_start": "Wipe profile on game start", "copy_live_settings_question": "Would you like to copy your live game settings to spt", - "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server" + "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server", + "active_server_mods": "Active Server Mods", + "active_server_mods_info_text": "These mods are currently running on the server", + "inactive_server_mods": "Inactive Server Mods", + "inactive_server_mods_info_text": "These mods have not been loaded by the server, but your profile has used them in the past", + "open_link_question_format_1": "Are you sure you want to open the following link: \n{0}", + "open_link": "Open Link" } diff --git a/project/Aki.Launcher/Aki_Data/Launcher/Locales/Chinese (Traditional).json b/project/Aki.Launcher/Aki_Data/Launcher/Locales/Chinese (Traditional).json index 59cad68..ecafdf6 100644 --- a/project/Aki.Launcher/Aki_Data/Launcher/Locales/Chinese (Traditional).json +++ b/project/Aki.Launcher/Aki_Data/Launcher/Locales/Chinese (Traditional).json @@ -81,13 +81,17 @@ "i_understand": "I Understand", "game_version_mismatch_format_2": "SPT is unable to run, this is because SPT expected to find EFT version '{1}',\nbut instead found version '{0}'\n\nEnsure you've downgraded your EFT as described in the install guide\non the page you downloaded SPT from", "description": "Description", - "server_mods": "Server Mods", - "profile_mods": "Profile Mods", "author": "Author", "load_live_settings": "Load Live Settings", "load_live_settings_succeeded": "Game settings copied from live", "load_live_settings_failed": "Failed to copy live settings", "wipe_on_start": "Wipe profile on game start", "copy_live_settings_question": "Would you like to copy your live game settings to spt", - "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server" + "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server", + "active_server_mods": "Active Server Mods", + "active_server_mods_info_text": "These mods are currently running on the server", + "inactive_server_mods": "Inactive Server Mods", + "inactive_server_mods_info_text": "These mods have not been loaded by the server, but your profile has used them in the past", + "open_link_question_format_1": "Are you sure you want to open the following link: \n{0}", + "open_link": "Open Link" } \ No newline at end of file diff --git a/project/Aki.Launcher/Aki_Data/Launcher/Locales/English.json b/project/Aki.Launcher/Aki_Data/Launcher/Locales/English.json index f84bd3f..64b4ab0 100644 --- a/project/Aki.Launcher/Aki_Data/Launcher/Locales/English.json +++ b/project/Aki.Launcher/Aki_Data/Launcher/Locales/English.json @@ -81,13 +81,17 @@ "i_understand": "I Understand", "game_version_mismatch_format_2": "SPT is unable to run, this is because SPT expected to find EFT version '{1}',\nbut instead found version '{0}'\n\nEnsure you've downgraded your EFT as described in the install guide\non the page you downloaded SPT from", "description": "Description", - "server_mods": "Server Mods", - "profile_mods": "Profile Mods", "author": "Author", "load_live_settings": "Load Live Settings", "load_live_settings_succeeded": "Game settings copied from live", "load_live_settings_failed": "Failed to copy live settings", "wipe_on_start": "Wipe profile on game start", "copy_live_settings_question": "Would you like to copy your live game settings to spt", - "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server" + "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server", + "active_server_mods": "Active Server Mods", + "active_server_mods_info_text": "These mods are currently running on the server", + "inactive_server_mods": "Inactive Server Mods", + "inactive_server_mods_info_text": "These mods have not been loaded by the server, but your profile has used them in the past", + "open_link_question_format_1": "Are you sure you want to open the following link: \n{0}", + "open_link": "Open Link" } \ No newline at end of file diff --git a/project/Aki.Launcher/Aki_Data/Launcher/Locales/French.json b/project/Aki.Launcher/Aki_Data/Launcher/Locales/French.json index acda7fb..a1c4d11 100644 --- a/project/Aki.Launcher/Aki_Data/Launcher/Locales/French.json +++ b/project/Aki.Launcher/Aki_Data/Launcher/Locales/French.json @@ -81,13 +81,17 @@ "i_understand": "I Understand", "game_version_mismatch_format_2": "SPT is unable to run, this is because SPT expected to find EFT version '{1}',\nbut instead found version '{0}'\n\nEnsure you've downgraded your EFT as described in the install guide\non the page you downloaded SPT from", "description": "Description", - "server_mods": "Server Mods", - "profile_mods": "Profile Mods", "author": "Author", "load_live_settings": "Load Live Settings", "load_live_settings_succeeded": "Game settings copied from live", "load_live_settings_failed": "Failed to copy live settings", "wipe_on_start": "Wipe profile on game start", "copy_live_settings_question": "Would you like to copy your live game settings to spt", - "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server" + "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server", + "active_server_mods": "Active Server Mods", + "active_server_mods_info_text": "These mods are currently running on the server", + "inactive_server_mods": "Inactive Server Mods", + "inactive_server_mods_info_text": "These mods have not been loaded by the server, but your profile has used them in the past", + "open_link_question_format_1": "Are you sure you want to open the following link: \n{0}", + "open_link": "Open Link" } \ No newline at end of file diff --git a/project/Aki.Launcher/Aki_Data/Launcher/Locales/German.json b/project/Aki.Launcher/Aki_Data/Launcher/Locales/German.json index 26108c2..b87e533 100644 --- a/project/Aki.Launcher/Aki_Data/Launcher/Locales/German.json +++ b/project/Aki.Launcher/Aki_Data/Launcher/Locales/German.json @@ -81,13 +81,17 @@ "i_understand": "I Understand", "game_version_mismatch_format_2": "SPT is unable to run, this is because SPT expected to find EFT version '{1}',\nbut instead found version '{0}'\n\nEnsure you've downgraded your EFT as described in the install guide\non the page you downloaded SPT from", "description": "Description", - "server_mods": "Server Mods", - "profile_mods": "Profile Mods", "author": "Author", "load_live_settings": "Load Live Settings", "load_live_settings_succeeded": "Game settings copied from live", "load_live_settings_failed": "Failed to copy live settings", "wipe_on_start": "Wipe profile on game start", "copy_live_settings_question": "Would you like to copy your live game settings to spt", - "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server" + "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server", + "active_server_mods": "Active Server Mods", + "active_server_mods_info_text": "These mods are currently running on the server", + "inactive_server_mods": "Inactive Server Mods", + "inactive_server_mods_info_text": "These mods have not been loaded by the server, but your profile has used them in the past", + "open_link_question_format_1": "Are you sure you want to open the following link: \n{0}", + "open_link": "Open Link" } \ No newline at end of file diff --git a/project/Aki.Launcher/Aki_Data/Launcher/Locales/Italian.json b/project/Aki.Launcher/Aki_Data/Launcher/Locales/Italian.json index 6b838c9..cee5e8c 100644 --- a/project/Aki.Launcher/Aki_Data/Launcher/Locales/Italian.json +++ b/project/Aki.Launcher/Aki_Data/Launcher/Locales/Italian.json @@ -81,13 +81,17 @@ "i_understand": "Accetto", "game_version_mismatch_format_2": "SPT non riesce ad avviarsi, questo è perché SPT si aspettava la versione di EFT '{1}',\nmentre invece tu hai la versione '{0}'\n\nAssicurati di aver downgradato correttamente EFT come descritto nella guida all'installazione\nche hai trovato sulla pagina web da cui hai scaricato SPT", "description": "Descrizione", - "server_mods": "Server Mods", - "profile_mods": "Profile Mods", "author": "Author", "load_live_settings": "Load Live Settings", "load_live_settings_succeeded": "Game settings copied from live", "load_live_settings_failed": "Failed to copy live settings", "wipe_on_start": "Wipe profile on game start", "copy_live_settings_question": "Would you like to copy your live game settings to spt", - "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server" + "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server", + "active_server_mods": "Active Server Mods", + "active_server_mods_info_text": "These mods are currently running on the server", + "inactive_server_mods": "Inactive Server Mods", + "inactive_server_mods_info_text": "These mods have not been loaded by the server, but your profile has used them in the past", + "open_link_question_format_1": "Are you sure you want to open the following link: \n{0}", + "open_link": "Open Link" } \ No newline at end of file diff --git a/project/Aki.Launcher/Aki_Data/Launcher/Locales/Japanese.json b/project/Aki.Launcher/Aki_Data/Launcher/Locales/Japanese.json index 4cd3b99..56a3321 100644 --- a/project/Aki.Launcher/Aki_Data/Launcher/Locales/Japanese.json +++ b/project/Aki.Launcher/Aki_Data/Launcher/Locales/Japanese.json @@ -81,13 +81,17 @@ "i_understand": "了解", "game_version_mismatch_format_2": "SPT を実行できません。これは、SPT が EFT バージョン '{1}' を検出することを期待していたためです\n代わりにバージョン '{0}' を検出しました\n\nインストール ガイドの説明に従って EFT をダウングレードしたことを確認してください\n SPT をダウンロードしたページ", "description": "Description", - "server_mods": "Server Mods", - "profile_mods": "Profile Mods", "author": "Author", "load_live_settings": "Load Live Settings", "load_live_settings_succeeded": "Game settings copied from live", "load_live_settings_failed": "Failed to copy live settings", "wipe_on_start": "Wipe profile on game start", "copy_live_settings_question": "Would you like to copy your live game settings to spt", - "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server" + "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server", + "active_server_mods": "Active Server Mods", + "active_server_mods_info_text": "These mods are currently running on the server", + "inactive_server_mods": "Inactive Server Mods", + "inactive_server_mods_info_text": "These mods have not been loaded by the server, but your profile has used them in the past", + "open_link_question_format_1": "Are you sure you want to open the following link: \n{0}", + "open_link": "Open Link" } \ No newline at end of file diff --git a/project/Aki.Launcher/Aki_Data/Launcher/Locales/Korean.json b/project/Aki.Launcher/Aki_Data/Launcher/Locales/Korean.json index f7af75b..01a7e48 100644 --- a/project/Aki.Launcher/Aki_Data/Launcher/Locales/Korean.json +++ b/project/Aki.Launcher/Aki_Data/Launcher/Locales/Korean.json @@ -81,13 +81,17 @@ "i_understand": "이해하였습니다", "game_version_mismatch_format_2": "당신의 게임 버전은 '{0}'이며 호환되는 버전은 '{1}' 입니다.\n\n게임 실행에 문제가 발생하거나 되지 않을 수 있습니다.", "description": "설명", - "server_mods": "서버 모드", - "profile_mods": "프로필 모드", "author": "개발자", "load_live_settings": "공식(Live) 서버의 설정 불러오기", "load_live_settings_succeeded": "공식(Live) 서버 설정을 불러왔습니다", "load_live_settings_failed": "공식(Live) 서버 설정 불러오기에 실패하였습니다", "wipe_on_start": "게임 시작 시 프로필 초기화", "copy_live_settings_question": "공식(Live) 서버에서 사용하던 설정 파일을 SPT에 복사하시겠습니까?", - "mod_not_in_server_warning":"SPT 서버에 없는 모드가 플레이어 프로필에서 발견되었습니다" + "mod_not_in_server_warning":"SPT 서버에 없는 모드가 플레이어 프로필에서 발견되었습니다", + "active_server_mods": "Active Server Mods", + "active_server_mods_info_text": "These mods are currently running on the server", + "inactive_server_mods": "Inactive Server Mods", + "inactive_server_mods_info_text": "These mods have not been loaded by the server, but your profile has used them in the past", + "open_link_question_format_1": "Are you sure you want to open the following link: \n{0}", + "open_link": "Open Link" } \ No newline at end of file diff --git a/project/Aki.Launcher/Aki_Data/Launcher/Locales/Polish.json b/project/Aki.Launcher/Aki_Data/Launcher/Locales/Polish.json index 9c2d2dc..3542d09 100644 --- a/project/Aki.Launcher/Aki_Data/Launcher/Locales/Polish.json +++ b/project/Aki.Launcher/Aki_Data/Launcher/Locales/Polish.json @@ -81,13 +81,17 @@ "i_understand": "Rozumiem", "game_version_mismatch_format_2": "SPT nie może zostać uruchomiony, ponieważ SPT oczekiwał wersji EFT '{1}',\nale zamiast tego znalazł wersję '{0}'\n\nUpewnij się, że zainstalowałeś starszą wersję EFT, zgodnie z instrukcją instalacji\nna stronie, z której pobrałeś SPT", "description": "Opis", - "server_mods": "Mody serwera", - "profile_mods": "Mody profilu", "author": "Autor", "load_live_settings": "Wczytaj ustawienia EFT", "load_live_settings_succeeded": "Ustawienia gry skopiowane z EFT", "load_live_settings_failed": "Nie udało się skopiować ustawień EFT", "wipe_on_start": "Wipe profile on game start", "copy_live_settings_question": "Would you like to copy your live game settings to spt", - "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server" + "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server", + "active_server_mods": "Active Server Mods", + "active_server_mods_info_text": "These mods are currently running on the server", + "inactive_server_mods": "Inactive Server Mods", + "inactive_server_mods_info_text": "These mods have not been loaded by the server, but your profile has used them in the past", + "open_link_question_format_1": "Are you sure you want to open the following link: \n{0}", + "open_link": "Open Link" } \ No newline at end of file diff --git a/project/Aki.Launcher/Aki_Data/Launcher/Locales/Russian.json b/project/Aki.Launcher/Aki_Data/Launcher/Locales/Russian.json index 5bd6d44..61347d7 100644 --- a/project/Aki.Launcher/Aki_Data/Launcher/Locales/Russian.json +++ b/project/Aki.Launcher/Aki_Data/Launcher/Locales/Russian.json @@ -81,13 +81,17 @@ "i_understand": "Я понимаю", "game_version_mismatch_format_2": "Ваша версия игры: '{0}' и совместимая версия: '{1}'.\n\nИгра может работать некорректно или не работать вообще.", "description": "Описание", - "server_mods": "Серверные моды", - "profile_mods": "Моды профиля", "author": "Автор", "load_live_settings": "Загрузить настройкий онлайн-версии", "load_live_settings_succeeded": "Настройки игры скопированы из онлайн-версии", "load_live_settings_failed": "Не удалось скопировать настройки онлайн-версии", "wipe_on_start": "Wipe profile on game start", "copy_live_settings_question": "Would you like to copy your live game settings to spt", - "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server" + "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server", + "active_server_mods": "Active Server Mods", + "active_server_mods_info_text": "These mods are currently running on the server", + "inactive_server_mods": "Inactive Server Mods", + "inactive_server_mods_info_text": "These mods have not been loaded by the server, but your profile has used them in the past", + "open_link_question_format_1": "Are you sure you want to open the following link: \n{0}", + "open_link": "Open Link" } \ No newline at end of file diff --git a/project/Aki.Launcher/Aki_Data/Launcher/Locales/Spanish.json b/project/Aki.Launcher/Aki_Data/Launcher/Locales/Spanish.json index 1423db8..b5fd961 100644 --- a/project/Aki.Launcher/Aki_Data/Launcher/Locales/Spanish.json +++ b/project/Aki.Launcher/Aki_Data/Launcher/Locales/Spanish.json @@ -81,13 +81,17 @@ "i_understand": "Lo entiendo", "game_version_mismatch_format_2": "SPT no puede iniciar, esto es debido a que la versión de EFT esperada es '{1}',\npero la versión encontrada es '{0}'\n\nAsegurate de haber realizado el downgrade de tu versión de EFT, tal como se indica en la guía de instalación\nen la página en la que has descargado SPT", "description": "Descripción", - "server_mods": "Server Mods", - "profile_mods": "Profile Mods", "author": "Author", "load_live_settings": "Load Live Settings", "load_live_settings_succeeded": "Game settings copied from live", "load_live_settings_failed": "Failed to copy live settings", "wipe_on_start": "Wipe profile on game start", "copy_live_settings_question": "Would you like to copy your live game settings to spt", - "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server" + "mod_not_in_server_warning":"This mod was found in your profile, but is not loaded on the server", + "active_server_mods": "Active Server Mods", + "active_server_mods_info_text": "These mods are currently running on the server", + "inactive_server_mods": "Inactive Server Mods", + "inactive_server_mods_info_text": "These mods have not been loaded by the server, but your profile has used them in the past", + "open_link_question_format_1": "Are you sure you want to open the following link: \n{0}", + "open_link": "Open Link" } \ No newline at end of file