mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
LauncherTab: add category toggle
This commit is contained in:
@@ -1495,6 +1495,10 @@
|
||||
"description": "Elemente in einem Raster statt in einer Liste anzeigen.",
|
||||
"label": "Rasteransicht"
|
||||
},
|
||||
"show-categories": {
|
||||
"description": "Kategorienregisterkarten zum Filtern von Anwendungen anzeigen.",
|
||||
"label": "Kategorien anzeigen"
|
||||
},
|
||||
"position": {
|
||||
"description": "Wählen Sie, wo das Starter-Panel erscheint.",
|
||||
"label": "Position"
|
||||
|
||||
@@ -1495,6 +1495,10 @@
|
||||
"description": "Display items in a grid layout instead of a list.",
|
||||
"label": "Grid view"
|
||||
},
|
||||
"show-categories": {
|
||||
"description": "Show category tabs for filtering applications.",
|
||||
"label": "Show categories"
|
||||
},
|
||||
"position": {
|
||||
"description": "Choose where the launcher panel appears.",
|
||||
"label": "Position"
|
||||
|
||||
@@ -1495,6 +1495,10 @@
|
||||
"description": "Mostrar elementos en una cuadrícula en lugar de una lista.",
|
||||
"label": "Vista de cuadrícula"
|
||||
},
|
||||
"show-categories": {
|
||||
"description": "Mostrar pestañas de categorías para filtrar aplicaciones.",
|
||||
"label": "Mostrar categorías"
|
||||
},
|
||||
"position": {
|
||||
"description": "Elige dónde aparece el panel del lanzador.",
|
||||
"label": "Posición"
|
||||
|
||||
@@ -1495,6 +1495,10 @@
|
||||
"description": "Afficher les éléments dans une grille au lieu d'une liste.",
|
||||
"label": "Vue grille"
|
||||
},
|
||||
"show-categories": {
|
||||
"description": "Afficher les onglets de catégories pour filtrer les applications.",
|
||||
"label": "Afficher les catégories"
|
||||
},
|
||||
"position": {
|
||||
"description": "Choisissez où le panneau du lanceur apparaît.",
|
||||
"label": "Position"
|
||||
|
||||
@@ -1495,6 +1495,10 @@
|
||||
"description": "リスト形式の代わりに、グリッド(格子状)レイアウトで項目を表示します。",
|
||||
"label": "グリッド表示"
|
||||
},
|
||||
"show-categories": {
|
||||
"description": "アプリケーションをフィルタリングするためのカテゴリタブを表示します。",
|
||||
"label": "カテゴリを表示"
|
||||
},
|
||||
"position": {
|
||||
"description": "ランチャーパネルの表示位置を選択します。",
|
||||
"label": "表示位置"
|
||||
|
||||
@@ -1495,6 +1495,10 @@
|
||||
"description": "Items in een raster weergeven in plaats van een lijst.",
|
||||
"label": "Rasterweergave"
|
||||
},
|
||||
"show-categories": {
|
||||
"description": "Categorieën-tabbladen weergeven voor het filteren van applicaties.",
|
||||
"label": "Categorieën weergeven"
|
||||
},
|
||||
"position": {
|
||||
"description": "Kies waar het launcher-paneel verschijnt.",
|
||||
"label": "Positie"
|
||||
|
||||
@@ -1495,6 +1495,10 @@
|
||||
"description": "Exibir itens em uma grade em vez de uma lista.",
|
||||
"label": "Visualização em grade"
|
||||
},
|
||||
"show-categories": {
|
||||
"description": "Mostrar abas de categorias para filtrar aplicativos.",
|
||||
"label": "Mostrar categorias"
|
||||
},
|
||||
"position": {
|
||||
"description": "Escolha onde o painel do lançador aparece.",
|
||||
"label": "Posição"
|
||||
|
||||
@@ -1495,6 +1495,10 @@
|
||||
"description": "Показывать элементы в виде сетки вместо списка.",
|
||||
"label": "Вид сетки"
|
||||
},
|
||||
"show-categories": {
|
||||
"description": "Показывать вкладки категорий для фильтрации приложений.",
|
||||
"label": "Показывать категории"
|
||||
},
|
||||
"position": {
|
||||
"description": "Выберите, где появляется панель запуска.",
|
||||
"label": "Положение"
|
||||
|
||||
@@ -1495,6 +1495,10 @@
|
||||
"description": "Öğeleri liste yerine ızgara düzeninde görüntüle.",
|
||||
"label": "Izgara görünümü"
|
||||
},
|
||||
"show-categories": {
|
||||
"description": "Uygulamaları filtrelemek için kategori sekmelerini göster.",
|
||||
"label": "Kategorileri göster"
|
||||
},
|
||||
"position": {
|
||||
"description": "Başlatıcı panelinin nerede görüneceğini seçin.",
|
||||
"label": "Konum"
|
||||
|
||||
@@ -1495,6 +1495,10 @@
|
||||
"description": "Показувати елементи у вигляді сітки замість списку.",
|
||||
"label": "Режим сітки"
|
||||
},
|
||||
"show-categories": {
|
||||
"description": "Показувати вкладки категорій для фільтрації додатків.",
|
||||
"label": "Показувати категорії"
|
||||
},
|
||||
"position": {
|
||||
"description": "Виберіть, де з'являється панель лаунчера.",
|
||||
"label": "Положення"
|
||||
|
||||
@@ -1495,6 +1495,10 @@
|
||||
"description": "以网格布局而非列表显示项目。",
|
||||
"label": "网格视图"
|
||||
},
|
||||
"show-categories": {
|
||||
"description": "显示用于筛选应用程序的类别标签。",
|
||||
"label": "显示类别"
|
||||
},
|
||||
"position": {
|
||||
"description": "选择启动器面板出现的位置。",
|
||||
"label": "位置"
|
||||
|
||||
@@ -346,6 +346,7 @@ Singleton {
|
||||
property string customLaunchPrefix: ""
|
||||
// View mode: "list" or "grid"
|
||||
property string viewMode: "list"
|
||||
property bool showCategories: true
|
||||
}
|
||||
|
||||
// control center
|
||||
|
||||
@@ -690,7 +690,7 @@ SmartPanel {
|
||||
// App category tabs (shown when browsing apps without search)
|
||||
NTabBar {
|
||||
id: appCategoryTabs
|
||||
visible: (root.activePlugin === null || root.activePlugin === appsPlugin) && appsPlugin.isBrowsingMode && !root.searchText.startsWith(">")
|
||||
visible: (root.activePlugin === null || root.activePlugin === appsPlugin) && appsPlugin.isBrowsingMode && !root.searchText.startsWith(">") && Settings.data.appLauncher.showCategories
|
||||
Layout.fillWidth: true
|
||||
property int computedCurrentIndex: {
|
||||
if (visible && appsPlugin.availableCategories) {
|
||||
|
||||
@@ -65,6 +65,13 @@ ColumnLayout {
|
||||
onToggled: checked => Settings.data.appLauncher.viewMode = checked ? "grid" : "list"
|
||||
}
|
||||
|
||||
NToggle {
|
||||
label: I18n.tr("settings.launcher.settings.show-categories.label")
|
||||
description: I18n.tr("settings.launcher.settings.show-categories.description")
|
||||
checked: Settings.data.appLauncher.showCategories
|
||||
onToggled: checked => Settings.data.appLauncher.showCategories = checked
|
||||
}
|
||||
|
||||
NToggle {
|
||||
label: I18n.tr("settings.launcher.settings.clipboard-history.label")
|
||||
description: I18n.tr("settings.launcher.settings.clipboard-history.description")
|
||||
|
||||
Reference in New Issue
Block a user