aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Ava/UI/Models/TitleUpdateModel.cs
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2023-01-21 02:06:19 +0100
committerGitHub <noreply@github.com>2023-01-21 02:06:19 +0100
commit8474d52778d6bc45146b59a1fc921e6702f4b96a (patch)
treece34a56ec8a2296bf3e5f891853a31a8d6bab6e0 /Ryujinx.Ava/UI/Models/TitleUpdateModel.cs
parentdd7a924596ff5925baa8b7f3ec85ceda8cb1cd8a (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/Models/TitleUpdateModel.cs')
-rw-r--r--Ryujinx.Ava/UI/Models/TitleUpdateModel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Ava/UI/Models/TitleUpdateModel.cs b/Ryujinx.Ava/UI/Models/TitleUpdateModel.cs
index c57b3a26..80476a43 100644
--- a/Ryujinx.Ava/UI/Models/TitleUpdateModel.cs
+++ b/Ryujinx.Ava/UI/Models/TitleUpdateModel.cs
@@ -8,7 +8,7 @@ namespace Ryujinx.Ava.UI.Models
public ApplicationControlProperty Control { get; }
public string Path { get; }
- public string Label => string.Format(LocaleManager.Instance[LocaleKeys.TitleUpdateVersionLabel], Control.DisplayVersionString.ToString());
+ public string Label => LocaleManager.Instance.UpdateAndGetDynamicValue(LocaleKeys.TitleUpdateVersionLabel, Control.DisplayVersionString.ToString());
public TitleUpdateModel(ApplicationControlProperty control, string path)
{