mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-02 16:50:20 -07:00

* 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>
19 lines
546 B
C#
19 lines
546 B
C#
using LibHac.Ns;
|
|
using Ryujinx.Ava.Common.Locale;
|
|
|
|
namespace Ryujinx.Ava.UI.Models
|
|
{
|
|
public class TitleUpdateModel
|
|
{
|
|
public ApplicationControlProperty Control { get; }
|
|
public string Path { get; }
|
|
|
|
public string Label => LocaleManager.Instance.UpdateAndGetDynamicValue(LocaleKeys.TitleUpdateVersionLabel, Control.DisplayVersionString.ToString());
|
|
|
|
public TitleUpdateModel(ApplicationControlProperty control, string path)
|
|
{
|
|
Control = control;
|
|
Path = path;
|
|
}
|
|
}
|
|
} |