Skip to content

Commit 27e3a97

Browse files
committed
ux: use another label for string values in custom input control because $1, $2... is not available here
Signed-off-by: leo <longshuang@msn.cn>
1 parent 2925ae0 commit 27e3a97

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

src/Resources/Locales/en_US.axaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@
256256
<x:String x:Key="Text.ConfigureCustomActionControls.Label" xml:space="preserve">Label:</x:String>
257257
<x:String x:Key="Text.ConfigureCustomActionControls.Options" xml:space="preserve">Options:</x:String>
258258
<x:String x:Key="Text.ConfigureCustomActionControls.Options.Tip" xml:space="preserve">Use '|' as delimiter for options</x:String>
259+
<x:String x:Key="Text.ConfigureCustomActionControls.StringValue.Tip" xml:space="preserve">The built-in variables ${REPO}, ${REMOTE}, ${BRANCH}, ${BRANCH_FRIENDLY_NAME}, ${SHA}, and ${TAG} remain available here</x:String>
259260
<x:String x:Key="Text.ConfigureCustomActionControls.Type" xml:space="preserve">Type:</x:String>
260261
<x:String x:Key="Text.ConfigureWorkspace" xml:space="preserve">Workspaces</x:String>
261262
<x:String x:Key="Text.ConfigureWorkspace.Color" xml:space="preserve">Color</x:String>

src/Resources/Locales/zh_CN.axaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@
260260
<x:String x:Key="Text.ConfigureCustomActionControls.Label" xml:space="preserve">名称 :</x:String>
261261
<x:String x:Key="Text.ConfigureCustomActionControls.Options" xml:space="preserve">选项列表 :</x:String>
262262
<x:String x:Key="Text.ConfigureCustomActionControls.Options.Tip" xml:space="preserve">选项之间请使用英文 '|' 作为分隔符</x:String>
263+
<x:String x:Key="Text.ConfigureCustomActionControls.StringValue.Tip" xml:space="preserve">内置变量 ${REPO}, ${REMOTE}, ${BRANCH}, ${BRANCH_FRIENDLY_NAME}, ${SHA} 与 ${TAG} 在这里仍然可用</x:String>
263264
<x:String x:Key="Text.ConfigureCustomActionControls.Type" xml:space="preserve">类型 :</x:String>
264265
<x:String x:Key="Text.ConfigureWorkspace" xml:space="preserve">工作区</x:String>
265266
<x:String x:Key="Text.ConfigureWorkspace.Color" xml:space="preserve">颜色</x:String>

src/Resources/Locales/zh_TW.axaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@
260260
<x:String x:Key="Text.ConfigureCustomActionControls.Label" xml:space="preserve">名稱:</x:String>
261261
<x:String x:Key="Text.ConfigureCustomActionControls.Options" xml:space="preserve">選項列表:</x:String>
262262
<x:String x:Key="Text.ConfigureCustomActionControls.Options.Tip" xml:space="preserve">請使用英文「|」符號分隔選項</x:String>
263+
<x:String x:Key="Text.ConfigureCustomActionControls.StringValue.Tip" xml:space="preserve">內建變數 ${REPO}、${REMOTE}、${BRANCH}、${BRANCH_FRIENDLY_NAME}、${SHA} 及 ${TAG} 在此處仍可使用</x:String>
263264
<x:String x:Key="Text.ConfigureCustomActionControls.Type" xml:space="preserve">類型:</x:String>
264265
<x:String x:Key="Text.ConfigureWorkspace" xml:space="preserve">工作區</x:String>
265266
<x:String x:Key="Text.ConfigureWorkspace.Color" xml:space="preserve">顏色</x:String>

src/Views/ConfigureCustomActionControls.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
<TextBlock Margin="0,2,0,0"
178178
Classes="small"
179179
TextWrapping="Wrap"
180-
Text="{DynamicResource Text.Configure.CustomAction.Arguments.Tip}"
180+
Text="{DynamicResource Text.ConfigureCustomActionControls.StringValue.Tip}"
181181
Foreground="{DynamicResource Brush.FG2}">
182182
<TextBlock.IsVisible>
183183
<MultiBinding Converter="{x:Static BoolConverters.Or}">

0 commit comments

Comments
 (0)