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/TitleUpdateViewModel.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/TitleUpdateViewModel.cs')
-rw-r--r-- | Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs b/Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs index 131ebd25..1bac9424 100644 --- a/Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs +++ b/Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs @@ -181,7 +181,7 @@ public class TitleUpdateViewModel : BaseModel { Dispatcher.UIThread.Post(async () => { - await ContentDialogHelper.CreateErrorDialog(string.Format(LocaleManager.Instance[LocaleKeys.DialogDlcLoadNcaErrorMessage], ex.Message, path)); + await ContentDialogHelper.CreateErrorDialog(LocaleManager.Instance.UpdateAndGetDynamicValue(LocaleKeys.DialogLoadNcaErrorMessage, ex.Message, path)); }); } } |