diff options
| author | Ac_K <Acoustik666@gmail.com> | 2023-01-21 02:06:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-21 02:06:19 +0100 |
| commit | 8474d52778d6bc45146b59a1fc921e6702f4b96a (patch) | |
| tree | ce34a56ec8a2296bf3e5f891853a31a8d6bab6e0 /Ryujinx.Ava/UI/Windows/CheatWindow.axaml.cs | |
| parent | dd7a924596ff5925baa8b7f3ec85ceda8cb1cd8a (diff) | |
Ava UI: Fix `string.Format` issues in Locale (#4305)
* Ava UI: Fix `string.Format` issues in Locale
* LoacLanguage everytime now
* Apply suggestions from code review
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* fix UpdateAndGetDynamicValue
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
Diffstat (limited to 'Ryujinx.Ava/UI/Windows/CheatWindow.axaml.cs')
| -rw-r--r-- | Ryujinx.Ava/UI/Windows/CheatWindow.axaml.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Ava/UI/Windows/CheatWindow.axaml.cs b/Ryujinx.Ava/UI/Windows/CheatWindow.axaml.cs index b27d20d3..cb939763 100644 --- a/Ryujinx.Ava/UI/Windows/CheatWindow.axaml.cs +++ b/Ryujinx.Ava/UI/Windows/CheatWindow.axaml.cs @@ -31,7 +31,7 @@ namespace Ryujinx.Ava.UI.Windows { LoadedCheats = new AvaloniaList<CheatsList>(); - Heading = string.Format(LocaleManager.Instance[LocaleKeys.CheatWindowHeading], titleName, titleId.ToUpper()); + Heading = LocaleManager.Instance.UpdateAndGetDynamicValue(LocaleKeys.CheatWindowHeading, titleName, titleId.ToUpper()); InitializeComponent(); |
