Compare commits

...

10 Commits

Author SHA1 Message Date
Daniel Nylander
fa823bce42 Adding Swedish and Finnish to SystemLanguage.cs 2024-11-24 08:31:34 +01:00
Daniel Nylander
f3f1488bbb Adding Swedish and Finnish to KeyboardLayout.cs 2024-11-24 08:30:47 +01:00
Daniel Nylander
7ca5766e45 Adding Swedish and Finnish to TitleLanguage.cs 2024-11-24 08:30:02 +01:00
Daniel Nylander
beec16bac5 Adding Swedish and Finnish to Language.cs 2024-11-24 08:26:46 +01:00
Daniel Nylander
c5944e6162 Adding Swedish and Finnish to ApplicationControlProperty.cs 2024-11-24 08:26:15 +01:00
Daniel Nylander
34a3e32caf Adding Swedish and Finnish to SettingsSystemView.axaml 2024-11-24 07:23:50 +01:00
Daniel Nylander
c85d31d719 Adding Swedish and Finnish to en_US.json 2024-11-24 07:21:04 +01:00
Daniel Nylander
9b7b6494b3 Adding sv and fi to ErrorApplet.cs 2024-11-24 07:19:37 +01:00
Daniel Nylander
da779d9609 Adding sv and fi to SystemStateMgr.cs 2024-11-24 07:18:18 +01:00
Daniel Nylander
fd11ec4033 Adding sv and fi to LanguageCode.cs 2024-11-24 07:17:29 +01:00
10 changed files with 26 additions and 2 deletions

View File

@@ -100,6 +100,8 @@ namespace Ryujinx.HLE.HOS.Applets.Error
SystemLanguage.SimplifiedChinese => "zh-Hans",
SystemLanguage.TraditionalChinese => "zh-Hant",
SystemLanguage.BrazilianPortuguese => "pt-BR",
SystemLanguage.Swedish => "sv",
SystemLanguage.Finnish => "fi",
_ => "en-US",
#pragma warning restore IDE0055
};

View File

@@ -18,6 +18,8 @@ namespace Ryujinx.HLE.HOS.SystemState
Korean,
ChineseSimplified,
ChineseTraditional,
Swedish,
Finnish,
Min = Default,
Max = ChineseTraditional,

View File

@@ -20,5 +20,7 @@ namespace Ryujinx.HLE.HOS.SystemState
SimplifiedChinese,
TraditionalChinese,
BrazilianPortuguese,
Swedish,
Finnish,
}
}

View File

@@ -23,6 +23,8 @@ namespace Ryujinx.HLE.HOS.SystemState
"zh-Hans",
"zh-Hant",
"pt-BR",
"sv",
"fi",
};
internal long DesiredKeyboardLayout { get; private set; }

View File

@@ -18,5 +18,7 @@ namespace Ryujinx.HLE.HOS.SystemState
TraditionalChinese,
SimplifiedChinese,
BrazilianPortuguese,
Swedish,
Finnish,
}
}

View File

@@ -133,6 +133,8 @@ namespace Ryujinx.Horizon.Sdk.Ns
TraditionalChinese = 13,
SimplifiedChinese = 14,
BrazilianPortuguese = 15,
Swedish = 16,
Finnish = 17,
}
public enum Organization

View File

@@ -20,5 +20,7 @@ namespace Ryujinx.Horizon.Sdk.Settings
SimplifiedChinese,
TraditionalChinese,
BrazilianPortuguese,
Swedish,
Finnish,
}
}

View File

@@ -27,7 +27,9 @@ namespace Ryujinx.Horizon.Sdk.Settings
"es-419",
"zh-Hans",
"zh-Hant",
"pt-BR"
"pt-BR",
"sv",
"fi"
};
public Array8<byte> Value;

View File

@@ -127,6 +127,8 @@
"SettingsTabSystemSystemLanguageDutch": "Dutch",
"SettingsTabSystemSystemLanguagePortuguese": "Portuguese",
"SettingsTabSystemSystemLanguageRussian": "Russian",
"SettingsTabSystemSystemLanguageSwedish": "Swedish",
"SettingsTabSystemSystemLanguageFinnish": "Finnish",
"SettingsTabSystemSystemLanguageTaiwanese": "Taiwanese",
"SettingsTabSystemSystemLanguageBritishEnglish": "British English",
"SettingsTabSystemSystemLanguageCanadianFrench": "Canadian French",

View File

@@ -135,6 +135,12 @@
<ComboBoxItem>
<TextBlock Text="{locale:Locale SettingsTabSystemSystemLanguageBrazilianPortuguese}" />
</ComboBoxItem>
<ComboBoxItem>
<TextBlock Text="{locale:Locale SettingsTabSystemSystemLanguageSwedish}" />
</ComboBoxItem>
<ComboBoxItem>
<TextBlock Text="{locale:Locale SettingsTabSystemSystemLanguageFinnish}" />
</ComboBoxItem>
</ComboBox>
</StackPanel>
<StackPanel
@@ -221,4 +227,4 @@
</StackPanel>
</Border>
</ScrollViewer>
</UserControl>
</UserControl>