mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Merge branch 'main' of https://github.com/noctalia-dev/noctalia-shell
This commit is contained in:
@@ -659,7 +659,7 @@
|
||||
"wallpaperSelector": {
|
||||
"label": "Hintergrundbild",
|
||||
"tooltip": {
|
||||
"action": "Linksklick: Hintergrundbildauswahl öffnen\nRechtsklick: Zufälliges Hintergrundbild setzen"
|
||||
"action": "Linksklick: Hintergrundbild-Auswahl öffnen\nRechtsklick: Zufälliges Hintergrundbild setzen"
|
||||
}
|
||||
},
|
||||
"wifi": {
|
||||
@@ -1776,6 +1776,11 @@
|
||||
"label": "Hintergrundbild-Ordner",
|
||||
"tooltip": "Nach Hintergrundbild-Ordner suchen"
|
||||
},
|
||||
"selector": {
|
||||
"description": "Wählen Sie Ihr Hintergrundbild aus.",
|
||||
"label": "Hintergrundbild-Auswahl",
|
||||
"tooltip": "Hintergrundbild-Auswahl öffnen"
|
||||
},
|
||||
"hide-wallpaper-filenames": {
|
||||
"description": "Hintergrundbilddateinamen im Auswahlmenü ausblenden.",
|
||||
"label": "Dateinamen ausblenden"
|
||||
@@ -1796,7 +1801,7 @@
|
||||
"select-folder": "Hintergrundbild-Ordner auswählen",
|
||||
"select-monitor-folder": "Monitor-Hintergrundbild-Ordner auswählen",
|
||||
"selector-position": {
|
||||
"description": "Wählen Sie aus, wo das Hintergrundbildauswahlfeld angezeigt wird.",
|
||||
"description": "Wählen Sie aus, wo das Hintergrundbild-Auswahlfeld angezeigt wird.",
|
||||
"label": "Position"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1776,6 +1776,11 @@
|
||||
"label": "Wallpaper folder",
|
||||
"tooltip": "Browse for wallpaper folder"
|
||||
},
|
||||
"selector": {
|
||||
"description": "Choose your wallpaper.",
|
||||
"label": "Wallpaper selector",
|
||||
"tooltip": "Open wallpaper selector"
|
||||
},
|
||||
"hide-wallpaper-filenames": {
|
||||
"description": "Hide wallpaper filenames in the selector.",
|
||||
"label": "Hide filenames"
|
||||
|
||||
@@ -1776,6 +1776,11 @@
|
||||
"label": "Carpeta de fondos de pantalla",
|
||||
"tooltip": "Buscar carpeta de fondos de pantalla"
|
||||
},
|
||||
"selector": {
|
||||
"description": "Elige tu fondo de pantalla.",
|
||||
"label": "Selector de fondo de pantalla",
|
||||
"tooltip": "Abrir el selector de fondo de pantalla"
|
||||
},
|
||||
"hide-wallpaper-filenames": {
|
||||
"description": "Oculta los nombres de archivo del fondo de pantalla en el selector.",
|
||||
"label": "Ocultar nombres de archivo"
|
||||
|
||||
@@ -1776,6 +1776,11 @@
|
||||
"label": "Dossier des fonds d'écran",
|
||||
"tooltip": "Parcourir le dossier des fonds d'écran"
|
||||
},
|
||||
"selector": {
|
||||
"description": "Choisissez votre fond d’écran.",
|
||||
"label": "Sélecteur de fond d’écran",
|
||||
"tooltip": "Ouvrir le sélecteur de fond d’écran"
|
||||
},
|
||||
"hide-wallpaper-filenames": {
|
||||
"description": "Masquer les noms de fichiers des fonds d'écran dans le sélecteur.",
|
||||
"label": "Masquer les noms de fichiers"
|
||||
|
||||
@@ -1776,6 +1776,11 @@
|
||||
"label": "Achtergrondmap",
|
||||
"tooltip": "Bladeren naar achtergrondmap"
|
||||
},
|
||||
"selector": {
|
||||
"description": "Kies je achtergrond.",
|
||||
"label": "Achtergrondkiezer",
|
||||
"tooltip": "Achtergrondkiezer openen"
|
||||
},
|
||||
"hide-wallpaper-filenames": {
|
||||
"description": "Verberg de bestandsnamen van de achtergrond in de selector.",
|
||||
"label": "Bestandsnamen verbergen"
|
||||
|
||||
@@ -1776,6 +1776,11 @@
|
||||
"label": "Pasta de papéis de parede",
|
||||
"tooltip": "Procurar pasta de papéis de parede"
|
||||
},
|
||||
"selector": {
|
||||
"description": "Escolha o seu papel de parede.",
|
||||
"label": "Seletor de papel de parede",
|
||||
"tooltip": "Abrir o seletor de papel de parede"
|
||||
},
|
||||
"hide-wallpaper-filenames": {
|
||||
"description": "Ocultar nomes de arquivos de papel de parede no seletor.",
|
||||
"label": "Ocultar nomes de arquivos"
|
||||
|
||||
@@ -1776,6 +1776,11 @@
|
||||
"label": "Папка с обоями",
|
||||
"tooltip": "Обзор папки с обоями"
|
||||
},
|
||||
"selector": {
|
||||
"description": "Выберите обои.",
|
||||
"label": "Выбор обоев",
|
||||
"tooltip": "Открыть выбор обоев"
|
||||
},
|
||||
"hide-wallpaper-filenames": {
|
||||
"description": "Скрыть имена файлов обоев в селекторе.",
|
||||
"label": "Скрыть имена файлов"
|
||||
|
||||
@@ -1776,6 +1776,11 @@
|
||||
"label": "Duvar kağıdı klasörü",
|
||||
"tooltip": "Duvar kağıdı klasörüne göz atın"
|
||||
},
|
||||
"selector": {
|
||||
"description": "Duvar kâğıdınızı seçin.",
|
||||
"label": "Duvar kâğıdı seçici",
|
||||
"tooltip": "Duvar kâğıdı seçiciyi aç"
|
||||
},
|
||||
"hide-wallpaper-filenames": {
|
||||
"description": "Seçicide duvar kağıdı dosya adlarını gizle.",
|
||||
"label": "Dosya adlarını gizle"
|
||||
|
||||
@@ -1776,6 +1776,11 @@
|
||||
"label": "Тека шпалер",
|
||||
"tooltip": "Огляд теки шпалер"
|
||||
},
|
||||
"selector": {
|
||||
"description": "Виберіть свої шпалери.",
|
||||
"label": "Вибір шпалер",
|
||||
"tooltip": "Відкрити вибір шпалер"
|
||||
},
|
||||
"hide-wallpaper-filenames": {
|
||||
"description": "Приховати назви файлів шпалер у селекторі.",
|
||||
"label": "Приховати імена файлів"
|
||||
|
||||
@@ -1776,6 +1776,11 @@
|
||||
"label": "壁纸文件夹",
|
||||
"tooltip": "浏览壁纸文件夹"
|
||||
},
|
||||
"selector": {
|
||||
"description": "选择你的壁纸。",
|
||||
"label": "壁纸选择器",
|
||||
"tooltip": "打开壁纸选择器"
|
||||
},
|
||||
"hide-wallpaper-filenames": {
|
||||
"description": "在选择器中隐藏壁纸文件名。",
|
||||
"label": "隐藏文件名。"
|
||||
|
||||
+11
-2
@@ -5,9 +5,18 @@ set -euo pipefail
|
||||
# Uses: https://github.com/jesperhh/qmlfmt
|
||||
# Install: AUR package "qmlfmt-git" (requires qt6-5compat)
|
||||
|
||||
command -v qmlfmt &>/dev/null || { echo "qmlfmt not found" >&2; exit 1; }
|
||||
# Find the available QML formatter command and define format_file accordingly
|
||||
if command -v qmlfmt &>/dev/null; then
|
||||
echo "Using 'qmlfmt' for formatting."
|
||||
format_file() { qmlfmt -e -b 360 -t 2 -i 2 -w "$1" || { echo "Failed: $1" >&2; return 1; }; }
|
||||
elif command -v qmlformat &>/dev/null; then
|
||||
echo "Using 'qmlformat' for formatting."
|
||||
format_file() { qmlformat -i --indent-width 2 --semicolon-rule essential "$1" || { echo "Failed: $1" >&2; return 1; }; }
|
||||
else
|
||||
echo "Neither 'qmlfmt' nor 'qmlformat' found in PATH." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
format_file() { qmlfmt -e -b 360 -t 2 -i 2 -w "$1" || { echo "Failed: $1" >&2; return 1; }; }
|
||||
export -f format_file
|
||||
|
||||
# Find all .qml files
|
||||
|
||||
@@ -61,6 +61,20 @@ ColumnLayout {
|
||||
onButtonClicked: mainFolderPicker.open()
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
NLabel {
|
||||
label: I18n.tr("settings.wallpaper.settings.selector.label")
|
||||
description: I18n.tr("settings.wallpaper.settings.selector.description")
|
||||
Layout.alignment: Qt.AlignTop
|
||||
}
|
||||
|
||||
NIconButton {
|
||||
icon: "wallpaper-selector"
|
||||
tooltipText: I18n.tr("settings.wallpaper.settings.selector.tooltip")
|
||||
onClicked: PanelService.getPanel("wallpaperPanel", screen)?.toggle()
|
||||
}
|
||||
}
|
||||
|
||||
// Recursive search
|
||||
NToggle {
|
||||
label: I18n.tr("settings.wallpaper.settings.recursive-search.label")
|
||||
|
||||
Reference in New Issue
Block a user