mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
Deleted unused resources (#9392)
This commit is contained in:
@@ -60,15 +60,6 @@ namespace PowerLauncher.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to You have activated Wox {0} times.
|
||||
/// </summary>
|
||||
public static string about_activate_times {
|
||||
get {
|
||||
return ResourceManager.GetString("about_activate_times", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Application Icon.
|
||||
/// </summary>
|
||||
|
||||
@@ -129,9 +129,6 @@
|
||||
<data name="lastExecuteTime" xml:space="preserve">
|
||||
<value>Last execution time: {0}</value>
|
||||
</data>
|
||||
<data name="about_activate_times" xml:space="preserve">
|
||||
<value>You have activated Wox {0} times</value>
|
||||
</data>
|
||||
<data name="reportWindow_header" xml:space="preserve">
|
||||
<value>Something went wrong.</value>
|
||||
</data>
|
||||
|
||||
@@ -17,13 +17,6 @@ namespace PowerLauncher.ViewModel
|
||||
{
|
||||
_storage = new WoxJsonStorage<PowerToysRunSettings>();
|
||||
Settings = _storage.Load();
|
||||
Settings.PropertyChanged += (s, e) =>
|
||||
{
|
||||
if (e.PropertyName == nameof(Settings.ActivateTimes))
|
||||
{
|
||||
OnPropertyChanged(nameof(ActivatedTimes));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public PowerToysRunSettings Settings { get; set; }
|
||||
@@ -32,7 +25,5 @@ namespace PowerLauncher.ViewModel
|
||||
{
|
||||
_storage.Save();
|
||||
}
|
||||
|
||||
public string ActivatedTimes => string.Format(CultureInfo.InvariantCulture, Properties.Resources.about_activate_times, Settings.ActivateTimes);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user