Skip to content

Commit

Permalink
Merge pull request #3205 from Flow-Launcher/hotfix_1.19.5
Browse files Browse the repository at this point in the history
Release 1.19.5
  • Loading branch information
jjw24 authored Jan 27, 2025
2 parents aa8f472 + b9890a9 commit 94d6d26
Show file tree
Hide file tree
Showing 89 changed files with 3,869 additions and 150 deletions.
21 changes: 17 additions & 4 deletions Flow.Launcher/Helper/SingletonWindowOpener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,29 @@ public static T Open<T>(params object[] args) where T : Window
{
var window = Application.Current.Windows.OfType<Window>().FirstOrDefault(x => x.GetType() == typeof(T))
?? (T)Activator.CreateInstance(typeof(T), args);

// Fix UI bug
// Add `window.WindowState = WindowState.Normal`
// If only use `window.Show()`, Settings-window doesn't show when minimized in taskbar
// Not sure why this works tho
// Probably because, when `.Show()` fails, `window.WindowState == Minimized` (not `Normal`)
// https://stackoverflow.com/a/59719760/4230390
window.WindowState = WindowState.Normal;
window.Show();

// Ensure the window is not minimized before showing it
if (window.WindowState == WindowState.Minimized)
{
window.WindowState = WindowState.Normal;
}

// Ensure the window is visible
if (!window.IsVisible)
{
window.Show();
}
else
{
window.Activate(); // Bring the window to the foreground if already open
}

window.Focus();

return (T)window;
Expand Down
2 changes: 2 additions & 0 deletions Flow.Launcher/Languages/ar.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
<system:String x:Key="LastQueryPreserved">حفظ الاستعلام الأخير</system:String>
<system:String x:Key="LastQuerySelected">اختيار الاستعلام الأخير</system:String>
<system:String x:Key="LastQueryEmpty">تفريغ الاستعلام الأخير</system:String>
<system:String x:Key="LastQueryActionKeywordPreserved">Preserve Last Action Keyword</system:String>
<system:String x:Key="LastQueryActionKeywordSelected">Select Last Action Keyword</system:String>
<system:String x:Key="KeepMaxResults">ارتفاع ثابت للنافذة</system:String>
<system:String x:Key="KeepMaxResultsToolTip">ارتفاع النافذة غير قابل للتعديل عن طريق السحب.</system:String>
<system:String x:Key="maxShowResults">الحد الأقصى للنتائج المعروضة</system:String>
Expand Down
2 changes: 2 additions & 0 deletions Flow.Launcher/Languages/cs.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
<system:String x:Key="LastQueryPreserved">Zachovat poslední dotaz</system:String>
<system:String x:Key="LastQuerySelected">Vybrat poslední dotaz</system:String>
<system:String x:Key="LastQueryEmpty">Smazat poslední dotaz</system:String>
<system:String x:Key="LastQueryActionKeywordPreserved">Preserve Last Action Keyword</system:String>
<system:String x:Key="LastQueryActionKeywordSelected">Select Last Action Keyword</system:String>
<system:String x:Key="KeepMaxResults">Fixed Window Height</system:String>
<system:String x:Key="KeepMaxResultsToolTip">The window height is not adjustable by dragging.</system:String>
<system:String x:Key="maxShowResults">Počet zobrazených výsledků</system:String>
Expand Down
2 changes: 2 additions & 0 deletions Flow.Launcher/Languages/da.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
<system:String x:Key="LastQueryPreserved">Preserve Last Query</system:String>
<system:String x:Key="LastQuerySelected">Select last Query</system:String>
<system:String x:Key="LastQueryEmpty">Empty last Query</system:String>
<system:String x:Key="LastQueryActionKeywordPreserved">Preserve Last Action Keyword</system:String>
<system:String x:Key="LastQueryActionKeywordSelected">Select Last Action Keyword</system:String>
<system:String x:Key="KeepMaxResults">Fixed Window Height</system:String>
<system:String x:Key="KeepMaxResultsToolTip">The window height is not adjustable by dragging.</system:String>
<system:String x:Key="maxShowResults">Maksimum antal resultater vist</system:String>
Expand Down
18 changes: 10 additions & 8 deletions Flow.Launcher/Languages/de.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
<system:String x:Key="LastQueryPreserved">Letzte Abfrage beibehalten</system:String>
<system:String x:Key="LastQuerySelected">Letzte Abfrage auswählen</system:String>
<system:String x:Key="LastQueryEmpty">Letzte Abfrage leeren</system:String>
<system:String x:Key="LastQueryActionKeywordPreserved">Letztes Aktions-Schlüsselwort beibehalten</system:String>
<system:String x:Key="LastQueryActionKeywordSelected">Letztes Aktions-Schlüsselwort auswählen</system:String>
<system:String x:Key="KeepMaxResults">Feste Fensterhöhe</system:String>
<system:String x:Key="KeepMaxResultsToolTip">Die Fensterhöhe ist durch Ziehen nicht anpassbar.</system:String>
<system:String x:Key="maxShowResults">Maximal gezeigte Ergebnisse</system:String>
Expand All @@ -77,7 +79,7 @@
<system:String x:Key="defaultBrowserToolTip">Einstellung für Neuer Tab, Neues Fenster, Privater Modus.</system:String>
<system:String x:Key="pythonFilePath">Python-Pfad</system:String>
<system:String x:Key="nodeFilePath">Node.js-Pfad</system:String>
<system:String x:Key="selectNodeExecutable">Bitte wählen Sie das Programm Node.js aus</system:String>
<system:String x:Key="selectNodeExecutable">Bitte wählen Sie die ausführbare Datei Node.js aus</system:String>
<system:String x:Key="selectPythonExecutable">Bitte wählen Sie pythonw.exe aus</system:String>
<system:String x:Key="typingStartEn">Tippen immer im englischen Modus starten</system:String>
<system:String x:Key="typingStartEnTooltip">Ändern Sie Ihre Eingabemethode temporär in den englischen Modus, wenn Sie Flow aktivieren.</system:String>
Expand Down Expand Up @@ -166,16 +168,16 @@
<system:String x:Key="CustomizeToolTip">Individuell anpassen</system:String>
<system:String x:Key="windowMode">Fenstermodus</system:String>
<system:String x:Key="opacity">Opazität</system:String>
<system:String x:Key="theme_load_failure_path_not_exists">Theme {0} ist nicht vorhanden, Fallback auf Standard-Theme</system:String>
<system:String x:Key="theme_load_failure_parse_error">Theme {0} konnte nicht geladen werden, Fallback auf Standard-Theme</system:String>
<system:String x:Key="theme_load_failure_path_not_exists">Theme {0} ist nicht vorhanden, Fallback auf Default-Theme</system:String>
<system:String x:Key="theme_load_failure_parse_error">Theme {0} konnte nicht geladen werden, Fallback auf Default-Theme</system:String>
<system:String x:Key="ThemeFolder">Theme-Ordner</system:String>
<system:String x:Key="OpenThemeFolder">Theme-Ordner öffnen</system:String>
<system:String x:Key="ColorScheme">Farbschema</system:String>
<system:String x:Key="ColorSchemeSystem">Systemvorgabe</system:String>
<system:String x:Key="ColorSchemeLight">Hell</system:String>
<system:String x:Key="ColorSchemeDark">Dunkel</system:String>
<system:String x:Key="SoundEffect">Soundeffekt</system:String>
<system:String x:Key="SoundEffectTip">Einen kleinen Sound abspielen, wenn das Suchfenster geöffnet wird</system:String>
<system:String x:Key="SoundEffectTip">Einen kurzen Sound abspielen, wenn das Suchfenster geöffnet wird</system:String>
<system:String x:Key="SoundEffectVolume">Lautstärke der Soundeffekte</system:String>
<system:String x:Key="SoundEffectVolumeTip">Lautstärke des Soundeffekts anpassen</system:String>
<system:String x:Key="SoundEffectWarning">Windows Media Player ist nicht verfügbar und ist für die Lautstärkeregelung von Flow erforderlich. Bitte überprüfen Sie Ihre Installation, wenn Sie die Lautstärke anpassen müssen.</system:String>
Expand Down Expand Up @@ -287,8 +289,8 @@
<system:String x:Key="releaseNotes">Versionshinweise</system:String>
<system:String x:Key="documentation">Tipps zur Nutzung</system:String>
<system:String x:Key="devtool">DevTools</system:String>
<system:String x:Key="settingfolder">Ordner Einstellungen</system:String>
<system:String x:Key="logfolder">Ordner Logs</system:String>
<system:String x:Key="settingfolder">Ordner »Settings«</system:String>
<system:String x:Key="logfolder">Ordner »Logs«</system:String>
<system:String x:Key="clearlogfolder">Logs löschen</system:String>
<system:String x:Key="clearlogfolderMessage">Sind Sie sicher, dass Sie alle Logs löschen wollen?</system:String>
<system:String x:Key="welcomewindow">Assistent</system:String>
Expand Down Expand Up @@ -411,8 +413,8 @@ Wenn Sie bei der Eingabe eines Shortcuts ein '@'-Präfix hinzufügen, stimmt die
<system:String x:Key="Welcome_Page1_Title">Willkommen bei Flow Launcher</system:String>
<system:String x:Key="Welcome_Page1_Text01">Hallo, dies ist das erste Mal, dass Sie Flow Launcher ausführen!</system:String>
<system:String x:Key="Welcome_Page1_Text02">Bevor Sie beginnen, hilft dieser Assistent bei der Einrichtung von Flow Launcher. Sie können dies überspringen, wenn Sie möchten. Bitte wählen Sie eine Sprache</system:String>
<system:String x:Key="Welcome_Page2_Title">Suchen und führen Sie alle Dateien und Anwendungen auf Ihrem PC aus</system:String>
<system:String x:Key="Welcome_Page2_Text01">Suchen Sie alles in Anwendungen, Dateien, Lesezeichen, YouTube, Twitter und vielem mehr. Alles bequem über Ihre Tastatur, ohne die Maus zu berühren.</system:String>
<system:String x:Key="Welcome_Page2_Title">Alle Dateien und Anwendungen auf Ihrem PC suchen und ausführen</system:String>
<system:String x:Key="Welcome_Page2_Text01">Durchsuchen Sie alles von Anwendungen, Dateien, Lesezeichen, YouTube, Twitter und vielem mehr. Alles bequem über Ihre Tastatur, ohne die Maus zu berühren.</system:String>
<system:String x:Key="Welcome_Page2_Text02">Flow Launcher startet mit dem unten stehenden Hotkey, probieren Sie ihn gleich aus. Um ihn zu ändern, klicken Sie auf die Eingabe und drücken Sie den gewünschten Hotkey auf der Tastatur.</system:String>
<system:String x:Key="Welcome_Page3_Title">Hotkeys</system:String>
<system:String x:Key="Welcome_Page4_Title">Aktions-Schlüsselwort und Befehle</system:String>
Expand Down
2 changes: 2 additions & 0 deletions Flow.Launcher/Languages/es-419.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
<system:String x:Key="LastQueryPreserved">Conservar última consulta</system:String>
<system:String x:Key="LastQuerySelected">Seleccionar última consulta</system:String>
<system:String x:Key="LastQueryEmpty">Borrar última consulta</system:String>
<system:String x:Key="LastQueryActionKeywordPreserved">Preserve Last Action Keyword</system:String>
<system:String x:Key="LastQueryActionKeywordSelected">Select Last Action Keyword</system:String>
<system:String x:Key="KeepMaxResults">Fixed Window Height</system:String>
<system:String x:Key="KeepMaxResultsToolTip">The window height is not adjustable by dragging.</system:String>
<system:String x:Key="maxShowResults">Máximo de resultados mostrados</system:String>
Expand Down
6 changes: 4 additions & 2 deletions Flow.Launcher/Languages/es.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
<system:String x:Key="LastQueryPreserved">Mantener la última consulta</system:String>
<system:String x:Key="LastQuerySelected">Seleccionar la última consulta</system:String>
<system:String x:Key="LastQueryEmpty">Limpiar la última consulta</system:String>
<system:String x:Key="LastQueryActionKeywordPreserved">Conservar última palabra clave de acción</system:String>
<system:String x:Key="LastQueryActionKeywordSelected">Seleccionar última palabra clave de acción</system:String>
<system:String x:Key="KeepMaxResults">Altura de la ventana fija</system:String>
<system:String x:Key="KeepMaxResultsToolTip">La altura de la ventana no se puede ajustar arrastrando el ratón.</system:String>
<system:String x:Key="maxShowResults">Número máximo de resultados mostrados</system:String>
Expand Down Expand Up @@ -218,7 +220,7 @@
<system:String x:Key="OpenNativeContextMenuHotkey">Abrir menú contextual nativo</system:String>
<system:String x:Key="SettingWindowHotkey">Abrir ventana de configuración</system:String>
<system:String x:Key="CopyFilePathHotkey">Copiar ruta del archivo</system:String>
<system:String x:Key="ToggleGameModeHotkey">Cambia a Modo Juego</system:String>
<system:String x:Key="ToggleGameModeHotkey">Cambiar a Modo Juego</system:String>
<system:String x:Key="ToggleHistoryHotkey">Cambiar historial</system:String>
<system:String x:Key="OpenContainFolderHotkey">Abrir carpeta contenedora</system:String>
<system:String x:Key="RunAsAdminHotkey">Ejecutar como administrador</system:String>
Expand Down Expand Up @@ -293,7 +295,7 @@
<system:String x:Key="clearlogfolderMessage">¿Está seguro de que desea eliminar todos los registros?</system:String>
<system:String x:Key="welcomewindow">Asistente</system:String>
<system:String x:Key="userdatapath">Ubicación de datos del usuario</system:String>
<system:String x:Key="userdatapathToolTip">La configuración del usuario y los complementos instalados se guardan en la carpeta de datos del usuario. Esta ubicación puede variar dependiendo de si está en modo portátil o no.</system:String>
<system:String x:Key="userdatapathToolTip">La configuración del usuario y los complementos instalados se guardan en la carpeta de datos del usuario. Esta ubicación puede variar dependiendo de si está en modo portable o no.</system:String>
<system:String x:Key="userdatapathButton">Abrir carpeta</system:String>

<!-- FileManager Setting Dialog -->
Expand Down
2 changes: 2 additions & 0 deletions Flow.Launcher/Languages/fr.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
<system:String x:Key="LastQueryPreserved">Conserver la dernière recherche</system:String>
<system:String x:Key="LastQuerySelected">Sélectionner la dernière recherche</system:String>
<system:String x:Key="LastQueryEmpty">Ne pas afficher la dernière recherche</system:String>
<system:String x:Key="LastQueryActionKeywordPreserved">Conserver le mot clé de la dernière action</system:String>
<system:String x:Key="LastQueryActionKeywordSelected">Sélectionnez le mot clé de la dernière action</system:String>
<system:String x:Key="KeepMaxResults">Hauteur de fenêtre fixe</system:String>
<system:String x:Key="KeepMaxResultsToolTip">La hauteur de la fenêtre n'est pas réglable par glissement.</system:String>
<system:String x:Key="maxShowResults">Résultats maximums à afficher</system:String>
Expand Down
Loading

0 comments on commit 94d6d26

Please sign in to comment.