From f3a2f596838b7bd122e5a50f48f9bbb1fdf5e38c Mon Sep 17 00:00:00 2001 From: LotP <22-lotp@users.noreply.git.ryujinx.app> Date: Mon, 28 Jul 2025 18:24:35 -0500 Subject: [PATCH] Nullify Locales (ryubing/ryujinx!83) See merge request ryubing/ryujinx!83 --- assets/locales.json | 1200 +++++++++-------- .../LocalesValidationTask.cs | 5 +- .../Ryujinx.BuildValidationTasks.csproj | 16 +- 3 files changed, 626 insertions(+), 595 deletions(-) diff --git a/assets/locales.json b/assets/locales.json index af5e4556f..18e964d68 100644 --- a/assets/locales.json +++ b/assets/locales.json @@ -1,4 +1,24 @@ { + "Info": { + "Format1": "The Locale file uses a custom Unified format.", + "Format2": "The file starts with a list of all the supported languages.", + "Format3": "Each locale is made up an ID used for lookup and a list", + "Format4": "of the languages and their matching translations.", + "Format5": "When adding a new locale you just need to add the ID and", + "Format6": "the en_US language translation, then the validation system", + "Format7": "will add the rest of the languages automatically on rebuild.", + "Format8": "By default the languages will be added with an empty string.", + "Format9": "Any empty string or null value will automatically match the", + "Format10": "English translation.", + "Format11": "If you want to signal that a translation is supposed to", + "Format12": "match the English translation, you just have to replace the", + "Format13": "empty string with null.", + "Format14": "Translators who want to check what translations are missing", + "Format15": "for their language just need to search for:", + "Format16": "{'lang_code': ''} with double quotes instead of single", + "Format17": "e.g: {'en_US': ''} (but with any other language as English", + "Format18": "will never be missing translations)." + }, "Languages": [ "ar_SA", "de_DE", @@ -1100,101 +1120,101 @@ { "ID": "MenuBarViewWindow720", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "720p", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "MenuBarViewWindow1080", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "1080p", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "MenuBarViewWindow1440", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "1440p", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "MenuBarViewWindow2160", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "2160p", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { @@ -2650,26 +2670,26 @@ { "ID": "GameListContextMenuExtractDataExeFS", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "ExeFS", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { @@ -2700,26 +2720,26 @@ { "ID": "GameListContextMenuExtractDataRomFS", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "RomFS", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { @@ -5225,76 +5245,76 @@ { "ID": "SettingsTabSystemAudioBackendOpenAL", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "OpenAL", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "SettingsTabSystemAudioBackendSoundIO", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "SoundIO", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "Lyd Inn/Ut", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "SettingsTabSystemAudioBackendSDL2", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "SDL2", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { @@ -5950,126 +5970,126 @@ { "ID": "SettingsTabGraphicsAspectRatio4x3", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "4:3", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "SettingsTabGraphicsAspectRatio16x9", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "16:9", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "SettingsTabGraphicsAspectRatio16x10", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "16:10", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "SettingsTabGraphicsAspectRatio21x9", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "21:9", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "SettingsTabGraphicsAspectRatio32x9", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "32:9", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { @@ -6689,7 +6709,7 @@ "pl_PL": "Globalny Wpis", "pt_BR": "Entrada Global", "ru_RU": "Глобальный Ввод", - "sv_SE": "Global Input", + "sv_SE": null, "th_TH": "การป้อนข้อมูลแบบโกลบอล", "tr_TR": "Küresel Girdi", "uk_UA": "Глобальний Ввід", @@ -7650,151 +7670,151 @@ { "ID": "ControllerSettingsButtonA", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "Α", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "A", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "ControllerSettingsButtonB", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "B", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "ControllerSettingsButtonX", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "X", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "ControllerSettingsButtonY", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "Y", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "ControllerSettingsButtonPlus", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "+", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "ControllerSettingsButtonMinus", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "-", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { @@ -8325,201 +8345,201 @@ { "ID": "ControllerSettingsTriggerL", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "L", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "ControllerSettingsTriggerR", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "R", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "ControllerSettingsTriggerZL", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "ZL", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "ControllerSettingsTriggerZR", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "ZR", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "ControllerSettingsLeftSL", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "SL", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "ControllerSettingsLeftSR", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "SR", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "ControllerSettingsRightSL", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "SL", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "ControllerSettingsRightSR", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "SR", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { @@ -23075,26 +23095,26 @@ { "ID": "GraphicsScalingFilterFsr", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "FSR", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, "zh_CN": "FSR(超级分辨率锐画技术)", - "zh_TW": "" + "zh_TW": null } }, { @@ -23575,51 +23595,51 @@ { "ID": "MultiplayerModeLdnMitm", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "ldn_mitm", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { "ID": "MultiplayerModeLdnRyu", "Translations": { - "ar_SA": "", - "de_DE": "", - "el_GR": "", + "ar_SA": null, + "de_DE": null, + "el_GR": null, "en_US": "RyuLDN", - "es_ES": "", - "fr_FR": "", - "he_IL": "", - "it_IT": "", - "ja_JP": "", - "ko_KR": "", - "no_NO": "", - "pl_PL": "", - "pt_BR": "", - "ru_RU": "", - "sv_SE": "", - "th_TH": "", - "tr_TR": "", - "uk_UA": "", - "zh_CN": "", - "zh_TW": "" + "es_ES": null, + "fr_FR": null, + "he_IL": null, + "it_IT": null, + "ja_JP": null, + "ko_KR": null, + "no_NO": null, + "pl_PL": null, + "pt_BR": null, + "ru_RU": null, + "sv_SE": null, + "th_TH": null, + "tr_TR": null, + "uk_UA": null, + "zh_CN": null, + "zh_TW": null } }, { @@ -25023,4 +25043,4 @@ } } ] -} +} \ No newline at end of file diff --git a/src/Ryujinx.BuildValidationTasks/LocalesValidationTask.cs b/src/Ryujinx.BuildValidationTasks/LocalesValidationTask.cs index 17f9be5a0..a07f0c4ae 100644 --- a/src/Ryujinx.BuildValidationTasks/LocalesValidationTask.cs +++ b/src/Ryujinx.BuildValidationTasks/LocalesValidationTask.cs @@ -33,7 +33,7 @@ namespace Ryujinx.BuildValidationTasks LocalesJson json; if (isGitRunner && data.Contains("\r\n")) - throw new FormatException("locales.json is using CRLF line endings! It should be using LF line endings, build locally to fix..."); + throw new FormatException("locales.json is using CRLF line endings! It should be using LF line endings, rebuild locally to fix..."); try { @@ -86,7 +86,7 @@ namespace Ryujinx.BuildValidationTasks } if (isGitRunner && encounteredIssue) - throw new JsonException("1 or more locales are invalid!"); + throw new JsonException("1 or more locales are invalid! Rebuild locally to fix..."); string jsonString = JsonSerializer.Serialize(json, _jsonOptions); @@ -102,6 +102,7 @@ namespace Ryujinx.BuildValidationTasks struct LocalesJson { + public Dictionary Info { get; set; } public List Languages { get; set; } public List Locales { get; set; } } diff --git a/src/Ryujinx.BuildValidationTasks/Ryujinx.BuildValidationTasks.csproj b/src/Ryujinx.BuildValidationTasks/Ryujinx.BuildValidationTasks.csproj index c9fea9313..c89a044b2 100644 --- a/src/Ryujinx.BuildValidationTasks/Ryujinx.BuildValidationTasks.csproj +++ b/src/Ryujinx.BuildValidationTasks/Ryujinx.BuildValidationTasks.csproj @@ -10,8 +10,18 @@ + Condition="'$(RuntimeIdentifier)' == ''" + IgnoreExitCode="true"> + + + + + + $(OutputOfExec.Substring($(OutputOfExec.IndexOf("Unhandled exception")))) + $(ErrorOutput.Substring(0, $(ErrorOutput.IndexOf(';')))) + + + - \ No newline at end of file +