Skip to content

Commit 9f55e83

Browse files
committed
Change file select string
1 parent 86c0553 commit 9f55e83

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public void Save()
278278
HorizontalAlignment = HorizontalAlignment.Left,
279279
VerticalAlignment = VerticalAlignment.Center,
280280
Margin = SettingPanelItemLeftMargin,
281-
Content = "Browse" // TODO: Localization
281+
Content = API.GetTranslation("select")
282282
};
283283

284284
Btn.Click += (_, _) =>

Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -174,18 +174,17 @@
174174
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
175175
Orientation="Horizontal">
176176
<TextBox
177-
MinWidth="{StaticResource SettingPanelTextBlockMinWidth}"
177+
MinWidth="{StaticResource SettingPanelPathTextBlockMinWidth}"
178178
HorizontalAlignment="Left"
179179
VerticalAlignment="Center"
180180
Text="{Binding FileEditorPath}"
181181
TextWrapping="NoWrap" />
182182
<Button
183-
MinWidth="45"
184183
Margin="{StaticResource SettingPanelItemLeftMargin}"
185184
HorizontalAlignment="Left"
186185
VerticalAlignment="Center"
187186
Command="{Binding OpenFileEditorPath}"
188-
Content="..." />
187+
Content="{DynamicResource select}" />
189188
</StackPanel>
190189

191190
<TextBlock
@@ -201,18 +200,17 @@
201200
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
202201
Orientation="Horizontal">
203202
<TextBox
204-
MinWidth="{StaticResource SettingPanelTextBlockMinWidth}"
203+
MinWidth="{StaticResource SettingPanelPathTextBlockMinWidth}"
205204
HorizontalAlignment="Left"
206205
VerticalAlignment="Center"
207206
Text="{Binding FolderEditorPath}"
208207
TextWrapping="NoWrap" />
209208
<Button
210-
MinWidth="45"
211209
Margin="{StaticResource SettingPanelItemLeftMargin}"
212210
HorizontalAlignment="Left"
213211
VerticalAlignment="Center"
214212
Command="{Binding OpenFolderEditorPath}"
215-
Content="..." />
213+
Content="{DynamicResource select}" />
216214
</StackPanel>
217215

218216
<TextBlock
@@ -228,18 +226,17 @@
228226
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
229227
Orientation="Horizontal">
230228
<TextBox
231-
MinWidth="{StaticResource SettingPanelTextBlockMinWidth}"
229+
MinWidth="{StaticResource SettingPanelPathTextBlockMinWidth}"
232230
HorizontalAlignment="Left"
233231
VerticalAlignment="Center"
234232
Text="{Binding ShellPath}"
235233
TextWrapping="NoWrap" />
236234
<Button
237-
MinWidth="45"
238235
Margin="{StaticResource SettingPanelItemLeftMargin}"
239236
HorizontalAlignment="Left"
240237
VerticalAlignment="Center"
241238
Command="{Binding OpenShellPath}"
242-
Content="..." />
239+
Content="{DynamicResource select}" />
243240
</StackPanel>
244241

245242
<TextBlock

0 commit comments

Comments
 (0)