From 356f651d145d89c1a6754f76979742e3227ddf26 Mon Sep 17 00:00:00 2001 From: Ahmed Mohmed <42357288+SweedXD@users.noreply.github.com> Date: Tue, 5 Aug 2025 23:20:38 +0300 Subject: [PATCH 1/8] Direct Translate (Enhanced) plugin * **Simplified Main Menu:** The main `tr` command now shows a clean 3-item menu, making it easier to configure. * **Two Ways to Set Your Default Language:** * **Instant Click:** View all **100+ supported languages** with `tr list` and click any language to change your default instantly. * **Command with Confirmation:** Use `tr set ` for any language. This includes a confirmation step to prevent accidental changes. * **Better Error Handling:** Get clear messages for network timeouts (SSL errors) or invalid language codes. * **"No Change" Notifications:** The plugin now correctly informs you when the source text is already in the target language (e.g., trying to translate "bonjour" to French), preventing confusion. --- plugins.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/plugins.json b/plugins.json index 6d6893373..311470529 100644 --- a/plugins.json +++ b/plugins.json @@ -3821,5 +3821,19 @@ "IcoPath": "https://cdn.jsdelivr.net/gh/pivotiiii/flow_launcher_timer@main/img/app.png", "LatestReleaseDate": "2025-06-23T22:17:42Z", "DateAdded": "2024-07-07T09:19:19Z" + }, + { + "ID": "a74621e00ca34dfea26b4aa7a612834e", + "ActionKeyword": "tr", + "Name": "Direct Translate (Enhanced)", + "Description": "Translate between any languages supported by googletrans", + "Author": "SweedXD", + "Version": "3.0.0", + "Language": "python", + "Website": "https://github.com/SweedXD/Direct-Translate", + "IcoPath": "https://raw.githubusercontent.com/SweedXD/Direct-Translate/refs/heads/master/assets/favicon.ico", + "ExecuteFileName": "main.py", + "UrlDownload": "https://github.com/SweedXD/Direct-Translate/releases/download/v3.0.0/Direct-Translate-3.0.0.zip", + "UrlSourceCode": "https://github.com/SweedXD/Direct-Translate" } -] \ No newline at end of file +] From c1b93f85c3e2036f65adddb38fcfffbe4d7cec41 Mon Sep 17 00:00:00 2001 From: Ahmed Mohmed <42357288+SweedXD@users.noreply.github.com> Date: Wed, 6 Aug 2025 19:15:44 +0300 Subject: [PATCH 2/8] Create Direct Translate-a74621e00ca34dfea26b4aa7a612834e.json Introduces plugin/settings_manager.py for managing user language preferences and settings. Updates translation logic in plugin/ui.py to support auto-detection, default language, and interactive language selection. Updates .env and user_settings.ini to support configurable default target language. Removes unused files and updates documentation and metadata for version 2.1.0. --- ... Translate-a74621e00ca34dfea26b4aa7a612834e.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 plugins/Direct Translate-a74621e00ca34dfea26b4aa7a612834e.json diff --git a/plugins/Direct Translate-a74621e00ca34dfea26b4aa7a612834e.json b/plugins/Direct Translate-a74621e00ca34dfea26b4aa7a612834e.json new file mode 100644 index 000000000..1a9e69a5c --- /dev/null +++ b/plugins/Direct Translate-a74621e00ca34dfea26b4aa7a612834e.json @@ -0,0 +1,13 @@ +{ + "ID": "a74621e00ca34dfea26b4aa7a612834e", + "Name": "Direct Translate (Enhanced)", + "Description": "Translate between any languages supported by googletrans", + "Author": "SweedXD", + "Version": "3.0.0", + "Language": "python", + "Website": "https://github.com/SweedXD/Direct-Translate", + "ExecuteFileName": "main.py", + "UrlDownload": "https://github.com/SweedXD/Direct-Translate/releases/download/v3.0.0/Direct-Translate-3.0.0.zip", + "UrlSourceCode": "https://github.com/SweedXD/Direct-Translate" + "IcoPath": "https://raw.githubusercontent.com/SweedXD/Direct-Translate/refs/heads/master/assets/favicon.ico", +} From d951fa5098da4a0f80c3f20ca23eb1e59e6a2a76 Mon Sep 17 00:00:00 2001 From: Ahmed Mohmed <42357288+SweedXD@users.noreply.github.com> Date: Thu, 7 Aug 2025 01:03:58 +0300 Subject: [PATCH 3/8] Revert "Direct Translate (Enhanced) plugin" This reverts commit 356f651d145d89c1a6754f76979742e3227ddf26. --- plugins.json | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/plugins.json b/plugins.json index 311470529..6d6893373 100644 --- a/plugins.json +++ b/plugins.json @@ -3821,19 +3821,5 @@ "IcoPath": "https://cdn.jsdelivr.net/gh/pivotiiii/flow_launcher_timer@main/img/app.png", "LatestReleaseDate": "2025-06-23T22:17:42Z", "DateAdded": "2024-07-07T09:19:19Z" - }, - { - "ID": "a74621e00ca34dfea26b4aa7a612834e", - "ActionKeyword": "tr", - "Name": "Direct Translate (Enhanced)", - "Description": "Translate between any languages supported by googletrans", - "Author": "SweedXD", - "Version": "3.0.0", - "Language": "python", - "Website": "https://github.com/SweedXD/Direct-Translate", - "IcoPath": "https://raw.githubusercontent.com/SweedXD/Direct-Translate/refs/heads/master/assets/favicon.ico", - "ExecuteFileName": "main.py", - "UrlDownload": "https://github.com/SweedXD/Direct-Translate/releases/download/v3.0.0/Direct-Translate-3.0.0.zip", - "UrlSourceCode": "https://github.com/SweedXD/Direct-Translate" } -] +] \ No newline at end of file From 514ae7cef7771f5f88501e3dcdffe305ce1b011f Mon Sep 17 00:00:00 2001 From: Ahmed Mohmed <42357288+SweedXD@users.noreply.github.com> Date: Thu, 7 Aug 2025 14:51:06 +0300 Subject: [PATCH 4/8] Create CurrencyPP (UI Fixed)-3f648301-8764-4790-841b-0431fc0eb072.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This version addresses the most critical bug preventing users from configuring the plugin. * ✅ **Fixed Broken Settings UI:** The main achievement of this fork is a completely repaired settings page. All configuration options (API Key, default currencies, aliases, etc.) are now fully visible and editable within the Flow Launcher settings window. > 🔄 **Restart Required:** Right-click the Flow Launcher tray icon, choose **Exit**, and reopen the app for changes to take effect. --- ...Fixed)-3f648301-8764-4790-841b-0431fc0eb072.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 plugins/CurrencyPP (UI Fixed)-3f648301-8764-4790-841b-0431fc0eb072.json diff --git a/plugins/CurrencyPP (UI Fixed)-3f648301-8764-4790-841b-0431fc0eb072.json b/plugins/CurrencyPP (UI Fixed)-3f648301-8764-4790-841b-0431fc0eb072.json new file mode 100644 index 000000000..d2ddc0c7b --- /dev/null +++ b/plugins/CurrencyPP (UI Fixed)-3f648301-8764-4790-841b-0431fc0eb072.json @@ -0,0 +1,13 @@ +{ + "ID": "3f648301-8764-4790-841b-0431fc0eb072", + "ActionKeyword": "*", + "Name": "CurrencyPP (UI Fixed)", + "Description": "Fixed Settings UI version of the CurrencyPP Plugin", + "Author": "SweedXD", + "Version": "4.0.0", + "Language": "python", + "Website": "https://github.com/SweedXD/CurrencyPP", + "UrlDownload": "https://github.com/SweedXD/CurrencyPP/releases/download/v4.0.0/CurrencyPP.zip" + "UrlSourceCode": "https://github.com/SweedXD/CurrencyPP" + "IcoPath": "https://raw.githubusercontent.com/SweedXD/CurrencyPP/refs/heads/master/src/CurrencyPP.png", +} From 6c0dc355c35d3199c7ac0496dcb058b312ced861 Mon Sep 17 00:00:00 2001 From: Ahmed Mohmed <42357288+SweedXD@users.noreply.github.com> Date: Mon, 11 Aug 2025 11:02:18 +0300 Subject: [PATCH 5/8] Revert "Create Direct Translate-a74621e00ca34dfea26b4aa7a612834e.json" This reverts commit c1b93f85c3e2036f65adddb38fcfffbe4d7cec41. --- ... Translate-a74621e00ca34dfea26b4aa7a612834e.json | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 plugins/Direct Translate-a74621e00ca34dfea26b4aa7a612834e.json diff --git a/plugins/Direct Translate-a74621e00ca34dfea26b4aa7a612834e.json b/plugins/Direct Translate-a74621e00ca34dfea26b4aa7a612834e.json deleted file mode 100644 index 1a9e69a5c..000000000 --- a/plugins/Direct Translate-a74621e00ca34dfea26b4aa7a612834e.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "ID": "a74621e00ca34dfea26b4aa7a612834e", - "Name": "Direct Translate (Enhanced)", - "Description": "Translate between any languages supported by googletrans", - "Author": "SweedXD", - "Version": "3.0.0", - "Language": "python", - "Website": "https://github.com/SweedXD/Direct-Translate", - "ExecuteFileName": "main.py", - "UrlDownload": "https://github.com/SweedXD/Direct-Translate/releases/download/v3.0.0/Direct-Translate-3.0.0.zip", - "UrlSourceCode": "https://github.com/SweedXD/Direct-Translate" - "IcoPath": "https://raw.githubusercontent.com/SweedXD/Direct-Translate/refs/heads/master/assets/favicon.ico", -} From 3c94a90635fae9cf52508494c0a0751d611f62da Mon Sep 17 00:00:00 2001 From: Ahmed Mohmed <42357288+SweedXD@users.noreply.github.com> Date: Tue, 12 Aug 2025 14:02:18 +0300 Subject: [PATCH 6/8] fix json file and change name --- ...Fixed)-3f648301-8764-4790-841b-0431fc0eb072.json | 13 ------------- ...encyPP-3f648301-8764-4790-841b-0431fc0eb072.json | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 plugins/CurrencyPP (UI Fixed)-3f648301-8764-4790-841b-0431fc0eb072.json create mode 100644 plugins/CurrencyPP-3f648301-8764-4790-841b-0431fc0eb072.json diff --git a/plugins/CurrencyPP (UI Fixed)-3f648301-8764-4790-841b-0431fc0eb072.json b/plugins/CurrencyPP (UI Fixed)-3f648301-8764-4790-841b-0431fc0eb072.json deleted file mode 100644 index d2ddc0c7b..000000000 --- a/plugins/CurrencyPP (UI Fixed)-3f648301-8764-4790-841b-0431fc0eb072.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "ID": "3f648301-8764-4790-841b-0431fc0eb072", - "ActionKeyword": "*", - "Name": "CurrencyPP (UI Fixed)", - "Description": "Fixed Settings UI version of the CurrencyPP Plugin", - "Author": "SweedXD", - "Version": "4.0.0", - "Language": "python", - "Website": "https://github.com/SweedXD/CurrencyPP", - "UrlDownload": "https://github.com/SweedXD/CurrencyPP/releases/download/v4.0.0/CurrencyPP.zip" - "UrlSourceCode": "https://github.com/SweedXD/CurrencyPP" - "IcoPath": "https://raw.githubusercontent.com/SweedXD/CurrencyPP/refs/heads/master/src/CurrencyPP.png", -} diff --git a/plugins/CurrencyPP-3f648301-8764-4790-841b-0431fc0eb072.json b/plugins/CurrencyPP-3f648301-8764-4790-841b-0431fc0eb072.json new file mode 100644 index 000000000..c3255c2e6 --- /dev/null +++ b/plugins/CurrencyPP-3f648301-8764-4790-841b-0431fc0eb072.json @@ -0,0 +1,13 @@ +{ + "ID": "3f648301-8764-4790-841b-0431fc0eb072", + "ActionKeyword": "*", + "Name": "CurrencyPP", + "Description": "A Better Currency Converter", + "Author": "SweedXD", + "Version": "4.0.0", + "Language": "python", + "Website": "https://github.com/SweedXD/CurrencyPP", + "UrlDownload": "https://github.com/SweedXD/CurrencyPP/releases/download/v4.0.0/CurrencyPP.zip", + "UrlSourceCode": "https://github.com/SweedXD/CurrencyPP", + "IcoPath": "https://raw.githubusercontent.com/SweedXD/CurrencyPP/refs/heads/master/src/CurrencyPP.png" +} \ No newline at end of file From a93aade5a69c8195f20aa57fce7495a3b4409c9a Mon Sep 17 00:00:00 2001 From: Ahmed Mohmed <42357288+SweedXD@users.noreply.github.com> Date: Tue, 12 Aug 2025 22:41:51 +0300 Subject: [PATCH 7/8] Update CurrencyPP-3f648301-8764-4790-841b-0431fc0eb072.json --- plugins/CurrencyPP-3f648301-8764-4790-841b-0431fc0eb072.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/CurrencyPP-3f648301-8764-4790-841b-0431fc0eb072.json b/plugins/CurrencyPP-3f648301-8764-4790-841b-0431fc0eb072.json index c3255c2e6..b43ef2870 100644 --- a/plugins/CurrencyPP-3f648301-8764-4790-841b-0431fc0eb072.json +++ b/plugins/CurrencyPP-3f648301-8764-4790-841b-0431fc0eb072.json @@ -7,7 +7,7 @@ "Version": "4.0.0", "Language": "python", "Website": "https://github.com/SweedXD/CurrencyPP", - "UrlDownload": "https://github.com/SweedXD/CurrencyPP/releases/download/v4.0.0/CurrencyPP.zip", + "UrlDownload": "https://github.com/SweedXD/CurrencyPP/releases/download/v4.0.0/Flow.Launcher.Plugin.CurrencyPP.zip", "UrlSourceCode": "https://github.com/SweedXD/CurrencyPP", "IcoPath": "https://raw.githubusercontent.com/SweedXD/CurrencyPP/refs/heads/master/src/CurrencyPP.png" -} \ No newline at end of file +} From 33955f73aa4aae6a599a5f6128e80396d9d776cc Mon Sep 17 00:00:00 2001 From: Ahmed Mohmed <42357288+SweedXD@users.noreply.github.com> Date: Tue, 12 Aug 2025 22:48:49 +0300 Subject: [PATCH 8/8] Update CurrencyPP-3f648301-8764-4790-841b-0431fc0eb072.json --- plugins/CurrencyPP-3f648301-8764-4790-841b-0431fc0eb072.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/CurrencyPP-3f648301-8764-4790-841b-0431fc0eb072.json b/plugins/CurrencyPP-3f648301-8764-4790-841b-0431fc0eb072.json index c3255c2e6..333845f57 100644 --- a/plugins/CurrencyPP-3f648301-8764-4790-841b-0431fc0eb072.json +++ b/plugins/CurrencyPP-3f648301-8764-4790-841b-0431fc0eb072.json @@ -7,7 +7,7 @@ "Version": "4.0.0", "Language": "python", "Website": "https://github.com/SweedXD/CurrencyPP", - "UrlDownload": "https://github.com/SweedXD/CurrencyPP/releases/download/v4.0.0/CurrencyPP.zip", + "UrlDownload": "https://github.com/SweedXD/CurrencyPP/releases/download/v4.0.0/Flow.Launcher.Plugin.CurrencyPP.zip", "UrlSourceCode": "https://github.com/SweedXD/CurrencyPP", "IcoPath": "https://raw.githubusercontent.com/SweedXD/CurrencyPP/refs/heads/master/src/CurrencyPP.png" } \ No newline at end of file