From 5397c816e2e103a2c8f7abaf7c5acac6b33d0476 Mon Sep 17 00:00:00 2001 From: Michael Steenbeek <1478678+Gymnasiast@users.noreply.github.com> Date: Mon, 11 Nov 2024 21:23:06 +0100 Subject: [PATCH] Add Galician --- distribution/changelog.txt | 1 + src/openrct2/localisation/Language.cpp | 1 + src/openrct2/localisation/Language.h | 1 + src/openrct2/platform/Platform.Win32.cpp | 1 + 4 files changed, 4 insertions(+) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 8d1d041a3e..758103600b 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -1,5 +1,6 @@ 0.4.17 (in development) ------------------------------------------------------------------------ +- Feature: [#23166] Add Galician translation. - Improved: [#23051] Add large sloped turns and new inversions to the Twister, Vertical Drop, Hyper and Flying Roller Coasters. - Improved: [#23123] Improve sorting of roller coasters in build new ride menu. diff --git a/src/openrct2/localisation/Language.cpp b/src/openrct2/localisation/Language.cpp index cc4bff6696..ccd9649785 100644 --- a/src/openrct2/localisation/Language.cpp +++ b/src/openrct2/localisation/Language.cpp @@ -39,6 +39,7 @@ const LanguageDescriptor LanguagesDescriptors[LANGUAGE_COUNT] = { "es-ES", "Spanish", u8"Español", LANGUAGE_UNDEFINED, kFamilyOpenRCT2Sprite, false }, // LANGUAGE_SPANISH { "fr-FR", "French", u8"Français", LANGUAGE_UNDEFINED, kFamilyOpenRCT2Sprite, false }, // LANGUAGE_FRENCH { "fr-CA", "French (CA)", u8"Français (CA)", LANGUAGE_FRENCH, kFamilyOpenRCT2Sprite, false }, // LANGUAGE_FRENCH_CA + { "gl-ES", "Galician", "Galego", LANGUAGE_UNDEFINED, kFamilyOpenRCT2Sprite, false }, // LANGUAGE_GALICIAN { "it-IT", "Italian", "Italiano", LANGUAGE_UNDEFINED, kFamilyOpenRCT2Sprite, false }, // LANGUAGE_ITALIAN { "ja-JP", "Japanese", "Japanese", LANGUAGE_UNDEFINED, FAMILY(&TTFFamilyJapanese), false }, // LANGUAGE_JAPANESE { "ko-KR", "Korean", "Korean", LANGUAGE_UNDEFINED, FAMILY(&TTFFamilyKorean), false }, // LANGUAGE_KOREAN diff --git a/src/openrct2/localisation/Language.h b/src/openrct2/localisation/Language.h index 505133bd48..7930999302 100644 --- a/src/openrct2/localisation/Language.h +++ b/src/openrct2/localisation/Language.h @@ -31,6 +31,7 @@ enum LANGUAGE_SPANISH, LANGUAGE_FRENCH, LANGUAGE_FRENCH_CA, + LANGUAGE_GALICIAN, LANGUAGE_ITALIAN, LANGUAGE_JAPANESE, LANGUAGE_KOREAN, diff --git a/src/openrct2/platform/Platform.Win32.cpp b/src/openrct2/platform/Platform.Win32.cpp index bf70e6598e..905d21cf7a 100644 --- a/src/openrct2/platform/Platform.Win32.cpp +++ b/src/openrct2/platform/Platform.Win32.cpp @@ -597,6 +597,7 @@ namespace OpenRCT2::Platform { L"es", LANGUAGE_SPANISH }, { L"fr", LANGUAGE_FRENCH }, { L"fr-CA", LANGUAGE_FRENCH_CA }, + { L"gl", LANGUAGE_GALICIAN }, { L"it", LANGUAGE_ITALIAN }, { L"ja", LANGUAGE_JAPANESE }, { L"ko", LANGUAGE_KOREAN },