mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[Projects] fix grammatical issue #43 (1 app - many apps)
This commit is contained in:
@@ -176,7 +176,8 @@ namespace ProjectsEditor.Models
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return Applications.Where(x => x.IsSelected).Count().ToString(CultureInfo.InvariantCulture) + " apps";
|
int count = Applications.Where(x => x.IsSelected).Count();
|
||||||
|
return count.ToString(CultureInfo.InvariantCulture) + " " + (count == 1 ? Properties.Resources.App : Properties.Resources.Apps);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -60,6 +60,15 @@ namespace ProjectsEditor.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to app.
|
||||||
|
/// </summary>
|
||||||
|
public static string App {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("App", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to App name.
|
/// Looks up a localized string similar to App name.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -69,6 +78,15 @@ namespace ProjectsEditor.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to apps.
|
||||||
|
/// </summary>
|
||||||
|
public static string Apps {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("Apps", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Are you sure?.
|
/// Looks up a localized string similar to Are you sure?.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -117,6 +117,12 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
|
<data name="App" xml:space="preserve">
|
||||||
|
<value>app</value>
|
||||||
|
</data>
|
||||||
|
<data name="Apps" xml:space="preserve">
|
||||||
|
<value>apps</value>
|
||||||
|
</data>
|
||||||
<data name="App_name" xml:space="preserve">
|
<data name="App_name" xml:space="preserve">
|
||||||
<value>App name</value>
|
<value>App name</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
Reference in New Issue
Block a user