mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-31 01:24:42 +02:00
commit
dab3440448
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"home": {
|
"home": {
|
||||||
"no-results": "لا نتائج للبحث",
|
"no-results": "لا نتائج للبحث",
|
||||||
"no-data": "لم يتم تكوين بيانات"
|
"no-data": "لا يوجد بيانات"
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"search-label": "بحث",
|
"search-label": "بحث",
|
||||||
@ -33,11 +33,11 @@
|
|||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"main-tab": "القائمة الرئيسية",
|
"main-tab": "القائمة الرئيسية",
|
||||||
"view-config-tab": "مشاهدة ملف Config",
|
"view-config-tab": "مشاهده ملف الإعدادات",
|
||||||
"edit-config-tab": "تحرير التكوين",
|
"edit-config-tab": "تغير ملف الاع",
|
||||||
"custom-css-tab": "الأنماط المخصصة",
|
"custom-css-tab": "الأنماط المخصصة",
|
||||||
"heading": "خيارات الإعداد",
|
"heading": "خيارات الإعداد",
|
||||||
"download-config-button": "تنزيل Config",
|
"download-config-button": "تنزيل ملف الإعدادات",
|
||||||
"edit-config-button": "تحرير التكوين",
|
"edit-config-button": "تحرير التكوين",
|
||||||
"edit-css-button": "تحرير CSS مخصص",
|
"edit-css-button": "تحرير CSS مخصص",
|
||||||
"cloud-sync-button": "قم بتمكين Cloud Sync",
|
"cloud-sync-button": "قم بتمكين Cloud Sync",
|
||||||
@ -84,7 +84,7 @@
|
|||||||
"sign-in-welcome": "مرحبًا {username}!"
|
"sign-in-welcome": "مرحبًا {username}!"
|
||||||
},
|
},
|
||||||
"updates": {
|
"updates": {
|
||||||
"app-version-note": "نسخة متهورة",
|
"app-version-note": "ملاحظة نسخة التطبيق",
|
||||||
"up-to-date": "حتى الآن",
|
"up-to-date": "حتى الآن",
|
||||||
"out-of-date": "التحديث متاح",
|
"out-of-date": "التحديث متاح",
|
||||||
"unsupported-version-l1": "أنت تستخدم إصدارًا غير مدعوم من Dashy",
|
"unsupported-version-l1": "أنت تستخدم إصدارًا غير مدعوم من Dashy",
|
||||||
|
@ -93,8 +93,9 @@ export const getCustomColors = () => {
|
|||||||
* So that when the hotkey is pressed, the app/ service can be launched
|
* So that when the hotkey is pressed, the app/ service can be launched
|
||||||
*/
|
*/
|
||||||
export const getCustomKeyShortcuts = () => {
|
export const getCustomKeyShortcuts = () => {
|
||||||
|
const Accumulator = new ConfigAccumulator();
|
||||||
const results = [];
|
const results = [];
|
||||||
const sections = config.sections || [];
|
const sections = filterUserSections(Accumulator.sections()) || [];
|
||||||
sections.forEach((section) => {
|
sections.forEach((section) => {
|
||||||
const itemsWithHotKeys = section.items.filter(item => item.hotkey);
|
const itemsWithHotKeys = section.items.filter(item => item.hotkey);
|
||||||
results.push(itemsWithHotKeys.map(item => ({ hotkey: item.hotkey, url: item.url })));
|
results.push(itemsWithHotKeys.map(item => ({ hotkey: item.hotkey, url: item.url })));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user