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/TitleUpdateWindow.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/TitleUpdateWindow.axaml.cs')
| -rw-r--r-- | Ryujinx.Ava/UI/Windows/TitleUpdateWindow.axaml.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Ava/UI/Windows/TitleUpdateWindow.axaml.cs b/Ryujinx.Ava/UI/Windows/TitleUpdateWindow.axaml.cs index 9d8b9a7b..41370e66 100644 --- a/Ryujinx.Ava/UI/Windows/TitleUpdateWindow.axaml.cs +++ b/Ryujinx.Ava/UI/Windows/TitleUpdateWindow.axaml.cs @@ -42,7 +42,7 @@ namespace Ryujinx.Ava.UI.Windows SecondaryButtonText = "", CloseButtonText = "", Content = new TitleUpdateWindow(virtualFileSystem, titleId, titleName), - Title = string.Format(LocaleManager.Instance[LocaleKeys.GameUpdateWindowHeading], titleName, titleId.ToString("X16")) + Title = LocaleManager.Instance.UpdateAndGetDynamicValue(LocaleKeys.GameUpdateWindowHeading, titleName, titleId.ToString("X16")) }; Style bottomBorder = new(x => x.OfType<Grid>().Name("DialogSpace").Child().OfType<Border>()); |
