| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using YJMPD_UWP.Helpers;
- namespace YJMPD_UWP.ViewModels
- {
- public class SettingsVM : TemplateVM
- {
- public SettingsVM() : base(Util.Loader.GetString("Settings"))
- {
- }
- protected override void UpdatePropertiesToNewLanguage()
- {
- NotifyPropertyChanged(nameof(Language));
- NotifyPropertyChanged(nameof(Reset));
- NotifyPropertyChanged(nameof(ResetHeader));
- App.MainPage.Title = Util.Loader.GetString("Settings");
- }
- public string Language
- {
- get
- {
- return Util.Loader.GetString("Language");
- }
- }
- public string ResetHeader
- {
- get
- {
- return Util.Loader.GetString("Reset");
- }
- }
- public string Reset
- {
- get
- {
- return Util.Loader.GetString("Reset") + " " + Util.Loader.GetString("Application");
- }
- }
- }
- }
|