Deleted unused resources (#9392)

This commit is contained in:
Mykhailo Pylyp 2021-02-02 17:20:28 +02:00 committed by GitHub
parent 3f6bc35ec6
commit 700e1a1c6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 60 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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);
}
}

View File

@ -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);
}
}
}
}

View File

@ -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>