Skip to content

Commit 3f93d18

Browse files
committed
Move string to resources
1 parent 3260fab commit 3f93d18

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

Flow.Launcher/Languages/en.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
<system:String x:Key="portableMode">Portable Mode</system:String>
4747
<system:String x:Key="portableModeToolTIp">Store all settings and user data in one folder (Useful when used with removable drives or cloud services).</system:String>
4848
<system:String x:Key="startFlowLauncherOnSystemStartup">Start Flow Launcher on system startup</system:String>
49+
<system:String x:Key="useLogonTaskForStartup">Use logon task instead of startup entry for faster startup experience</system:String>
4950
<system:String x:Key="setAutoStartFailed">Error setting launch on startup</system:String>
5051
<system:String x:Key="hideFlowLauncherWhenLoseFocus">Hide Flow Launcher when focus is lost</system:String>
5152
<system:String x:Key="dontPromptUpdateMsg">Do not show new version notifications</system:String>

Flow.Launcher/Languages/zh-cn.xaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
<?xml version="1.0"?>
2-
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:system="clr-namespace:System;assembly=mscorlib">
1+
<?xml version="1.0" ?>
2+
<ResourceDictionary
3+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5+
xmlns:system="clr-namespace:System;assembly=mscorlib">
36
<!-- Startup -->
47
<system:String x:Key="runtimePluginInstalledChooseRuntimePrompt">
58
Flow 检测到您已安装 {0} 个插件,需要 {1} 才能运行。是否要下载 {1}?
@@ -44,6 +47,7 @@
4447
<system:String x:Key="portableMode">便携模式</system:String>
4548
<system:String x:Key="portableModeToolTIp">将所有设置和用户数据存储在一个文件夹中 (可用于可移除驱动器或云服务)。</system:String>
4649
<system:String x:Key="startFlowLauncherOnSystemStartup">开机自启</system:String>
50+
<system:String x:Key="useLogonTaskForStartup">使用登录任务而非启动项以更快自启</system:String>
4751
<system:String x:Key="setAutoStartFailed">设置开机自启时出错</system:String>
4852
<system:String x:Key="hideFlowLauncherWhenLoseFocus">失去焦点时自动隐藏 Flow Launcher</system:String>
4953
<system:String x:Key="dontPromptUpdateMsg">不显示新版本提示</system:String>

Flow.Launcher/Languages/zh-tw.xaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
<?xml version="1.0"?>
2-
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:system="clr-namespace:System;assembly=mscorlib">
1+
<?xml version="1.0" ?>
2+
<ResourceDictionary
3+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5+
xmlns:system="clr-namespace:System;assembly=mscorlib">
36
<!-- Startup -->
47
<system:String x:Key="runtimePluginInstalledChooseRuntimePrompt">
58
Flow detected you have installed {0} plugins, which will require {1} to run. Would you like to download {1}?
@@ -44,6 +47,7 @@
4447
<system:String x:Key="portableMode">便攜模式</system:String>
4548
<system:String x:Key="portableModeToolTIp">將所有設定和使用者資料存儲在一個資料夾中(當與可移動磁碟或雲服務一起使用時很有用)。</system:String>
4649
<system:String x:Key="startFlowLauncherOnSystemStartup">開機時啟動</system:String>
50+
<system:String x:Key="useLogonTaskForStartup">使用登錄任務而非啟動項以更快自啟</system:String>
4751
<system:String x:Key="setAutoStartFailed">Error setting launch on startup</system:String>
4852
<system:String x:Key="hideFlowLauncherWhenLoseFocus">失去焦點時自動隱藏 Flow Launcher</system:String>
4953
<system:String x:Key="dontPromptUpdateMsg">不顯示新版本提示</system:String>

Flow.Launcher/SettingPages/Views/SettingsPaneGeneral.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
OnContent="{DynamicResource enable}" />
3737
</cc:Card>
3838

39-
<cc:Card Title="Use logon task instead of startup entry for faster startup experience" Icon="&#xe8fc;">
39+
<cc:Card Title="{DynamicResource useLogonTaskForStartup}">
4040
<ui:ToggleSwitch
4141
IsOn="{Binding UseLogonTaskForStartup}"
4242
OffContent="{DynamicResource disable}"

0 commit comments

Comments
 (0)