From 0baf10911d7d8317d0b8c7ba9f954762602fd710 Mon Sep 17 00:00:00 2001 From: Aly Mohamed Date: Mon, 29 Jan 2024 05:00:46 +0100 Subject: [PATCH 1/2] Minor change in arabic locals --- src/assets/locales/ar.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/assets/locales/ar.json b/src/assets/locales/ar.json index 78e623a9..e3fc4273 100644 --- a/src/assets/locales/ar.json +++ b/src/assets/locales/ar.json @@ -1,7 +1,7 @@ { "home": { "no-results": "لا نتائج للبحث", - "no-data": "لم يتم تكوين بيانات" + "no-data": "لا يوجد بيانات" }, "search": { "search-label": "بحث", @@ -33,11 +33,11 @@ }, "config": { "main-tab": "القائمة الرئيسية", - "view-config-tab": "مشاهدة ملف Config", - "edit-config-tab": "تحرير التكوين", + "view-config-tab": "مشاهده ملف الإعدادات", + "edit-config-tab": "تغير ملف الاع", "custom-css-tab": "الأنماط المخصصة", "heading": "خيارات الإعداد", - "download-config-button": "تنزيل Config", + "download-config-button": "تنزيل ملف الإعدادات", "edit-config-button": "تحرير التكوين", "edit-css-button": "تحرير CSS مخصص", "cloud-sync-button": "قم بتمكين Cloud Sync", @@ -84,7 +84,7 @@ "sign-in-welcome": "مرحبًا {username}!" }, "updates": { - "app-version-note": "نسخة متهورة", + "app-version-note": "ملاحظة نسخة التطبيق", "up-to-date": "حتى الآن", "out-of-date": "التحديث متاح", "unsupported-version-l1": "أنت تستخدم إصدارًا غير مدعوم من Dashy", From 4f56ff663e6a8101b8593340d90d7c05e9215fc8 Mon Sep 17 00:00:00 2001 From: Tobias Date: Tue, 27 Feb 2024 20:28:47 +0100 Subject: [PATCH 2/2] fixed hotkeys --- src/utils/ConfigHelpers.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/ConfigHelpers.js b/src/utils/ConfigHelpers.js index 474ae442..a49d13c5 100644 --- a/src/utils/ConfigHelpers.js +++ b/src/utils/ConfigHelpers.js @@ -93,8 +93,9 @@ export const getCustomColors = () => { * So that when the hotkey is pressed, the app/ service can be launched */ export const getCustomKeyShortcuts = () => { + const Accumulator = new ConfigAccumulator(); const results = []; - const sections = config.sections || []; + const sections = filterUserSections(Accumulator.sections()) || []; sections.forEach((section) => { const itemsWithHotKeys = section.items.filter(item => item.hotkey); results.push(itemsWithHotKeys.map(item => ({ hotkey: item.hotkey, url: item.url })));