mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-07 09:28:03 +08:00
Deleted unused resources (#9392)
This commit is contained in:
parent
3f6bc35ec6
commit
700e1a1c6f
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -59,32 +59,5 @@ namespace Wox.Plugin.Properties {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Copying path {0} has failed, it will now be deleted for consistency.
|
||||
/// </summary>
|
||||
public static string filesfolder_copy_failed {
|
||||
get {
|
||||
return ResourceManager.GetString("filesfolder_copy_failed", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Not able to delete folder {0}, please go to the location and manually delete it.
|
||||
/// </summary>
|
||||
public static string filesfolder_removefolder_failed {
|
||||
get {
|
||||
return ResourceManager.GetString("filesfolder_removefolder_failed", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Unable to verify folders and files between {0} and {1}.
|
||||
/// </summary>
|
||||
public static string filesfolder_verifybothfolderfilesequal_failed {
|
||||
get {
|
||||
return ResourceManager.GetString("filesfolder_verifybothfolderfilesequal_failed", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -117,16 +117,4 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="filesfolder_copy_failed" xml:space="preserve">
|
||||
<value>Copying path {0} has failed, it will now be deleted for consistency</value>
|
||||
<comment>parameter: targetPath</comment>
|
||||
</data>
|
||||
<data name="filesfolder_removefolder_failed" xml:space="preserve">
|
||||
<value>Not able to delete folder {0}, please go to the location and manually delete it</value>
|
||||
<comment>parameter: path</comment>
|
||||
</data>
|
||||
<data name="filesfolder_verifybothfolderfilesequal_failed" xml:space="preserve">
|
||||
<value>Unable to verify folders and files between {0} and {1}</value>
|
||||
<comment>parameters: fromPath, toPath</comment>
|
||||
</data>
|
||||
</root>
|
Loading…
Reference in New Issue
Block a user