diff --git a/WheelWizard.Test/Features/Settings/SettingsTests.cs b/WheelWizard.Test/Features/Settings/SettingsTests.cs index 368cee61..50eadf95 100644 --- a/WheelWizard.Test/Features/Settings/SettingsTests.cs +++ b/WheelWizard.Test/Features/Settings/SettingsTests.cs @@ -5,6 +5,7 @@ using Testably.Abstractions; using Testably.Abstractions.Testing; using WheelWizard.DolphinInstaller; +using WheelWizard.Resources.Languages; using WheelWizard.Settings; using WheelWizard.Settings.Types; @@ -178,11 +179,47 @@ public void Subscribe_Throws_WhenHandlerIsNull() [Collection("SettingsFeature")] public class SettingsLocalizationServiceTests { + [Fact] + public void LanguageDisplayNames_UseAppliedResourceCulture() + { + var originalSettingsCulture = WheelWizard.Resources.Languages.Settings.Culture; + var dutchCulture = new CultureInfo("nl"); + var germanCulture = new CultureInfo("de"); + + try + { + WheelWizard.Resources.Languages.Settings.Culture = dutchCulture; + var englishInDutch = SettingValues.WhWzLanguages["en"](); + + WheelWizard.Resources.Languages.Settings.Culture = germanCulture; + var englishInGerman = SettingValues.WhWzLanguages["en"](); + + Assert.Contains( + WheelWizard.Resources.Languages.Settings.ResourceManager.GetString("Value_Language_English", dutchCulture)!, + englishInDutch + ); + Assert.Contains( + WheelWizard.Resources.Languages.Settings.ResourceManager.GetString("Value_Language_English", germanCulture)!, + englishInGerman + ); + Assert.NotEqual(englishInDutch, englishInGerman); + } + finally + { + WheelWizard.Resources.Languages.Settings.Culture = originalSettingsCulture; + } + } + [Fact] public void Initialize_SetsCurrentCulture_FromLanguageSetting() { var originalCulture = CultureInfo.CurrentCulture; var originalUiCulture = CultureInfo.CurrentUICulture; + var originalDefaultCulture = CultureInfo.DefaultThreadCurrentCulture; + var originalDefaultUiCulture = CultureInfo.DefaultThreadCurrentUICulture; + var originalCommonCulture = Common.Culture; + var originalPhrasesCulture = Phrases.Culture; + var originalSettingsCulture = WheelWizard.Resources.Languages.Settings.Culture; var signalBus = SettingsTestUtils.CreateSettingsSignalBus(); var settingsManager = Substitute.For(); var languageSetting = new WhWzSetting(typeof(string), "WW_Language", "fr"); @@ -196,11 +233,21 @@ public void Initialize_SetsCurrentCulture_FromLanguageSetting() Assert.Equal("fr", CultureInfo.CurrentCulture.TwoLetterISOLanguageName); Assert.Equal("fr", CultureInfo.CurrentUICulture.TwoLetterISOLanguageName); + Assert.Equal("fr", CultureInfo.DefaultThreadCurrentCulture?.TwoLetterISOLanguageName); + Assert.Equal("fr", CultureInfo.DefaultThreadCurrentUICulture?.TwoLetterISOLanguageName); + Assert.Equal("fr", Common.Culture.TwoLetterISOLanguageName); + Assert.Equal("fr", Phrases.Culture.TwoLetterISOLanguageName); + Assert.Equal("fr", WheelWizard.Resources.Languages.Settings.Culture.TwoLetterISOLanguageName); } finally { CultureInfo.CurrentCulture = originalCulture; CultureInfo.CurrentUICulture = originalUiCulture; + CultureInfo.DefaultThreadCurrentCulture = originalDefaultCulture; + CultureInfo.DefaultThreadCurrentUICulture = originalDefaultUiCulture; + Common.Culture = originalCommonCulture; + Phrases.Culture = originalPhrasesCulture; + WheelWizard.Resources.Languages.Settings.Culture = originalSettingsCulture; } } @@ -209,6 +256,11 @@ public void PublishLanguageSignal_UpdatesCulture_WhenLanguageChanges() { var originalCulture = CultureInfo.CurrentCulture; var originalUiCulture = CultureInfo.CurrentUICulture; + var originalDefaultCulture = CultureInfo.DefaultThreadCurrentCulture; + var originalDefaultUiCulture = CultureInfo.DefaultThreadCurrentUICulture; + var originalCommonCulture = Common.Culture; + var originalPhrasesCulture = Phrases.Culture; + var originalSettingsCulture = WheelWizard.Resources.Languages.Settings.Culture; var signalBus = SettingsTestUtils.CreateSettingsSignalBus(); var settingsManager = Substitute.For(); var languageSetting = new WhWzSetting(typeof(string), "WW_Language", "en"); @@ -224,11 +276,21 @@ public void PublishLanguageSignal_UpdatesCulture_WhenLanguageChanges() Assert.Equal("de", CultureInfo.CurrentCulture.TwoLetterISOLanguageName); Assert.Equal("de", CultureInfo.CurrentUICulture.TwoLetterISOLanguageName); + Assert.Equal("de", CultureInfo.DefaultThreadCurrentCulture?.TwoLetterISOLanguageName); + Assert.Equal("de", CultureInfo.DefaultThreadCurrentUICulture?.TwoLetterISOLanguageName); + Assert.Equal("de", Common.Culture.TwoLetterISOLanguageName); + Assert.Equal("de", Phrases.Culture.TwoLetterISOLanguageName); + Assert.Equal("de", WheelWizard.Resources.Languages.Settings.Culture.TwoLetterISOLanguageName); } finally { CultureInfo.CurrentCulture = originalCulture; CultureInfo.CurrentUICulture = originalUiCulture; + CultureInfo.DefaultThreadCurrentCulture = originalDefaultCulture; + CultureInfo.DefaultThreadCurrentUICulture = originalDefaultUiCulture; + Common.Culture = originalCommonCulture; + Phrases.Culture = originalPhrasesCulture; + WheelWizard.Resources.Languages.Settings.Culture = originalSettingsCulture; } } } diff --git a/WheelWizard/Features/Settings/ISettingsServices.cs b/WheelWizard/Features/Settings/ISettingsServices.cs index 0f85dca3..ff67f0fb 100644 --- a/WheelWizard/Features/Settings/ISettingsServices.cs +++ b/WheelWizard/Features/Settings/ISettingsServices.cs @@ -63,4 +63,5 @@ public interface ISettingsStartupInitializer public interface ISettingsLocalizationService { void Initialize(); + void ApplyCurrentLanguage(); } diff --git a/WheelWizard/Features/Settings/SettingsLocalizationService.cs b/WheelWizard/Features/Settings/SettingsLocalizationService.cs index 5017e00a..9714d700 100644 --- a/WheelWizard/Features/Settings/SettingsLocalizationService.cs +++ b/WheelWizard/Features/Settings/SettingsLocalizationService.cs @@ -1,4 +1,7 @@ using System.Globalization; +using CommonResource = WheelWizard.Resources.Languages.Common; +using PhrasesResource = WheelWizard.Resources.Languages.Phrases; +using SettingsResource = WheelWizard.Resources.Languages.Settings; namespace WheelWizard.Settings; @@ -14,20 +17,26 @@ public void Initialize() return; _subscription = settingsSignalBus.Subscribe(OnSignal); - ApplyCulture(); + ApplyCurrentLanguage(); _initialized = true; } private void OnSignal(SettingChangedSignal signal) { if (signal.Setting == settingsManager.WW_LANGUAGE) - ApplyCulture(); + ApplyCurrentLanguage(); } - private void ApplyCulture() + public void ApplyCurrentLanguage() { var newCulture = new CultureInfo(settingsManager.Get(settingsManager.WW_LANGUAGE)); + CultureInfo.DefaultThreadCurrentCulture = newCulture; + CultureInfo.DefaultThreadCurrentUICulture = newCulture; CultureInfo.CurrentCulture = newCulture; CultureInfo.CurrentUICulture = newCulture; + + CommonResource.Culture = newCulture; + PhrasesResource.Culture = newCulture; + SettingsResource.Culture = newCulture; } } diff --git a/WheelWizard/Features/Settings/Types/SettingConstants.cs b/WheelWizard/Features/Settings/Types/SettingConstants.cs index 6da30264..bcd553b5 100644 --- a/WheelWizard/Features/Settings/Types/SettingConstants.cs +++ b/WheelWizard/Features/Settings/Types/SettingConstants.cs @@ -1,5 +1,7 @@ namespace WheelWizard.Settings.Types; +using SettingsResource = WheelWizard.Resources.Languages.Settings; + public enum DolphinShaderCompilationMode { Default = 0, @@ -43,9 +45,12 @@ public static bool IsValidWindowScale(object? value) { "nl", () => CreateLanguageString("Dutch") }, { "fr", () => CreateLanguageString("France") }, { "de", () => CreateLanguageString("German") }, + { "fi", () => CreateLanguageString("Finnish") }, + { "cs", () => CreateLanguageString("Czech") }, { "ja", () => CreateLanguageString("Japanese") }, { "es", () => CreateLanguageString("Spanish") }, { "it", () => CreateLanguageString("Italian") }, + { "pt", () => CreateLanguageString("Portuguese") }, { "ru", () => CreateLanguageString("Russian") }, { "ko", () => CreateLanguageString("Korean") }, { "tr", () => CreateLanguageString("Turkish") }, @@ -53,8 +58,9 @@ public static bool IsValidWindowScale(object? value) private static string CreateLanguageString(string language) { - var lang = Resources.Languages.Settings.ResourceManager.GetString($"Value_Language_{language}")!; - var langOg = Resources.Languages.Settings.ResourceManager.GetString($"Value_Language_{language}Og"); + var culture = SettingsResource.Culture ?? System.Globalization.CultureInfo.CurrentUICulture; + var lang = SettingsResource.ResourceManager.GetString($"Value_Language_{language}", culture) ?? language; + var langOg = SettingsResource.ResourceManager.GetString($"Value_Language_{language}Og", culture); if (lang == langOg || langOg == null || langOg == "-") return lang; diff --git a/WheelWizard/Resources/Languages/Common.cs.resx b/WheelWizard/Resources/Languages/Common.cs.resx index 1842c1ac..99162262 100644 --- a/WheelWizard/Resources/Languages/Common.cs.resx +++ b/WheelWizard/Resources/Languages/Common.cs.resx @@ -401,4 +401,82 @@ Moje Miiy + + Použít + + + Kopírovat Kód Kamaráda + + + Vypnout Vše + + + Udělat ručně + + + Zapnout Vše + + + Přidat Mii do "Moje Miiy“ + + + Zobrazit Vlastní Postavy + + + Zobrazit Místnost + + + Průměrný ZH + + + Zapnuto + + + Kód Kamaráda + + + Horizontální Poloha (Vlevo/Vpravo) + + + Vertikální Poloha Kníru (Nahoru/Dolů) + + + Rotace (Vleva/Vprava) + + + Rozteč Mezi Nimi + + + Vertikální Poloha (Nahoru/Dolů) + + + Zahrané závody + + + Celkem zahraných her + + + Celkem vyhraných her + + + Podrobnosti o Místnosti + + + Konfigurace Nedokončena + + + Vlastní + + + Extrahování souborů... + + + Instalováno + + + Úspěch + + + Stav: Neznámý + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Common.de.resx b/WheelWizard/Resources/Languages/Common.de.resx index 5773387b..cf3f32f0 100644 --- a/WheelWizard/Resources/Languages/Common.de.resx +++ b/WheelWizard/Resources/Languages/Common.de.resx @@ -315,10 +315,10 @@ Geschlecht - Männlich + Weiblich - Weiblich + Männlich Manuell durchführen diff --git a/WheelWizard/Resources/Languages/Common.es.resx b/WheelWizard/Resources/Languages/Common.es.resx index 13786a97..9dc46788 100644 --- a/WheelWizard/Resources/Languages/Common.es.resx +++ b/WheelWizard/Resources/Languages/Common.es.resx @@ -314,4 +314,151 @@ Hombre + + Hacer manualmente + + + Descargar e Instalar + + + Página de Gamebanana + + + Reportar + + + Enviar + + + Desinstalar + + + Ver Personajes Custom + + + Descripción + + + Descargas + + + Imágenes + + + Me Gustas + + + Cejas + + + Ojos + + + Cara + + + Vello Facial + + + General + + + Lentes + + + Pelo + + + Labios + + + Lunar + + + Nariz + + + Tipo de Barba + + + Nombre de Creador + + + Nuevo Mii + + + Tipo de Cejas + + + Rasgo Facial + + + Color Favorito + + + Color de Lentes + + + Tipo de Lentes + + + Color del Pelo + + + Tipo de Pelo + + + Forma de la Cabeza + + + Altura + + + Posición Horizontal (Izq/Der) + + + Color de los Ojos + + + Voltear Pelo + + + Tipo de Boca + + + Tamaño del Bigote + + + Tipo de Bigote + + + Posición Vertical del Bigote (Arriba/Abajo) + + + Nombre de Mii + + + Tipo de Nariz + + + Rotación (Rotar Izq/Der) + + + Tamaño + + + Color de Piel + + + Espacio intermedio + + + Posición vertical (Arriba/Abajo) + + + Ancho + + + Visitas + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Common.fi.resx b/WheelWizard/Resources/Languages/Common.fi.resx index a4c5284f..b525ad71 100644 --- a/WheelWizard/Resources/Languages/Common.fi.resx +++ b/WheelWizard/Resources/Languages/Common.fi.resx @@ -18,4 +18,475 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Käytä + + + Takaisin + + + Selaa + + + Peruuta + + + Kopioi kaverikoodi + + + Poista + + + Poista kaikki + + + Tee manuaalisesti + + + Lataa ja asenna + + + Monista + + + Muokkaa + + + Ota kaikki käyttöön + + + Vie + + + Suosikki + + + Gamebanana-sivusto + + + Tuo + + + Asenna + + + Säilytä + + + Käynnistä Dolphin + + + Puhu meille! + + + Lähdekoodi + + + Tue meitä! + + + Myöhemmin + + + Ei + + + Ok + + + Avaa kansio + + + Pelaa + + + Pelaa offline-tilassa + + + Satunnaista + + + Nimeä uudelleen + + + Ilmoita + + + Palauta + + + Tallenna + + + Lisää Mii omiin Mii-hahmoihin + + + Lähetä + + + Poista suosikeista + + + Poista asennus + + + Päivitä + + + Näytä mukautetut hahmot + + + Näytä Mii + + + Näytä modi + + + Näytä huone + + + Kyllä + + + Keskiarvoinen KP + + + TP + + + Taistelupisteet + + + Kuvaus + + + Lataukset + + + Käytössä + + + Kaverikoodi + + + Sukupuoli + + + Nainen + + + Mies + + + ID + + + Kuvat + + + Online-tilassa + + + Tykkäykset + + + Häviöt + + + Viesti + + + Kulmakarvat + + + Silmät + + + Kasvot + + + Naamakarvoitus + + + Yleiset + + + Silmälasit + + + Hiukset + + + Huulet + + + Luomi + + + Nenä + + + Partatyyli + + + Tekijän nimi + + + Uusi Mii + + + Kulmakarvojen tyyli + + + Kasvojen ominaisuus + + + Lempiväri + + + Sukupuoli + + + Nainen + + + Mies + + + Silmälasien väri + + + Silmälasien tyyli + + + Hiusväri + + + Hiustyyli + + + Pään muoto + + + Pituus + + + Vaakasuuntainen sijainti + + + Silmien väri + + + Peilaa hiukset + + + Huulien tyyli + + + Viiksien koko + + + Viiksityyli + + + Viiksien pystysuuntainen sijainti + + + Miin nimi + + + Nenän tyyli + + + Kierto (vasen/oikea) + + + Koko + + + Ihonväri + + + Välitys + + + Pystysuuntainen sijainti + + + Leveys + + + Modin nimi + + + Nimi + + + Pelaajia + + + Prioriteetti + + + Kisoja pelattu + + + Järjestä + + + Nopeus + + + Status + + + Offline + + + Online + + + Aika online-tilassa + + + Otsikko + + + Kisoja pelattu yhteensä + + + Kisoja voitettu yhteensä + + + Tyyppi + + + Näyttökerrat + + + KP + + + Kilpailupisteet + + + Voitot + + + Kaverit + + + Miit + + + Pelaajat + + + Huoneet + + + Kaverit + + + Etusivu + + + My Stuff + + + Omat Miit + + + Omat profiilit + + + Huoneen tiedot + + + Huoneet + + + Asetukset + + + Miin katselu + + + Mii-editori + + + Miin valinta + + + Modiselain + + + Modin tiedot + + + Amerikka + + + Australia + + + Kiina + + + Eurooppa + + + Japani + + + Etelä-Korea + + + Taiwan + + + Määritys kesken + + + Mukautettu + + + Virhe + + + Puretaan tiedostoja... + + + Asennettu + + + Asennetaan... + + + Ladataan... + + + Ei ajokorttia + + + Ei nimeä + + + Ei profiileja + + + Ei palvelinta + + + Onnistui + + + Tuntematon + + + Päivitetään... + + + Varoitus + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Common.ko.resx b/WheelWizard/Resources/Languages/Common.ko.resx index e0eb43eb..b52b7189 100644 --- a/WheelWizard/Resources/Languages/Common.ko.resx +++ b/WheelWizard/Resources/Languages/Common.ko.resx @@ -99,7 +99,7 @@ ID - MOD 이름 + 모드 이름 이름 @@ -318,7 +318,7 @@ 다운로드 및 설치 - 게임바나나 페이지 + Gamebanana 페이지 신고 @@ -342,13 +342,13 @@ 설명 - 다운로드수 + 다운로드 이미지 - 좋아요 수 + 좋아요 눈썹 @@ -360,7 +360,7 @@ 얼굴 - 얼굴 털 + 수염 정보 @@ -375,22 +375,22 @@ 입술 - 뾰루지 + - 수염 종류 + 수염 타입 제작자 이름 - 새 Mii + 새로운 Mii - 눈썹 종류 + 눈썹 타입 얼굴 특징 @@ -402,13 +402,13 @@ 안경 색상 - 안경 종류 + 안경 타입 머리카락 색상 - 머리카락 종류 + 머리카락 타입 얼굴형 @@ -455,4 +455,43 @@ VS레이팅 + + 사이즈 + + + 피부 색 + + + 간격 + + + 수직 위치 (위/아래) + + + + + + 나의 Mii + + + Mii 슬라이더 + + + Mii 에디터 + + + Mii 셀렉터 + + + 모드 브라우저 + + + 모드 세부사항 + + + 커스텀 + + + 설치 완료 + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Common.pt.resx b/WheelWizard/Resources/Languages/Common.pt.resx index 0eb79bc7..b36e6d1e 100644 --- a/WheelWizard/Resources/Languages/Common.pt.resx +++ b/WheelWizard/Resources/Languages/Common.pt.resx @@ -153,4 +153,340 @@ Sem perfil + + Voltar + + + Fazer manualmente + + + Fazer Download e Instalar + + + Duplicar + + + Adicionar aos favoritos + + + Página do GameBanana + + + Iniciar o Dolphin + + + Fala connosco! + + + Código-fonte + + + Apoia-nos! + + + Aleatorizar + + + Reportar + + + Adicionar Mii aos "Meus Miis" + + + Submeter + + + Tirar dos favoritos + + + Desinstalar + + + Ver Personagens Customizadas + + + CV Médio + + + CB Médio + + + Classificação de Batalha + + + Descrição + + + Downloads + + + Código de Amigo + + + Género + + + Mulher + + + Homem + + + Imagens + + + Está Online + + + Gostos + + + Derrotas + + + Mensagem + + + Sobrancelhas + + + Olhos + + + Cara + + + Pelos Faciais + + + Geral + + + Óculos + + + Cabelo + + + Lábios + + + Verruga + + + Nariz + + + Tipo de Barba + + + Nome do Criador + + + Novo Mii + + + Tipo de Sobrancelhas + + + Características Faciais + + + Cor Favorita + + + Género + + + Mulher + + + Homem + + + Cor dos óculos + + + Tipo de óculos + + + Cor de Cabelo + + + Tipo de Cabelo + + + Formato da Cabeça + + + Altura + + + Posição Horizontal (Esquerda/Direita) + + + Cor dos olhos + + + Espelhar o Cabelo + + + Tipo de Boca + + + Tamanho de Bigode + + + Tipo de Bigode + + + Posição Vertical do Bigode (Cima/Baixo) + + + Nome do Mii + + + Tipo de Nariz + + + Rotação (Rodar Esquerda/Direita) + + + Tamanho + + + Cor da Pele + + + Espaçamento entre + + + Posição Vertical (Cima/Baixo) + + + Largura + + + Jogadores + + + Prioridade + + + Corridas jogadas + + + Organizar por + + + Velocidade + + + Estado + + + Offline + + + Online + + + Tempo Online + + + Total de jogos jogados + + + Total de jogos ganhos + + + Visualizações + + + CV + + + Classificação Versus + + + Vitórias + + + Miis + + + Meus Miis + + + Carrosel Mii + + + Editor Mii + + + Seletor Mii + + + Navegador de mods + + + Detalhes do mod + + + América + + + Austrália + + + China + + + Europa + + + Japão + + + Coreia do Sul + + + Taiwan + + + Config Não Terminada + + + Personalizado + + + Erro + + + A extrair ficheiros... + + + Instalado + + + A instalar... + + + A carregar... + + + Sem servidor + + + Sucesso + + + Desconhecido + + + A atualizar... + + + Aviso + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Common.ru.resx b/WheelWizard/Resources/Languages/Common.ru.resx index 37200085..1de27c2f 100644 --- a/WheelWizard/Resources/Languages/Common.ru.resx +++ b/WheelWizard/Resources/Languages/Common.ru.resx @@ -491,4 +491,7 @@ Описание мода + + Кастом + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Phrases.Designer.cs b/WheelWizard/Resources/Languages/Phrases.Designer.cs index 809b82a9..8b5a506e 100644 --- a/WheelWizard/Resources/Languages/Phrases.Designer.cs +++ b/WheelWizard/Resources/Languages/Phrases.Designer.cs @@ -60,7 +60,7 @@ internal Phrases() { } /// - /// Looks up a localized string similar to Use the + button to add friends in Wheel Wizard. + /// Looks up a localized string similar to You can add friends in-game. /// public static string EmptyContent_NoFriends { get { @@ -167,6 +167,15 @@ public static string FilePicker_SelectModFile { } } + /// + /// Looks up a localized string similar to Creator name must be less than 10 characters long.. + /// + public static string HelperNote_CreatorNameLess10 { + get { + return ResourceManager.GetString("HelperNote_CreatorNameLess10", resourceCulture); + } + } + /// /// Looks up a localized string similar to Creator name must be less than 11 characters long.. /// @@ -213,7 +222,7 @@ public static string Hover_FriendsOnline_x { } /// - /// Looks up a localized string similar to Add friends directly here, then launch the game to sync.. + /// Looks up a localized string similar to To add friends you need to add them in-game.. /// public static string Hover_FriendsPageDisclaimer { get { @@ -501,6 +510,15 @@ public static string MessageSuccess_ModInstalled_Title { } } + /// + /// Looks up a localized string similar to Note(s): {$1}. + /// + public static string MessageSuccess_PatchConversionNotes { + get { + return ResourceManager.GetString("MessageSuccess_PatchConversionNotes", resourceCulture); + } + } + /// /// Looks up a localized string similar to Converted {$1} file(s) into {$2} patch file(s).. /// @@ -518,15 +536,6 @@ public static string MessageSuccess_PatchConversionSkipped { return ResourceManager.GetString("MessageSuccess_PatchConversionSkipped", resourceCulture); } } - - /// - /// Looks up a localized string similar to Note(s): {$1}. - /// - public static string MessageSuccess_PatchConversionNotes { - get { - return ResourceManager.GetString("MessageSuccess_PatchConversionNotes", resourceCulture); - } - } /// /// Looks up a localized string similar to Retro Rewind is up to date.. @@ -1150,7 +1159,7 @@ public static string Question_EnterNewName_Title { } /// - /// Looks up a localized string similar to Do you want to download and install the mod: {$1}?. + /// Looks up a localized string similar to Do you want to donwload and install the mod: {$1}?. /// public static string Question_InstallMod_Title { get { diff --git a/WheelWizard/Resources/Languages/Phrases.cs.resx b/WheelWizard/Resources/Languages/Phrases.cs.resx index d32cfa27..18f46dfa 100644 --- a/WheelWizard/Resources/Languages/Phrases.cs.resx +++ b/WheelWizard/Resources/Languages/Phrases.cs.resx @@ -168,4 +168,236 @@ Poháněno společností GameBanana + + Nemůžeme číst data Mii z tvého systému. Ujisti se, že jsi hru aspoň jednou spustil + + + Mody mohou změnit fungování hry. Začni importovat tvůj první mod kliknutím na tlačítko níže. + + + Není vybrán žádný mod + + + Nebyly nalezeny žádné mody + + + Hru musíš hrát aspoň jednou, abys viděl tvé profily zde uvedené + + + Nebyly nalezeny žádné místnosti + + + Jméno tvůrce musí být kratší než 10 znaků. + + + Právě nejsou žádní kamarádi online + + + Právě je 1 kamarád online + + + Právě jsou {$1} kamarádi online + + + Chceš-li přidat kamarády, musíš je přidat ve hře. + + + Právě nejsou žádní hráči online + + + Právě je 1 hráč online + + + Právě jsou {$1} hráči online + + + Primární profil se používá jako reference v klientovi Wheel Wizard + + + To ukazuje pouze regiony, ve kterých TY jsi hrál + + + Upozorňujeme, že tato stránka nenabízí žádnou funkci pro přímé připojení k místnosti. +Chceš-li se připojit ke konkrétní místnosti, budeš se muset buď připojit prostřednictvím kamaráda, nebo doufat, že se k ní připojíš připojením k online serverům. + + + Aktualizace aplikace se nezdařila. Přerušení. + + + Odstranění souborů pro aktualizaci se nezdařilo. Přerušení. + + + Přerušení Aktualizace RR + + + Změna Mii se nezdařila + + + Změna jména se nezdařila + + + Vytvoření databáze Mii se nezdařilo + + + Instalace Dolphin Emulatoru se nezdařila. Zkus prosím ručně nainstalovat Flatpak Dolphin. + + + Instalace Dolphinu se nezdařila + + + Načtení informací o modu se nezdařilo + + + Restartování s právy administrátor se nezdařilo. + + + Mii se úspěšně změnila + + + Jeden nebo více z vybraných Mii(y) je oblíbený. Miiy je možné smazat pouze v případě, že nejsou oblíbené, aby se zabránilo náhodnému smazání. + + + Není možné odstranit oblíbené Mii(y) + + + Není možné zobrazit mod, který nebyl nainstalován prostřednictvím prohlížeče modů. + + + Při pokusu o otevření vybraného modu se něco pokazilo. + + + Tento mod není možné zobrazit. + + + Složka Dolphin Emulator nebyla automaticky nalezena. Zkus prosím složku najít ručně, klikni na 'Pomoc' pro více informací. + + + Složka Dolphin Emulator Nebyla Nalezena + + + Aktualizace není možné právě teď zkontrolovat. Možná nejsi připojeni k internetu nebo server může být mimo provoz. + + + Kontrola aktualizací se nezdařila + + + Mod s jménem '{$1}' již existuje. + + + Neplatné Cesty. + + + Vybráno Více Souborů + + + Není možné stáhnout mod + + + Není možné aktualizovat Wheel Wizard + + + Zadej jméno Mii... + + + Zadej jméno modu... + + + Zadej požadovanou cestu zde... + + + Zadej text zde... + + + Hledej hráči... + + + Hledej mody... + + + Předpokládaný zbývající čas: + + + Instalování Dolphin Emulator + + + Instalace Dolphin Flatpak + + + Nalezena Složka Dolphin Emulator + + + Změna jména z: {$1} + + + Zadej nové jméno + + + Chceš stáhnout a nainstalovat mod: {$1}? + + + Chystáš se spustit hru bez jakýchkoliv modů. Chceš vymazat složku my-stuff? + + + Nalezené mody + + + Starý rksys.dat nalezen + + + Opravdu chceš reinstalovat Retro Rewind? + + + Tvojí verzi Retro Rewind se nepodařilo určit. Chtěl bys si stáhnout Retro Rewind? + + + Tvoje verze Retro Rewind je moc stará na aktualizaci. Chtěl bys znovu nainstalovat Retro Rewind? + + + Hledej mody... + + + Smazání je trvalé a není možné je vrátit zpět. + + + Opravdu chceš smazat {$1}? + + + Opravdu chceš smazat {$1} Miiy? + + + Někdy aktualizace vyžaduje administrátorská práva. Chceš je pro tuto aktualizaci aktivovat? + + + Aktualizovat pomocí admin + + + Zkopírovaný kód kamaráda do schránky + + + Smazáno '{$1}' + + + Smazáno {$1} Miiy + + + Mii byl přidán do tvého Miiy + + + Úspěšně změněn jméno na '{$1}' + + + Nastavit profil jako primární + + + Uloženo Mii '{$1}' do souboru '{$2}' + + + Mii není možné uložit + + + Zdá se, že tam nebyly žádné Miiy, které by bylo možné smazat + + + Zdá se, že tam nebyly žádné Miiy, které by bylo možné exportovat + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Phrases.de.resx b/WheelWizard/Resources/Languages/Phrases.de.resx index ad58718b..624ee977 100644 --- a/WheelWizard/Resources/Languages/Phrases.de.resx +++ b/WheelWizard/Resources/Languages/Phrases.de.resx @@ -484,4 +484,7 @@ Um einem bestimmten Raum beizutreten, musst du entweder über einen Freund treff Wheel Wizard Daten verschieben? + + Name des Ersteller muss weniger als 10 Zeichen lang sein. + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Phrases.es.resx b/WheelWizard/Resources/Languages/Phrases.es.resx index d3ee46c3..5fcb5d04 100644 --- a/WheelWizard/Resources/Languages/Phrases.es.resx +++ b/WheelWizard/Resources/Languages/Phrases.es.resx @@ -384,4 +384,7 @@ Ingrese la ruta deseada... + + El nombre del creador tiene que tener menos de 10 caracteres. + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Phrases.fi.resx b/WheelWizard/Resources/Languages/Phrases.fi.resx index a4c5284f..f143192a 100644 --- a/WheelWizard/Resources/Languages/Phrases.fi.resx +++ b/WheelWizard/Resources/Languages/Phrases.fi.resx @@ -18,4 +18,451 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Voit lisätä kavereita pelissä + + + Ei kavereita vielä. + + + Mii-tietojen lukeminen järjestelmältäsi epäonnistui. Varmista, että olet käynnistänyt pelin ainakin kerran. + + + Ei Mii-hahmoja vielä. + + + Modit voivat muuttaa pelin toimintoja. Tuo ensimmäinen modisi painamalla alla olevaa painiketta. + + + Valitse modi listalta nähdäksesi sen tiedot + + + Ei modia valittuna + + + Modeja ei löytynyt + + + Sinun on pelattava peliä vähintään kerran nähdäksesi profiilisi listalla + + + Sinulta joko puuttuu internet-yhteys tai kukaan ei ole pelaamassa tällä hetkellä. + + + Huoneita ei löytynyt + + + Tekijän nimen täytyy olla alle 10 merkkiä pitkä. + + + Nimien täytyy olla 3–10 merkkiä pitkä. + + + Ei kavereita online-tilassa + + + 1 kaveri on online-tilassa + + + {$1} kaveria on online-tilassa + + + Kavereiden lisääminen täytyy tehdä pelin sisällä. + + + Ei pelaajia online-tilassa + + + 1 pelaaja on online-tilassa + + + {$1} pelaajaa on online-tilassa + + + Pääprofiilia käytetään referenssinä Wheel Wizardissa + + + Näyttää vain alueet, joilla itse olet pelannut + + + Ei aktiivisia huoneita + + + 1 aktiivinen huone + + + {$1} aktiivista huonetta + + + Huomioi, että tältä sivulta ei voi liittyä huoneeseen suoraan. +Liittyäksesi tiettyyn huoneeseen, se tulee tehdä joko kaverin kautta tai toivoa että pääset siihen liittymällä verkkopeliin. + + + Päivityksen käyttöönotto epäonnistui. Perutaan. + + + Tiedostojen poistaminen päivitystä varten epäonnistui. Perutaan. + + + Virheellinen polku. Ota yhteyttä kehittäjiin.\n Palvelinvirhe: {$1} + + + Perutaan RR-päivitys + + + Miin vaihtaminen epäonnistui + + + Nimen vaihtaminen epäonnistui + + + Mii-tietokannan luominen epäonnistui + + + Dolphin-emulaattorin asennus epäonnistui. Kokeile asentaa Flatpak Dolphin manuaalisesti. + + + Dolphinin asennus epäonnistui. + + + Modin tietojen noutaminen epäonnistui + + + Tapahtui virhe. + + + Ladattaessa tapahtui virhe: {$1} + + + Modin lataus epäonnistui. + + + Modikansiota ei ole olemassa + + + Käynnistäminen järjestelmänvalvojan oikeuksilla epäonnistui. + + + Mii vaihdettu! + + + Retro Rewind on ajan tasalla. + + + Asetukset tallennettu! + + + Yksi tai useampi valituista Miistä on merkitty suosikiksi. Vahinkopoistojen välttämiseksi Miit voi poistaa vain, jos ne eivät ole suosikkeja. + + + Suosikki-Miitä ei voi poistaa + + + Ei voida näyttää modia, jota ei ole asennettu modiselaimen kautta. + + + Jokin meni pieleen avatessa valittua modia. + + + Tätä modia ei voi näyttää + + + Dolphin-emulaattorin kansiota ei löytynyt automaattisesti. Yritä etsiä kansio mauaalisesti. Lisätietoa saat napsauttamalla 'Ohje'. + + + Dolphin-emulaattorin kansiota ei löytynyt + + + Päivityksiä ei voi tarkistaa juuri nyt. Internet-yhteyttä ei ole tai palvelimessa on ongelma. + + + Päivitysten tarkistus epäonnistui + + + Modi nimellä '{$1}' on jo olemassa. + + + Nimi ei kelpaa. + + + Varmista, että kaikki polut ovat oikein ja yritä uudelleen. + + + Virheelliset polut. + + + Anna modille nimi. + + + Modin nimi ei voi olla tyhjä. + + + Modin nimi sisältää virheellisiä merkkejä. + + + Modin nimi on virheellinen. + + + Usea tiedosto valittuna + + + Yhdistäminen palvelimelle epäonnistui. Yritä myöhemmin uudelleen. + + + Yhdistäminen palvelimelle epäonnistui. + + + Dolphin-emulaattoria ei löytynyt. Määritä sijaintipolku asetuksissa. + + + Peliä ei löytynyt. Määritä sijaintipolku asetuksissa. + + + Tiedostoja ei löytynyt. + + + Modia ei voi ladata + + + Wheel Wizardia ei voi päivittää. Varmista, että sovellus sijaitsee kansiossa, johon voi kirjoittaa tietoja.\nNykyistä kansiota ei löytynyt. + + + Ei voitu tarkistaa, onko Wheel Wizard ajan tasalla.\nSyynä saattaa olla verkkoyhteysongelmat. + + + Wheel Wizardia ei voi päivittää. + + + Anna Miin nimi... + + + Anna modin nimi... + + + Anna haluttu polku tähän... + + + Kirjoita tähän... + + + Hae pelaajia... + + + Hae modeja... + + + Ladataan {$1} Mt + + + Arvioitu kestoaika: + + + Asennetaan Dolphin-emulaattoria + + + Asennetaan modeja + + + Asennetaan {$1} modia + + + Asennetaan Retro Rewindia + + + Asennetaan Retro Rewindia ensimmäistä kertaa + + + Hankitaan uusinta Wheel Wizard -versiota GitHubista + + + Käsitellään {$1}/{$1} tiedostoa... + + + Tässä voi kestää jonkin aikaa riippuen internet-yhteydestäsi. + + + Päivitetään Retro Rewindia + + + Päivitetään Wheel Wizardia + + + Muutos perutaan {$1} kuluttua, ellet aio pitää muutosta. + + + Haluatko ottaa uuden skaalan käyttöön? + + + Dolphin-emulaattorin Flatpak-versio ei näytä olevan asennettuna. Haluatko, että asennamme sen järjestelmällesi? + + + Dolphin Flatpakin asennus + + + Jos et tiedä, mitä kaikki tarkoittaa, paina vain 'Kyllä' :)\nDolphin-emulaattorin kansio löytyi. Haluatko käyttää tätä kansiota? + + + Dolphin-emulaattorin kansio löytyi + + + Muutetaan nimeä: {$1} + + + Anna uusi nimi + + + Haluatko ladata ja asentaa modin: {$1}? + + + Aiot käynnistää pelin ilman modeja. +Haluatko tyhjentää 'my-stuff'-kansiosi? + + + Modeja löytyi + + + Wheel Wizardin versio {$1} on saatavilla (nykyinen versio: {$2}). Haluatko päivittää heti? + + + Wheel Wizard -päivitys saatavilla + + + Vanhoja tallennustietoja löytyi. Haluatko käyttää sitä? (suositeltu) + + + Vanha rksys.dat löytyi + + + Haluatko varmasti asentaa Retro Rewindin uudelleen? + + + Asenna Retro Rewind uudelleen + + + Retro Rewind -versiotasi ei voitu määrittää. Haluatko ladata Retro Rewindin? + + + Lataa Retro Rewind + + + Retro Rewind -versiosi on liian vanha päivittämiseen. Haluatko asentaa Retro Rewindin uudelleen? + + + + Retro Rewind -versio on liian vanha. + + + Haetaan modeja... + + + Poistaminen on pysyvää eikä sitä voi perua. + + + Haluatko varmasti poistaa '{$1}'? + + + Haluatko varmasti poistaa {$1} Miitä? + + + Joskus päivitys vaatii järjestelmänvalvojan oikeuet. Haluatko aktivoida ne tätä päivitystä varten? + + + Päivitä järjestelmänvalvojana + + + Miin '{$1}' luominen epäonnistui + + + Miin '{$1}' deserialisointi epäonnistui + + + Miin '{$1}' kopioiminen epäonnistui + + + Miin '{$1}' noutaminen epäonnistui + + + Miin '{$1}' tallentaminen epäonnistui + + + Miin '{$1}' serialistointi epäonnistui + + + Miin '{$1}' päivittäminen epäonnistui + + + Kaverikoodi kopioitu leikepöydälle + + + {$1}' kopioitu + + + {$1}' kopioitua Miitä luotu + + + {$1}' poistettu + + + {$1} Miitä poistettu + + + Mii on lisätty omiin Miihin + + + Nimeksi vaihdettiin '{$1}' + + + Aseta profiili ensisijaiseksi + + + Mii '{$1}' tallennettiin tiedostoon '{$2}' + + + Miitä ei voi tallentaa + + + Poistettavia Miitä ei ole + + + Vietäviä Miitä ei ole + + + Tämän kielen käännökset tarjoaa: {$1} + + + Tehnyt: {$1}\n ja {$2} + + + Palvelun tarjoaa GameBanana + + + Suuret kiitokset kaikille kääntäjille: + + + Tämän kielen käännökset ovat {$1} % valmiita. + + + 1 pv + + + {$1} pv + + + 1 t + + + {$1} t + + + 1 min + + + {$1} min + + + 1 s + + + {$1} s + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Phrases.fr.resx b/WheelWizard/Resources/Languages/Phrases.fr.resx index 12baa874..63697b86 100644 --- a/WheelWizard/Resources/Languages/Phrases.fr.resx +++ b/WheelWizard/Resources/Languages/Phrases.fr.resx @@ -466,4 +466,7 @@ Voulez-vous réinstaller Retro Rewind ? Contribué par GameBanana + + Le nom de l'auteur doit faire moins de 10 caractères. + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Phrases.it.resx b/WheelWizard/Resources/Languages/Phrases.it.resx index 9cdeca4c..9487a730 100644 --- a/WheelWizard/Resources/Languages/Phrases.it.resx +++ b/WheelWizard/Resources/Languages/Phrases.it.resx @@ -464,4 +464,7 @@ Vuoi svuotare la tua cartella My-Stuff? Offerto da GameBanana + + Il nome dell'autore deve essere lungo al massimo 10 caratteri. + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Phrases.ja.resx b/WheelWizard/Resources/Languages/Phrases.ja.resx index 852accbb..aeec8b36 100644 --- a/WheelWizard/Resources/Languages/Phrases.ja.resx +++ b/WheelWizard/Resources/Languages/Phrases.ja.resx @@ -465,4 +465,7 @@ My Stuffフォルダーをクリアしますか? この言語はこれらの方が翻訳しました: {$1} + + 作成者の名前の長さは10文字以下にしてください + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Phrases.ko.resx b/WheelWizard/Resources/Languages/Phrases.ko.resx index 81554fa1..32cc9ac9 100644 --- a/WheelWizard/Resources/Languages/Phrases.ko.resx +++ b/WheelWizard/Resources/Languages/Phrases.ko.resx @@ -25,10 +25,10 @@ 아직 친구가 없어요! - MOD는 게임 작동 방식을 바꿀 수 있습니다. 모드를 불러오기 위해 아래 버튼을 클릭해 주세요. + 모드는 게임 작동 방식을 바꿀 수 있습니다. 모드를 불러오기 위해 아래 버튼을 클릭해 주세요. - MOD를 찾을 수 없습니다. + 모드를 찾을 수 없습니다. 게임을 한 번 이상 실행해야 프로필을 볼 수 있습니다. @@ -137,7 +137,7 @@ 휠 위저드 최신 버전 {$1}이 있습니다.(현재 버전 {$2}). 업데이트 하시겠습니까? - 모드 폴더가 없습니다. + 모드 폴더가 없습니다 돌핀 에뮬레이터를 찾을 수 없습니다. 설정에서 경로를 지정해 주십시오. @@ -164,7 +164,7 @@ 설치된 레트로 리와인드 버전을 확인 할 수 없습니다. 레트로 리와인드를 다운로드 하시겠습니까? - 설치된 레트로 리와인드가 너무 구버전입니다. 레트로 리와인드를 재설치 하시겠습니까? + 설치된 레트로 리와인드가 너무 구버전입니다. 레트로 리와인드를 재설치하시겠습니까? 레트로 리와인드는 최신 버전입니다. @@ -266,22 +266,22 @@ Mii 데이터베이스 작성에 실패했습니다. - 모드 이름을 입력: + 모드 이름을 입력... - 모드의 이름을 공란으로 할 수 없습니다 + 모드 이름을 공란으로 할 수 없습니다 플레이어 찾는 중... - 원하는 경로를 입력하세요 + 원하는 경로를 입력하세요... - MOD를 선택해서 자세한 설명을 보세요 + 모드를 선택해서 자세한 설명을 보세요 - 선택된 MOD가 없습니다. + 선택된 모드가 없습니다. 돌핀 에뮬레이터 설치에 실패했습니다. 직접 Flatpak 돌핀을 설치해주십시오. @@ -290,7 +290,7 @@ 돌핀 설치 실패 - MOD 정보 불러오기 실패 + 모드 정보 불러오기 실패 오류가 발생했습니다. @@ -299,9 +299,171 @@ 다운로드 중 오류가 발생했습니다: ($1) - MOD 다운로드 실패 + 모드 다운로드 실패 - Mii 변경에 성공했습니다. + Mii 변경에 성공했습니다 + + + 작성자 이름은 반드시 10자 이내여야 합니다. + + + 하나 이상의 Mii가 즐겨찾기 되었습니다. 즐겨찾기 된 Mii는 실수로 삭제되는것을 막습니다. 삭제를 하고 싶으실 땐 즐겨찾기를 해제해 주세요 + + + 즐겨찾기 된 Mii는 삭제할 수 없습니다 + + + 모드 브라우저를 통하지 않고 설치한 모드는 볼 수 없습니다 + + + 선택한 모드를 여는데 문제가 발생했습니다 + + + 이 모드를 볼 수 없습니다 + + + 업데이트를 확인 할 수 없습니다. 인터넷 연결이 끊어졌거나 서버가 다운된 상태일 수 있습니다 + + + 해당 이름은 사용할 수 없습니다 + + + 잘못된 경로입니다 + + + 모드 이름을 지어주세요 + + + 모드 이름에 사용할 수 없는 문자열이 사용됐습니다 + + + 잘못된 모드 이름입니다 + + + 서버에 연결할 수 없습니다 + + + 파일을 찾을 수 없습니다 + + + 모드를 다운로드 할 수 없습니다 + + + 휠 위저드를 업데이트 할 수 없습니다 + + + Mii의 이름을 입력하세요... + + + 여기에 텍스트를 입력하세요... + + + 모드를 찾는 중... + + + 돌핀 에뮬레이터를 설치 중 + + + 인터넷 상태에 따라 시간이 걸릴 수 있습니다 + + + 레트로 리와인드 업데이트 중 + + + 변경 사항 저장을 선택하지 않으면 변경 전인 {$1}로 돌아갑니다 + + + 돌핀 에뮬레이터의 Flatpak 버전이 설치되지 않은 것 같습니다. 시스템에 설치하시겠습니까? + + + 돌핀 Flatpak을 설치했습니다 + + + 이름을 다음과 같이 변경합니다: {$1} + + + 새로운 이름을 입력하세요 + + + 모드를 다운로드하고 설치하시겠습니까: {$1}? + + + 레트로 리와인드를 재설치하시겠습니까? + + + 레트로 리와인드의 버전이 너무 구버전입니다 + + + 모드를 검색합니다... + + + 삭제는 영구적이며, 되돌릴 수 없습니다 + + + {1}Mii를 삭제하시겠습니까? + + + Mii ‘{$1}’ 생성에 실패했습니다 + + + Mii ‘{$1}’ 복원에 실패했습니다 + + + Mii ‘{$1}’ 복제에 실패했습니다 + + + Mii ‘{$1}’ 을/를 가져오는 데 실패했습니다 + + + Mii ‘{$1}’ 저장에 실패했습니다 + + + Mii ‘{$1}’ 변환에 실패했습니다 + + + Mii ‘{$1}’ 업데이트를 실패했습니다 + + + 친구코드를 클립보드에 복사했습니다 + + + {$1}'를 복제했습니다 + + + 다음의 '{$1}' Mii를 복제했습니다 + + + {$1}'를 삭제했습니다 + + + 다음의 '{$1}' Mii를 삭제했습니다 + + + 당신의 Mii에 해당 Mii를 추가했습니다 + + + 이름을 '{$1}'으로 변경했습니다 + + + 프로필을 메인으로 설정하기 + + + Mii ‘{$1}'을/를 파일 ’{$2}'에 저장했습니다 + + + Mii를 저장할 수 없습니다 + + + 삭제할 수 있는 Mii가 없습니다 + + + 추출할 수 있는 Mii가 없습니다 + + + 해당 언어는 다음 분들이 번역하셨습니다: {$1} + + + GameBanana 제공 \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Phrases.nl.resx b/WheelWizard/Resources/Languages/Phrases.nl.resx index 0ae03558..c1622407 100644 --- a/WheelWizard/Resources/Languages/Phrases.nl.resx +++ b/WheelWizard/Resources/Languages/Phrases.nl.resx @@ -460,4 +460,7 @@ Om aan een specifieke kamer deel te nemen, moet je dit óf via een vriend óf vi Vul een nieuwe naam in + + Naam moet korter dan 10 tekens zijn. + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Phrases.pt.resx b/WheelWizard/Resources/Languages/Phrases.pt.resx index bafedf29..72676ef7 100644 --- a/WheelWizard/Resources/Languages/Phrases.pt.resx +++ b/WheelWizard/Resources/Languages/Phrases.pt.resx @@ -22,7 +22,7 @@ Podes adicionar amigos dentro do jogo - Ainda não adicionaste amigos + Ainda não adicionaste amigos! Mods podem alterar o funcionamento do jogo.Começa a importar o teu primeiro mod clicando no botão abaixo @@ -37,7 +37,7 @@ Poderás estar sem conexão à internet, ou talvez ninguém esteja a jogar - Não se econtrarem salas + Não se encontraram salas. Não tens amigos online @@ -73,7 +73,7 @@ Gostarias de aplicar a nova escala? - Falha a conectar ao servidor. Tente de novo mais tarde + Falha ao conectar ao servidor. Tente de novo mais tarde Pasta Do Dolphin Emulator Encontrada @@ -91,7 +91,7 @@ Descarrega o Retro Rewind - Por favor verifica que todos os percursos estão corretos e tenta outra vez- + Por favor verifica que todos os percursos estão corretos e tenta outra vez. Tempo restante estimado: @@ -136,7 +136,7 @@ Versão {$1} do Wheel Wizard está disponível (de momento encontra-se na versão {$2}). Queres atualizar agora? - A pasta de mods não existe + A pasta do mod não existe O Dolphin Emulator não foi encontrado, por favor defina o caminho nas definições @@ -145,7 +145,7 @@ O jogo não foi encontrado, por favor defina o caminho nas definições - O antifo rksys.dat foi encontrado + O antigo rksys.dat foi encontrado Foi encontrada uma gravação antiga. Queres usá-lá? (recomendado) @@ -181,7 +181,7 @@ Impossível verificar se o Wheel Wizard está atualizado. \nTalvez estejas a experienciar problemas de net - Atualiza usando administrados + Atualiza usando administrador Às vezes uma atualização requere direitos de administrador. Desejas usar direitos de administrador para esteja atualização? @@ -199,12 +199,267 @@ A transferir {$1} MB - Nome do mod não pode estar em branco + Nome do mod não pode estar em branco. - Procura Por Jogadores... + Pesquisa Por Jogadores... Introduz aqui o caminho desejado... + + Não conseguimos ler os dados Mii do teu sistema. Certifica-te que já iniciaste o jogo pelo menos uma vez. + + + Sem Miis ainda! + + + Seleciona um modo na lista para ver os seus detalhes + + + Nenhum mod selecionado + + + Nome de criador tem de ter menos de 10 caracteres. + + + Nomes tem de ter entre 3 a 10 caracteres. + + + Para adicionar amigos precisas de adicioná-los dentro do jogo. + + + O perfil primário é usado como referência no cliente do Wheel Wizard. + + + Isto só mostra regiões onde TU já jogaste. + + + Caminho de arquivo inválido detectado. Entra em contato com os desenvolvedores.\nErro do servidor: {$1} + + + A abortar o Update do RR. + + + Falha ao alterar o Mii + + + Falha ao alterar o nome + + + Falha ao criar a base de dados de Miis + + + A instalação do Dolphin Emulator falhou. Por favor tenta instalar manualmente o Flatpak Dolphin. + + + Falha ao instalar o Dolphin + + + Falha ao obter informações do mod + + + Ocorreu um erro. + + + Ocorreu um erro durante o download: {$1} + + + O download do mod falhou. + + + Mii mudado com sucesso + + + Um ou mais dos Mii(s) selecionados é um favorito. Miis só podem ser apagados se não forem favoritos de forma a prevenir que sejam apagados por engano. + + + Não é possível apagar Mii(s) favoritos + + + Não é possível ver um mod que não foi instalado a partir do navegador de mods. + + + Algo correu mal ao tentar abrir o mod selecionado. + + + Não é possível ver este mod. + + + Não é possível verificar se há atualizações no momento. Pode não estar conectado à internet ou o servidor pode estar indisponível ou em baixo. + + + Nome não permitido. + + + Caminhos inválidos. + + + Indique um nome de mod. + + + Nome do mod contêm carateres inválidos. + + + Nome do mod inválido. + + + Não é possível conectar ao servidor. + + + Os ficheiros não foram encontrados. + + + Não é possível descarregar o mod + + + Não é possível atualizar o Wheel Wizard + + + Introduzir nome do Mii... + + + Introduzir nome do mod... + + + Introduzir texto... + + + Pesquisa por mods... + + + A instalar o Dolphin Emulator + + + Isto pode demorar um pouco, dependendo na sua conexão de internet. + + + Esta alteração será revertida em {$1} a menos que decida manter a alteração. + + + A versão Flatpak do Dolphin Emulator parece não estar instalada. Deseja que a instalemos (em todo o sistema)? + + + Instalação do Dolphin Flatpak + + + Alterando o nome de: {$1} + + + Introduza um novo nome + + + Pretende transferir e instalar o mod: {$1}? + + + Tem a certeza de que deseja reinstalar o Retro Rewind? + + + A versão do Retro Rewind é muito antiga. + + + Procura por mods... + + + A eliminação é permanente e não pode ser revertida. + + + Tem a certeza de que deseja apagar {$1} Miis? + + + Falha ao criar o Mii '{$1}' + + + Falha ao desserializar o Mii '{$1}' + + + Falha ao duplicar Mii(s) '{$1}' + + + Falha ao obter Mii '{$1}' + + + Falha ao guardar Mii '{$1}' + + + Falha ao serializar o Mii '{$1}' + + + Falha ao atualizar o Mii '{$1}' + + + Código de amigo copiado para a área de transferência + + + Duplica de '{$1}' criada + + + Criados '{$1}' Miis duplicados + + + Apagado '{$1}' + + + {$1} Miis apagados + + + Mii foi adicionado aos teus Miis + + + Nome alterado com sucesso para '{$1}' + + + Definir perfil como principal + + + Mii '{$1}' salvado para o ficheiro '{$2}' + + + Não é possível guardar o Mii + + + Parece que não havia Miis para apagar + + + Parece que não havia Miis para exportar + + + Esta língua é traduzida por: {$1} + + + Feito por: {$1} \n e {$2} + + + Contribuido pelo GameBanana + + + Muito obrigado a todos os tradutores: + + + Traduções para esta língua estão {$1}% completas + + + 1 dia + + + {$1} dias + + + 1 hora + + + {$1} horas + + + 1 minuto + + + {$1} minutos + + + 1 segundo + + + {$1} segundos + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Phrases.resx b/WheelWizard/Resources/Languages/Phrases.resx index 9d70744f..65e4eec0 100644 --- a/WheelWizard/Resources/Languages/Phrases.resx +++ b/WheelWizard/Resources/Languages/Phrases.resx @@ -63,7 +63,7 @@ No friends yet! - Use the + button to add friends in Wheel Wizard + You can add friends in-game Translations for this language are {$1}% complete @@ -271,7 +271,7 @@ To join a specific room, you'll need to either join through a friend, or hope to We can't read the Mii data from your system. Make sure you started the game at least once - Add friends directly here, then launch the game to sync. + To add friends you need to add them in-game. This change will revert in {$1} unless you decide to keep the change. @@ -436,7 +436,7 @@ To join a specific room, you'll need to either join through a friend, or hope to Search for mods... - Do you want to download and install the mod: {$1}? + Do you want to donwload and install the mod: {$1}? Failed to retrieve mod info @@ -612,4 +612,7 @@ To join a specific room, you'll need to either join through a friend, or hope to This SZS is stored as a whole-file baseline. Exporting a whole-file override. + + Creator name must be less than 10 characters long. + diff --git a/WheelWizard/Resources/Languages/Phrases.ru.resx b/WheelWizard/Resources/Languages/Phrases.ru.resx index ff53c86f..3d340da9 100644 --- a/WheelWizard/Resources/Languages/Phrases.ru.resx +++ b/WheelWizard/Resources/Languages/Phrases.ru.resx @@ -348,4 +348,28 @@ Создан дубликат '{$1}' + + Имя создателя должно быть длиной в меньше 10 символов. + + + Создано '{$1}' дубликатов Mii + + + {$1}' удалено + + + Удалено '{$1}' Mii + + + Mii добавлен в ваши Mii + + + Сделать профиль основным + + + Mii '{$1}' сохранён в '{$2}' + + + Нельзя сохранить Mii + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Phrases.tr.resx b/WheelWizard/Resources/Languages/Phrases.tr.resx index 5e5eff8a..52427d5c 100644 --- a/WheelWizard/Resources/Languages/Phrases.tr.resx +++ b/WheelWizard/Resources/Languages/Phrases.tr.resx @@ -463,4 +463,7 @@ Belirli bir odaya katılmak için bir arkadaşınız aracılığıyla katılman GameBanana tarafından + + Yapımcı adı 10 karakterden kısa olması gerekiyor. + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Settings.Designer.cs b/WheelWizard/Resources/Languages/Settings.Designer.cs index 2a7ba89c..7f44d4c3 100644 --- a/WheelWizard/Resources/Languages/Settings.Designer.cs +++ b/WheelWizard/Resources/Languages/Settings.Designer.cs @@ -121,16 +121,7 @@ public static string HelperText_EndWithExe { return ResourceManager.GetString("HelperText_EndWithExe", resourceCulture); } } - - /// - /// Looks up a localized string similar to Choose where Wheel Wizard stores its files. Moving may take a while.. - /// - public static string HelperText_WheelWizardDataFolder { - get { - return ResourceManager.GetString("HelperText_WheelWizardDataFolder", resourceCulture); - } - } - + /// /// Looks up a localized string similar to Path can end with:. /// @@ -150,20 +141,20 @@ public static string HelperText_ForceDisableWiimote { } /// - /// Looks up a localized string similar to Will launch dolphins main window along with the game. + /// Looks up a localized string similar to Automatically launches Retro Rewind when Wheel Wizard starts. /// - public static string HelperText_LaunchWithDolphin { + public static string HelperText_LaunchRrOnStartup { get { - return ResourceManager.GetString("HelperText_LaunchWithDolphin", resourceCulture); + return ResourceManager.GetString("HelperText_LaunchRrOnStartup", resourceCulture); } } - + /// - /// Looks up a localized string similar to Automatically launches Retro Rewind when Wheel Wizard starts. + /// Looks up a localized string similar to Will launch dolphins main window along with the game. /// - public static string HelperText_LaunchRrOnStartup { + public static string HelperText_LaunchWithDolphin { get { - return ResourceManager.GetString("HelperText_LaunchRrOnStartup", resourceCulture); + return ResourceManager.GetString("HelperText_LaunchWithDolphin", resourceCulture); } } @@ -212,6 +203,15 @@ public static string HelperText_Topbar_LocationWarning { } } + /// + /// Looks up a localized string similar to Choose where Wheel Wizard stores its files. Moving may take a while.. + /// + public static string HelperText_WheelWizardDataFolder { + get { + return ResourceManager.GetString("HelperText_WheelWizardDataFolder", resourceCulture); + } + } + /// /// Looks up a localized string similar to This only changes the language for Wheel Wizard. To change the in-game language, you’ll need to do that within the game settings.. /// @@ -258,20 +258,20 @@ public static string Option_ForceDisableWiimote { } /// - /// Looks up a localized string similar to Launch Game With Dolphin Window. + /// Looks up a localized string similar to Launch Retro Rewind On Startup. /// - public static string Option_LaunchWithDolphin { + public static string Option_LaunchRrOnStartup { get { - return ResourceManager.GetString("Option_LaunchWithDolphin", resourceCulture); + return ResourceManager.GetString("Option_LaunchRrOnStartup", resourceCulture); } } - + /// - /// Looks up a localized string similar to Launch Retro Rewind On Startup. + /// Looks up a localized string similar to Launch Game With Dolphin Window. /// - public static string Option_LaunchRrOnStartup { + public static string Option_LaunchWithDolphin { get { - return ResourceManager.GetString("Option_LaunchRrOnStartup", resourceCulture); + return ResourceManager.GetString("Option_LaunchWithDolphin", resourceCulture); } } @@ -301,25 +301,7 @@ public static string Option_OpenConfig { return ResourceManager.GetString("Option_OpenConfig", resourceCulture); } } - - /// - /// Looks up a localized string similar to Wheel Wizard data folder. - /// - public static string Option_WheelWizardDataFolder { - get { - return ResourceManager.GetString("Option_WheelWizardDataFolder", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use default location. - /// - public static string Option_ResetDataFolder { - get { - return ResourceManager.GetString("Option_ResetDataFolder", resourceCulture); - } - } - + /// /// Looks up a localized string similar to Open Game Folder. /// @@ -374,6 +356,15 @@ public static string Option_Renderer { } } + /// + /// Looks up a localized string similar to Use default location. + /// + public static string Option_ResetDataFolder { + get { + return ResourceManager.GetString("Option_ResetDataFolder", resourceCulture); + } + } + /// /// Looks up a localized string similar to Show FPS. /// @@ -392,6 +383,15 @@ public static string Option_VSync { } } + /// + /// Looks up a localized string similar to Wheel Wizard data folder. + /// + public static string Option_WheelWizardDataFolder { + get { + return ResourceManager.GetString("Option_WheelWizardDataFolder", resourceCulture); + } + } + /// /// Looks up a localized string similar to Wheel Wizard Language. /// @@ -500,6 +500,33 @@ public static string Section_Wii { } } + /// + /// Looks up a localized string similar to Using custom location.. + /// + public static string Status_DataFolder_Custom { + get { + return ResourceManager.GetString("Status_DataFolder_Custom", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Using default location.. + /// + public static string Status_DataFolder_Default { + get { + return ResourceManager.GetString("Status_DataFolder_Default", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Moving data, please wait.... + /// + public static string Status_DataFolder_Moving { + get { + return ResourceManager.GetString("Status_DataFolder_Moving", resourceCulture); + } + } + /// /// Looks up a localized string similar to Arabic. /// @@ -555,7 +582,7 @@ public static string Value_Language_Czech { } /// - /// Looks up a localized string similar to -. + /// Looks up a localized string similar to Čeština. /// public static string Value_Language_CzechOg { get { @@ -609,7 +636,7 @@ public static string Value_Language_Finnish { } /// - /// Looks up a localized string similar to -. + /// Looks up a localized string similar to Suomi. /// public static string Value_Language_FinnishOg { get { @@ -735,7 +762,7 @@ public static string Value_Language_Portuguese { } /// - /// Looks up a localized string similar to -. + /// Looks up a localized string similar to Português. /// public static string Value_Language_PortugueseOg { get { @@ -805,32 +832,5 @@ public static string Value_Language_zTranslators { return ResourceManager.GetString("Value_Language_zTranslators", resourceCulture); } } - - /// - /// Looks up a localized string similar to Using custom location.. - /// - public static string Status_DataFolder_Custom { - get { - return ResourceManager.GetString("Status_DataFolder_Custom", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using default location.. - /// - public static string Status_DataFolder_Default { - get { - return ResourceManager.GetString("Status_DataFolder_Default", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Moving data, please wait.... - /// - public static string Status_DataFolder_Moving { - get { - return ResourceManager.GetString("Status_DataFolder_Moving", resourceCulture); - } - } } } diff --git a/WheelWizard/Resources/Languages/Settings.cs.resx b/WheelWizard/Resources/Languages/Settings.cs.resx index 78f2aeb5..da979d91 100644 --- a/WheelWizard/Resources/Languages/Settings.cs.resx +++ b/WheelWizard/Resources/Languages/Settings.cs.resx @@ -115,6 +115,69 @@ Turečtina - 57 + 91 + + + O tomto + + + Ostatní + + + Toto nastavení donutí hru běžet za 30 FPS (výchozí je 60) + + + To aktivuje animace v aplikaci Wheel Wizard + + + Cesta musí končit .exe + + + Cesta může končit: + + + Spustí hlavní okno Dolphin spolu s hrou + + + Musíš nastavit tyto 3 cesty než začneš hrát Retro Rewind. + + + Volitelný + + + Nastavení jsou vypnuté, nejprve dokonči nastavení umístění + + + Tím se změní pouze jazyk pro Wheel Wizard. Chceš-li změnit jazyk ve hře, musíš to udělat v nastavení hry. + + + Spustitelný soubor Dolphin Emulator + + + Uživatelská Složka Dolphin + + + Zapnout Animace + + + Otevřít Konfigurační Složku + + + Otevřít Složku Hry + + + Otevřít Složku Uložení + + + Reinstalovat RR + + + Nastavení Výkonu + + + Nastavení Vykreslování + + + Vzhled Wheel Wizard \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Settings.de.resx b/WheelWizard/Resources/Languages/Settings.de.resx index be59335a..6d20d1b6 100644 --- a/WheelWizard/Resources/Languages/Settings.de.resx +++ b/WheelWizard/Resources/Languages/Settings.de.resx @@ -160,7 +160,7 @@ Norwegisch - Portugiesisch + Portugisisch Sonstiges @@ -169,7 +169,7 @@ Allgemein - Über uns + Über Spielordner öffnen diff --git a/WheelWizard/Resources/Languages/Settings.es.resx b/WheelWizard/Resources/Languages/Settings.es.resx index 83894c7a..c5bdead9 100644 --- a/WheelWizard/Resources/Languages/Settings.es.resx +++ b/WheelWizard/Resources/Languages/Settings.es.resx @@ -22,7 +22,7 @@ Español - 75 + 88.7 Video diff --git a/WheelWizard/Resources/Languages/Settings.fi.resx b/WheelWizard/Resources/Languages/Settings.fi.resx index e216e3e1..75c44bcf 100644 --- a/WheelWizard/Resources/Languages/Settings.fi.resx +++ b/WheelWizard/Resources/Languages/Settings.fi.resx @@ -19,9 +19,183 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - 0 + 100 Clavey + + Tietoa + + + Yleiset + + + Muut + + + Grafiikka + + + Pakottaa pelin toimimaan 30 FPS -tilassa (oletus on 60) + + + Ottaa käyttöön animaatiot Wheel Wizard -sovelluksessa + + + Polun täytyy loppua päätteeseen .exe + + + Polku voi loppua: + + + Poistaa Wiimoten käytöstä pelissä, mutta ottaa sen käyttöön Wii-valikossa + + + Käynnistää Dolphinin pääikkunan pelin mukana + + + Nämä 3 polkua on määritettävä ennen kuin voit pelata Retro Rewindia + + + Valinnainen + + + Muuttaa joitakin Dolphinin asetuksia pätkimisen ja lagipiikkien vähentämiseksi + + + 1x on alkuperäinen resoluutio + + + Asetukset on lukittu, suorita sijaintipolkujen asetukset ensin + + + Vaihtaa kielen vain Wheel Wizard -sovelluksessa. Pelin kielen saa vaihdettua itse pelin sisällä. + + + Dolphin-emulaattorin käynnistystiedosto + + + Dolphin-käyttäjäkansio + + + Animaatiot + + + Pakota Wiimote pois käytöstä + + + Käynnistä peli Dolphin-ikkunassa + + + Aseta ensisijaiseksi + + + Mario Kart Wii -pelitiedosto + + + Avaa asetuskansio + + + Avaa pelikansio + + + Avaa tallennuskansio + + + Suositellut asetukset + + + Asenna RR uudelleen + + + Poista sumennus + + + Renderöijä + + + Näytä kuvalaskuri + + + Pystytahdistus (V-Sync) + + + Wheel Wizardin kieli + + + Ikkunan koko + + + Asennus + + + Kieli + + + Sijaintiasetukset + + + Suorituskyvyn asetukset + + + Renderöintiasetukset + + + Resoluutio + + + Wheel Wizardin ulkoasu + + + Wii-asetukset + + + Arabia + + + Kiina + + + Tšekki + + + Hollanti + + + Englanti + + + Suomi + + + Ranska + + + Saksa + + + Italia + + + Japani + + + Korea + + + Norja + + + Portugali + + + Venäjä + + + Espanja + + + Turkki + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Settings.fr.resx b/WheelWizard/Resources/Languages/Settings.fr.resx index a86b3986..efc2bcba 100644 --- a/WheelWizard/Resources/Languages/Settings.fr.resx +++ b/WheelWizard/Resources/Languages/Settings.fr.resx @@ -103,7 +103,7 @@ Paramètres Wii - Néérlandais + Néerlandais Anglais diff --git a/WheelWizard/Resources/Languages/Settings.ko.resx b/WheelWizard/Resources/Languages/Settings.ko.resx index 75df4c3e..5e1a51cf 100644 --- a/WheelWizard/Resources/Languages/Settings.ko.resx +++ b/WheelWizard/Resources/Languages/Settings.ko.resx @@ -19,7 +19,7 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - 80 + 100 비디오 @@ -186,4 +186,16 @@ 이 설정은 Wheel Wizard의 언어만 변경합니다. 게임의 언어를 변경하기 위해서는 게임 설정에서 변경해야 합니다. + + 게임 폴더 열기 + + + 세이브 폴더 열기 + + + 레트로 리와인드 재설치 + + + 설치 + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Settings.nb.resx b/WheelWizard/Resources/Languages/Settings.nb.resx index 0e8a4859..e8b6609b 100644 --- a/WheelWizard/Resources/Languages/Settings.nb.resx +++ b/WheelWizard/Resources/Languages/Settings.nb.resx @@ -11,9 +11,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 0 - Kinsey, Pluto_games diff --git a/WheelWizard/Resources/Languages/Settings.nl.resx b/WheelWizard/Resources/Languages/Settings.nl.resx index f582b417..ac282df3 100644 --- a/WheelWizard/Resources/Languages/Settings.nl.resx +++ b/WheelWizard/Resources/Languages/Settings.nl.resx @@ -132,7 +132,7 @@ Maak hoofdprofiel - 90 + 100 Verwijder waas diff --git a/WheelWizard/Resources/Languages/Settings.pt.resx b/WheelWizard/Resources/Languages/Settings.pt.resx index 2f7319b5..5987a7f0 100644 --- a/WheelWizard/Resources/Languages/Settings.pt.resx +++ b/WheelWizard/Resources/Languages/Settings.pt.resx @@ -91,9 +91,111 @@ Escala da janela - 0 + 100 JMM, Gui_C__Tuga + + Acerca de + + + Geral + + + Outro + + + O caminho pode acabar com: + + + Precisas de configurar estes 3 caminhos antes de começar a jogar Retro Rewind. + + + Opcional + + + Isto só muda o idioma do Wheel Wizard. Para mudar o idioma dentro do jogo, precisas de fazer isso nas configurações do próprio jogo. + + + Abrir a Pasta do Jogo + + + Abrir a Pasta de Ficheiros de Gravação + + + Reinstalar RR + + + Instalação + + + Linguagem + + + Definições da Localização + + + Definições de Performance + + + Definições de Renderização + + + Resolução + + + Aparência do Wheel Wizard + + + Definições da Wii + + + Árabe + + + Chinês + + + Checo + + + Holandês + + + Inglês + + + Finlandês + + + Francês + + + Alemão + + + Italiano + + + Japonês + + + Coreano + + + Norueguês + + + Português + + + Russo + + + Espanhol + + + Turco + \ No newline at end of file diff --git a/WheelWizard/Resources/Languages/Settings.resx b/WheelWizard/Resources/Languages/Settings.resx index 56d27c27..808e1647 100644 --- a/WheelWizard/Resources/Languages/Settings.resx +++ b/WheelWizard/Resources/Languages/Settings.resx @@ -186,7 +186,7 @@ Finnish - - + Suomi Remove Blur @@ -219,7 +219,7 @@ Czech - - + Čeština Norwegian @@ -237,7 +237,7 @@ Portuguese - - + Português Installation diff --git a/WheelWizard/Resources/Languages/Settings.ru.resx b/WheelWizard/Resources/Languages/Settings.ru.resx index 816db17a..c85809f7 100644 --- a/WheelWizard/Resources/Languages/Settings.ru.resx +++ b/WheelWizard/Resources/Languages/Settings.ru.resx @@ -19,7 +19,7 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - 88 + 100 Видео diff --git a/WheelWizard/Resources/Languages/Settings.zh.resx b/WheelWizard/Resources/Languages/Settings.zh.resx index b7714137..a4c5284f 100644 --- a/WheelWizard/Resources/Languages/Settings.zh.resx +++ b/WheelWizard/Resources/Languages/Settings.zh.resx @@ -18,7 +18,4 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 0 - \ No newline at end of file diff --git a/WheelWizard/Views/NavigationManager.cs b/WheelWizard/Views/NavigationManager.cs index 066e831c..4d1aee30 100644 --- a/WheelWizard/Views/NavigationManager.cs +++ b/WheelWizard/Views/NavigationManager.cs @@ -1,27 +1,11 @@ -using System.Globalization; using Avalonia.Controls; -using WheelWizard.Settings; namespace WheelWizard.Views; public static class NavigationManager { - private static ISettingsManager Settings => SettingsRuntime.Current; - public static void NavigateTo(Type pageType, params object?[] args) { - // TODO: Fix the language bug. for some reason when changing the language, it changes itself back to the language before - // SO as a quick and dirty fix in the navigate to page we just set the language pack when its out of sync, but this solution - // still makes it so that the first page you enter after changing the language setting will always be the old language instead of the new one - // when working on the translations again, this should be fixed. and in a solid way instead of this - var itCurrentlyIs = CultureInfo.CurrentCulture.ToString(); - var itsSupposeToBe = Settings.Get(Settings.WW_LANGUAGE); - if (itCurrentlyIs != itsSupposeToBe) - { - Settings.Set(Settings.WW_LANGUAGE, itCurrentlyIs); - Settings.Set(Settings.WW_LANGUAGE, itsSupposeToBe); - } - if (Activator.CreateInstance(pageType, args) is not UserControl instance) throw new InvalidOperationException($"Failed to create an instance of {pageType.FullName}"); diff --git a/WheelWizard/Views/Pages/Settings/WhWzSettings.axaml.cs b/WheelWizard/Views/Pages/Settings/WhWzSettings.axaml.cs index 73522bc8..bf953f69 100644 --- a/WheelWizard/Views/Pages/Settings/WhWzSettings.axaml.cs +++ b/WheelWizard/Views/Pages/Settings/WhWzSettings.axaml.cs @@ -21,6 +21,11 @@ namespace WheelWizard.Views.Pages.Settings; public partial class WhWzSettings : UserControlBase { + private sealed record LanguageDropdownItem(string Key, string DisplayName) + { + public override string ToString() => DisplayName; + } + private readonly bool _pageLoaded; private bool _editingScale; private bool _isMovingAppData; @@ -28,6 +33,9 @@ public partial class WhWzSettings : UserControlBase [Inject] private ISettingsManager SettingsService { get; set; } = null!; + [Inject] + private ISettingsLocalizationService LocalizationService { get; set; } = null!; + [Inject] private IDolphinSettingManager DolphinSettingsService { get; set; } = null!; @@ -53,14 +61,15 @@ private void LoadSettings() // Wheel Wizard Language Dropdown // ----------------- WhWzLanguageDropdown.Items.Clear(); // Clear existing items - foreach (var lang in SettingValues.WhWzLanguages.Values) + foreach (var (key, displayNameFactory) in SettingValues.WhWzLanguages) { - WhWzLanguageDropdown.Items.Add(lang()); + WhWzLanguageDropdown.Items.Add(new LanguageDropdownItem(key, displayNameFactory())); } var currentWhWzLanguage = (string)SettingsService.WW_LANGUAGE.Get(); - var whWzLanguageDisplayName = SettingValues.WhWzLanguages[currentWhWzLanguage]; - WhWzLanguageDropdown.SelectedItem = whWzLanguageDisplayName(); + WhWzLanguageDropdown.SelectedItem = WhWzLanguageDropdown + .Items.OfType() + .FirstOrDefault(item => item.Key == currentWhWzLanguage); TranslationsPercentageText.Text = Humanizer.ReplaceDynamic( Phrases.Text_LanguageTranslatedBy, @@ -722,15 +731,15 @@ private async void WhWzLanguageDropdown_OnSelectionChanged(object? sender, Selec if (WhWzLanguageDropdown.SelectedItem == null) return; - var selectedLanguage = WhWzLanguageDropdown.SelectedItem.ToString(); - var key = SettingValues.WhWzLanguages.FirstOrDefault(x => x.Value() == selectedLanguage).Key; + if (WhWzLanguageDropdown.SelectedItem is not LanguageDropdownItem selectedLanguage) + return; var currentLanguage = (string)SettingsService.WW_LANGUAGE.Get(); - if (key == null || key == currentLanguage) + if (selectedLanguage.Key == currentLanguage) return; var currentCulture = new System.Globalization.CultureInfo(currentLanguage); - var targetCulture = new System.Globalization.CultureInfo(key); + var targetCulture = new System.Globalization.CultureInfo(selectedLanguage.Key); var titleCurrent = SettingsResource.ResourceManager.GetString("Question_ApplyLanguageSettings_Title", currentCulture); var titleTarget = SettingsResource.ResourceManager.GetString("Question_ApplyLanguageSettings_Title", targetCulture); @@ -748,13 +757,17 @@ private async void WhWzLanguageDropdown_OnSelectionChanged(object? sender, Selec if (!yesNoWindow) { var currentWhWzLanguage = (string)SettingsService.WW_LANGUAGE.Get(); - var whWzLanguageDisplayName = SettingValues.WhWzLanguages[currentWhWzLanguage](); // gets the name of the current language back if the change was aborted - WhWzLanguageDropdown.SelectedItem = whWzLanguageDisplayName; + WhWzLanguageDropdown.SelectedItem = WhWzLanguageDropdown + .Items.OfType() + .FirstOrDefault(item => item.Key == currentWhWzLanguage); return; // We only want to change the setting if we really apply this change } - SettingsService.WW_LANGUAGE.Set(key); - ViewUtils.RefreshWindow(); + if (SettingsService.WW_LANGUAGE.Set(selectedLanguage.Key)) + { + LocalizationService.ApplyCurrentLanguage(); + ViewUtils.RefreshWindow(); + } } private void EnableAnimations_OnClick(object sender, RoutedEventArgs e) => diff --git a/WheelWizard/Views/Styles/Styles/DropdownStyles.axaml b/WheelWizard/Views/Styles/Styles/DropdownStyles.axaml index bdc4a0c9..4fd15f54 100644 --- a/WheelWizard/Views/Styles/Styles/DropdownStyles.axaml +++ b/WheelWizard/Views/Styles/Styles/DropdownStyles.axaml @@ -13,6 +13,7 @@ + @@ -49,6 +50,7 @@