feat(i18n): translate the waybar labels
This commit is contained in:
1 file changed
+9
-9
@@ -12,14 +12,14 @@
|
|||||||
|
|
||||||
"custom/power": {
|
"custom/power": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"tooltip-format": "Alimentation (SUPER+X)",
|
"tooltip-format": "{{t:bar.power_menu}} (SUPER+X)",
|
||||||
"on-click": "fws-powermenu"
|
"on-click": "fws-powermenu"
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/updates": {
|
"custom/updates": {
|
||||||
"exec": "fws-updates-check",
|
"exec": "fws-updates-check",
|
||||||
"interval": 1800,
|
"interval": 1800,
|
||||||
"tooltip-format": "Mises à jour disponibles — clic pour installer",
|
"tooltip-format": "{{t:bar.updates_tooltip}}",
|
||||||
"on-click": "kitty -e fws-update"
|
"on-click": "kitty -e fws-update"
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -44,8 +44,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"custom/keyhelp": {
|
"custom/keyhelp": {
|
||||||
"format": " Raccourcis",
|
"format": " {{t:bar.shortcuts}}",
|
||||||
"tooltip-format": "Raccourcis clavier (SUPER+K)",
|
"tooltip-format": "{{t:bar.keyboard_shortcuts}} (SUPER+K)",
|
||||||
"on-click": "fws-keys"
|
"on-click": "fws-keys"
|
||||||
},
|
},
|
||||||
"backlight": {
|
"backlight": {
|
||||||
@@ -53,17 +53,17 @@
|
|||||||
"format-icons": ["", "", ""],
|
"format-icons": ["", "", ""],
|
||||||
"on-scroll-up": "brightnessctl set +5%",
|
"on-scroll-up": "brightnessctl set +5%",
|
||||||
"on-scroll-down": "brightnessctl set 5%-",
|
"on-scroll-down": "brightnessctl set 5%-",
|
||||||
"tooltip-format": "Luminosité {percent}% (molette pour régler)"
|
"tooltip-format": "{{t:bar.brightness}} {percent}% ({{t:bar.scroll_to_adjust}})"
|
||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"format": "{icon} {volume}%",
|
"format": "{icon} {volume}%",
|
||||||
"format-muted": " muet",
|
"format-muted": " {{t:bar.muted}}",
|
||||||
"format-icons": { "default": ["", "", ""] },
|
"format-icons": { "default": ["", "", ""] },
|
||||||
"on-click": "pavucontrol",
|
"on-click": "pavucontrol",
|
||||||
"on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
"on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||||
"on-scroll-up": "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 2%+",
|
"on-scroll-up": "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 2%+",
|
||||||
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-",
|
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-",
|
||||||
"tooltip-format": "{desc} — clic : mixeur, clic droit : muet"
|
"tooltip-format": "{desc} — {{t:bar.volume_tooltip}}"
|
||||||
},
|
},
|
||||||
"bluetooth": {
|
"bluetooth": {
|
||||||
"format": "",
|
"format": "",
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
"network": {
|
"network": {
|
||||||
"format-wifi": " {essid}",
|
"format-wifi": " {essid}",
|
||||||
"format-ethernet": " {ipaddr}",
|
"format-ethernet": " {ipaddr}",
|
||||||
"format-disconnected": " hors ligne",
|
"format-disconnected": " {{t:bar.offline}}",
|
||||||
"tooltip-format": "{ifname} — {ipaddr}\n⇡ {bandwidthUpBytes} ⇣ {bandwidthDownBytes}"
|
"tooltip-format": "{ifname} — {ipaddr}\n⇡ {bandwidthUpBytes} ⇣ {bandwidthDownBytes}"
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"format": " {percentage}%",
|
"format": " {percentage}%",
|
||||||
"interval": 3,
|
"interval": 3,
|
||||||
"tooltip-format": "{used:0.1f} / {total:0.1f} Gio"
|
"tooltip-format": "{used:0.1f} / {total:0.1f} {{t:bar.gib_unit}}"
|
||||||
},
|
},
|
||||||
"battery": {
|
"battery": {
|
||||||
"states": { "warning": 25, "critical": 10 },
|
"states": { "warning": 25, "critical": 10 },
|
||||||
|
|||||||
Reference in new issue
Block a user