use i18n implementation for UI text strings

This commit is contained in:
dwuggh
2025-10-12 18:47:30 +08:00
parent abd9586def
commit 4c6ba6afad
7 changed files with 26 additions and 2 deletions
+4
View File
@@ -266,6 +266,10 @@
"label": "Schwebende Statusleiste",
"description": "Statusleiste als schwebende 'Pille' anzeigen. Hinweis: Dies verschiebt die Bildschirmecken an die Ränder."
},
"auto-hide": {
"label": "Automatisch ausblenden",
"description": "Blendet die Leiste automatisch aus, wenn sie nicht verwendet wird."
},
"margins": {
"label": "Ränder",
"description": "Ränder um die schwebende Statusleiste anpassen.",
+4
View File
@@ -266,6 +266,10 @@
"label": "Floating bar",
"description": "Displays the bar as a floating 'pill'. Note: This will move the screen corners to the edges."
},
"auto-hide": {
"label": "Auto hide",
"description": "Automatically hide the bar when not in use."
},
"margins": {
"label": "Margins",
"description": "Adjust the margins around the floating bar.",
+4
View File
@@ -266,6 +266,10 @@
"label": "Barra flotante",
"description": "Muestra la barra como una 'píldora' flotante. Nota: Esto moverá las esquinas de la pantalla a los bordes."
},
"auto-hide": {
"label": "Ocultar automáticamente",
"description": "Oculta automáticamente la barra cuando no esté en uso."
},
"margins": {
"label": "Márgenes",
"description": "Ajusta los márgenes alrededor de la barra flotante.",
+4
View File
@@ -266,6 +266,10 @@
"label": "Barre flottante",
"description": "Affiche la barre sous forme de 'pilule' flottante. Note : Ceci déplacera les coins de l'écran vers les bords."
},
"auto-hide": {
"label": "Masquer automatiquement",
"description": "Masquer automatiquement la barre lorsquelle nest pas utilisée."
},
"margins": {
"label": "Marges",
"description": "Ajustez les marges autour de la barre flottante.",
+4
View File
@@ -266,6 +266,10 @@
"label": "Barra flutuante",
"description": "Exibe a barra como uma 'pílula' flutuante. Nota: Isso moverá os cantos da tela para as bordas."
},
"auto-hide": {
"label": "Ocultar automaticamente",
"description": "Oculta automaticamente a barra quando não estiver em uso."
},
"margins": {
"label": "Margens",
"description": "Ajuste as margens ao redor da barra flutuante.",
+4
View File
@@ -266,6 +266,10 @@
"label": "浮动状态栏",
"description": "将状态栏显示为浮动样式(类似于一个药丸)。注意:这会将屏幕边角移动到边缘。"
},
"auto-hide": {
"label": "自动隐藏",
"description": "在不使用时自动隐藏状态栏。"
},
"margins": {
"label": "边距",
"description": "调整浮动状态栏周围的边距。",
+2 -2
View File
@@ -122,8 +122,8 @@ ColumnLayout {
NToggle {
Layout.fillWidth: true
label: "Auto Hide"
description: "Automatically hide the bar when not in use."
label: I18n.tr("settings.bar.appearance.auto-hide.label")
description: I18n.tr("settings.bar.appearance.auto-hide.description")
checked: Settings.data.bar.autoHide
onToggled: checked => Settings.data.bar.autoHide = checked
}