diff --git a/doc/help.json b/doc/help.json index 4331d2b63..b1cfbfa56 100644 --- a/doc/help.json +++ b/doc/help.json @@ -595,9 +595,11 @@ "optional": true, "enum": { "en": "English", + "ar": "Arabic", "de": "German", "es": "Spanish", "fr": "French", + "he": "Hebrew", "it": "Italian", "ja": "Japanese", "ko": "Korean", diff --git a/doc/json_schema.json b/doc/json_schema.json index 7075bc47e..3dbc06e98 100644 --- a/doc/json_schema.json +++ b/doc/json_schema.json @@ -1070,6 +1070,11 @@ "const": "en", "description": "English" }, + { + "type": "string", + "const": "ar", + "description": "Arabic" + }, { "type": "string", "const": "de", @@ -1085,6 +1090,11 @@ "const": "fr", "description": "French" }, + { + "type": "string", + "const": "he", + "description": "Hebrew" + }, { "type": "string", "const": "it", diff --git a/src/common/option.h b/src/common/option.h index be7c475f8..e8f2dca1d 100644 --- a/src/common/option.h +++ b/src/common/option.h @@ -21,9 +21,11 @@ typedef struct FFModuleFormatArgList { typedef struct FFModuleDisplayName { const char* en; // English + const char* ar; // Arabic const char* de; // German const char* es; // Spanish const char* fr; // French + const char* he; // Hebrew const char* it; // Italian const char* ja; // Japanese const char* ko; // Korean diff --git a/src/modules/battery/battery.c b/src/modules/battery/battery.c index 66334abb7..9fd8c4572 100644 --- a/src/modules/battery/battery.c +++ b/src/modules/battery/battery.c @@ -301,9 +301,11 @@ FFModuleBaseInfo ffBatteryModuleInfo = { .description = "Print battery information", .displayName = { .en = "Battery", + .ar = "البطارية", .de = "Akku", .es = "Batería", .fr = "Batterie", + .he = "סוללה", .it = "Batteria", .ja = "バッテリー", .ko = "배터리", diff --git a/src/modules/bios/bios.c b/src/modules/bios/bios.c index 34dfcb08a..6b129213c 100644 --- a/src/modules/bios/bios.c +++ b/src/modules/bios/bios.c @@ -134,9 +134,11 @@ FFModuleBaseInfo ffBiosModuleInfo = { .description = "Print first-stage bootloader information (name, version, release date, etc.)", .displayName = { .en = "BIOS", + .ar = "BIOS", .de = "BIOS", .es = "BIOS", .fr = "BIOS", + .he = "BIOS", .it = "BIOS", .ja = "BIOS", .ko = "BIOS", diff --git a/src/modules/bluetooth/bluetooth.c b/src/modules/bluetooth/bluetooth.c index 125c68fb2..ab98f1f46 100644 --- a/src/modules/bluetooth/bluetooth.c +++ b/src/modules/bluetooth/bluetooth.c @@ -155,9 +155,11 @@ FFModuleBaseInfo ffBluetoothModuleInfo = { .description = "List connected Bluetooth devices", .displayName = { .en = "Bluetooth", + .ar = "بلوتوث", .de = "Bluetooth", .es = "Bluetooth", .fr = "Bluetooth", + .he = "בלוטות'", .it = "Bluetooth", .ja = "ブルートゥース", .ko = "블루투스", diff --git a/src/modules/bluetoothradio/bluetoothradio.c b/src/modules/bluetoothradio/bluetoothradio.c index cbb041f58..f8b22a9f4 100644 --- a/src/modules/bluetoothradio/bluetoothradio.c +++ b/src/modules/bluetoothradio/bluetoothradio.c @@ -192,9 +192,11 @@ FFModuleBaseInfo ffBluetoothRadioModuleInfo = { .description = "List Bluetooth radios (supported versions, vendors, etc.)", .displayName = { .en = "Bluetooth Radio", + .ar = "راديو بلوتوث", .de = "Bluetooth-Adapter", .es = "Adaptador Bluetooth", .fr = "Adaptateur Bluetooth", + .he = "רדיו בלוטות'", .it = "Adattatore Bluetooth", .ja = "ブルートゥースアダプター", .ko = "블루투스 어댑터", diff --git a/src/modules/board/board.c b/src/modules/board/board.c index e9f883b1a..b82d90bc5 100644 --- a/src/modules/board/board.c +++ b/src/modules/board/board.c @@ -112,9 +112,11 @@ FFModuleBaseInfo ffBoardModuleInfo = { .description = "Print motherboard name and other information", .displayName = { .en = "Board", + .ar = "اللوحة الأم", .de = "Mainboard", .es = "Placa base", .fr = "Carte mère", + .he = "לוח אם", .it = "Scheda madre", .ja = "マザーボード", .ko = "메인보드", diff --git a/src/modules/bootmgr/bootmgr.c b/src/modules/bootmgr/bootmgr.c index f0538f68a..db7a9c473 100644 --- a/src/modules/bootmgr/bootmgr.c +++ b/src/modules/bootmgr/bootmgr.c @@ -107,9 +107,11 @@ FFModuleBaseInfo ffBootmgrModuleInfo = { .description = "Print second-stage bootloader information (name, firmware, etc.)", .displayName = { .en = "Boot Manager", + .ar = "مدير الإقلاع", .de = "Boot-Manager", .es = "Administrador de arranque", .fr = "Gestionnaire de démarrage", + .he = "מנהל אתחול", .it = "Gestore di avvio", .ja = "ブートマネージャー", .ko = "부트 매니저", diff --git a/src/modules/break/break.c b/src/modules/break/break.c index d81400de7..f0ef529bc 100644 --- a/src/modules/break/break.c +++ b/src/modules/break/break.c @@ -31,9 +31,11 @@ FFModuleBaseInfo ffBreakModuleInfo = { .description = "Print an empty line", .displayName = { .en = "Break", + .ar = "فاصل", .de = "Umbruch", .es = "Salto de línea", .fr = "Saut de ligne", + .he = "מעבר שורה", .it = "Interruzione", .ja = "改行", .ko = "줄 바꿈", diff --git a/src/modules/brightness/brightness.c b/src/modules/brightness/brightness.c index f70bd1349..16ff8e8b0 100644 --- a/src/modules/brightness/brightness.c +++ b/src/modules/brightness/brightness.c @@ -194,9 +194,11 @@ FFModuleBaseInfo ffBrightnessModuleInfo = { .description = "Print the current brightness level of your monitors", .displayName = { .en = "Brightness", + .ar = "السطوع", .de = "Helligkeit", .es = "Brillo", .fr = "Luminosité", + .he = "בהירות", .it = "Luminosità", .ja = "明るさ", .ko = "밝기", diff --git a/src/modules/btrfs/btrfs.c b/src/modules/btrfs/btrfs.c index 9df262265..bbba974e8 100644 --- a/src/modules/btrfs/btrfs.c +++ b/src/modules/btrfs/btrfs.c @@ -202,9 +202,11 @@ FFModuleBaseInfo ffBtrfsModuleInfo = { .description = "Print Linux BTRFS volumes", .displayName = { .en = "BTRFS", + .ar = "BTRFS", .de = "BTRFS", .es = "BTRFS", .fr = "BTRFS", + .he = "BTRFS", .it = "BTRFS", .ja = "BTRFS", .ko = "BTRFS", diff --git a/src/modules/camera/camera.c b/src/modules/camera/camera.c index 7758229c3..82cf79c03 100644 --- a/src/modules/camera/camera.c +++ b/src/modules/camera/camera.c @@ -119,9 +119,11 @@ FFModuleBaseInfo ffCameraModuleInfo = { .description = "Print available cameras", .displayName = { .en = "Camera", + .ar = "الكاميرا", .de = "Kamera", .es = "Cámara", .fr = "Caméra", + .he = "מצלמה", .it = "Fotocamera", .ja = "カメラ", .ko = "카메라", diff --git a/src/modules/chassis/chassis.c b/src/modules/chassis/chassis.c index 576d3b83d..904f4d113 100644 --- a/src/modules/chassis/chassis.c +++ b/src/modules/chassis/chassis.c @@ -114,9 +114,11 @@ FFModuleBaseInfo ffChassisModuleInfo = { .description = "Print chassis type information (desktop, laptop, etc.)", .displayName = { .en = "Chassis", + .ar = "الهيكل", .de = "Gehäuse", .es = "Chasis", .fr = "Châssis", + .he = "מארז", .it = "Telaio", .ja = "シャーシ", .ko = "섀시", diff --git a/src/modules/codec/codec.c b/src/modules/codec/codec.c index 202a82236..6f7a3a1bb 100644 --- a/src/modules/codec/codec.c +++ b/src/modules/codec/codec.c @@ -255,9 +255,11 @@ FFModuleBaseInfo ffCodecModuleInfo = { .description = "Print hardware video acceleration codec types (decode / encode)", .displayName = { .en = "Codec", + .ar = "الترميز", .de = "Codec", .es = "Códec", .fr = "Codec", + .he = "קודק", .it = "Codec", .ja = "コーデック", .ko = "코덱", diff --git a/src/modules/colors/colors.c b/src/modules/colors/colors.c index ace03ddd6..38ce77ce6 100644 --- a/src/modules/colors/colors.c +++ b/src/modules/colors/colors.c @@ -299,9 +299,11 @@ FFModuleBaseInfo ffColorsModuleInfo = { .description = "Display the terminal's 16-color palette", .displayName = { .en = "Colors", + .ar = "الألوان", .de = "Farben", .es = "Colores", .fr = "Couleurs", + .he = "צבעים", .it = "Colori", .ja = "色", .ko = "색상", diff --git a/src/modules/command/command.c b/src/modules/command/command.c index 13131f627..a8e1b3f64 100644 --- a/src/modules/command/command.c +++ b/src/modules/command/command.c @@ -157,9 +157,11 @@ FFModuleBaseInfo ffCommandModuleInfo = { .description = "Run custom shell scripts", .displayName = { .en = "Command", + .ar = "الأمر", .de = "Befehl", .es = "Comando", .fr = "Commande", + .he = "פקודה", .it = "Comando", .ja = "コマンド", .ko = "명령어", diff --git a/src/modules/cpu/cpu.c b/src/modules/cpu/cpu.c index b9c4166f5..5754fd08d 100644 --- a/src/modules/cpu/cpu.c +++ b/src/modules/cpu/cpu.c @@ -255,9 +255,11 @@ FFModuleBaseInfo ffCPUModuleInfo = { .description = "Print CPU name, frequency, etc.", .displayName = { .en = "CPU", + .ar = "المعالج", .de = "CPU", .es = "CPU", .fr = "CPU", + .he = "מעבד", .it = "CPU", .ja = "CPU", .ko = "CPU", diff --git a/src/modules/cpucache/cpucache.c b/src/modules/cpucache/cpucache.c index feeb337d6..bf78de62d 100644 --- a/src/modules/cpucache/cpucache.c +++ b/src/modules/cpucache/cpucache.c @@ -225,9 +225,11 @@ FFModuleBaseInfo ffCPUCacheModuleInfo = { .description = "Print CPU cache sizes", .displayName = { .en = "CPU Cache", + .ar = "ذاكرة المعالج المؤقتة", .de = "CPU-Cache", .es = "Caché de CPU", .fr = "Cache CPU", + .he = "מטמון מעבד", .it = "Cache CPU", .ja = "CPUキャッシュ", .ko = "CPU 캐시", diff --git a/src/modules/cpuusage/cpuusage.c b/src/modules/cpuusage/cpuusage.c index b33c44f08..b649edba9 100644 --- a/src/modules/cpuusage/cpuusage.c +++ b/src/modules/cpuusage/cpuusage.c @@ -183,9 +183,11 @@ FFModuleBaseInfo ffCPUUsageModuleInfo = { .description = "Print CPU usage. Collecting data takes some time", .displayName = { .en = "CPU Usage", + .ar = "استخدام المعالج", .de = "CPU-Auslastung", .es = "Uso del CPU", .fr = "Utilisation du CPU", + .he = "שימוש במעבד", .it = "Utilizzo della CPU", .ja = "CPU使用率", .ko = "CPU 사용량", diff --git a/src/modules/cursor/cursor.c b/src/modules/cursor/cursor.c index 3cba64db8..f2c133bb6 100644 --- a/src/modules/cursor/cursor.c +++ b/src/modules/cursor/cursor.c @@ -104,9 +104,11 @@ FFModuleBaseInfo ffCursorModuleInfo = { .description = "Print cursor style name", .displayName = { .en = "Cursor", + .ar = "المؤشر", .de = "Mauszeiger", .es = "Cursor", .fr = "Curseur", + .he = "סמן", .it = "Cursore", .ja = "カーソル", .ko = "커서", diff --git a/src/modules/custom/custom.c b/src/modules/custom/custom.c index 9b3044d51..c29bea05c 100644 --- a/src/modules/custom/custom.c +++ b/src/modules/custom/custom.c @@ -39,9 +39,11 @@ FFModuleBaseInfo ffCustomModuleInfo = { .description = "Print a custom string, with or without key", .displayName = { .en = "Custom", + .ar = "مخصص", .de = "Benutzerdefiniert", .es = "Personalizado", .fr = "Personnalisé", + .he = "מותאם אישית", .it = "Personalizzato", .ja = "カスタム", .ko = "사용자 정의", diff --git a/src/modules/datetime/datetime.c b/src/modules/datetime/datetime.c index 180831799..1fb7ab9c5 100644 --- a/src/modules/datetime/datetime.c +++ b/src/modules/datetime/datetime.c @@ -154,9 +154,11 @@ FFModuleBaseInfo ffDateTimeModuleInfo = { .description = "Print the current date and time", .displayName = { .en = "Date & Time", + .ar = "التاريخ والوقت", .de = "Datum & Uhrzeit", .es = "Fecha y hora", .fr = "Date et heure", + .he = "תאריך ושעה", .it = "Data e ora", .ja = "日付と時刻", .ko = "날짜/시간", diff --git a/src/modules/de/de.c b/src/modules/de/de.c index 42b1e3c5b..9e4dcc3df 100644 --- a/src/modules/de/de.c +++ b/src/modules/de/de.c @@ -86,9 +86,11 @@ FFModuleBaseInfo ffDEModuleInfo = { .description = "Print desktop environment name", .displayName = { .en = "Desktop Environment", + .ar = "بيئة سطح المكتب", .de = "Desktop-Umgebung", .es = "Entorno de Escritorio", .fr = "Environnement de Bureau", + .he = "סביבת שולחן עבודה", .it = "Ambiente Desktop", .ja = "デスクトップ環境", .ko = "데스크탑 환경", diff --git a/src/modules/disk/disk.c b/src/modules/disk/disk.c index 7e34a6d57..dd823bc2b 100644 --- a/src/modules/disk/disk.c +++ b/src/modules/disk/disk.c @@ -455,9 +455,11 @@ FFModuleBaseInfo ffDiskModuleInfo = { .description = "Print partitions, space usage, file system, etc", .displayName = { .en = "Disk", + .ar = "القرص", .de = "Festplatte", .es = "Disco", .fr = "Disque", + .he = "דיסק", .it = "Disco", .ja = "ディスク", .ko = "디스크", diff --git a/src/modules/diskio/diskio.c b/src/modules/diskio/diskio.c index b035133b5..51fc95fec 100644 --- a/src/modules/diskio/diskio.c +++ b/src/modules/diskio/diskio.c @@ -174,9 +174,11 @@ FFModuleBaseInfo ffDiskIOModuleInfo = { .description = "Print physical disk I/O throughput", .displayName = { .en = "Disk I/O", + .ar = "إدخال/إخراج القرص", .de = "Festplatten I/O", .es = "E/S de disco", .fr = "Entrée/Sortie disque", + .he = "קלט/פלט דיסק", .it = "I/O del disco", .ja = "ディスク I/O", .ko = "디스크 I/O", diff --git a/src/modules/display/display.c b/src/modules/display/display.c index c4d2e76a8..b7f0eefe5 100644 --- a/src/modules/display/display.c +++ b/src/modules/display/display.c @@ -415,9 +415,11 @@ FFModuleBaseInfo ffDisplayModuleInfo = { .description = "Print resolutions, refresh rates, etc", .displayName = { .en = "Display", + .ar = "الشاشة", .de = "Anzeige", .es = "Pantalla", .fr = "Écran", + .he = "תצוגה", .it = "Display", .ja = "ディスプレイ", .ko = "디스플레이", diff --git a/src/modules/dns/dns.c b/src/modules/dns/dns.c index d7d7c0ad3..7067de9ca 100644 --- a/src/modules/dns/dns.c +++ b/src/modules/dns/dns.c @@ -138,9 +138,11 @@ FFModuleBaseInfo ffDNSModuleInfo = { .description = "Print configured DNS servers", .displayName = { .en = "DNS", + .ar = "DNS", .de = "DNS", .es = "DNS", .fr = "DNS", + .he = "DNS", .it = "DNS", .ja = "DNS", .ko = "DNS", diff --git a/src/modules/editor/editor.c b/src/modules/editor/editor.c index 4fdddfc97..09cc37238 100644 --- a/src/modules/editor/editor.c +++ b/src/modules/editor/editor.c @@ -107,9 +107,11 @@ FFModuleBaseInfo ffEditorModuleInfo = { .description = "Print information about the default editor ($VISUAL or $EDITOR)", .displayName = { .en = "Editor", + .ar = "المحرر", .de = "Editor", .es = "Editor", .fr = "Éditeur", + .he = "עורך", .it = "Editor", .ja = "エディター", .ko = "편집기", diff --git a/src/modules/font/font.c b/src/modules/font/font.c index 80bc7bcb7..22a464563 100644 --- a/src/modules/font/font.c +++ b/src/modules/font/font.c @@ -99,9 +99,11 @@ FFModuleBaseInfo ffFontModuleInfo = { .description = "Print system font names", .displayName = { .en = "Font", + .ar = "الخط", .de = "Schriftart", .es = "Fuente", .fr = "Police", + .he = "גופן", .it = "Carattere", .ja = "フォント", .ko = "글꼴", diff --git a/src/modules/gamepad/gamepad.c b/src/modules/gamepad/gamepad.c index d3e6503ee..7273156de 100644 --- a/src/modules/gamepad/gamepad.c +++ b/src/modules/gamepad/gamepad.c @@ -193,9 +193,11 @@ FFModuleBaseInfo ffGamepadModuleInfo = { .description = "List connected gamepads", .displayName = { .en = "Gamepad", + .ar = "يد التحكم", .de = "Gamepad", .es = "Gamepad", .fr = "Manette", + .he = "משטח משחק", .it = "Gamepad", .ja = "ゲームパッド", .ko = "게임패드", diff --git a/src/modules/gpu/gpu.c b/src/modules/gpu/gpu.c index 996c48338..d0caa2fcf 100644 --- a/src/modules/gpu/gpu.c +++ b/src/modules/gpu/gpu.c @@ -483,9 +483,11 @@ FFModuleBaseInfo ffGPUModuleInfo = { .description = "Print GPU names, memory sizes, types, etc", .displayName = { .en = "GPU", + .ar = "معالج الرسوميات", .de = "GPU", .es = "GPU", .fr = "GPU", + .he = "מעבד גרפי", .it = "GPU", .ja = "GPU", .ko = "GPU", diff --git a/src/modules/host/host.c b/src/modules/host/host.c index e8b549f30..ffe5c5225 100644 --- a/src/modules/host/host.c +++ b/src/modules/host/host.c @@ -140,9 +140,11 @@ FFModuleBaseInfo ffHostModuleInfo = { .description = "Print your computer's product name", .displayName = { .en = "Host", + .ar = "المضيف", .de = "Rechner", .es = "Host", .fr = "Hôte", + .he = "מארח", .it = "Host", .ja = "ホスト", .ko = "호스트", diff --git a/src/modules/icons/icons.c b/src/modules/icons/icons.c index d1c4e66c8..5da212d33 100644 --- a/src/modules/icons/icons.c +++ b/src/modules/icons/icons.c @@ -98,9 +98,11 @@ FFModuleBaseInfo ffIconsModuleInfo = { .description = "Print icon style name", .displayName = { .en = "Icons", + .ar = "الأيقونات", .de = "Symbole", .es = "Iconos", .fr = "Icônes", + .he = "סמלים", .it = "Icone", .ja = "アイコン", .ko = "아이콘", diff --git a/src/modules/initsystem/initsystem.c b/src/modules/initsystem/initsystem.c index f6315380c..395d10261 100644 --- a/src/modules/initsystem/initsystem.c +++ b/src/modules/initsystem/initsystem.c @@ -105,9 +105,11 @@ FFModuleBaseInfo ffInitSystemModuleInfo = { .description = "Print init system (pid 1) name and version", .displayName = { .en = "Init System", + .ar = "نظام الإقلاع", .de = "Init-System", .es = "Sistema de inicio", .fr = "Système d'init", + .he = "מערכת אתחול", .it = "Sistema di init", .ja = "initシステム", .ko = "초기화 시스템", diff --git a/src/modules/kernel/kernel.c b/src/modules/kernel/kernel.c index 3e576816c..f0deb4727 100644 --- a/src/modules/kernel/kernel.c +++ b/src/modules/kernel/kernel.c @@ -66,9 +66,11 @@ FFModuleBaseInfo ffKernelModuleInfo = { .description = "Print system kernel version", .displayName = { .en = "Kernel", + .ar = "النواة", .de = "Kernel", .es = "Kernel", .fr = "Kernel", + .he = "ליבה", .it = "Kernel", .ja = "カーネル", .ko = "커널", diff --git a/src/modules/keyboard/keyboard.c b/src/modules/keyboard/keyboard.c index 9af46f0d9..998e04262 100644 --- a/src/modules/keyboard/keyboard.c +++ b/src/modules/keyboard/keyboard.c @@ -153,9 +153,11 @@ FFModuleBaseInfo ffKeyboardModuleInfo = { .description = "List connected keyboards", .displayName = { .en = "Keyboard", + .ar = "لوحة المفاتيح", .de = "Tastatur", .es = "Teclado", .fr = "Clavier", + .he = "מקלדת", .it = "Tastiera", .ja = "キーボード", .ko = "키보드", diff --git a/src/modules/lm/lm.c b/src/modules/lm/lm.c index c8b54c4eb..0b7d68649 100644 --- a/src/modules/lm/lm.c +++ b/src/modules/lm/lm.c @@ -110,9 +110,11 @@ FFModuleBaseInfo ffLMModuleInfo = { .description = "Print login manager (desktop manager) name and version", .displayName = { .en = "Login Manager", + .ar = "مدير تسجيل الدخول", .de = "Anmeldemanager", .es = "Administrador de inicio de sesión", .fr = "Gestionnaire de connexion", + .he = "מנהל התחברות", .it = "Gestore di accesso", .ja = "ログインマネージャー", .ko = "로그인 관리자", diff --git a/src/modules/loadavg/loadavg.c b/src/modules/loadavg/loadavg.c index 85d504964..cfa36f857 100644 --- a/src/modules/loadavg/loadavg.c +++ b/src/modules/loadavg/loadavg.c @@ -152,9 +152,11 @@ FFModuleBaseInfo ffLoadavgModuleInfo = { .description = "Print system load averages", .displayName = { .en = "Load Average", + .ar = "متوسط الحمل", .de = "Systemlast", .es = "Promedio de carga", .fr = "Charge moyenne", + .he = "עומס ממוצע", .it = "Carico medio", .ja = "ロードアベレージ", .ko = "시스템 부하 평균", diff --git a/src/modules/locale/locale.c b/src/modules/locale/locale.c index f194edf0c..ca523c90c 100644 --- a/src/modules/locale/locale.c +++ b/src/modules/locale/locale.c @@ -71,9 +71,11 @@ FFModuleBaseInfo ffLocaleModuleInfo = { .description = "Print system locale name", .displayName = { .en = "Locale", + .ar = "اللغة", .de = "Sprachraum", .es = "Configuración regional", .fr = "Paramètres régionaux", + .he = "לוקאל", .it = "Impostazioni locali", .ja = "ロケール", .ko = "로케일", diff --git a/src/modules/localip/localip.c b/src/modules/localip/localip.c index e7e098626..accff5f47 100644 --- a/src/modules/localip/localip.c +++ b/src/modules/localip/localip.c @@ -425,9 +425,11 @@ FFModuleBaseInfo ffLocalIPModuleInfo = { .description = "List local IP addresses (IPv4 or IPv6), MAC addresses, etc", .displayName = { .en = "Local IP", + .ar = "عنوان IP المحلي", .de = "Lokale IP", .es = "IP local", .fr = "IP locale", + .he = "IP מקומי", .it = "IP locale", .ja = "ローカル IP", .ko = "로컬 IP", diff --git a/src/modules/logo/logo.c b/src/modules/logo/logo.c index 7e3aed314..860960b6e 100644 --- a/src/modules/logo/logo.c +++ b/src/modules/logo/logo.c @@ -81,9 +81,11 @@ FFModuleBaseInfo ffLogoModuleInfo = { .description = "Query built-in logo for JSON output", .displayName = { .en = "Logo", + .ar = "الشعار", .de = "Logo", .es = "Logo", .fr = "Logo", + .he = "לוגו", .it = "Logo", .ja = "ロゴ", .ko = "로고", diff --git a/src/modules/media/media.c b/src/modules/media/media.c index 6211b7c95..5e7188905 100644 --- a/src/modules/media/media.c +++ b/src/modules/media/media.c @@ -257,9 +257,11 @@ FFModuleBaseInfo ffMediaModuleInfo = { .description = "Print the name of the currently playing song", .displayName = { .en = "Media", + .ar = "الوسائط", .de = "Medien", .es = "Medios", .fr = "Médias", + .he = "מדיה", .it = "Media", .ja = "メディア", .ko = "미디어", diff --git a/src/modules/memory/memory.c b/src/modules/memory/memory.c index d5a63f6b0..d375bd9cc 100644 --- a/src/modules/memory/memory.c +++ b/src/modules/memory/memory.c @@ -122,9 +122,11 @@ FFModuleBaseInfo ffMemoryModuleInfo = { .description = "Print system memory usage information", .displayName = { .en = "Memory", + .ar = "الذاكرة", .de = "Speicher", .es = "Memoria", .fr = "Mémoire", + .he = "זיכרון", .it = "Memoria", .ja = "メモリ", .ko = "메모리", diff --git a/src/modules/monitor/monitor.c b/src/modules/monitor/monitor.c index aa55c022a..5019f7e7e 100644 --- a/src/modules/monitor/monitor.c +++ b/src/modules/monitor/monitor.c @@ -108,9 +108,11 @@ FFModuleBaseInfo ffMonitorModuleInfo = { .description = "Same as Display module, but with a different default output format", .displayName = { .en = "Monitor", + .ar = "الشاشة", .de = "Monitor", .es = "Monitor", .fr = "Moniteur", + .he = "צג", .it = "Monitor", .ja = "モニター", .ko = "모니터", diff --git a/src/modules/mouse/mouse.c b/src/modules/mouse/mouse.c index f542c8375..b6db69243 100644 --- a/src/modules/mouse/mouse.c +++ b/src/modules/mouse/mouse.c @@ -156,9 +156,11 @@ FFModuleBaseInfo ffMouseModuleInfo = { .description = "List connected mice", .displayName = { .en = "Mouse", + .ar = "الفأرة", .de = "Maus", .es = "Ratón", .fr = "Souris", + .he = "עכבר", .it = "Mouse", .ja = "マウス", .ko = "마우스", diff --git a/src/modules/netio/netio.c b/src/modules/netio/netio.c index e750ea92d..328cc3613 100644 --- a/src/modules/netio/netio.c +++ b/src/modules/netio/netio.c @@ -201,9 +201,11 @@ FFModuleBaseInfo ffNetIOModuleInfo = { .description = "Print network I/O throughput", .displayName = { .en = "Network I/O", + .ar = "إدخال/إخراج الشبكة", .de = "Netzwerk I/O", .es = "E/S de red", .fr = "E/S réseau", + .he = "קלט/פלט רשת", .it = "I/O di rete", .ja = "ネットワークI/O", .ko = "네트워크 I/O", diff --git a/src/modules/opencl/opencl.c b/src/modules/opencl/opencl.c index fbc36c39a..78352f306 100644 --- a/src/modules/opencl/opencl.c +++ b/src/modules/opencl/opencl.c @@ -124,9 +124,11 @@ FFModuleBaseInfo ffOpenCLModuleInfo = { .description = "Print the highest OpenCL version supported by the GPU", .displayName = { .en = "OpenCL", + .ar = "OpenCL", .de = "OpenCL", .es = "OpenCL", .fr = "OpenCL", + .he = "OpenCL", .it = "OpenCL", .ja = "OpenCL", .ko = "OpenCL", diff --git a/src/modules/opengl/opengl.c b/src/modules/opengl/opengl.c index bac96afc7..8093e135d 100644 --- a/src/modules/opengl/opengl.c +++ b/src/modules/opengl/opengl.c @@ -131,9 +131,11 @@ FFModuleBaseInfo ffOpenGLModuleInfo = { .description = "Print the highest OpenGL version supported by the GPU", .displayName = { .en = "OpenGL", + .ar = "OpenGL", .de = "OpenGL", .es = "OpenGL", .fr = "OpenGL", + .he = "OpenGL", .it = "OpenGL", .ja = "OpenGL", .ko = "OpenGL", diff --git a/src/modules/os/os.c b/src/modules/os/os.c index 71661bf0a..3e0fecc75 100644 --- a/src/modules/os/os.c +++ b/src/modules/os/os.c @@ -176,9 +176,11 @@ FFModuleBaseInfo ffOSModuleInfo = { .description = "Print the OS or Linux distribution name and version", .displayName = { .en = "OS", + .ar = "نظام التشغيل", .de = "Betriebssystem", .es = "Sistema operativo", .fr = "Système d'exploitation", + .he = "מערכת הפעלה", .it = "Sistema operativo", .ja = "オペレーティングシステム", .ko = "운영 체제", diff --git a/src/modules/packages/packages.c b/src/modules/packages/packages.c index c21ef4ca6..2c6143189 100644 --- a/src/modules/packages/packages.c +++ b/src/modules/packages/packages.c @@ -514,9 +514,11 @@ FFModuleBaseInfo ffPackagesModuleInfo = { .description = "List installed package managers and count of installed packages", .displayName = { .en = "Packages", + .ar = "الحزم", .de = "Pakete", .es = "Paquetes", .fr = "Paquets", + .he = "חבילות", .it = "Pacchetti", .ja = "パッケージ", .ko = "패키지", diff --git a/src/modules/physicaldisk/physicaldisk.c b/src/modules/physicaldisk/physicaldisk.c index b85ec4410..929ca4b69 100644 --- a/src/modules/physicaldisk/physicaldisk.c +++ b/src/modules/physicaldisk/physicaldisk.c @@ -267,9 +267,11 @@ FFModuleBaseInfo ffPhysicalDiskModuleInfo = { .description = "Print physical disk information", .displayName = { .en = "Physical Disk", + .ar = "القرص الفعلي", .de = "Physische Festplatte", .es = "Disco físico", .fr = "Disque physique", + .he = "דיסק פיזי", .it = "Disco fisico", .ja = "物理ディスク", .ko = "물리 디스크", diff --git a/src/modules/physicalmemory/physicalmemory.c b/src/modules/physicalmemory/physicalmemory.c index 0ab65cdb5..5c0d6ecec 100644 --- a/src/modules/physicalmemory/physicalmemory.c +++ b/src/modules/physicalmemory/physicalmemory.c @@ -161,9 +161,11 @@ FFModuleBaseInfo ffPhysicalMemoryModuleInfo = { .description = "Print system physical memory devices", .displayName = { .en = "Physical Memory", + .ar = "الذاكرة الفعلية", .de = "Physischer Speicher", .es = "Memoria física", .fr = "Mémoire physique", + .he = "זיכרון פיזי", .it = "Memoria fisica", .ja = "物理メモリ", .ko = "물리 메모리", diff --git a/src/modules/player/player.c b/src/modules/player/player.c index 0693423e0..c12da175d 100644 --- a/src/modules/player/player.c +++ b/src/modules/player/player.c @@ -111,9 +111,11 @@ FFModuleBaseInfo ffPlayerModuleInfo = { .description = "Print the music player name that is currently active", .displayName = { .en = "Media Player", + .ar = "مشغل الوسائط", .de = "Medienplayer", .es = "Reproductor multimedia", .fr = "Lecteur multimédia", + .he = "נגן מדיה", .it = "Lettore multimediale", .ja = "メディアプレイヤー", .ko = "미디어 플레이어", diff --git a/src/modules/poweradapter/poweradapter.c b/src/modules/poweradapter/poweradapter.c index 71899d26e..a70d3a36f 100644 --- a/src/modules/poweradapter/poweradapter.c +++ b/src/modules/poweradapter/poweradapter.c @@ -112,9 +112,11 @@ FFModuleBaseInfo ffPowerAdapterModuleInfo = { .description = "Print power adapter name and charging watts", .displayName = { .en = "Power Adapter", + .ar = "محول الطاقة", .de = "Netzteil", .es = "Adaptador de corriente", .fr = "Adaptateur secteur", + .he = "מתאם מתח", .it = "Alimentatore", .ja = "電源アダプター", .ko = "전원 어댑터", diff --git a/src/modules/processes/processes.c b/src/modules/processes/processes.c index bb42ca59e..824fd89d6 100644 --- a/src/modules/processes/processes.c +++ b/src/modules/processes/processes.c @@ -67,9 +67,11 @@ FFModuleBaseInfo ffProcessesModuleInfo = { .description = "Print number of running processes", .displayName = { .en = "Processes", + .ar = "العمليات", .de = "Prozesse", .es = "Procesos", .fr = "Processus", + .he = "תהליכים", .it = "Processi", .ja = "プロセス", .ko = "프로세스", diff --git a/src/modules/publicip/publicip.c b/src/modules/publicip/publicip.c index 92c790544..4fa09c32f 100644 --- a/src/modules/publicip/publicip.c +++ b/src/modules/publicip/publicip.c @@ -112,9 +112,11 @@ FFModuleBaseInfo ffPublicIPModuleInfo = { .description = "Print your public IP address and related information", .displayName = { .en = "Public IP", + .ar = "عنوان IP العام", .de = "Öffentliche IP", .es = "IP pública", .fr = "IP publique", + .he = "IP ציבורי", .it = "IP pubblica", .ja = "パブリックIP", .ko = "공용 IP", diff --git a/src/modules/separator/separator.c b/src/modules/separator/separator.c index f70c7a7bd..34af6a286 100644 --- a/src/modules/separator/separator.c +++ b/src/modules/separator/separator.c @@ -125,9 +125,11 @@ FFModuleBaseInfo ffSeparatorModuleInfo = { .description = "Print a separator line", .displayName = { .en = "Separator", + .ar = "الفاصل", .de = "Trennlinie", .es = "Separador", .fr = "Séparateur", + .he = "מפריד", .it = "Separatore", .ja = "セパレーター", .ko = "구분선", diff --git a/src/modules/shell/shell.c b/src/modules/shell/shell.c index 55e0da630..4c9adf343 100644 --- a/src/modules/shell/shell.c +++ b/src/modules/shell/shell.c @@ -93,9 +93,11 @@ FFModuleBaseInfo ffShellModuleInfo = { .description = "Print the current shell name and version", .displayName = { .en = "Shell", + .ar = "الصدفة", .de = "Shell", .es = "Shell", .fr = "Shell", + .he = "מעטפת", .it = "Shell", .ja = "シェル", .ko = "셸", diff --git a/src/modules/sound/sound.c b/src/modules/sound/sound.c index 7f3a691e5..fa87482f1 100644 --- a/src/modules/sound/sound.c +++ b/src/modules/sound/sound.c @@ -203,9 +203,11 @@ FFModuleBaseInfo ffSoundModuleInfo = { .description = "Print sound devices, volume levels, etc", .displayName = { .en = "Sound", + .ar = "الصوت", .de = "Sound", .es = "Sonido", .fr = "Son", + .he = "קול", .it = "Audio", .ja = "サウンド", .ko = "사운드", diff --git a/src/modules/swap/swap.c b/src/modules/swap/swap.c index ea0ac62de..201282dc0 100644 --- a/src/modules/swap/swap.c +++ b/src/modules/swap/swap.c @@ -186,9 +186,11 @@ FFModuleBaseInfo ffSwapModuleInfo = { .description = "Print swap (paging file) space usage", .displayName = { .en = "Swap", + .ar = "الذاكرة التبادلية", .de = "Swap", .es = "Swap", .fr = "Swap", + .he = "זיכרון החלפה", .it = "Swap", .ja = "スワップ", .ko = "스왑", diff --git a/src/modules/terminal/terminal.c b/src/modules/terminal/terminal.c index 3752b45e0..58e6ae9cf 100644 --- a/src/modules/terminal/terminal.c +++ b/src/modules/terminal/terminal.c @@ -87,9 +87,11 @@ FFModuleBaseInfo ffTerminalModuleInfo = { .description = "Print the current terminal name and version", .displayName = { .en = "Terminal", + .ar = "الطرفية", .de = "Terminal", .es = "Terminal", .fr = "Terminal", + .he = "טרמינל", .it = "Terminale", .ja = "ターミナル", .ko = "터미널", diff --git a/src/modules/terminalfont/terminalfont.c b/src/modules/terminalfont/terminalfont.c index fdb7990be..ae792843b 100644 --- a/src/modules/terminalfont/terminalfont.c +++ b/src/modules/terminalfont/terminalfont.c @@ -107,9 +107,11 @@ FFModuleBaseInfo ffTerminalFontModuleInfo = { .description = "Print the font name and size used by the current terminal", .displayName = { .en = "Terminal Font", + .ar = "خط الطرفية", .de = "Terminalschriftart", .es = "Fuente del terminal", .fr = "Police du terminal", + .he = "גופן טרמינל", .it = "Carattere del terminale", .ja = "ターミナルフォント", .ko = "터미널 글꼴", diff --git a/src/modules/terminalsize/terminalsize.c b/src/modules/terminalsize/terminalsize.c index 70f6139d1..08c2c9de0 100644 --- a/src/modules/terminalsize/terminalsize.c +++ b/src/modules/terminalsize/terminalsize.c @@ -78,9 +78,11 @@ FFModuleBaseInfo ffTerminalSizeModuleInfo = { .description = "Print the current terminal size", .displayName = { .en = "Terminal Size", + .ar = "حجم الطرفية", .de = "Terminalgröße", .es = "Tamaño del terminal", .fr = "Taille du terminal", + .he = "גודל טרמינל", .it = "Dimensioni terminale", .ja = "ターミナルサイズ", .ko = "터미널 크기", diff --git a/src/modules/terminaltheme/terminaltheme.c b/src/modules/terminaltheme/terminaltheme.c index 4e40876f3..52e3feebf 100644 --- a/src/modules/terminaltheme/terminaltheme.c +++ b/src/modules/terminaltheme/terminaltheme.c @@ -95,9 +95,11 @@ FFModuleBaseInfo ffTerminalThemeModuleInfo = { .description = "Print the current terminal theme (foreground and background colors)", .displayName = { .en = "Terminal Theme", + .ar = "سمة الطرفية", .de = "Terminalthema", .es = "Tema del terminal", .fr = "Thème du terminal", + .he = "ערכת נושא של טרמינל", .it = "Tema del terminale", .ja = "ターミナルテーマ", .ko = "터미널 테마", diff --git a/src/modules/theme/theme.c b/src/modules/theme/theme.c index 948e0d469..4ceaf14cb 100644 --- a/src/modules/theme/theme.c +++ b/src/modules/theme/theme.c @@ -91,9 +91,11 @@ FFModuleBaseInfo ffThemeModuleInfo = { .description = "Print the current desktop environment theme", .displayName = { .en = "Theme", + .ar = "السمة", .de = "Thema", .es = "Tema", .fr = "Thème", + .he = "ערכת נושא", .it = "Tema", .ja = "テーマ", .ko = "테마", diff --git a/src/modules/title/title.c b/src/modules/title/title.c index 939f4daf9..788ab2eec 100644 --- a/src/modules/title/title.c +++ b/src/modules/title/title.c @@ -180,9 +180,11 @@ FFModuleBaseInfo ffTitleModuleInfo = { .description = "Print the title, including your username and hostname", .displayName = { .en = "Title", + .ar = "العنوان", .de = "Titel", .es = "Título", .fr = "Titre", + .he = "כותרת", .it = "Titolo", .ja = "タイトル", .ko = "제목", diff --git a/src/modules/tpm/tpm.c b/src/modules/tpm/tpm.c index c216b05b5..3ff4a4e8d 100644 --- a/src/modules/tpm/tpm.c +++ b/src/modules/tpm/tpm.c @@ -87,9 +87,11 @@ FFModuleBaseInfo ffTPMModuleInfo = { .description = "Print information about the Trusted Platform Module (TPM) security device", .displayName = { .en = "TPM", + .ar = "TPM", .de = "TPM", .es = "TPM", .fr = "TPM", + .he = "TPM", .it = "TPM", .ja = "TPM", .ko = "TPM", diff --git a/src/modules/uptime/uptime.c b/src/modules/uptime/uptime.c index 9cc364c41..d7ee69e05 100644 --- a/src/modules/uptime/uptime.c +++ b/src/modules/uptime/uptime.c @@ -87,9 +87,11 @@ FFModuleBaseInfo ffUptimeModuleInfo = { .description = "Print how long the system has been running", .displayName = { .en = "Uptime", + .ar = "مدة التشغيل", .de = "Betriebszeit", .es = "Tiempo de actividad", .fr = "Temps de fonctionnement", + .he = "זמן פעילות", .it = "Tempo di attività", .ja = "稼働時間", .ko = "업타임", diff --git a/src/modules/users/users.c b/src/modules/users/users.c index d2e127076..e355f40d7 100644 --- a/src/modules/users/users.c +++ b/src/modules/users/users.c @@ -184,9 +184,11 @@ FFModuleBaseInfo ffUsersModuleInfo = { .description = "Print users who are currently logged in", .displayName = { .en = "Users", + .ar = "المستخدمون", .de = "Benutzer", .es = "Usuarios", .fr = "Utilisateurs", + .he = "משתמשים", .it = "Utenti", .ja = "ユーザー", .ko = "사용자", diff --git a/src/modules/version/version.c b/src/modules/version/version.c index d023abe88..f90585a73 100644 --- a/src/modules/version/version.c +++ b/src/modules/version/version.c @@ -98,9 +98,11 @@ FFModuleBaseInfo ffVersionModuleInfo = { .description = "Print the Fastfetch version and build information", .displayName = { .en = "Version", + .ar = "الإصدار", .de = "Version", .es = "Versión", .fr = "Version", + .he = "גרסה", .it = "Versione", .ja = "バージョン", .ko = "버전", diff --git a/src/modules/vulkan/vulkan.c b/src/modules/vulkan/vulkan.c index 2d6dbfd22..990b56f1a 100644 --- a/src/modules/vulkan/vulkan.c +++ b/src/modules/vulkan/vulkan.c @@ -136,9 +136,11 @@ FFModuleBaseInfo ffVulkanModuleInfo = { .description = "Print the highest Vulkan version supported by the GPU", .displayName = { .en = "Vulkan", + .ar = "Vulkan", .de = "Vulkan", .es = "Vulkan", .fr = "Vulkan", + .he = "Vulkan", .it = "Vulkan", .ja = "Vulkan", .ko = "Vulkan", diff --git a/src/modules/wallpaper/wallpaper.c b/src/modules/wallpaper/wallpaper.c index e57082fc5..9ed7d4014 100644 --- a/src/modules/wallpaper/wallpaper.c +++ b/src/modules/wallpaper/wallpaper.c @@ -79,9 +79,11 @@ FFModuleBaseInfo ffWallpaperModuleInfo = { .description = "Print the file path of the current wallpaper", .displayName = { .en = "Wallpaper", + .ar = "الخلفية", .de = "Hintergrundbild", .es = "Fondo de pantalla", .fr = "Fond d'écran", + .he = "טפט", .it = "Sfondo", .ja = "壁紙", .ko = "배경화면", diff --git a/src/modules/weather/weather.c b/src/modules/weather/weather.c index 9f7dae54d..5eab9a6c7 100644 --- a/src/modules/weather/weather.c +++ b/src/modules/weather/weather.c @@ -96,9 +96,11 @@ FFModuleBaseInfo ffWeatherModuleInfo = { .description = "Print weather information", .displayName = { .en = "Weather", + .ar = "الطقس", .de = "Wetter", .es = "Clima", .fr = "Météo", + .he = "מזג אוויר", .it = "Meteo", .ja = "天気", .ko = "날씨", diff --git a/src/modules/wifi/wifi.c b/src/modules/wifi/wifi.c index 39e99a38e..8aad2884e 100644 --- a/src/modules/wifi/wifi.c +++ b/src/modules/wifi/wifi.c @@ -217,9 +217,11 @@ FFModuleBaseInfo ffWifiModuleInfo = { .description = "Print connected Wi-Fi info (SSID, connection and security protocol)", .displayName = { .en = "Wi-Fi", + .ar = "واي فاي", .de = "WLAN", .es = "Wi-Fi", .fr = "Wi-Fi", + .he = "Wi-Fi", .it = "Wi-Fi", .ja = "Wi-Fi", .ko = "와이파이", diff --git a/src/modules/wm/wm.c b/src/modules/wm/wm.c index 4c40bc206..8b7d8ec26 100644 --- a/src/modules/wm/wm.c +++ b/src/modules/wm/wm.c @@ -124,9 +124,11 @@ FFModuleBaseInfo ffWMModuleInfo = { .description = "Print the window manager name and version", .displayName = { .en = "WM", + .ar = "مدير النوافذ", .de = "Fenstermanager", .es = "Gestor de ventanas", .fr = "Gestionnaire de fenêtres", + .he = "מנהל חלונות", .it = "Gestore finestre", .ja = "ウィンドウマネージャー", .ko = "윈도우 관리자", diff --git a/src/modules/wmtheme/wmtheme.c b/src/modules/wmtheme/wmtheme.c index b7ed26b42..5394b0963 100644 --- a/src/modules/wmtheme/wmtheme.c +++ b/src/modules/wmtheme/wmtheme.c @@ -63,9 +63,11 @@ FFModuleBaseInfo ffWMThemeModuleInfo = { .description = "Print the current window manager theme", .displayName = { .en = "WM Theme", + .ar = "سمة مدير النوافذ", .de = "Fenstermanager-Thema", .es = "Tema del gestor de ventanas", .fr = "Thème du gestionnaire de fenêtres", + .he = "ערכת נושא של מנהל חלונות", .it = "Tema del gestore finestre", .ja = "ウィンドウマネージャのテーマ", .ko = "윈도우 관리자 테마", diff --git a/src/modules/zpool/zpool.c b/src/modules/zpool/zpool.c index f6ea00c40..aafb5d4d9 100644 --- a/src/modules/zpool/zpool.c +++ b/src/modules/zpool/zpool.c @@ -196,9 +196,11 @@ FFModuleBaseInfo ffZpoolModuleInfo = { .description = "Print ZFS storage pools", .displayName = { .en = "Zpool", + .ar = "Zpool", .de = "Zpool", .es = "Zpool", .fr = "Zpool", + .he = "Zpool", .it = "Zpool", .ja = "Zpool", .ko = "Zpool", diff --git a/src/options/display.c b/src/options/display.c index 78ea684ce..20625be92 100644 --- a/src/options/display.c +++ b/src/options/display.c @@ -62,9 +62,11 @@ static uint32_t optionParseLanguageString(FFstrbuf* language) { #pragma GCC diagnostic ignored "-Wmultichar" switch (language->chars[0] << 8 | language->chars[1]) { case 'en': return offsetof(FFModuleDisplayName, en); + case 'ar': return offsetof(FFModuleDisplayName, ar); case 'de': return offsetof(FFModuleDisplayName, de); case 'es': return offsetof(FFModuleDisplayName, es); case 'fr': return offsetof(FFModuleDisplayName, fr); + case 'he': return offsetof(FFModuleDisplayName, he); case 'it': return offsetof(FFModuleDisplayName, it); case 'ja': return offsetof(FFModuleDisplayName, ja); case 'ko': return offsetof(FFModuleDisplayName, ko); @@ -1269,6 +1271,9 @@ void ffOptionsGenerateDisplayJsonConfig(FFdata* data, FFOptionsDisplay* options) case offsetof(FFModuleDisplayName, en): yyjson_mut_obj_add_str(doc, key, "language", "en"); break; + case offsetof(FFModuleDisplayName, ar): + yyjson_mut_obj_add_str(doc, key, "language", "ar"); + break; case offsetof(FFModuleDisplayName, de): yyjson_mut_obj_add_str(doc, key, "language", "de"); break; @@ -1278,6 +1283,9 @@ void ffOptionsGenerateDisplayJsonConfig(FFdata* data, FFOptionsDisplay* options) case offsetof(FFModuleDisplayName, fr): yyjson_mut_obj_add_str(doc, key, "language", "fr"); break; + case offsetof(FFModuleDisplayName, he): + yyjson_mut_obj_add_str(doc, key, "language", "he"); + break; case offsetof(FFModuleDisplayName, it): yyjson_mut_obj_add_str(doc, key, "language", "it"); break;