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/ViewModels/UserSaveManagerViewModel.cs | |
parent | dd7a924596ff5925baa8b7f3ec85ceda8cb1cd8a (diff) |
Ava UI: Fix `string.Format` issues in Locale (#4305)1.1.580
* 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/ViewModels/UserSaveManagerViewModel.cs')
-rw-r--r-- | Ryujinx.Ava/UI/ViewModels/UserSaveManagerViewModel.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Ryujinx.Ava/UI/ViewModels/UserSaveManagerViewModel.cs b/Ryujinx.Ava/UI/ViewModels/UserSaveManagerViewModel.cs index dad74230..097634a8 100644 --- a/Ryujinx.Ava/UI/ViewModels/UserSaveManagerViewModel.cs +++ b/Ryujinx.Ava/UI/ViewModels/UserSaveManagerViewModel.cs @@ -17,8 +17,7 @@ namespace Ryujinx.Ava.UI.ViewModels private ObservableCollection<SaveModel> _views = new(); private AccountManager _accountManager; - public string SaveManagerHeading => - string.Format(LocaleManager.Instance[LocaleKeys.SaveManagerHeading], _accountManager.LastOpenedUser.Name, _accountManager.LastOpenedUser.UserId); + public string SaveManagerHeading => LocaleManager.Instance.UpdateAndGetDynamicValue(LocaleKeys.SaveManagerHeading, _accountManager.LastOpenedUser.Name, _accountManager.LastOpenedUser.UserId); public int SortIndex { |