move locales.json

This commit is contained in:
LotP1 2024-12-16 19:41:29 +01:00
parent 497bb7fef8
commit 95fedf4a78
4 changed files with 237 additions and 237 deletions

View file

@ -144,7 +144,7 @@ namespace Ryujinx.Ava.Common.Locale
private static Dictionary<LocaleKeys, string> LoadJsonLanguage(string languageCode)
{
var localeStrings = new Dictionary<LocaleKeys, string>();
string fileData = EmbeddedResources.ReadAllText($"Ryujinx/Assets/Locales/locales.json");
string fileData = EmbeddedResources.ReadAllText($"Ryujinx/Assets/locales.json");
if (fileData == null)
{

View file

@ -112,7 +112,7 @@
</ItemGroup>
<ItemGroup>
<None Remove="Assets\Locales\locales.json" />
<None Remove="Assets\locales.json" />
<None Remove="Assets\Styles\Styles.xaml" />
<None Remove="Assets\Styles\Themes.xaml" />
<None Remove="Assets\Icons\Controller_JoyConLeft.svg" />
@ -122,7 +122,7 @@
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Assets\Locales\locales.json" />
<EmbeddedResource Include="Assets\locales.json" />
<EmbeddedResource Include="Assets\Styles\Styles.xaml" />
<EmbeddedResource Include="Assets\Icons\Controller_JoyConLeft.svg" />
<EmbeddedResource Include="Assets\Icons\Controller_JoyConPair.svg" />
@ -130,6 +130,6 @@
<EmbeddedResource Include="Assets\Icons\Controller_ProCon.svg" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="Assets\Locales\locales.json" />
<AdditionalFiles Include="Assets\locales.json" />
</ItemGroup>
</Project>

View file

@ -53,7 +53,7 @@ namespace Ryujinx.Ava.UI.Views.Main
{
List<MenuItem> menuItems = new();
string localePath = "Ryujinx/Assets/Locales/locales.json";
string localePath = "Ryujinx/Assets/locales.json";
string languageJson = EmbeddedResources.ReadAllText(localePath);