mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Change hard-coded strings in WindowsSettings plugin to translated
This commit is contained in:
parent
6b1070fa36
commit
1f0bd82fe9
1 changed files with 2 additions and 2 deletions
|
|
@ -125,7 +125,7 @@ namespace Flow.Launcher.Plugin.WindowsSettings.Helper
|
||||||
|
|
||||||
private static string GetSubtitle(string section, string entryType)
|
private static string GetSubtitle(string section, string entryType)
|
||||||
{
|
{
|
||||||
var settingType = entryType == "AppSettingsApp" ? "System settings" : "Control Panel";
|
var settingType = entryType == "AppSettingsApp" ? Resources.AppSettingsApp : Resources.AppControlPanel;
|
||||||
|
|
||||||
return $"{settingType} > {section}";
|
return $"{settingType} > {section}";
|
||||||
}
|
}
|
||||||
|
|
@ -139,7 +139,7 @@ namespace Flow.Launcher.Plugin.WindowsSettings.Helper
|
||||||
{
|
{
|
||||||
var toolTipText = new StringBuilder();
|
var toolTipText = new StringBuilder();
|
||||||
|
|
||||||
var settingType = entry.Type == "AppSettingsApp" ? "System settings" : "Control Panel";
|
var settingType = entry.Type == "AppSettingsApp" ? Resources.AppSettingsApp : Resources.AppControlPanel;
|
||||||
|
|
||||||
toolTipText.AppendLine($"{Resources.Application}: {settingType}");
|
toolTipText.AppendLine($"{Resources.Application}: {settingType}");
|
||||||
toolTipText.AppendLine($"{Resources.Area}: {entry.Area}");
|
toolTipText.AppendLine($"{Resources.Area}: {entry.Area}");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue