i18n: remove some entries, edit some entries

This commit is contained in:
Ly-sec
2025-09-24 16:48:43 +02:00
parent 9cfe49dec3
commit 7f9acccce7
6 changed files with 82 additions and 126 deletions
+12 -38
View File
@@ -433,38 +433,31 @@
"label": "UI", "label": "UI",
"description": "Desktop-Umgebung und UI-Toolkit-Theming.", "description": "Desktop-Umgebung und UI-Toolkit-Theming.",
"gtk4": { "gtk4": {
"label": "GTK 4 (libadwaita)", "description": "Schreibt {filepath}"
"description": "Schreibt ~/.config/gtk-4.0/gtk.css"
}, },
"gtk3": { "gtk3": {
"label": "GTK 3", "description": "Schreibt {filepath}"
"description": "Schreibt ~/.config/gtk-3.0/gtk.css"
}, },
"qt6": { "qt6": {
"label": "Qt6ct", "description": "Schreibt {filepath}"
"description": "Schreibt ~/.config/qt6ct/colors/noctalia.conf"
}, },
"qt5": { "qt5": {
"label": "Qt5ct", "description": "Schreibt {filepath}"
"description": "Schreibt ~/.config/qt5ct/colors/noctalia.conf"
} }
}, },
"terminal": { "terminal": {
"label": "Terminal", "label": "Terminal",
"description": "Terminal-Emulator-Theming.", "description": "Terminal-Emulator-Theming.",
"kitty": { "kitty": {
"label": "Kitty", "description": "Schreibt {filepath} und lädt neu",
"description": "Schreibt ~/.config/kitty/themes/noctalia.conf und lädt neu",
"description-missing": "Erfordert kitty Terminal" "description-missing": "Erfordert kitty Terminal"
}, },
"ghostty": { "ghostty": {
"label": "Ghostty", "description": "Schreibt {filepath} und lädt neu",
"description": "Schreibt ~/.config/ghostty/themes/noctalia und lädt neu",
"description-missing": "Erfordert ghostty Terminal" "description-missing": "Erfordert ghostty Terminal"
}, },
"foot": { "foot": {
"label": "Foot", "description": "Schreibt {filepath} und lädt neu",
"description": "Schreibt ~/.config/foot/themes/noctalia und lädt neu",
"description-missing": "Erfordert foot Terminal" "description-missing": "Erfordert foot Terminal"
} }
}, },
@@ -472,18 +465,15 @@
"label": "Programme", "label": "Programme",
"description": "Anwendungsspezifisches Theming.", "description": "Anwendungsspezifisches Theming.",
"fuzzel": { "fuzzel": {
"label": "Fuzzel", "description": "Schreibt {filepath} und lädt neu",
"description": "Schreibt ~/.config/fuzzel/themes/noctalia und lädt neu",
"description-missing": "Erfordert fuzzel Starter" "description-missing": "Erfordert fuzzel Starter"
}, },
"vesktop": { "vesktop": {
"label": "Vesktop", "description": "Schreibt {filepath}",
"description": "Schreibt ~/.config/vesktop/themes/noctalia.theme.css",
"description-missing": "Erfordert vesktop Discord-Client" "description-missing": "Erfordert vesktop Discord-Client"
}, },
"pywalfox": { "pywalfox": {
"label": "Pywalfox (Firefox)", "description": "Schreibt {filepath} und führt pywalfox update aus",
"description": "Schreibt ~/.cache/wal/colors.json und führt pywalfox update aus",
"description-missing": "Erfordert pywalfox Paket" "description-missing": "Erfordert pywalfox Paket"
} }
}, },
@@ -1016,8 +1006,7 @@
"enter-width-pixels": "Breite in Pixeln eingeben", "enter-width-pixels": "Breite in Pixeln eingeben",
"enter-command": "Befehl eingeben (App oder benutzerdefiniertes Skript)", "enter-command": "Befehl eingeben (App oder benutzerdefiniertes Skript)",
"command-example": "echo \"Hallo Welt\"", "command-example": "echo \"Hallo Welt\"",
"clock-horizontal": "HH:mm ddd, MMM dd",
"clock-vertical": "HH mm dd MM",
"search-wallpapers": "Zum Filtern von Hintergrundbildern eingeben...", "search-wallpapers": "Zum Filtern von Hintergrundbildern eingeben...",
"search-launcher": "Einträge suchen... oder > für Befehle verwenden", "search-launcher": "Einträge suchen... oder > für Befehle verwenden",
"search": "Suchen...", "search": "Suchen...",
@@ -1067,15 +1056,7 @@
"mirrored": "Gespiegelt", "mirrored": "Gespiegelt",
"wave": "Welle" "wave": "Welle"
}, },
"frame-rates": {
"30-fps": "30 FPS",
"60-fps": "60 FPS",
"100-fps": "100 FPS",
"120-fps": "120 FPS",
"144-fps": "144 FPS",
"165-fps": "165 FPS",
"240-fps": "240 FPS"
},
"screen-recording": { "screen-recording": {
"sources": { "sources": {
"portal": "Portal", "portal": "Portal",
@@ -1087,13 +1068,6 @@
"very-high": "Sehr hoch", "very-high": "Sehr hoch",
"ultra": "Ultra" "ultra": "Ultra"
}, },
"codecs": {
"h264": "H264",
"hevc": "HEVC",
"av1": "AV1",
"vp8": "VP8",
"vp9": "VP9"
},
"color-range": { "color-range": {
"limited": "Begrenzt", "limited": "Begrenzt",
"full": "Vollständig" "full": "Vollständig"
+12 -38
View File
@@ -433,38 +433,31 @@
"label": "UI", "label": "UI",
"description": "Desktop environment and UI toolkit theming.", "description": "Desktop environment and UI toolkit theming.",
"gtk4": { "gtk4": {
"label": "GTK 4 (libadwaita)", "description": "Write {filepath}"
"description": "Write ~/.config/gtk-4.0/gtk.css"
}, },
"gtk3": { "gtk3": {
"label": "GTK 3", "description": "Write {filepath}"
"description": "Write ~/.config/gtk-3.0/gtk.css"
}, },
"qt6": { "qt6": {
"label": "Qt6ct", "description": "Write {filepath}"
"description": "Write ~/.config/qt6ct/colors/noctalia.conf"
}, },
"qt5": { "qt5": {
"label": "Qt5ct", "description": "Write {filepath}"
"description": "Write ~/.config/qt5ct/colors/noctalia.conf"
} }
}, },
"terminal": { "terminal": {
"label": "Terminal", "label": "Terminal",
"description": "Terminal emulator theming.", "description": "Terminal emulator theming.",
"kitty": { "kitty": {
"label": "Kitty", "description": "Write {filepath} and reload",
"description": "Write ~/.config/kitty/themes/noctalia.conf and reload",
"description-missing": "Requires kitty terminal to be installed" "description-missing": "Requires kitty terminal to be installed"
}, },
"ghostty": { "ghostty": {
"label": "Ghostty", "description": "Write {filepath} and reload",
"description": "Write ~/.config/ghostty/themes/noctalia and reload",
"description-missing": "Requires ghostty terminal to be installed" "description-missing": "Requires ghostty terminal to be installed"
}, },
"foot": { "foot": {
"label": "Foot", "description": "Write {filepath} and reload",
"description": "Write ~/.config/foot/themes/noctalia and reload",
"description-missing": "Requires foot terminal to be installed" "description-missing": "Requires foot terminal to be installed"
} }
}, },
@@ -472,18 +465,15 @@
"label": "Programs", "label": "Programs",
"description": "Application-specific theming.", "description": "Application-specific theming.",
"fuzzel": { "fuzzel": {
"label": "Fuzzel", "description": "Write {filepath} and reload",
"description": "Write ~/.config/fuzzel/themes/noctalia and reload",
"description-missing": "Requires fuzzel launcher to be installed" "description-missing": "Requires fuzzel launcher to be installed"
}, },
"vesktop": { "vesktop": {
"label": "Vesktop", "description": "Write {filepath}",
"description": "Write ~/.config/vesktop/themes/noctalia.theme.css",
"description-missing": "Requires vesktop Discord client to be installed" "description-missing": "Requires vesktop Discord client to be installed"
}, },
"pywalfox": { "pywalfox": {
"label": "Pywalfox (Firefox)", "description": "Write {filepath} and run pywalfox update",
"description": "Write ~/.cache/wal/colors.json and run pywalfox update",
"description-missing": "Requires pywalfox package to be installed" "description-missing": "Requires pywalfox package to be installed"
} }
}, },
@@ -1016,8 +1006,7 @@
"enter-width-pixels": "Enter width in pixels", "enter-width-pixels": "Enter width in pixels",
"enter-command": "Enter command to execute (app or custom script)", "enter-command": "Enter command to execute (app or custom script)",
"command-example": "echo \"Hello World\"", "command-example": "echo \"Hello World\"",
"clock-horizontal": "HH:mm ddd, MMM dd",
"clock-vertical": "HH mm dd MM",
"search-wallpapers": "Type to filter wallpapers...", "search-wallpapers": "Type to filter wallpapers...",
"search-launcher": "Search entries... or use > for commands", "search-launcher": "Search entries... or use > for commands",
"search": "Search...", "search": "Search...",
@@ -1067,15 +1056,7 @@
"mirrored": "Mirrored", "mirrored": "Mirrored",
"wave": "Wave" "wave": "Wave"
}, },
"frame-rates": {
"30-fps": "30 FPS",
"60-fps": "60 FPS",
"100-fps": "100 FPS",
"120-fps": "120 FPS",
"144-fps": "144 FPS",
"165-fps": "165 FPS",
"240-fps": "240 FPS"
},
"screen-recording": { "screen-recording": {
"sources": { "sources": {
"portal": "Portal", "portal": "Portal",
@@ -1087,13 +1068,6 @@
"very-high": "Very high", "very-high": "Very high",
"ultra": "Ultra" "ultra": "Ultra"
}, },
"codecs": {
"h264": "H264",
"hevc": "HEVC",
"av1": "AV1",
"vp8": "VP8",
"vp9": "VP9"
},
"color-range": { "color-range": {
"limited": "Limited", "limited": "Limited",
"full": "Full" "full": "Full"
+1 -1
View File
@@ -9,7 +9,7 @@ Singleton {
id: root id: root
property bool debug: true property bool debug: true
property string debugForceLanguage: "" property string debugForceLanguage: "de"
property bool isLoaded: false property bool isLoaded: false
property string langCode: "" property string langCode: ""
@@ -106,7 +106,7 @@ ColumnLayout {
Layout.fillWidth: true Layout.fillWidth: true
label: I18n.tr("bar.widget-settings.clock.horizontal-bar.label") label: I18n.tr("bar.widget-settings.clock.horizontal-bar.label")
description: I18n.tr("bar.widget-settings.clock.horizontal-bar.description") description: I18n.tr("bar.widget-settings.clock.horizontal-bar.description")
placeholderText: I18n.tr("placeholders.clock-horizontal") placeholderText: "HH:mm ddd, MMM dd"
text: valueFormatHorizontal text: valueFormatHorizontal
onTextChanged: valueFormatHorizontal = text onTextChanged: valueFormatHorizontal = text
Component.onCompleted: { Component.onCompleted: {
@@ -129,7 +129,8 @@ ColumnLayout {
Layout.fillWidth: true Layout.fillWidth: true
label: I18n.tr("bar.widget-settings.clock.vertical-bar.label") label: I18n.tr("bar.widget-settings.clock.vertical-bar.label")
description: I18n.tr("bar.widget-settings.clock.vertical-bar.description") description: I18n.tr("bar.widget-settings.clock.vertical-bar.description")
placeholderText: I18n.tr("placeholders.clock-vertical") // Tokens are Qt format tokens and must not be localized
placeholderText: "HH mm dd MM"
text: valueFormatVertical text: valueFormatVertical
onTextChanged: valueFormatVertical = text onTextChanged: valueFormatVertical = text
Component.onCompleted: { Component.onCompleted: {
+40 -20
View File
@@ -337,8 +337,10 @@ ColumnLayout {
defaultExpanded: false defaultExpanded: false
NCheckbox { NCheckbox {
label: I18n.tr("settings.color-scheme.matugen.ui.gtk4.label") label: "GTK 4 (libadwaita)"
description: I18n.tr("settings.color-scheme.matugen.ui.gtk4.description") description: I18n.tr("settings.color-scheme.matugen.ui.gtk4.description", {
"filepath": "~/.config/gtk-4.0/gtk.css"
})
checked: Settings.data.matugen.gtk4 checked: Settings.data.matugen.gtk4
onToggled: checked => { onToggled: checked => {
Settings.data.matugen.gtk4 = checked Settings.data.matugen.gtk4 = checked
@@ -348,8 +350,10 @@ ColumnLayout {
} }
NCheckbox { NCheckbox {
label: I18n.tr("settings.color-scheme.matugen.ui.gtk3.label") label: "GTK 3"
description: I18n.tr("settings.color-scheme.matugen.ui.gtk3.description") description: I18n.tr("settings.color-scheme.matugen.ui.gtk3.description", {
"filepath": "~/.config/gtk-3.0/gtk.css"
})
checked: Settings.data.matugen.gtk3 checked: Settings.data.matugen.gtk3
onToggled: checked => { onToggled: checked => {
Settings.data.matugen.gtk3 = checked Settings.data.matugen.gtk3 = checked
@@ -359,8 +363,10 @@ ColumnLayout {
} }
NCheckbox { NCheckbox {
label: I18n.tr("settings.color-scheme.matugen.ui.qt6.label") label: "Qt6ct"
description: I18n.tr("settings.color-scheme.matugen.ui.qt6.description") description: I18n.tr("settings.color-scheme.matugen.ui.qt6.description", {
"filepath": "~/.config/qt6ct/colors/noctalia.conf"
})
checked: Settings.data.matugen.qt6 checked: Settings.data.matugen.qt6
onToggled: checked => { onToggled: checked => {
Settings.data.matugen.qt6 = checked Settings.data.matugen.qt6 = checked
@@ -370,8 +376,10 @@ ColumnLayout {
} }
NCheckbox { NCheckbox {
label: I18n.tr("settings.color-scheme.matugen.ui.qt5.label") label: "Qt5ct"
description: I18n.tr("settings.color-scheme.matugen.ui.qt5.description") description: I18n.tr("settings.color-scheme.matugen.ui.qt5.description", {
"filepath": "~/.config/qt5ct/colors/noctalia.conf"
})
checked: Settings.data.matugen.qt5 checked: Settings.data.matugen.qt5
onToggled: checked => { onToggled: checked => {
Settings.data.matugen.qt5 = checked Settings.data.matugen.qt5 = checked
@@ -389,8 +397,10 @@ ColumnLayout {
defaultExpanded: false defaultExpanded: false
NCheckbox { NCheckbox {
label: I18n.tr("settings.color-scheme.matugen.terminal.kitty.label") label: "Kitty"
description: ProgramCheckerService.kittyAvailable ? I18n.tr("settings.color-scheme.matugen.terminal.kitty.description") : I18n.tr("settings.color-scheme.matugen.terminal.kitty.description-missing") description: ProgramCheckerService.kittyAvailable ? I18n.tr("settings.color-scheme.matugen.terminal.kitty.description", {
"filepath": "~/.config/kitty/themes/noctalia.conf"
}) : I18n.tr("settings.color-scheme.matugen.terminal.kitty.description-missing")
checked: Settings.data.matugen.kitty checked: Settings.data.matugen.kitty
enabled: ProgramCheckerService.kittyAvailable enabled: ProgramCheckerService.kittyAvailable
opacity: ProgramCheckerService.kittyAvailable ? 1.0 : 0.6 opacity: ProgramCheckerService.kittyAvailable ? 1.0 : 0.6
@@ -404,8 +414,10 @@ ColumnLayout {
} }
NCheckbox { NCheckbox {
label: I18n.tr("settings.color-scheme.matugen.terminal.ghostty.label") label: "Ghostty"
description: ProgramCheckerService.ghosttyAvailable ? I18n.tr("settings.color-scheme.matugen.terminal.ghostty.description") : I18n.tr("settings.color-scheme.matugen.terminal.ghostty.description-missing") description: ProgramCheckerService.ghosttyAvailable ? I18n.tr("settings.color-scheme.matugen.terminal.ghostty.description", {
"filepath": "~/.config/ghostty/themes/noctalia"
}) : I18n.tr("settings.color-scheme.matugen.terminal.ghostty.description-missing")
checked: Settings.data.matugen.ghostty checked: Settings.data.matugen.ghostty
enabled: ProgramCheckerService.ghosttyAvailable enabled: ProgramCheckerService.ghosttyAvailable
opacity: ProgramCheckerService.ghosttyAvailable ? 1.0 : 0.6 opacity: ProgramCheckerService.ghosttyAvailable ? 1.0 : 0.6
@@ -419,8 +431,10 @@ ColumnLayout {
} }
NCheckbox { NCheckbox {
label: I18n.tr("settings.color-scheme.matugen.terminal.foot.label") label: "Foot"
description: ProgramCheckerService.footAvailable ? I18n.tr("settings.color-scheme.matugen.terminal.foot.description") : I18n.tr("settings.color-scheme.matugen.terminal.foot.description-missing") description: ProgramCheckerService.footAvailable ? I18n.tr("settings.color-scheme.matugen.terminal.foot.description", {
"filepath": "~/.config/foot/themes/noctalia"
}) : I18n.tr("settings.color-scheme.matugen.terminal.foot.description-missing")
checked: Settings.data.matugen.foot checked: Settings.data.matugen.foot
enabled: ProgramCheckerService.footAvailable enabled: ProgramCheckerService.footAvailable
opacity: ProgramCheckerService.footAvailable ? 1.0 : 0.6 opacity: ProgramCheckerService.footAvailable ? 1.0 : 0.6
@@ -442,8 +456,10 @@ ColumnLayout {
defaultExpanded: false defaultExpanded: false
NCheckbox { NCheckbox {
label: I18n.tr("settings.color-scheme.matugen.programs.fuzzel.label") label: "Fuzzel"
description: ProgramCheckerService.fuzzelAvailable ? I18n.tr("settings.color-scheme.matugen.programs.fuzzel.description") : I18n.tr("settings.color-scheme.matugen.programs.fuzzel.description-missing") description: ProgramCheckerService.fuzzelAvailable ? I18n.tr("settings.color-scheme.matugen.programs.fuzzel.description", {
"filepath": "~/.config/fuzzel/themes/noctalia"
}) : I18n.tr("settings.color-scheme.matugen.programs.fuzzel.description-missing")
checked: Settings.data.matugen.fuzzel checked: Settings.data.matugen.fuzzel
enabled: ProgramCheckerService.fuzzelAvailable enabled: ProgramCheckerService.fuzzelAvailable
opacity: ProgramCheckerService.fuzzelAvailable ? 1.0 : 0.6 opacity: ProgramCheckerService.fuzzelAvailable ? 1.0 : 0.6
@@ -457,8 +473,10 @@ ColumnLayout {
} }
NCheckbox { NCheckbox {
label: I18n.tr("settings.color-scheme.matugen.programs.vesktop.label") label: "Vesktop"
description: ProgramCheckerService.vesktopAvailable ? I18n.tr("settings.color-scheme.matugen.programs.vesktop.description") : I18n.tr("settings.color-scheme.matugen.programs.vesktop.description-missing") description: ProgramCheckerService.vesktopAvailable ? I18n.tr("settings.color-scheme.matugen.programs.vesktop.description", {
"filepath": "~/.config/vesktop/themes/noctalia.theme.css"
}) : I18n.tr("settings.color-scheme.matugen.programs.vesktop.description-missing")
checked: Settings.data.matugen.vesktop checked: Settings.data.matugen.vesktop
enabled: ProgramCheckerService.vesktopAvailable enabled: ProgramCheckerService.vesktopAvailable
opacity: ProgramCheckerService.vesktopAvailable ? 1.0 : 0.6 opacity: ProgramCheckerService.vesktopAvailable ? 1.0 : 0.6
@@ -472,8 +490,10 @@ ColumnLayout {
} }
NCheckbox { NCheckbox {
label: I18n.tr("settings.color-scheme.matugen.programs.pywalfox.label") label: "Pywalfox"
description: ProgramCheckerService.pywalfoxAvailable ? I18n.tr("settings.color-scheme.matugen.programs.pywalfox.description") : I18n.tr("settings.color-scheme.matugen.programs.pywalfox.description-missing") description: ProgramCheckerService.pywalfoxAvailable ? I18n.tr("settings.color-scheme.matugen.programs.pywalfox.description", {
"filepath": "~/.cache/wal/colors.json"
}) : I18n.tr("settings.color-scheme.matugen.programs.pywalfox.description-missing")
checked: Settings.data.matugen.pywalfox checked: Settings.data.matugen.pywalfox
enabled: ProgramCheckerService.pywalfoxAvailable enabled: ProgramCheckerService.pywalfoxAvailable
opacity: ProgramCheckerService.pywalfoxAvailable ? 1.0 : 0.6 opacity: ProgramCheckerService.pywalfoxAvailable ? 1.0 : 0.6
+14 -27
View File
@@ -76,28 +76,15 @@ ColumnLayout {
NComboBox { NComboBox {
label: I18n.tr("settings.screen-recorder.video.frame-rate.label") label: I18n.tr("settings.screen-recorder.video.frame-rate.label")
description: I18n.tr("settings.screen-recorder.video.frame-rate.description") description: I18n.tr("settings.screen-recorder.video.frame-rate.description")
model: [{ model: (function () {
"key": "30", const values = ["30", "60", "100", "120", "144", "165", "240"]
"name": I18n.tr("options.frame-rates.30-fps") return values.map(function (v) {
}, { return {
"key": "60", "key": v,
"name": I18n.tr("options.frame-rates.60-fps") "name": (v + " FPS")
}, { }
"key": "100", })
"name": I18n.tr("options.frame-rates.100-fps") })()
}, {
"key": "120",
"name": I18n.tr("options.frame-rates.120-fps")
}, {
"key": "144",
"name": I18n.tr("options.frame-rates.144-fps")
}, {
"key": "165",
"name": I18n.tr("options.frame-rates.165-fps")
}, {
"key": "240",
"name": I18n.tr("options.frame-rates.240-fps")
}]
currentKey: Settings.data.screenRecorder.frameRate currentKey: Settings.data.screenRecorder.frameRate
onSelected: key => Settings.data.screenRecorder.frameRate = key onSelected: key => Settings.data.screenRecorder.frameRate = key
} }
@@ -129,19 +116,19 @@ ColumnLayout {
description: I18n.tr("settings.screen-recorder.video.video-codec.description") description: I18n.tr("settings.screen-recorder.video.video-codec.description")
model: [{ model: [{
"key": "h264", "key": "h264",
"name": I18n.tr("options.screen-recording.codecs.h264") "name": "H264"
}, { }, {
"key": "hevc", "key": "hevc",
"name": I18n.tr("options.screen-recording.codecs.hevc") "name": "HEVC"
}, { }, {
"key": "av1", "key": "av1",
"name": I18n.tr("options.screen-recording.codecs.av1") "name": "AV1"
}, { }, {
"key": "vp8", "key": "vp8",
"name": I18n.tr("options.screen-recording.codecs.vp8") "name": "VP8"
}, { }, {
"key": "vp9", "key": "vp9",
"name": I18n.tr("options.screen-recording.codecs.vp9") "name": "VP9"
}] }]
currentKey: Settings.data.screenRecorder.videoCodec currentKey: Settings.data.screenRecorder.videoCodec
onSelected: key => Settings.data.screenRecorder.videoCodec = key onSelected: key => Settings.data.screenRecorder.videoCodec = key