Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Features:
* Added Sound detection on Android. (Sound, Android)
* Added battery temperature, remaining time and charger type (AC / USB / wireless) detection on Android. (Battery, Android)
* Performance improvements & internal cleanups
* Added Finnish Language Support

Bugfixes:
* Fixed `--config`/`-c` bash completion offering one candidate per word instead of one candidate per file for paths containing spaces. (Completion, Bash)
Expand Down
1 change: 1 addition & 0 deletions doc/help.json
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,7 @@
"cs": "Czech",
"de": "German",
"es": "Spanish",
"fi": "Finnish",
"fr": "French",
"gl": "Galician",
"he": "Hebrew",
Expand Down
5 changes: 5 additions & 0 deletions doc/json_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,11 @@
"const": "es",
"description": "Spanish"
},
{
"type": "string",
"const": "fi",
"description": "Finnish"
},
{
"type": "string",
"const": "fr",
Expand Down
35 changes: 18 additions & 17 deletions src/common/option.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,24 @@ typedef struct FFModuleFormatArgList {
typedef struct FFModuleDisplayName {
const char* en; // English

const char* ar; // Arabic
const char* cs; // Czech
const char* de; // German
const char* es; // Spanish
const char* fr; // French
const char* gl; // Galician
const char* he; // Hebrew
const char* id; // Indonesian
const char* it; // Italian
const char* ja; // Japanese
const char* ko; // Korean
const char* pl; // Polish
const char* pt; // (Brazilian) Portuguese
const char* ru; // Russian
const char* tr; // Turkish
const char* uk; // Ukrainian
const char* vi; // Vietnamese
const char* ar; // Arabic
const char* cs; // Czech
const char* de; // German
const char* es; // Spanish
const char* fi; // Finnish
const char* fr; // French
const char* gl; // Galician
const char* he; // Hebrew
const char* id; // Indonesian
const char* it; // Italian
const char* ja; // Japanese
const char* ko; // Korean
const char* pl; // Polish
const char* pt; // (Brazilian) Portuguese
const char* ru; // Russian
const char* tr; // Turkish
const char* uk; // Ukrainian
const char* vi; // Vietnamese
const char* zh_CN; // Simplified Chinese
const char* zh_TW; // Traditional Chinese
} FFModuleDisplayName;
Expand Down
1 change: 1 addition & 0 deletions src/modules/battery/battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ FFModuleBaseInfo ffBatteryModuleInfo = {
.cs = "Baterie",
.de = "Akku",
.es = "Batería",
.fi = "Akku",
.fr = "Batterie",
.gl = "Batería",
.he = "סוללה",
Expand Down
1 change: 1 addition & 0 deletions src/modules/bios/bios.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ FFModuleBaseInfo ffBiosModuleInfo = {
.cs = "BIOS",
.de = "BIOS",
.es = "BIOS",
.fi = "BIOS",
.fr = "BIOS",
.gl = "BIOS",
.he = "BIOS",
Expand Down
1 change: 1 addition & 0 deletions src/modules/bluetooth/bluetooth.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ FFModuleBaseInfo ffBluetoothModuleInfo = {
.cs = "Bluetooth",
.de = "Bluetooth",
.es = "Bluetooth",
.fi = "Bluetooth",
.fr = "Bluetooth",
.gl = "Bluetooth",
.he = "בלוטות'",
Expand Down
1 change: 1 addition & 0 deletions src/modules/bluetoothradio/bluetoothradio.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ FFModuleBaseInfo ffBluetoothRadioModuleInfo = {
.cs = "Bluetooth rádio",
.de = "Bluetooth-Adapter",
.es = "Adaptador Bluetooth",
.fi = "Bluetooth-adapteri",
.fr = "Adaptateur Bluetooth",
.gl = "Adaptador Bluetooth",
.he = "רדיו בלוטות'",
Expand Down
1 change: 1 addition & 0 deletions src/modules/board/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ FFModuleBaseInfo ffBoardModuleInfo = {
.cs = "Základní deska",
.de = "Mainboard",
.es = "Placa base",
.fi = "Emolevy",
.fr = "Carte mère",
.gl = "Placa base",
.he = "לוח אם",
Expand Down
1 change: 1 addition & 0 deletions src/modules/bootmgr/bootmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ FFModuleBaseInfo ffBootmgrModuleInfo = {
.cs = "Správce spouštění",
.de = "Boot-Manager",
.es = "Gestor de arranque",
.fi = "Käynnistyslataaja",
.fr = "Gestionnaire de démarrage",
.gl = "Xestor de arranque",
.he = "מנהל אתחול",
Expand Down
1 change: 1 addition & 0 deletions src/modules/break/break.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ FFModuleBaseInfo ffBreakModuleInfo = {
.cs = "Konec řádku",
.de = "Umbruch",
.es = "Salto de línea",
.fi = "Rivinvaihto",
.fr = "Saut de ligne",
.gl = "Salto de liña",
.he = "מעבר שורה",
Expand Down
1 change: 1 addition & 0 deletions src/modules/brightness/brightness.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ FFModuleBaseInfo ffBrightnessModuleInfo = {
.cs = "Jas",
.de = "Helligkeit",
.es = "Brillo",
.fi = "Kirkkaus",
.fr = "Luminosité",
.gl = "Brillo",
.he = "בהירות",
Expand Down
1 change: 1 addition & 0 deletions src/modules/btrfs/btrfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ FFModuleBaseInfo ffBtrfsModuleInfo = {
.cs = "BTRFS",
.de = "BTRFS",
.es = "BTRFS",
.fi = "BTRFS",
.fr = "BTRFS",
.gl = "BTRFS",
.he = "BTRFS",
Expand Down
1 change: 1 addition & 0 deletions src/modules/camera/camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ FFModuleBaseInfo ffCameraModuleInfo = {
.cs = "Kamera",
.de = "Kamera",
.es = "Cámara",
.fi = "Kamera",
.fr = "Caméra",
.gl = "Cámara",
.he = "מצלמה",
Expand Down
1 change: 1 addition & 0 deletions src/modules/chassis/chassis.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ FFModuleBaseInfo ffChassisModuleInfo = {
.cs = "Skříň",
.de = "Gehäuse",
.es = "Chasis",
.fi = "Alusta",
.fr = "Châssis",
.gl = "Chasis",
.he = "מארז",
Expand Down
1 change: 1 addition & 0 deletions src/modules/codec/codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ FFModuleBaseInfo ffCodecModuleInfo = {
.cs = "Kodek",
.de = "Codec",
.es = "Códec",
.fi = "Koodekki",
.fr = "Codec",
.gl = "Códec",
.he = "קודק",
Expand Down
1 change: 1 addition & 0 deletions src/modules/colors/colors.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ FFModuleBaseInfo ffColorsModuleInfo = {
.cs = "Barvy",
.de = "Farben",
.es = "Colores",
.fi = "Värit",
.fr = "Couleurs",
.gl = "Cores",
.he = "צבעים",
Expand Down
1 change: 1 addition & 0 deletions src/modules/command/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ FFModuleBaseInfo ffCommandModuleInfo = {
.cs = "Příkaz",
.de = "Befehl",
.es = "Comando",
.fi = "Komento",
.fr = "Commande",
.gl = "Comando",
.he = "פקודה",
Expand Down
1 change: 1 addition & 0 deletions src/modules/cpu/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ FFModuleBaseInfo ffCPUModuleInfo = {
.cs = "CPU",
.de = "CPU",
.es = "CPU",
.fi = "Suoritin",
.fr = "CPU",
.gl = "CPU",
.he = "מעבד",
Expand Down
1 change: 1 addition & 0 deletions src/modules/cpucache/cpucache.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ FFModuleBaseInfo ffCPUCacheModuleInfo = {
.cs = "Mezipaměť CPU",
.de = "CPU-Cache",
.es = "Caché de la CPU",
.fi = "Suorittimen Välimuisti",
.fr = "Cache CPU",
.gl = "Caché da CPU",
.he = "מטמון מעבד",
Expand Down
1 change: 1 addition & 0 deletions src/modules/cpuusage/cpuusage.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ FFModuleBaseInfo ffCPUUsageModuleInfo = {
.cs = "Využití CPU",
.de = "CPU-Auslastung",
.es = "Uso de la CPU",
.fi = "Suorittimen Käyttö",
.fr = "Utilisation du CPU",
.gl = "Uso da CPU",
.he = "שימוש במעבד",
Expand Down
1 change: 1 addition & 0 deletions src/modules/cursor/cursor.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ FFModuleBaseInfo ffCursorModuleInfo = {
.cs = "Kurzor",
.de = "Mauszeiger",
.es = "Cursor",
.fi = "Kursori",
.fr = "Curseur",
.gl = "Cursor",
.he = "סמן",
Expand Down
1 change: 1 addition & 0 deletions src/modules/custom/custom.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ FFModuleBaseInfo ffCustomModuleInfo = {
.cs = "Vlastní",
.de = "Benutzerdefiniert",
.es = "Personalizado",
.fi = "Mukautettu",
.fr = "Personnalisé",
.gl = "Personalizado",
.he = "מותאם אישית",
Expand Down
1 change: 1 addition & 0 deletions src/modules/datetime/datetime.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ FFModuleBaseInfo ffDateTimeModuleInfo = {
.cs = "Datum a čas",
.de = "Datum & Uhrzeit",
.es = "Fecha y hora",
.fi = "Päivämäärä ja kellonaika",
.fr = "Date et heure",
.gl = "Data e hora",
.he = "תאריך ושעה",
Expand Down
1 change: 1 addition & 0 deletions src/modules/de/de.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ FFModuleBaseInfo ffDEModuleInfo = {
.cs = "Pracovní prostředí",
.de = "Desktop-Umgebung",
.es = "Entorno de escritorio",
.fi = "Työpöytäympäristö",
.fr = "Environnement de Bureau",
.gl = "Contorno do Escritorio",
.he = "סביבת שולחן עבודה",
Expand Down
1 change: 1 addition & 0 deletions src/modules/disk/disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ FFModuleBaseInfo ffDiskModuleInfo = {
.cs = "Disk",
.de = "Festplatte",
.es = "Disco",
.fi = "Levy",
.fr = "Disque",
.gl = "Disco",
.he = "דיסק",
Expand Down
1 change: 1 addition & 0 deletions src/modules/diskio/diskio.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ FFModuleBaseInfo ffDiskIOModuleInfo = {
.cs = "Diskové I/O",
.de = "Festplatten I/O",
.es = "E/S del disco",
.fi = "Levyn I/O",
.fr = "Entrée/Sortie disque",
.gl = "E/S do disco",
.he = "קלט/פלט דיסק",
Expand Down
1 change: 1 addition & 0 deletions src/modules/display/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ FFModuleBaseInfo ffDisplayModuleInfo = {
.cs = "Displej",
.de = "Anzeige",
.es = "Pantalla",
.fi = "Näyttö",
.fr = "Écran",
.gl = "Pantalla",
.he = "תצוגה",
Expand Down
1 change: 1 addition & 0 deletions src/modules/dns/dns.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ FFModuleBaseInfo ffDNSModuleInfo = {
.cs = "DNS",
.de = "DNS",
.es = "DNS",
.fi = "DNS",
.fr = "DNS",
.gl = "DNS",
.he = "DNS",
Expand Down
1 change: 1 addition & 0 deletions src/modules/editor/editor.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ FFModuleBaseInfo ffEditorModuleInfo = {
.cs = "Editor",
.de = "Editor",
.es = "Editor",
.fi = "Editori",
.fr = "Éditeur",
.gl = "Editor",
.he = "עורך",
Expand Down
1 change: 1 addition & 0 deletions src/modules/font/font.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ FFModuleBaseInfo ffFontModuleInfo = {
.cs = "Písmo",
.de = "Schriftart",
.es = "Fuente",
.fi = "Fontti",
.fr = "Police",
.gl = "Fonte",
.he = "גופן",
Expand Down
1 change: 1 addition & 0 deletions src/modules/gamepad/gamepad.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ FFModuleBaseInfo ffGamepadModuleInfo = {
.cs = "Gamepad",
.de = "Gamepad",
.es = "Gamepad",
.fi = "Peliohjain",
.fr = "Manette",
.gl = "Gamepad",
.he = "משטח משחק",
Expand Down
1 change: 1 addition & 0 deletions src/modules/gpu/gpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ FFModuleBaseInfo ffGPUModuleInfo = {
.cs = "GPU",
.de = "GPU",
.es = "GPU",
.fi = "Grafiikkasuoritin",
.fr = "GPU",
.gl = "GPU",
.he = "מעבד גרפי",
Expand Down
1 change: 1 addition & 0 deletions src/modules/host/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ FFModuleBaseInfo ffHostModuleInfo = {
.cs = "Hostitel",
.de = "Rechner",
.es = "Host",
.fi = "Isäntä",
.fr = "Hôte",
.gl = "Host",
.he = "מארח",
Expand Down
1 change: 1 addition & 0 deletions src/modules/icons/icons.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ FFModuleBaseInfo ffIconsModuleInfo = {
.cs = "Ikony",
.de = "Symbole",
.es = "Iconos",
.fi = "Kuvakkeet",
.fr = "Icônes",
.gl = "Iconas",
.he = "סמלים",
Expand Down
1 change: 1 addition & 0 deletions src/modules/initsystem/initsystem.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ FFModuleBaseInfo ffInitSystemModuleInfo = {
.cs = "Init systém",
.de = "Init-System",
.es = "Sistema de inicio",
.fi = "Init-järjestelmä",
.fr = "Système d'init",
.gl = "Sistema de inicio",
.he = "מערכת אתחול",
Expand Down
1 change: 1 addition & 0 deletions src/modules/kernel/kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ FFModuleBaseInfo ffKernelModuleInfo = {
.cs = "Jádro",
.de = "Kernel",
.es = "Kernel",
.fi = "Ydin",
.fr = "Kernel",
.gl = "Kernel",
.he = "ליבה",
Expand Down
1 change: 1 addition & 0 deletions src/modules/keyboard/keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ FFModuleBaseInfo ffKeyboardModuleInfo = {
.cs = "Klávesnice",
.de = "Tastatur",
.es = "Teclado",
.fi = "Näppäimistö",
.fr = "Clavier",
.gl = "Teclado",
.he = "מקלדת",
Expand Down
1 change: 1 addition & 0 deletions src/modules/lm/lm.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ FFModuleBaseInfo ffLMModuleInfo = {
.cs = "Správce přihlášení",
.de = "Anmeldemanager",
.es = "Gestor de inicio de sesión",
.fi = "Sisäänkirjautumishallinta",
.fr = "Gestionnaire de connexion",
.gl = "Xestor de inicio de sesión",
.he = "מנהל התחברות",
Expand Down
1 change: 1 addition & 0 deletions src/modules/loadavg/loadavg.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ FFModuleBaseInfo ffLoadavgModuleInfo = {
.cs = "Průměrná zátěž",
.de = "Systemlast",
.es = "Promedio de carga",
.fi = "Kuormituksen Keskiarvo",
.fr = "Charge moyenne",
.gl = "Carga media",
.he = "עומס ממוצע",
Expand Down
1 change: 1 addition & 0 deletions src/modules/locale/locale.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ FFModuleBaseInfo ffLocaleModuleInfo = {
.cs = "Národní prostředí",
.de = "Sprachraum",
.es = "Configuración regional",
.fi = "Alueasetus",
.fr = "Paramètres régionaux",
.gl = "Configuración rexional",
.he = "לוקאל",
Expand Down
1 change: 1 addition & 0 deletions src/modules/localip/localip.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ FFModuleBaseInfo ffLocalIPModuleInfo = {
.cs = "Místní IP",
.de = "Lokale IP",
.es = "IP local",
.fi = "Paikallinen IP",
.fr = "IP locale",
.gl = "IP local",
.he = "IP מקומי",
Expand Down
1 change: 1 addition & 0 deletions src/modules/logo/logo.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ FFModuleBaseInfo ffLogoModuleInfo = {
.cs = "Logo",
.de = "Logo",
.es = "Logo",
.fi = "Logo",
.fr = "Logo",
.gl = "Logo",
.he = "לוגו",
Expand Down
1 change: 1 addition & 0 deletions src/modules/media/media.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ FFModuleBaseInfo ffMediaModuleInfo = {
.cs = "Média",
.de = "Medien",
.es = "Multimedia",
.fi = "Multimedia",
.fr = "Médias",
.gl = "Multimedia",
.he = "מדיה",
Expand Down
1 change: 1 addition & 0 deletions src/modules/memory/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ FFModuleBaseInfo ffMemoryModuleInfo = {
.cs = "Paměť",
.de = "Speicher",
.es = "Memoria",
.fi = "Keskusmuisti",
.fr = "Mémoire",
.gl = "Memoria",
.he = "זיכרון",
Expand Down
Loading