diff --git a/Flow.Launcher.Core/Updater.cs b/Flow.Launcher.Core/Updater.cs
index b203967de6a..44c34968c55 100644
--- a/Flow.Launcher.Core/Updater.cs
+++ b/Flow.Launcher.Core/Updater.cs
@@ -35,7 +35,8 @@ public async Task UpdateApp(IPublicAPI api, bool silentUpdate = true)
UpdateInfo newUpdateInfo;
if (!silentUpdate)
- api.ShowMsg("Please wait...", "Checking for new update");
+ api.ShowMsg(api.GetTranslation("pleaseWait"),
+ api.GetTranslation("update_flowlauncher_update_check"));
using var updateManager = await GitHubUpdateManager(GitHubRepository).ConfigureAwait(false);
@@ -51,12 +52,13 @@ public async Task UpdateApp(IPublicAPI api, bool silentUpdate = true)
if (newReleaseVersion <= currentVersion)
{
if (!silentUpdate)
- MessageBox.Show("You already have the latest Flow Launcher version");
+ MessageBox.Show(api.GetTranslation("update_flowlauncher_already_on_latest"));
return;
}
if (!silentUpdate)
- api.ShowMsg("Update found", "Updating...");
+ api.ShowMsg(api.GetTranslation("update_flowlauncher_update_found"),
+ api.GetTranslation("update_flowlauncher_updating"));
await updateManager.DownloadReleases(newUpdateInfo.ReleasesToApply).ConfigureAwait(false);
@@ -67,8 +69,9 @@ public async Task UpdateApp(IPublicAPI api, bool silentUpdate = true)
var targetDestination = updateManager.RootAppDirectory + $"\\app-{newReleaseVersion.ToString()}\\{DataLocation.PortableFolderName}";
FilesFolders.CopyAll(DataLocation.PortableDataPath, targetDestination);
if (!FilesFolders.VerifyBothFolderFilesEqual(DataLocation.PortableDataPath, targetDestination))
- MessageBox.Show("Flow Launcher was not able to move your user profile data to the new update version. Please manually " +
- $"move your profile data folder from {DataLocation.PortableDataPath} to {targetDestination}");
+ MessageBox.Show(string.Format(api.GetTranslation("update_flowlauncher_fail_moving_portable_user_profile_data"),
+ DataLocation.PortableDataPath,
+ targetDestination));
}
else
{
@@ -79,7 +82,7 @@ public async Task UpdateApp(IPublicAPI api, bool silentUpdate = true)
Log.Info($"|Updater.UpdateApp|Update success:{newVersionTips}");
- if (MessageBox.Show(newVersionTips, "New Update", MessageBoxButton.YesNo) == MessageBoxResult.Yes)
+ if (MessageBox.Show(newVersionTips, api.GetTranslation("update_flowlauncher_new_update"), MessageBoxButton.YesNo) == MessageBoxResult.Yes)
{
UpdateManager.RestartApp(Constant.ApplicationFileName);
}
@@ -87,7 +90,8 @@ public async Task UpdateApp(IPublicAPI api, bool silentUpdate = true)
catch (Exception e) when (e is HttpRequestException || e is WebException || e is SocketException)
{
Log.Exception($"|Updater.UpdateApp|Check your connection and proxy settings to github-cloud.s3.amazonaws.com.", e);
- api.ShowMsg("Update Failed", "Check your connection and try updating proxy settings to github-cloud.s3.amazonaws.com.");
+ api.ShowMsg(api.GetTranslation("update_flowlauncher_fail"),
+ api.GetTranslation("update_flowlauncher_check_connection"));
return;
}
}
diff --git a/Flow.Launcher/CustomQueryHotkeySetting.xaml b/Flow.Launcher/CustomQueryHotkeySetting.xaml
index 5f4cdff19e4..a97f9073316 100644
--- a/Flow.Launcher/CustomQueryHotkeySetting.xaml
+++ b/Flow.Launcher/CustomQueryHotkeySetting.xaml
@@ -5,7 +5,7 @@
Icon="Images\app.png"
ResizeMode="NoResize"
WindowStartupLocation="CenterScreen"
- Title="Custom Plugin Hotkey" Height="200" Width="674.766">
+ Title="{DynamicResource customeQueryHotkeyTitle}" Height="200" Width="674.766">
diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml
index 1e0e6a7e0fb..b6bf76b7fc4 100644
--- a/Flow.Launcher/Languages/en.xaml
+++ b/Flow.Launcher/Languages/en.xaml
@@ -17,6 +17,7 @@
Flow Launcher SettingsGeneral
+ Portable ModeStart Flow Launcher on system startupHide Flow Launcher when focus is lostDo not show new version notifications
@@ -39,12 +40,13 @@
PluginFind more plugins
+ EnableDisableAction keyword:Current action keyword:New action keyword:
- Current Priority:
- New Priority:
+ Current Priority:
+ New Priority:Plugin DirectoryAuthorInit time:
@@ -109,7 +111,7 @@
Greater the number, the higher the result will be ranked. Try setting it as 5. If you want the results to be lower than any other plugin's, provide a negative numberPlease provide an valid integer for Priority!
-
+
Old Action KeywordNew Action Keyword
@@ -122,6 +124,7 @@
Use * if you don't want to specify an action keyword
+ Custom Plugin HotkeyPreviewHotkey is unavailable, please select a new hotkeyInvalid plugin hotkey
@@ -146,11 +149,23 @@
Failed to send reportFlow Launcher got an error
+
+ Please wait...
+
+ Checking for new update
+ You already have the latest Flow Launcher version
+ Update found
+ Updating...
+ Flow Launcher was not able to move your user profile data to the new update version.
+ Please manually move your profile data folder from {0} to {1}
+ New UpdateNew Flow Launcher release {0} is now availableAn error occurred while trying to install software updatesUpdateCancel
+ Update Failed
+ Check your connection and try updating proxy settings to github-cloud.s3.amazonaws.com.This upgrade will restart Flow LauncherFollowing files will be updatedUpdate files
diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml
index 21d7e88f756..4c7eac114dd 100644
--- a/Flow.Launcher/SettingWindow.xaml
+++ b/Flow.Launcher/SettingWindow.xaml
@@ -37,7 +37,7 @@
-
+
@@ -166,7 +166,7 @@
-
diff --git a/Plugins/Flow.Launcher.Plugin.Url/Languages/en.xaml b/Plugins/Flow.Launcher.Plugin.Url/Languages/en.xaml
index 452be00ee54..eff1ac26354 100644
--- a/Plugins/Flow.Launcher.Plugin.Url/Languages/en.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Url/Languages/en.xaml
@@ -2,6 +2,10 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:system="clr-namespace:System;assembly=mscorlib">
+ Open search in:
+ New Window
+ New Tab
+
Open url:{0}Can't open url:{0}
diff --git a/Plugins/Flow.Launcher.Plugin.Url/SettingsControl.xaml b/Plugins/Flow.Launcher.Plugin.Url/SettingsControl.xaml
index f54aea878b5..9219a000930 100644
--- a/Plugins/Flow.Launcher.Plugin.Url/SettingsControl.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Url/SettingsControl.xaml
@@ -10,11 +10,11 @@
-
+
+ Content="{DynamicResource flowlauncher_plugin_new_window}" Click="OnNewBrowserWindowClick" />
+ Content="{DynamicResource flowlauncher_plugin_new_tab}" Click="OnNewTabClick" />
-
-
+
-
+
-
+
+ Click="OnChooseClick" FontSize="13" Content="{DynamicResource flowlauncher_plugin_websearch_choose}" Width="80"/>