📚 The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
fix(i18n): translate dashboard surfaces (#719)
Yuki98147f6df899baef
diff --git a/frontend/app/components/AppSelect.vue b/frontend/app/components/AppSelect.vueindex 18a154c3..75c9e3b3 100644--- a/frontend/app/components/AppSelect.vue+++ b/frontend/app/components/AppSelect.vue@@ -12,7 +12,7 @@@click.stop/><div v-else class="trigger" @click.stop="toggleDropdown">- <button class="value">{{ selected?.label || placeholder }}</button>+ <button class="value">{{ selected?.label || displayPlaceholder }}</button><svg :class="{ rotated: !open }" xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24" fill="var(--text-body)"><path d="M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z" /></svg>@@ -48,7 +48,7 @@<div v-if="open && isMobile" class="overlay" @click.self="toggleDropdown"><div class="sheet"><header>- <span class="sheet-title">{{ placeholder }}</span>+ <span class="sheet-title">{{ displayPlaceholder }}</span><button class="close-btn" @click="toggleDropdown"><Icon name="close" display="md" fill="var(--text-body)" /></button>@@ -100,7 +100,7 @@ const props = withDefaults(useSlot?: boolean;}>(),{- placeholder: 'Select an option',+ placeholder: undefined,searchable: true,nullable: false,disabled: () => false,@@ -113,6 +113,7 @@ const emit = defineEmits(['update:modelValue']);const { isMobile } = useDevice();const { t } = useI18nT();+const displayPlaceholder = computed(() => props.placeholder ?? t('common.placeholder.selectOption'));const localValue = ref(props.modelValue ?? '');diff --git a/frontend/app/components/Node/Card/Team.vue b/frontend/app/components/Node/Card/Team.vueindex beb3f2af..5e730e2b 100644--- a/frontend/app/components/Node/Card/Team.vue+++ b/frontend/app/components/Node/Card/Team.vue@@ -15,7 +15,7 @@<div class="team-footer"><span class="team-meta">Updated {{ shortDate(team.updated_timestamp) }}</span>- <span class="team-open">Open team</span>+ <span class="team-open">{{ t('teams.actions.open') }}</span></div></NuxtLink></template>diff --git a/frontend/app/components/Node/Team/Navbar.vue b/frontend/app/components/Node/Team/Navbar.vueindex 9eebdea5..0415d421 100644--- a/frontend/app/components/Node/Team/Navbar.vue+++ b/frontend/app/components/Node/Team/Navbar.vue@@ -1,39 +1,39 @@<template>- <nav class="subnav" aria-label="Team navigation">+ <nav class="subnav" :aria-label="t('teams.nav.label')"><span class="subnav__item"><NuxtLink :to="`/dashboard/teams/${teamId}`"><Icon name="organization" />- <span>Overview</span>+ <span>{{ t('teams.nav.overview') }}</span></NuxtLink></span><span class="subnav__item"><NuxtLink :to="`/dashboard/teams/${teamId}/nodes`"><Icon name="nodes" />- <span>Nodes</span>+ <span>{{ t('teams.nav.nodes') }}</span></NuxtLink></span><span v-if="isAdmin" class="subnav__item"><NuxtLink :to="`/dashboard/teams/${teamId}/manage-members`"><Icon name="users" />- <span>Members</span>+ <span>{{ t('teams.nav.members') }}</span></NuxtLink></span><span class="subnav__item"><NuxtLink :to="`/dashboard/teams/${teamId}/uploads`"><Icon name="cdn" />- <span>Uploads</span>+ <span>{{ t('teams.nav.uploads') }}</span></NuxtLink></span><span class="subnav__item"><NuxtLink :to="`/dashboard/teams/${teamId}/insights`"><Icon name="insights" />- <span>Insights</span>+ <span>{{ t('teams.nav.insights') }}</span></NuxtLink></span><span v-if="isEditor" class="subnav__item"><NuxtLink :to="`/dashboard/teams/${teamId}/settings`"><Icon name="settings" />- <span>Settings</span>+ <span>{{ t('teams.nav.settings') }}</span></NuxtLink></span></nav>@@ -44,6 +44,7 @@ const props = defineProps<{teamId: string;}>();+const { t } = useI18nT();const store = useNodesStore();const nodesPermissionsStore = useNodesPermissionsStore();const team = computed(() => store.getById(props.teamId));diff --git a/frontend/app/pages/dashboard/import/_components/ImportReport.vue b/frontend/app/pages/dashboard/import/_components/ImportReport.vueindex d2bf2299..9dab8d6d 100644--- a/frontend/app/pages/dashboard/import/_components/ImportReport.vue+++ b/frontend/app/pages/dashboard/import/_components/ImportReport.vue@@ -1,7 +1,7 @@<template><div class="report-card"><div class="report-header">- <h3>Import report</h3>+ <h3>{{ t('import.report.title') }}</h3><div class="summary"><span class="chip success">{{ t('common.status.success') }}: {{ successCount }}</span><span class="chip error">{{ t('common.status.failed') }}: {{ failedCount }}</span>@@ -37,10 +37,10 @@</table></div>- <p v-else class="empty">No imported item to display.</p>+ <p v-else class="empty">{{ t('import.report.empty') }}</p><div class="actions">- <AppButton type="secondary" @click="resetImport">Start a new import</AppButton>+ <AppButton type="secondary" @click="resetImport">{{ t('import.report.startNew') }}</AppButton></div></div></template>diff --git a/frontend/app/pages/dashboard/import/files.vue b/frontend/app/pages/dashboard/import/files.vueindex 21313a6c..152a1710 100644--- a/frontend/app/pages/dashboard/import/files.vue+++ b/frontend/app/pages/dashboard/import/files.vue@@ -41,7 +41,7 @@id="default-description"v-model="importJob.options.defaultValues!.defaultDescription"type="text"- placeholder="Default description for imported nodes"+ :placeholder="t('import.folder.defaultDescription')"/><label for="default-tags">{{ t('import.folder.defaultTags') }}diff --git a/frontend/app/pages/dashboard/import/folder.vue b/frontend/app/pages/dashboard/import/folder.vueindex 6e4b252c..ebe79200 100644--- a/frontend/app/pages/dashboard/import/folder.vue+++ b/frontend/app/pages/dashboard/import/folder.vue@@ -41,7 +41,7 @@id="default-description"v-model="importJob.options.defaultValues!.defaultDescription"type="text"- placeholder="Default description for imported nodes"+ :placeholder="t('import.folder.defaultDescription')"/><label for="default-tags">{{ t('import.folder.defaultTags') }}diff --git a/frontend/app/pages/dashboard/settings/_views/shortcuts.vue b/frontend/app/pages/dashboard/settings/_views/shortcuts.vueindex c9bf066a..2bdfeeb7 100644--- a/frontend/app/pages/dashboard/settings/_views/shortcuts.vue+++ b/frontend/app/pages/dashboard/settings/_views/shortcuts.vue@@ -1,7 +1,7 @@<template><div>- <h2 class="page-title">Shortcuts</h2>- <p class="page-subtitle">Here you can see the shortcuts for the different pages of the dashboard.</p>+ <h2 class="page-title">{{ t('settings.shortcuts.title') }}</h2>+ <p class="page-subtitle">{{ t('settings.shortcuts.subtitle') }}</p><p>{{ t('application.shortcuts.sections.general') }}</p><div class="shortcuts"><div class="shortcut">diff --git a/frontend/app/pages/dashboard/settings/_views/snippets.vue b/frontend/app/pages/dashboard/settings/_views/snippets.vueindex 594b8879..abd1ab4d 100644--- a/frontend/app/pages/dashboard/settings/_views/snippets.vue+++ b/frontend/app/pages/dashboard/settings/_views/snippets.vue@@ -6,7 +6,7 @@<h2 class="page-title">{{ t('settings.snippets.title') }}</h2><p class="page-subtitle">{{ t('settings.snippets.subtitle') }}- <span class="count">{{ allSnippets.length }} snippets</span>+ <span class="count">{{ t('settings.snippets.count', { count: allSnippets.length }) }}</span></p></div></header>diff --git a/frontend/i18n/locales/de/common.ts b/frontend/i18n/locales/de/common.tsindex fcafc500..9059726e 100644--- a/frontend/i18n/locales/de/common.ts+++ b/frontend/i18n/locales/de/common.ts@@ -80,6 +80,7 @@ export default {placeholder: {parent: 'Wähle einen übergeordneten Eintrag aus',search: 'Suchen...',+ selectOption: 'Wähle eine Option aus',},search: {diff --git a/frontend/i18n/locales/de/import.ts b/frontend/i18n/locales/de/import.tsindex 3153d98e..7164f871 100644--- a/frontend/i18n/locales/de/import.ts+++ b/frontend/i18n/locales/de/import.ts@@ -79,6 +79,12 @@ export default {title: 'Importfortschritt',},+ report: {+ empty: 'Keine importierten Elemente zum Anzeigen.',+ startNew: 'Neuen Import starten',+ title: 'Importbericht',+ },+steps: {select: {analyzing: 'Analysiere...',diff --git a/frontend/i18n/locales/de/teams.ts b/frontend/i18n/locales/de/teams.tsindex 3e963ca0..8fce05b4 100644--- a/frontend/i18n/locales/de/teams.ts+++ b/frontend/i18n/locales/de/teams.ts@@ -6,6 +6,7 @@ export default {delete: 'Team löschen',leave: 'Team verlassen',noTeams: 'Noch keine Teams',+ open: 'Team öffnen',},eyebrown: 'Organisationsansicht',insights: {@@ -19,6 +20,15 @@ export default {permissionsTitle: 'Berechtigungen für das gesamte Team verwalten',title: 'Teammitglieder verwalten',},+ nav: {+ insights: 'Einblicke',+ label: 'Teamnavigation',+ members: 'Mitglieder',+ nodes: 'Nodes',+ overview: 'Übersicht',+ settings: 'Einstellungen',+ uploads: 'Uploads',+ },noDescription: 'Noch keine Beschreibung',overview: {directItems: 'direkte Elemente',diff --git a/frontend/i18n/locales/en/common.ts b/frontend/i18n/locales/en/common.tsindex 724d9c63..a8a6827b 100644--- a/frontend/i18n/locales/en/common.ts+++ b/frontend/i18n/locales/en/common.ts@@ -80,6 +80,7 @@ export default {placeholder: {parent: 'Select a parent',search: 'Search...',+ selectOption: 'Select an option',},search: {diff --git a/frontend/i18n/locales/en/import.ts b/frontend/i18n/locales/en/import.tsindex f04c4426..c01bded9 100644--- a/frontend/i18n/locales/en/import.ts+++ b/frontend/i18n/locales/en/import.ts@@ -79,6 +79,12 @@ export default {title: 'Import progress',},+ report: {+ empty: 'No imported item to display.',+ startNew: 'Start a new import',+ title: 'Import report',+ },+steps: {select: {analyzing: 'Analyzing...',diff --git a/frontend/i18n/locales/en/teams.ts b/frontend/i18n/locales/en/teams.tsindex 56152725..9fcecea3 100644--- a/frontend/i18n/locales/en/teams.ts+++ b/frontend/i18n/locales/en/teams.ts@@ -6,6 +6,7 @@ export default {delete: 'Delete team',leave: 'Leave team',noTeams: 'No teams yet',+ open: 'Open team',},eyebrown: 'Organization view',insights: {@@ -19,6 +20,15 @@ export default {permissionsTitle: 'Manage permissions in entire team',title: 'Manage team members',},+ nav: {+ insights: 'Insights',+ label: 'Team navigation',+ members: 'Members',+ nodes: 'Nodes',+ overview: 'Overview',+ settings: 'Settings',+ uploads: 'Uploads',+ },noDescription: 'No description yet',overview: {directItems: 'direct items',diff --git a/frontend/i18n/locales/fr/common.ts b/frontend/i18n/locales/fr/common.tsindex e557bfd9..60beb43d 100644--- a/frontend/i18n/locales/fr/common.ts+++ b/frontend/i18n/locales/fr/common.ts@@ -80,6 +80,7 @@ export default {placeholder: {parent: 'Sélectionner un parent',search: 'Rechercher...',+ selectOption: 'Sélectionner une option',},search: {diff --git a/frontend/i18n/locales/fr/import.ts b/frontend/i18n/locales/fr/import.tsindex e1e0f944..88290757 100644--- a/frontend/i18n/locales/fr/import.ts+++ b/frontend/i18n/locales/fr/import.ts@@ -80,6 +80,12 @@ export default {title: "Avancement de l'importation",},+ report: {+ empty: 'Aucun élément importé à afficher.',+ startNew: 'Démarrer une nouvelle importation',+ title: 'Rapport d’importation',+ },+steps: {select: {analyzing: 'Analyse en cours...',diff --git a/frontend/i18n/locales/fr/teams.ts b/frontend/i18n/locales/fr/teams.tsindex d4a7a47c..cb054f84 100644--- a/frontend/i18n/locales/fr/teams.ts+++ b/frontend/i18n/locales/fr/teams.ts@@ -6,6 +6,7 @@ export default {delete: "Supprimer l'équipe",leave: "Quitter l'équipe",noTeams: "Pas encore d'équipes",+ open: 'Ouvrir l’équipe',},eyebrown: "Vue de l'organisation",insights: {@@ -19,6 +20,15 @@ export default {permissionsTitle: "Gérer les autorisations de toute l'équipe",title: "Gérer les membres de l'équipe",},+ nav: {+ insights: 'Analyses',+ label: 'Navigation de l’équipe',+ members: 'Membres',+ nodes: 'Nœuds',+ overview: 'Vue d’ensemble',+ settings: 'Paramètres',+ uploads: 'Téléversements',+ },noDescription: 'Aucune description pour le moment',overview: {directItems: 'éléments directs',diff --git a/frontend/i18n/locales/it/common.ts b/frontend/i18n/locales/it/common.tsindex 1dbdad18..3d97ec24 100644--- a/frontend/i18n/locales/it/common.ts+++ b/frontend/i18n/locales/it/common.ts@@ -81,6 +81,7 @@ export default {placeholder: {parent: 'Seleziona un elemento genitore',search: 'Cerca...',+ selectOption: 'Seleziona un’opzione',},search: {diff --git a/frontend/i18n/locales/it/import.ts b/frontend/i18n/locales/it/import.tsindex e6f48458..23e53e9e 100644--- a/frontend/i18n/locales/it/import.ts+++ b/frontend/i18n/locales/it/import.ts@@ -79,6 +79,12 @@ export default {title: 'Avanzamento importazione',},+ report: {+ empty: 'Nessun elemento importato da visualizzare.',+ startNew: 'Avvia una nuova importazione',+ title: 'Report di importazione',+ },+steps: {select: {analyzing: 'Analisi in corso...',diff --git a/frontend/i18n/locales/it/teams.ts b/frontend/i18n/locales/it/teams.tsindex 391c6144..8875eb3c 100644--- a/frontend/i18n/locales/it/teams.ts+++ b/frontend/i18n/locales/it/teams.ts@@ -6,6 +6,7 @@ export default {delete: 'Elimina team',leave: 'Lascia il team',noTeams: 'Nessun team presente',+ open: 'Apri il team',},eyebrown: 'Vista organizzazione',insights: {@@ -19,6 +20,15 @@ export default {permissionsTitle: 'Gestisci i permessi nell\'intero team',title: 'Gestisci i membri del team',},+ nav: {+ insights: 'Insight',+ label: 'Navigazione del team',+ members: 'Membri',+ nodes: 'Nodi',+ overview: 'Panoramica',+ settings: 'Impostazioni',+ uploads: 'Caricamenti',+ },noDescription: 'Nessuna descrizione presente',overview: {directItems: 'elementi diretti',diff --git a/frontend/i18n/locales/ko/common.ts b/frontend/i18n/locales/ko/common.tsindex 3eda1d1f..9837da31 100644--- a/frontend/i18n/locales/ko/common.ts+++ b/frontend/i18n/locales/ko/common.ts@@ -81,6 +81,7 @@ export default {placeholder: {parent: '상위 항목 선택',search: '검색...',+ selectOption: '옵션 선택',},search: {diff --git a/frontend/i18n/locales/ko/import.ts b/frontend/i18n/locales/ko/import.tsindex 5732f36d..93e422d0 100644--- a/frontend/i18n/locales/ko/import.ts+++ b/frontend/i18n/locales/ko/import.ts@@ -79,6 +79,12 @@ export default {title: '가져오기 진행 상황',},+ report: {+ empty: '표시할 가져온 항목이 없습니다.',+ startNew: '새 가져오기 시작',+ title: '가져오기 보고서',+ },+steps: {select: {analyzing: '분석 중...',diff --git a/frontend/i18n/locales/ko/teams.ts b/frontend/i18n/locales/ko/teams.tsindex 3dd20384..61c65b40 100644--- a/frontend/i18n/locales/ko/teams.ts+++ b/frontend/i18n/locales/ko/teams.ts@@ -6,6 +6,7 @@ export default {delete: '팀 삭제',leave: '팀 나가기',noTeams: '아직 팀이 없습니다',+ open: '팀 열기',},eyebrown: '조직 보기',insights: {@@ -19,6 +20,15 @@ export default {permissionsTitle: '팀 전체 권한 관리',title: '팀 구성원 관리',},+ nav: {+ insights: '인사이트',+ label: '팀 탐색 메뉴',+ members: '구성원',+ nodes: '노드',+ overview: '개요',+ settings: '설정',+ uploads: '업로드',+ },noDescription: '아직 설명이 없습니다',overview: {directItems: '직속 항목',diff --git a/frontend/i18n/locales/uk/common.ts b/frontend/i18n/locales/uk/common.tsindex b2fb280a..a1dc90a8 100644--- a/frontend/i18n/locales/uk/common.ts+++ b/frontend/i18n/locales/uk/common.ts@@ -80,6 +80,7 @@ export default {placeholder: {parent: 'Виберіть батьківський елемент',search: 'Пошук...',+ selectOption: 'Виберіть параметр',},search: {diff --git a/frontend/i18n/locales/uk/import.ts b/frontend/i18n/locales/uk/import.tsindex 210378d6..5f9f3dc4 100644--- a/frontend/i18n/locales/uk/import.ts+++ b/frontend/i18n/locales/uk/import.ts@@ -79,6 +79,12 @@ export default {title: 'Прогрес імпорту',},+ report: {+ empty: 'Немає імпортованих елементів для відображення.',+ startNew: 'Почати новий імпорт',+ title: 'Звіт про імпорт',+ },+steps: {select: {analyzing: 'Аналіз...',diff --git a/frontend/i18n/locales/uk/teams.ts b/frontend/i18n/locales/uk/teams.tsindex dad7e77c..8862f74a 100644--- a/frontend/i18n/locales/uk/teams.ts+++ b/frontend/i18n/locales/uk/teams.ts@@ -6,6 +6,7 @@ export default {delete: 'Видалити команду',leave: 'Покинути команду',noTeams: 'Команд ще немає',+ open: 'Відкрити команду',},eyebrown: 'Перегляд організації',insights: {@@ -19,6 +20,15 @@ export default {permissionsTitle: 'Керування дозволами для всієї команди',title: 'Керування учасниками команди',},+ nav: {+ insights: 'Аналітика',+ label: 'Навігація команди',+ members: 'Учасники',+ nodes: 'Вузли',+ overview: 'Огляд',+ settings: 'Налаштування',+ uploads: 'Завантаження',+ },noDescription: 'Опис ще не додано',overview: {directItems: 'безпосередні елементи',diff --git a/frontend/i18n/locales/zh-CN/common.ts b/frontend/i18n/locales/zh-CN/common.tsindex f1464fa5..3cd90342 100644--- a/frontend/i18n/locales/zh-CN/common.ts+++ b/frontend/i18n/locales/zh-CN/common.ts@@ -80,6 +80,7 @@ export default {placeholder: {parent: '选择上级项目',search: '搜索...',+ selectOption: '选择一个选项',},search: {diff --git a/frontend/i18n/locales/zh-CN/import.ts b/frontend/i18n/locales/zh-CN/import.tsindex b8a06d72..268fc561 100644--- a/frontend/i18n/locales/zh-CN/import.ts+++ b/frontend/i18n/locales/zh-CN/import.ts@@ -78,6 +78,12 @@ export default {title: '导入进度',},+ report: {+ empty: '没有可显示的已导入项目。',+ startNew: '开始新的导入',+ title: '导入报告',+ },+steps: {select: {analyzing: '分析中...',diff --git a/frontend/i18n/locales/zh-CN/teams.ts b/frontend/i18n/locales/zh-CN/teams.tsindex 31c573d0..418d13e3 100644--- a/frontend/i18n/locales/zh-CN/teams.ts+++ b/frontend/i18n/locales/zh-CN/teams.ts@@ -6,6 +6,7 @@ export default {delete: '删除团队',leave: '离开团队',noTeams: '尚无团队',+ open: '打开团队',},eyebrown: '组织视图',insights: {@@ -19,6 +20,15 @@ export default {permissionsTitle: '管理整个团队的权限',title: '管理团队成员',},+ nav: {+ insights: '洞察',+ label: '团队导航',+ members: '成员',+ nodes: '节点',+ overview: '总览',+ settings: '设置',+ uploads: '上传',+ },noDescription: '尚无描述',overview: {directItems: '个直属项目',diff --git a/frontend/i18n/locales/zh-TW/common.ts b/frontend/i18n/locales/zh-TW/common.tsindex b1dafff2..32017635 100644--- a/frontend/i18n/locales/zh-TW/common.ts+++ b/frontend/i18n/locales/zh-TW/common.ts@@ -80,6 +80,7 @@ export default {placeholder: {parent: '選擇上層項目',search: '搜尋...',+ selectOption: '選擇一個選項',},search: {diff --git a/frontend/i18n/locales/zh-TW/import.ts b/frontend/i18n/locales/zh-TW/import.tsindex efa0c376..addb37b7 100644--- a/frontend/i18n/locales/zh-TW/import.ts+++ b/frontend/i18n/locales/zh-TW/import.ts@@ -78,6 +78,12 @@ export default {title: '匯入進度',},+ report: {+ empty: '沒有可顯示的已匯入項目。',+ startNew: '開始新的匯入',+ title: '匯入報告',+ },+steps: {select: {analyzing: '分析中...',diff --git a/frontend/i18n/locales/zh-TW/teams.ts b/frontend/i18n/locales/zh-TW/teams.tsindex be7796e3..743bce1d 100644--- a/frontend/i18n/locales/zh-TW/teams.ts+++ b/frontend/i18n/locales/zh-TW/teams.ts@@ -6,6 +6,7 @@ export default {delete: '刪除團隊',leave: '離開團隊',noTeams: '尚無團隊',+ open: '開啟團隊',},eyebrown: '組織檢視',insights: {@@ -19,6 +20,15 @@ export default {permissionsTitle: '管理整個團隊的權限',title: '管理團隊成員',},+ nav: {+ insights: '洞察',+ label: '團隊導覽',+ members: '成員',+ nodes: '節點',+ overview: '總覽',+ settings: '設定',+ uploads: '上傳',+ },noDescription: '尚無描述',overview: {directItems: '個直屬項目',