Update LocaleKeys

This commit is contained in:
Isaac Marovitz 2023-01-03 17:46:08 -05:00
parent 47c5490dd7
commit f25c27c5f5
No known key found for this signature in database
GPG key ID: 97250B2B09A132E1
2 changed files with 13 additions and 13 deletions

View file

@ -83,7 +83,7 @@ public class AboutWindowViewModel : BaseModel
public string Developers public string Developers
{ {
get => string.Format(LocaleManager.Instance["AboutPageDeveloperListMore"], "gdkchan, Ac_K, Thog, rip in peri peri, LDj3SNuD, emmaus, Thealexbarney, Xpl0itR, GoffyDude, »jD«"); get => string.Format(LocaleManager.Instance[LocaleKeys.AboutPageDeveloperListMore], "gdkchan, Ac_K, Thog, rip in peri peri, LDj3SNuD, emmaus, Thealexbarney, Xpl0itR, GoffyDude, »jD«");
} }
public AboutWindowViewModel() public AboutWindowViewModel()
@ -113,7 +113,7 @@ public class AboutWindowViewModel : BaseModel
{ {
if (!NetworkInterface.GetIsNetworkAvailable()) if (!NetworkInterface.GetIsNetworkAvailable())
{ {
Supporters = LocaleManager.Instance["ConnectionError"]; Supporters = LocaleManager.Instance[LocaleKeys.ConnectionError];
return; return;
} }
@ -128,7 +128,7 @@ public class AboutWindowViewModel : BaseModel
} }
catch catch
{ {
Supporters = LocaleManager.Instance["ApiError"]; Supporters = LocaleManager.Instance[LocaleKeys.ApiError];
} }
} }
} }

View file

@ -28,7 +28,7 @@ namespace Ryujinx.Ava.UI.Windows
{ {
PrimaryButtonText = "", PrimaryButtonText = "",
SecondaryButtonText = "", SecondaryButtonText = "",
CloseButtonText = LocaleManager.Instance["UserProfilesClose"], CloseButtonText = LocaleManager.Instance[LocaleKeys.UserProfilesClose],
Content = content Content = content
}; };