Skip to content

📚 The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

feat(i18n): support internationalization for dashboard interface (#399)

Smaugf1b07ee2bafb
diff --git a/frontend/app/components/AppDrop.vue b/frontend/app/components/AppDrop.vue
index 79cc2d91..e4bbe640 100644
--- a/frontend/app/components/AppDrop.vue
+++ b/frontend/app/components/AppDrop.vue
@@ -20,22 +20,35 @@
<span class="name">{{ file.name }}</span>
<span class="meta">{{ readableFileSize(file.size) }} • {{ resolveFileType(file.type) }}</span>
</div>
- <button class="remove" title="Remove file" @click.stop="removeFile(index)">
+ <button class="remove" @click.stop="removeFile(index)">
<Icon name="close" size="16px" />
+ <p class="hint-tooltip">{{ t('cdn.appdrop.removeFile') }}</p>
</button>
</div>
</div>
<footer>
<span class="total">{{ selectedFiles.length }} file{{ selectedFiles.length > 1 ? 's' : '' }} • {{ readableFileSize(totalSize) }}</span>
- <span class="link" @click="triggerFileSelect">+ Add more</span>
+ <span class="link" @click="triggerFileSelect">+ {{ t('cdn.appdrop.addMore') }}</span>
</footer>
</div>
<div v-else class="empty">
<Icon name="layers" size="40px" />
- <p v-if="multiple">Drop files here or <span class="link" @click="triggerFileSelect">click to select</span></p>
- <p v-else>Drop file here or <span class="link" @click="triggerFileSelect">click to select</span></p>
- <span v-if="multiple" class="hint">Maximum {{ maxFiles }} files</span>
+ <p v-if="multiple">
+ <i18n-t scope="global" keypath="cdn.appdrop.promptPlural">
+ <template #link>
+ <span class="link" @click="triggerFileSelect">{{ t('cdn.appdrop.link') }}</span>
+ </template>
+ </i18n-t>
+ </p>
+ <p v-else>
+ <i18n-t scope="global" keypath="cdn.appdrop.prompt">
+ <template #link>
+ <span class="link" @click="triggerFileSelect">{{ t('cdn.appdrop.link') }}</span>
+ </template>
+ </i18n-t>
+ </p>
+ <span v-if="multiple" class="hint">{{ t('cdn.appdrop.max', { n: props.maxFiles }) }}</span>
</div>
</div>
</template>
@@ -48,11 +61,12 @@ const props = withDefaults(
maxFiles?: number;
}>(),
{
- multiple: false,
maxFiles: 10,
+ multiple: false,
},
);
+const { t } = useI18nT();
const selectedFiles = ref<File[]>([]);
const isDragOver = ref(false);
const fileInput = ref<HTMLInputElement | null>(null);
@@ -290,11 +304,16 @@ defineExpose({ reset });
cursor: pointer;
flex-shrink: 0;
justify-content: center;
+ position: relative;
&:hover {
color: var(--red);
background: var(--surface-transparent);
opacity: 1;
+ .hint-tooltip {
+ opacity: 1;
+ visibility: visible;
+ }
}
}
diff --git a/frontend/app/components/AppSelect.vue b/frontend/app/components/AppSelect.vue
index 78a1ba4f..ce7d3e2f 100644
--- a/frontend/app/components/AppSelect.vue
+++ b/frontend/app/components/AppSelect.vue
@@ -6,7 +6,7 @@
ref="searchInput"
v-model="search"
type="text"
- placeholder="Search..."
+ :placeholder="t('common.placeholder.search')"
class="search"
@keydown="handleKeyDown"
@click.stop
@@ -43,13 +43,13 @@
<div v-if="searchable" class="sheet-search">
<Icon name="search" display="md" fill="var(--text-secondary)" />
- <input ref="mobileSearchInput" v-model="search" type="text" placeholder="Search..." @keydown="handleKeyDown" />
+ <input ref="mobileSearchInput" v-model="search" type="text" :placeholder="t('common.placeholder.search')" @keydown="handleKeyDown" />
</div>
<ul class="sheet-list">
<li v-if="nullable && selected" class="clear" @click="clearSelection">
<Icon name="close" display="sm" fill="var(--text-secondary)" />
- <span>Clear selection</span>
+ <span>{{ t('common.actions.clear') }}</span>
</li>
<AppSelectNode
v-for="item in filteredItems"
@@ -60,7 +60,7 @@
:selected-id="selectedId"
@select="handleSelect"
/>
- <li v-if="filteredItems.length === 0" class="empty">No results found</li>
+ <li v-if="filteredItems.length === 0" class="empty">{{ t('common.search.noResults', { filter: search }) }}</li>
<slot name="list-footer"></slot>
</ul>
</div>
@@ -93,6 +93,7 @@ const props = withDefaults(
const emit = defineEmits(['update:modelValue']);
const { isMobile } = useDevice();
+const { t } = useI18nT();
const selectedId = computed({
get: () => props.modelValue ?? '',
diff --git a/frontend/app/components/AppTagInput.vue b/frontend/app/components/AppTagInput.vue
index 04424005..f13d4388 100644
--- a/frontend/app/components/AppTagInput.vue
+++ b/frontend/app/components/AppTagInput.vue
@@ -5,7 +5,7 @@
<input
v-model="tagInput"
type="text"
- placeholder="Enter to add tag"
+ :placeholder="t('components.tagInput.placeholder')"
:class="{ minimal: minimal }"
@keydown.enter="handleEnter"
@keydown.arrow-up="tagHandleArrowUp"
@@ -51,6 +51,8 @@ const emit = defineEmits<{
(e: 'update:modelValue', value: string): void;
}>();
+const { t } = useI18nT();
+
const selectedTags = ref<string[]>(stringToTags(props.modelValue || ''));
const tagInput = ref('');
const showSuggestions = ref(false);
diff --git a/frontend/app/components/BreadCrumb.vue b/frontend/app/components/BreadCrumb.vue
index 0566bec0..8bf813ee 100644
--- a/frontend/app/components/BreadCrumb.vue
+++ b/frontend/app/components/BreadCrumb.vue
@@ -31,6 +31,7 @@
<script setup lang="ts">
import type { RouteLocationNormalizedLoaded } from 'vue-router';
+const { t } = useI18nT();
const route = useRoute();
const router = useRouter();
const preferences = usePreferences();
@@ -45,9 +46,14 @@ const hasNavigation = preferences.get('navbarItems');
const goBack = () => router.go(-1);
const goForward = () => router.go(1);
+interface I18nBreadcrumb {
+ c?: number; // Optional count for pluralization
+ i18n: I18nKey;
+}
+
declare module 'vue-router' {
interface RouteMeta {
- breadcrumb?: string | ((route: RouteLocationNormalizedLoaded) => string);
+ breadcrumb?: ((route: RouteLocationNormalizedLoaded) => string) | I18nBreadcrumb | string;
}
}
@@ -65,6 +71,9 @@ watchEffect(() => {
if (typeof meta === 'function') {
name = meta(route);
+ } else if (typeof meta === 'object' && (meta as I18nBreadcrumb)?.i18n) {
+ const { c, i18n } = meta as I18nBreadcrumb;
+ name = t(i18n, { count: c });
} else {
name = meta as string;
}
diff --git a/frontend/app/components/CommandCenter/AdvancedSearchTab.vue b/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
index ebebbf6c..f48d2331 100644
--- a/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
+++ b/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
@@ -2,9 +2,9 @@
<div class="advanced-search-tab">
<div class="search-filters">
<div class="filters-header">
- <h3 class="filters-title">Advanced Filters</h3>
+ <h3 class="filters-title">{{ t('components.commandCenter.advanced.title') }}</h3>
<span class="filters-actions">
- <button class="clear-filters-btn" @click="clearFilters">Clear</button>
+ <button class="clear-filters-btn" @click="clearFilters">{{ t('components.commandCenter.advanced.clear') }}</button>
<button class="toggle-filters-btn" :class="{ collapsed: !showFilters }" @click="toggleFilters">
<Icon :name="showFilters ? 'collapse' : 'expand'" />
</button>
@@ -13,47 +13,47 @@
<div v-show="showFilters" class="filters-content">
<div class="filter-group full-width">
- <label class="filter-label">Date Range</label>
+ <label class="filter-label">{{ t('components.commandCenter.advanced.dateRange') }}</label>
<div class="date-row">
<div class="date-filters">
<div class="date-input">
- <label>From</label>
+ <label>{{ t('components.commandCenter.advanced.from') }}</label>
<input v-model="dateFrom" type="date" class="date-picker" />
</div>
<div class="date-input">
- <label>To</label>
+ <label>{{ t('components.commandCenter.advanced.to') }}</label>
<input v-model="dateTo" type="date" class="date-picker" />
</div>
</div>
<div class="radio-group">
<label class="radio-option">
<input v-model="dateType" type="radio" value="created" />
- <span>Created</span>
+ <span>{{ t('components.commandCenter.advanced.created') }}</span>
</label>
<label class="radio-option">
<input v-model="dateType" type="radio" value="modified" />
- <span>Modified</span>
+ <span>{{ t('components.commandCenter.advanced.modified') }}</span>
</label>
</div>
</div>
</div>
<div class="filter-group">
- <label class="filter-label">Category</label>
- <AppSelect v-model="selectedCategory" :items="categoriesTree" nullable placeholder="All categories" />
+ <label class="filter-label">{{ t('components.commandCenter.advanced.category') }}</label>
+ <AppSelect v-model="selectedCategory" :items="categoriesTree" nullable :placeholder="t('components.commandCenter.advanced.allCategories')" />
</div>
<div class="filter-group">
- <label class="filter-label">Tags</label>
+ <label class="filter-label">{{ t('components.commandCenter.advanced.tags') }}</label>
<AppTagInput v-model="selectedTags" @update:model-value="tagInput = $event" />
</div>
<div class="filter-group full-width">
<label class="filter-label inline">
<AppCheck v-model="searchInContent" />
- Search in document content
+ {{ t('components.commandCenter.advanced.searchInContent') }}
</label>
- <p class="filter-hint">Searches inside document body (requires complete words)</p>
+ <p class="filter-hint">{{ t('components.commandCenter.advanced.searchInContentHint') }}</p>
</div>
<div class="filter-actions"></div>
@@ -75,6 +75,7 @@ const props = defineProps<{ query: string; selectedIndex: number }>();
defineEmits<{ updateSelectedIndex: [index: number] }>();
+const { t } = useI18nT();
const nodesStore = useNodesStore();
const nodesTree = useNodesTree();
const categoriesTree = nodesTree.treeUpToRole(2);
diff --git a/frontend/app/components/CommandCenter/SearchResultsList.vue b/frontend/app/components/CommandCenter/SearchResultsList.vue
index 5745fe59..6c9631d4 100644
--- a/frontend/app/components/CommandCenter/SearchResultsList.vue
+++ b/frontend/app/components/CommandCenter/SearchResultsList.vue
@@ -2,7 +2,7 @@
<div>
<div v-if="items.length === 0" class="no-results">
<Icon name="search" class="no-results-icon" />
- <p>No results found for "{{ query }}"</p>
+ <p>{{ t('components.commandCenter.noResults', { query }) }}</p>
</div>
<div v-else class="search-results-list">
<div v-for="(group, section) in groupedItems" :key="section" class="section">
@@ -38,6 +38,7 @@ import type { ItemCommand } from './types';
const props = defineProps<{ items: ItemCommand[]; selectedIndex: number; query: string }>();
defineEmits<{ updateSelectedIndex: [index: number] }>();
+const { t } = useI18nT();
const { close } = useCommandCenter();
const groupedItems = computed(() => {
diff --git a/frontend/app/components/CommandCenter/TabNavigation.vue b/frontend/app/components/CommandCenter/TabNavigation.vue
index 400778c3..065a9a20 100644
--- a/frontend/app/components/CommandCenter/TabNavigation.vue
+++ b/frontend/app/components/CommandCenter/TabNavigation.vue
@@ -9,11 +9,15 @@
<script setup lang="ts">
const { changeTab, activeTab } = useCommandCenter();
+const { t } = useI18nT();
-const tabs = [
- { id: 'quick', label: 'Quick Search', icon: 'search' },
- { id: 'advanced', label: 'Advanced Search', icon: 'layers' },
-] as const;
+const tabs = computed(
+ () =>
+ [
+ { id: 'quick', label: t('components.commandCenter.tabs.quick'), icon: 'search' },
+ { id: 'advanced', label: t('components.commandCenter.tabs.advanced'), icon: 'layers' },
+ ] as const,
+);
function handleKeydown(e: KeyboardEvent) {
if (e.key === 'ArrowRight' || e.key === 'ArrowLeft') {
diff --git a/frontend/app/components/CommandCenter/index.vue b/frontend/app/components/CommandCenter/index.vue
index 2db537e9..685349d0 100644
--- a/frontend/app/components/CommandCenter/index.vue
+++ b/frontend/app/components/CommandCenter/index.vue
@@ -7,7 +7,7 @@
ref="searchInput"
:value="searchQuery"
type="text"
- placeholder="Search for a page, action, or document..."
+ :placeholder="t('components.commandCenter.searchPlaceholder')"
class="search-input"
@input="handleSearchInput"
@keydown="handleKeydown"
@@ -29,7 +29,10 @@
</div>
<div class="search-footer">
- <div class="shortcuts"><kbd>↑↓</kbd> Navigate <kbd>Enter</kbd> Select <kbd>⇄</kbd> Switch tabs <kbd>Esc</kbd> Close</div>
+ <div class="shortcuts">
+ <kbd>↑↓</kbd> {{ t('components.commandCenter.navigate') }} <kbd>Enter</kbd> {{ t('components.commandCenter.select') }} <kbd>⇄</kbd>
+ {{ t('components.commandCenter.switchTabs') }} <kbd>Esc</kbd> {{ t('components.commandCenter.close') }}
+ </div>
</div>
</div>
</template>
@@ -39,6 +42,7 @@ import TabNavigation from './TabNavigation.vue';
import QuickSearchTab from './QuickSearchTab.vue';
import AdvancedSearchTab from './AdvancedSearchTab.vue';
+const { t } = useI18nT();
const { searchQuery, selectedIndex, activeTab, close, setSearchQuery, setSelectedIndex } = useCommandCenter();
const searchInput = ref<HTMLInputElement>();
diff --git a/frontend/app/components/DataTable.vue b/frontend/app/components/DataTable.vue
index d38b5b1f..df850c9c 100644
--- a/frontend/app/components/DataTable.vue
+++ b/frontend/app/components/DataTable.vue
@@ -1,8 +1,7 @@
<template>
<div class="table">
<header>
- <input v-model="searchInput" type="text" placeholder="Search..." />
- <!-- Actions groupées (slot) -->
+ <input v-model="searchInput" type="text" :placeholder="t('components.dataTable.searchPlaceholder')" />
<slot v-if="selectedRows.length > 0" name="bulk-actions" :selected="selectedRows"> </slot>
</header>
@@ -10,7 +9,6 @@
<table>
<thead>
<tr>
- <!-- Case "Select all" -->
<th>
<input type="checkbox" style="width: 20px" :checked="selectedRows.length > 0" @change="toggleSelectAll" />
</th>
@@ -21,7 +19,6 @@
</thead>
<tbody>
<tr v-for="(row, index) in data" :key="index">
- <!-- Case Ă  cocher -->
<td>
<input v-model="selectedRows" type="checkbox" :value="row" style="width: 20px" />
</td>
@@ -40,9 +37,12 @@
<td colspan="100%">
<footer>
<p>
- Showing {{ paginator.startIndex.value }} to {{ paginator.endIndex.value }} of {{ paginator.totalItems.value }} entries |
+ {{
+ t('components.dataTable.showing', { start: paginator.startIndex.value, end: paginator.endIndex.value, total: paginator.totalItems.value })
+ }}
+ |
<span>
- <span>Rows per page</span>
+ <span>{{ t('components.dataTable.rowsPerPage') }}</span>
<!-- eslint-disable-next-line vue/no-parsing-error -->
<select @change="(e: Event) => paginator.setMaxPerPage(parseInt((<HTMLSelectElement>e.target)?.value) || 10)">
<option value="10">10</option>
@@ -82,6 +82,7 @@
<script lang="ts" setup>
import { Paginator } from '../helpers/paginator';
+const { t } = useI18nT();
const props = defineProps<{ headers: Header[]; rows: Field[] }>();
const itemsPerPage = usePreferences().get('datatableItemsCount');
const searchInput = ref('');
diff --git a/frontend/app/components/Kanban/Board.vue b/frontend/app/components/Kanban/Board.vue
index 0bfcb02a..c99feda5 100644
--- a/frontend/app/components/Kanban/Board.vue
+++ b/frontend/app/components/Kanban/Board.vue
@@ -20,7 +20,7 @@
<!-- Add Column Button -->
<button class="add-column-btn" @click="addColumn">
<Icon name="plus" />
- <span>Add column</span>
+ <span>{{ t('components.kanban.addColumn') }}</span>
</button>
</div>
</div>
@@ -37,6 +37,7 @@ export interface KanbanMetadata {
};
}
+const { t } = useI18nT();
const props = defineProps<{
workspace: Node;
documents: Node[];
diff --git a/frontend/app/components/Kanban/Column.vue b/frontend/app/components/Kanban/Column.vue
index ad0a9bfc..40fb60da 100644
--- a/frontend/app/components/Kanban/Column.vue
+++ b/frontend/app/components/Kanban/Column.vue
@@ -4,7 +4,7 @@
<div class="column-title-row">
<button
class="column-color-btn"
- title="Change color"
+ :title="t('components.kanban.changeColor')"
:style="{ background: `var(--${getAppAccent(column.color, true)})` }"
@click="toggleColorPicker"
/>
@@ -20,10 +20,10 @@
<h3 v-else class="column-title" @dblclick="startEdit">{{ column.title }}</h3>
<div class="column-actions">
- <button class="action-btn" title="Edit name" @click="startEdit">
+ <button class="action-btn" :title="t('components.kanban.editName')" @click="startEdit">
<Icon name="edit" />
</button>
- <button class="action-btn danger" title="Delete column" @click="confirmDelete">
+ <button class="action-btn danger" :title="t('components.kanban.deleteColumn')" @click="confirmDelete">
<Icon name="delete" />
</button>
<span class="column-count">{{ cards.length }}</span>
@@ -57,12 +57,12 @@
</TransitionGroup>
<div v-if="!cards.length" class="empty-state">
<Icon name="file" />
- <p>No documents</p>
- <span>Drag documents here</span>
+ <p>{{ t('components.kanban.noDocuments') }}</p>
+ <span>{{ t('components.kanban.dragHere') }}</span>
</div>
</div>
- <button class="add-card-btn" @click="$emit('addCard', column.id)"><Icon name="plus" /> Add document</button>
+ <button class="add-card-btn" @click="$emit('addCard', column.id)"><Icon name="plus" /> {{ t('components.kanban.addDocument') }}</button>
</div>
</template>
@@ -78,6 +78,8 @@ export interface KanbanColumnData {
order: number;
}
+const { t } = useI18nT();
+
const props = defineProps<{
column: KanbanColumnData;
cards: Node[];
diff --git a/frontend/app/components/Kanban/DeleteColumn.modal.vue b/frontend/app/components/Kanban/DeleteColumn.modal.vue
index cbab578d..09d981e0 100644
--- a/frontend/app/components/Kanban/DeleteColumn.modal.vue
+++ b/frontend/app/components/Kanban/DeleteColumn.modal.vue
@@ -1,14 +1,14 @@
<template>
<div class="modal">
- <h3>Delete column</h3>
- <p>Are you sure you want to delete the column "{{ columnTitle }}" ?</p>
+ <h3>{{ t('components.kanban.deleteColumnModal.title') }}</h3>
+ <p>{{ t('components.kanban.deleteColumnModal.confirm', { title: columnTitle }) }}</p>
<p v-if="cardCount > 0" class="warn">
- This column contains {{ cardCount }} document{{ cardCount > 1 ? 's' : '' }}. They will be moved to the first column.
+ {{ t('components.kanban.deleteColumnModal.hasDocuments', { count: cardCount }) }}
</p>
- <p v-else class="info">This column is empty.</p>
+ <p v-else class="info">{{ t('components.kanban.deleteColumnModal.emptyColumn') }}</p>
<div class="footer">
- <AppButton type="secondary" @click="emit('close')">Cancel</AppButton>
- <AppButton type="danger" @click="confirmDelete">Delete</AppButton>
+ <AppButton type="secondary" @click="emit('close')">{{ t('common.actions.cancel') }}</AppButton>
+ <AppButton type="danger" @click="confirmDelete">{{ t('common.actions.delete') }}</AppButton>
</div>
</div>
</template>
@@ -24,6 +24,8 @@ const emit = defineEmits<{
close: [];
}>();
+const { t } = useI18nT();
+
const confirmDelete = () => {
props.onConfirm();
emit('close');
diff --git a/frontend/app/components/Kanban/ResetBoard.modal.vue b/frontend/app/components/Kanban/ResetBoard.modal.vue
index 972b232f..6a1492da 100644
--- a/frontend/app/components/Kanban/ResetBoard.modal.vue
+++ b/frontend/app/components/Kanban/ResetBoard.modal.vue
@@ -1,11 +1,11 @@
<template>
<div class="modal">
- <h3>Reset kanban board</h3>
- <p>Are you sure you want to reset the kanban board?</p>
- <p class="warn">This action cannot be undone. All columns will be deleted and cards moved to the first column.</p>
+ <h3>{{ t('components.kanban.resetBoard.title') }}</h3>
+ <p>{{ t('components.kanban.resetBoard.confirm') }}</p>
+ <p class="warn">{{ t('components.kanban.resetBoard.warning') }}</p>
<div class="footer">
- <AppButton type="secondary" @click="emit('close')">Cancel</AppButton>
- <AppButton type="danger" @click="confirmDelete">Reset</AppButton>
+ <AppButton type="secondary" @click="emit('close')">{{ t('common.actions.cancel') }}</AppButton>
+ <AppButton type="danger" @click="confirmDelete">{{ t('components.kanban.resetBoard.reset') }}</AppButton>
</div>
</div>
</template>
@@ -13,6 +13,7 @@
<script setup lang="ts">
const props = defineProps<{ onConfirm: () => void }>();
const emit = defineEmits<{ close: [] }>();
+const { t } = useI18nT();
const confirmDelete = () => {
props.onConfirm();
diff --git a/frontend/app/components/MarkdownEditor/ColorPickerModal.vue b/frontend/app/components/MarkdownEditor/ColorPickerModal.vue
index 6581b986..d0aa7c9a 100644
--- a/frontend/app/components/MarkdownEditor/ColorPickerModal.vue
+++ b/frontend/app/components/MarkdownEditor/ColorPickerModal.vue
@@ -1,10 +1,10 @@
<template>
<div class="modal-ctn">
- <EditorAppHeader icon="color" title="Select Color" subtitle="Choose a color from the palette or create a custom one." />
+ <EditorAppHeader icon="color" :title="t('markdown.markdown.colors.title')" :subtitle="t('markdown.markdown.colors.subtitle')" />
<div class="modal-content">
<div class="section">
- <h4 class="section-title">Quick Colors</h4>
+ <h4 class="section-title">{{ t('markdown.markdown.colors.quickColors') }}</h4>
<div class="swatches">
<button
v-for="color in appColors"
@@ -29,7 +29,7 @@
</div>
<div class="section">
- <h4 class="section-title">Custom Color</h4>
+ <h4 class="section-title">{{ t('markdown.markdown.colors.customColors') }}</h4>
<div class="custom">
<div class="color-wheel-section">
<div class="color-wheel-container">
@@ -53,7 +53,7 @@
<div class="color-controls">
<div class="control-group">
- <label>Brightness</label>
+ <label>{{ t('markdown.markdown.colors.brightness') }}</label>
<div class="slider-container">
<input v-model="brightness" type="range" min="0" max="100" class="brightness-slider" @input="updateWheelColor" />
<div class="slider-track">
@@ -74,7 +74,7 @@
<svg class="btn-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M5 13l4 4L19 7" />
</svg>
- <span class="btn-text">Use This Color</span>
+ <span class="btn-text">{{ t('markdown.markdown.colors.useColor') }}</span>
</button>
</div>
</div>
@@ -88,9 +88,12 @@
import EditorAppHeader from './EditorAppHeader.vue';
import { appColors } from '~/helpers/constants';
import { hsvToHex } from '~/helpers/colors';
+
const props = defineProps<{ onColorSelect: (color: string) => void }>();
const emit = defineEmits<{ (e: 'close'): void }>();
+const { t } = useI18nT();
+
const hexColor = ref('');
const hoveredColor = ref<string | null>(null);
const colorWheel = ref<HTMLCanvasElement>();
@@ -189,7 +192,6 @@ onMounted(() => {
width: 100%;
height: 100%;
padding: 0 20px;
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: transparent;
flex-direction: column;
overflow: hidden;
diff --git a/frontend/app/components/MarkdownEditor/EditorPreferences.vue b/frontend/app/components/MarkdownEditor/EditorPreferences.vue
index 84ed77b6..02ea1daf 100644
--- a/frontend/app/components/MarkdownEditor/EditorPreferences.vue
+++ b/frontend/app/components/MarkdownEditor/EditorPreferences.vue
@@ -1,26 +1,26 @@
<template>
<div class="modal-content">
- <h2>Editor preferences</h2>
+ <h2>{{ t('settings.editor.title') }}</h2>
<form @submit.prevent>
- <label for="category">Font family</label>
+ <label for="category">{{ t('settings.editor.fontFamily') }}</label>
<AppSelect v-model="store.get('editorFontFamily').value" :items="EDITOR_FONTS" placeholder="Select theme" />
- <label for="category">Font size</label>
+ <label for="category">{{ t('settings.editor.fontSize') }}</label>
<input v-model="store.get('editorFontSize').value" type="number" min="1" max="100" placeholder="Select font size" />
<div class="row">
- <label for="category">Spell check</label>
+ <label for="category">{{ t('settings.editor.enableSpellCheck') }}</label>
<AppToggle v-model="store.get('editorSpellCheck').value" />
</div>
- <tag>Note: Enabling spell check can take effect after restarting the editor (reload the page)</tag>
+ <tag>{{ t('settings.editor.enableSpellCheckDesc') }}</tag>
<div class="row">
- <label for="category">Display editor statistics</label>
+ <label for="category">{{ t('settings.editor.displayStatsBar') }}</label>
<AppToggle v-model="store.get('editorDisplayStats').value" />
</div>
<div class="row">
- <label for="category">Enable snippets</label>
+ <label for="category">{{ t('settings.editor.enableSnippets') }}</label>
<AppToggle v-model="store.get('editorSnippetsEnabled').value" />
</div>
<div class="row">
- <label for="category">Simplified view on mobile</label>
+ <label for="category">{{ t('settings.editor.simplifiedMobileView') }}</label>
<AppToggle v-model="store.get('editorSimplifiedViewOnMobile').value" />
</div>
</form>
@@ -30,6 +30,7 @@
<script setup lang="ts">
import { EDITOR_FONTS } from '~/helpers/constants';
+const { t } = useI18nT();
const store = usePreferences();
</script>
diff --git a/frontend/app/components/MarkdownEditor/GridOrganizationModal.vue b/frontend/app/components/MarkdownEditor/GridOrganizationModal.vue
index 219dca5b..f4c54b0e 100644
--- a/frontend/app/components/MarkdownEditor/GridOrganizationModal.vue
+++ b/frontend/app/components/MarkdownEditor/GridOrganizationModal.vue
@@ -1,6 +1,6 @@
<template>
<div>
- <EditorAppHeader icon="grid" title="Insert Grid" subtitle="Select a grid layout or customize your own by selecting the number of rows and columns." />
+ <EditorAppHeader icon="grid" :title="t('markdown.markdown.table.title')" :subtitle="t('markdown.markdown.table.subtitle')" />
<div>
<div class="table-grid">
@@ -20,8 +20,8 @@
</div>
</div>
<div class="table-info">
- <span v-if="hoveredSize">{{ hoveredSize.rows }} Ă— {{ hoveredSize.columns }} table</span>
- <span v-else>Hover to see table size</span>
+ <span v-if="hoveredSize">{{ t('markdown.markdown.table.tableSize', { rows: hoveredSize.rows, columns: hoveredSize.columns }) }}</span>
+ <span v-else>{{ t('markdown.markdown.table.hoverHint') }}</span>
</div>
</div>
</div>
@@ -29,6 +29,8 @@
<script setup lang="ts">
import EditorAppHeader from './EditorAppHeader.vue';
+
+const { t } = useI18nT();
const props = defineProps<{
onGridSelect: (gridMarkdown: string) => void;
}>();
diff --git a/frontend/app/components/MarkdownEditor/ImageSelectorModal.vue b/frontend/app/components/MarkdownEditor/ImageSelectorModal.vue
index 47d12764..2380804d 100644
--- a/frontend/app/components/MarkdownEditor/ImageSelectorModal.vue
+++ b/frontend/app/components/MarkdownEditor/ImageSelectorModal.vue
@@ -1,12 +1,12 @@
<template>
<div class="container">
- <EditorAppHeader icon="image" title="Select Image" subtitle="Choose an image to insert into your document." />
+ <EditorAppHeader icon="image" :title="t('markdown.markdown.image.title')" :subtitle="t('markdown.markdown.image.subtitle')" />
<div class="content">
<AppDrop ref="dropComponent" @select="submitFile as (file: File) => void" />
<Loader v-if="isLoading" style="margin: 12px auto" />
<p v-if="uploadError" class="error">{{ uploadError }}</p>
<div class="search-bar">
- <input v-model="searchQuery" placeholder="Search images..." />
+ <input v-model="searchQuery" :placeholder="t('markdown.markdown.image.searchPlaceholder')" />
</div>
<div class="images-grid">
<div v-for="image in filteredImages.values()" :key="image.id" class="image-item" @click="selectImage(image)">
@@ -19,7 +19,7 @@
</div>
<div v-if="filteredImages.size === 0" class="no-images">
- <p>No images found</p>
+ <p>{{ t('markdown.markdown.image.noImages') }}</p>
</div>
</div>
</div>
@@ -30,6 +30,7 @@ import EditorAppHeader from './EditorAppHeader.vue';
import { readableFileSize, isImageFile, resolvePreviewUrl } from '~/helpers/resources';
import type { Node } from '~/stores';
+const { t } = useI18nT();
const resourcesStore = useResourcesStore();
const nodesStore = useNodesStore();
@@ -50,7 +51,7 @@ const submitFile = (selectedFile: File) => {
dropComponent.value.reset(); // Reset drop component
resourcesStore
.post(body)
- .catch(e => (uploadError.value = e || 'An error occurred during upload.'))
+ .catch(e => (uploadError.value = e || t('markdown.markdown.image.uploadError')))
.finally(() => (isLoading.value = false));
};
diff --git a/frontend/app/components/MarkdownEditor/MarkdownEditor.vue b/frontend/app/components/MarkdownEditor/MarkdownEditor.vue
index a3b43baa..582598a7 100644
--- a/frontend/app/components/MarkdownEditor/MarkdownEditor.vue
+++ b/frontend/app/components/MarkdownEditor/MarkdownEditor.vue
@@ -8,8 +8,8 @@
<!-- Compact Document Metadata -->
<div class="document-meta">
<div class="line">
- <input v-model="document.name" placeholder="Document title" class="meta-title" @input="autoSaveConditional" />
- <input v-model="document.description" placeholder="Description" class="meta-description" @input="autoSaveConditional" />
+ <input v-model="document.name" :placeholder="t('components.editor.placeholder.title')" class="meta-title" @input="autoSaveConditional" />
+ <input v-model="document.description" :placeholder="t('components.editor.placeholder.description')" class="meta-description" @input="autoSaveConditional" />
</div>
<AppTagInput v-model="document.tags" display="row" minimal @update:model-value="autoSaveConditional" />
</div>
@@ -22,7 +22,7 @@
<div v-if="showPreview" class="preview-panel">
<div class="panel-header">
- <span class="panel-label">Preview</span>
+ <span class="panel-label">{{ t('common.actions.preview') }}</span>
</div>
<NodeDocumentContentCompiled ref="markdownPreviewComponent" :node="document" />
</div>
@@ -45,6 +45,7 @@ import NodeDocumentContentCompiled from '~/components/Node/Document/ContentCompi
import compile from '~/helpers/markdown';
import type { Node } from '~/stores';
+const { t } = useI18nT();
const resourcesStore = useResourcesStore();
const preferences = usePreferences();
diff --git a/frontend/app/components/MarkdownEditor/Toolbar.vue b/frontend/app/components/MarkdownEditor/Toolbar.vue
index cfa691ea..2e53fac1 100644
--- a/frontend/app/components/MarkdownEditor/Toolbar.vue
+++ b/frontend/app/components/MarkdownEditor/Toolbar.vue
@@ -61,7 +61,7 @@
<div class="group-buttons">
<VoiceRecognition :class="{ 'no-mobile': mobileSimplifiedView }" @transcription="handleTranscription" />
</div>
- <AppSelect v-model="localValue.parent_id" :items="categories" nullable placeholder="Category" class="category-select" />
+ <AppSelect v-model="localValue.parent_id" :items="categories" nullable :placeholder="t('markdown.markdown.toolbar.category')" class="category-select" />
</div>
<!-- Right Section -->
@@ -70,25 +70,25 @@
<div v-if="displayStats" class="stats-badge no-tablet">
<div class="stat-item">
<span class="stat-value">{{ stats.words }}</span>
- <span class="stat-label">words</span>
+ <span class="stat-label">{{ t('markdown.markdown.stats.words') }}</span>
</div>
<div class="stat-divider" />
<div class="stat-item">
<span class="stat-value">{{ stats.characters }}</span>
- <span class="stat-label">chars</span>
+ <span class="stat-label">{{ t('markdown.markdown.stats.chars') }}</span>
</div>
<div class="stat-divider" />
<div class="stat-item">
<span class="stat-value">{{ stats.lines }}</span>
- <span class="stat-label">lines</span>
+ <span class="stat-label">{{ t('markdown.markdown.stats.lines') }}</span>
</div>
</div>
<!-- Actions & Settings Group -->
<div class="action-buttons">
- <button class="toolbar-btn btn-ghost" aria-label="Clear Formatting" @click="emitAction('clearFormatting')">
+ <button class="toolbar-btn btn-ghost" :aria-label="t('markdown.markdown.toolbar.clearFormatting')" @click="emitAction('clearFormatting')">
<Icon name="format/clear-formatting" />
- <span class="tooltip">Clear Formatting<kbd>Ctrl+Shift+X</kbd></span>
+ <span class="tooltip">{{ t('markdown.markdown.toolbar.clearFormatting') }}<kbd>Ctrl+Shift+X</kbd></span>
</button>
<button
v-for="item in actionTools"
@@ -106,11 +106,11 @@
<div class="action-divider" />
<button class="toolbar-btn btn-ghost" aria-label="Settings" @click="openSettings">
<Icon name="settings" display="lg" />
- <span class="tooltip">Editor Settings</span>
+ <span class="tooltip">{{ t('markdown.markdown.toolbar.editorSettings') }}</span>
</button>
<button class="toolbar-btn btn-ghost" aria-label="Help" @click="openHelp">
<Icon name="help" display="lg" />
- <span class="tooltip">Markdown Syntax</span>
+ <span class="tooltip">{{ t('markdown.markdown.toolbar.markdownSyntax') }}</span>
</button>
</div>
</div>
@@ -123,6 +123,8 @@ import ModalSyntax from './ModalSyntax.vue';
import VoiceRecognition from './VoiceRecognition.vue';
import EditorPreferences from './EditorPreferences.vue';
+const { t } = useI18nT();
+
const props = defineProps<{
modelValue: Partial<Node>;
}>();
@@ -175,44 +177,44 @@ interface ToolItem {
shortcut?: string;
}
-const formattingTools: ToolItem[] = [
- { name: 'Bold', icon: 'format/bold', action: 'bold', shortcut: 'Ctrl+B' },
- { name: 'Italic', icon: 'format/italic', action: 'italic', shortcut: 'Ctrl+I' },
- { name: 'Underline', icon: 'format/underline', action: 'underline', shortcut: 'Ctrl+U' },
- { name: 'Strikethrough', icon: 'format/strikethrough', action: 'strike', shortcut: 'Ctrl+Shift+S' },
- { name: 'Highlight', icon: 'format/highlight', action: 'mark', shortcut: 'Ctrl+Shift+H' },
-];
-
-const extendedFormattingTools: ToolItem[] = [
- { name: 'Superscript', icon: 'format/superscript', action: 'superscript', shortcut: 'Ctrl+↑' },
- { name: 'Subscript', icon: 'format/subscript', action: 'subscript', shortcut: 'Ctrl+↓' },
- { name: 'Math', icon: 'maths', action: 'mathInline', shortcut: 'Ctrl+M' },
-];
-
-const insertTools: ToolItem[] = [
- { name: 'Link', icon: 'format/link', action: 'link', shortcut: 'Ctrl+K' },
- { name: 'Image', icon: 'format/image', action: 'image', shortcut: 'Ctrl+Shift+I' },
- { name: 'Inline Code', icon: 'format/code', action: 'code', shortcut: 'Ctrl+E' },
- { name: 'Code Block', icon: 'format/code-block', action: 'codeBlock', shortcut: 'Ctrl+Shift+C' },
- { name: 'Color', icon: 'format/color', action: 'openColorPicker' },
- { name: 'Footnote', icon: 'format/footnote', action: 'footnote' },
-];
-
-const structureTools: ToolItem[] = [
- { name: 'Heading', icon: 'format/h1', action: 'h1', shortcut: 'Ctrl+[1-6]' },
- { name: 'Quote', icon: 'format/quote', action: 'quote', shortcut: 'Ctrl+Shift+.' },
- { name: 'Bullet List', icon: 'format/list-bulleted', action: 'list', shortcut: 'Ctrl+Shift+8' },
- { name: 'Numbered List', icon: 'format/list-ordered', action: 'orderedList', shortcut: 'Ctrl+Shift+7' },
- { name: 'Task List', icon: 'format/task-list', action: 'taskList', shortcut: 'Ctrl+Shift+9' },
- { name: 'Table', icon: 'format/table', action: 'gridOrganization' },
- { name: 'Horizontal Rule', icon: 'format/horizontal-rule', action: 'horizontalRule', shortcut: 'Ctrl+Shift+R' },
-];
-
-const actionTools: ToolItem[] = [
- { name: 'Preview', icon: 'preview', action: 'preview', shortcut: 'Ctrl+P' },
- { name: 'Save', icon: 'save', action: 'save', shortcut: 'Ctrl+S' },
- { name: 'Go to Document', icon: 'file_shortcut', action: 'goto' },
-];
+const formattingTools = computed<ToolItem[]>(() => [
+ { name: t('markdown.markdown.toolbar.bold'), icon: 'format/bold', action: 'bold', shortcut: 'Ctrl+B' },
+ { name: t('markdown.markdown.toolbar.italic'), icon: 'format/italic', action: 'italic', shortcut: 'Ctrl+I' },
+ { name: t('markdown.markdown.toolbar.underline'), icon: 'format/underline', action: 'underline', shortcut: 'Ctrl+U' },
+ { name: t('markdown.markdown.toolbar.strikethrough'), icon: 'format/strikethrough', action: 'strike', shortcut: 'Ctrl+Shift+S' },
+ { name: t('markdown.markdown.toolbar.highlight'), icon: 'format/highlight', action: 'mark', shortcut: 'Ctrl+Shift+H' },
+]);
+
+const extendedFormattingTools = computed<ToolItem[]>(() => [
+ { name: t('markdown.markdown.toolbar.superscript'), icon: 'format/superscript', action: 'superscript', shortcut: 'Ctrl+↑' },
+ { name: t('markdown.markdown.toolbar.subscript'), icon: 'format/subscript', action: 'subscript', shortcut: 'Ctrl+↓' },
+ { name: t('markdown.markdown.toolbar.math'), icon: 'maths', action: 'mathInline', shortcut: 'Ctrl+M' },
+]);
+
+const insertTools = computed<ToolItem[]>(() => [
+ { name: t('markdown.markdown.toolbar.link'), icon: 'format/link', action: 'link', shortcut: 'Ctrl+K' },
+ { name: t('markdown.markdown.toolbar.image'), icon: 'format/image', action: 'image', shortcut: 'Ctrl+Shift+I' },
+ { name: t('markdown.markdown.toolbar.inlineCode'), icon: 'format/code', action: 'code', shortcut: 'Ctrl+E' },
+ { name: t('markdown.markdown.toolbar.codeBlock'), icon: 'format/code-block', action: 'codeBlock', shortcut: 'Ctrl+Shift+C' },
+ { name: t('markdown.markdown.toolbar.color'), icon: 'format/color', action: 'openColorPicker' },
+ { name: t('markdown.markdown.toolbar.footnote'), icon: 'format/footnote', action: 'footnote' },
+]);
+
+const structureTools = computed<ToolItem[]>(() => [
+ { name: t('markdown.markdown.toolbar.heading'), icon: 'format/h1', action: 'h1', shortcut: 'Ctrl+[1-6]' },
+ { name: t('markdown.markdown.toolbar.quote'), icon: 'format/quote', action: 'quote', shortcut: 'Ctrl+Shift+.' },
+ { name: t('markdown.markdown.toolbar.bulletList'), icon: 'format/list-bulleted', action: 'list', shortcut: 'Ctrl+Shift+8' },
+ { name: t('markdown.markdown.toolbar.numberedList'), icon: 'format/list-ordered', action: 'orderedList', shortcut: 'Ctrl+Shift+7' },
+ { name: t('markdown.markdown.toolbar.taskList'), icon: 'format/task-list', action: 'taskList', shortcut: 'Ctrl+Shift+9' },
+ { name: t('markdown.markdown.toolbar.table'), icon: 'format/table', action: 'gridOrganization' },
+ { name: t('markdown.markdown.toolbar.horizontalRule'), icon: 'format/horizontal-rule', action: 'horizontalRule', shortcut: 'Ctrl+Shift+R' },
+]);
+
+const actionTools = computed<ToolItem[]>(() => [
+ { name: t('markdown.markdown.toolbar.preview'), icon: 'preview', action: 'preview', shortcut: 'Ctrl+P' },
+ { name: t('markdown.markdown.toolbar.save'), icon: 'save', action: 'save', shortcut: 'Ctrl+S' },
+ { name: t('markdown.markdown.toolbar.goToDocument'), icon: 'file_shortcut', action: 'goto' },
+]);
</script>
<style scoped lang="scss">
.toolbar {
diff --git a/frontend/app/components/MarkdownEditor/VoiceRecognition.vue b/frontend/app/components/MarkdownEditor/VoiceRecognition.vue
index ddae7d96..e4ab491c 100644
--- a/frontend/app/components/MarkdownEditor/VoiceRecognition.vue
+++ b/frontend/app/components/MarkdownEditor/VoiceRecognition.vue
@@ -1,11 +1,16 @@
<template>
- <button :class="{ recording: isRecording }" :title="isRecording ? 'Stop recording' : 'Start voice recognition'" @click="toggleRecording">
+ <button
+ :class="{ recording: isRecording }"
+ :title="isRecording ? t('markdown.markdown.voice.stopRecording') : t('markdown.markdown.voice.startRecording')"
+ @click="toggleRecording"
+ >
<Icon v-if="!isRecording" name="voice/default" />
<Icon v-else name="voice/recording" />
</button>
</template>
<script setup lang="ts">
+const { t } = useI18nT();
const emit = defineEmits<{ (e: 'transcription', text: string): void }>();
declare global {
@@ -29,7 +34,7 @@ const language = 'fr-FR';
const startRecording = () => {
if (!('webkitSpeechRecognition' in window) && !('SpeechRecognition' in window)) {
- alert('Speech recognition not supported in this browser');
+ alert(t('markdown.markdown.voice.notSupported'));
return;
}
diff --git a/frontend/app/components/MarkdownSyntax.vue b/frontend/app/components/MarkdownSyntax.vue
index bd2116b9..ad184440 100644
--- a/frontend/app/components/MarkdownSyntax.vue
+++ b/frontend/app/components/MarkdownSyntax.vue
@@ -1,11 +1,11 @@
<template>
<div class="markdown-guide">
<div class="content">
- <h1><IconApp style="width: 60px" /> Alexandrie Markdown Syntax Guide</h1>
- <p style="margin: 0">This guide shows you how to use Alexandrie’s extended Markdown features to create expressive and organized notes.</p>
+ <h1><IconApp style="width: 60px" /> {{ t('markdown.markdown.syntax.title') }}</h1>
+ <p style="margin: 0">{{ t('markdown.markdown.syntax.subtitle') }}</p>
<!-- BASIC FORMATTING -->
- <h2><Icon name="edit" fill="var(--primary)" /> Basic Formatting</h2>
+ <h2><Icon name="edit" fill="var(--primary)" /> {{ t('markdown.markdown.syntax.basicFormatting') }}</h2>
<ul>
<li><strong>Bold</strong>: <code>**bold**</code> or <code>__bold__</code></li>
<li><em>Italic</em>: <code>*italic*</code> or <code>_italic_</code></li>
@@ -18,14 +18,14 @@
<!-- TAGS -->
<p>
- <strong>Tags: </strong> <tag blue>Blue</tag> <tag green>Green</tag> <tag red>Red</tag> <tag yellow>Yellow</tag> <tag grey>Grey</tag> <tag teal>Teal</tag
- ><br />
+ <strong>{{ t('markdown.markdown.syntax.tags') }}: </strong> <tag blue>Blue</tag> <tag green>Green</tag> <tag red>Red</tag> <tag yellow>Yellow</tag>
+ <tag grey>Grey</tag> <tag teal>Teal</tag><br />
Syntax: <code v-text="`<tag 'color'>Content</tag>`"></code> — example: <code v-text="`<tag blue>Blue</tag>`"></code>
</p>
<!-- COLORS -->
<p>
- <strong>Colors: </strong>
+ <strong>{{ t('markdown.markdown.syntax.colors') }}: </strong>
<strong>
<span style="color: var(--blue)">blue</span> ; <span style="color: var(--red)">red</span> ; <span style="color: var(--green)">green</span> ;
<span style="color: var(--yellow)">yellow</span> ; <span style="color: var(--primary)">primary</span> ;
@@ -36,17 +36,17 @@
</p>
<p>
- <strong>Titles:</strong>
+ <strong>{{ t('markdown.markdown.syntax.titles') }}:</strong>
Syntax: <code v-text="`# H1`"></code> → <code v-text="`###### H6`"></code>
</p>
<p>
- <strong>Links & Images:</strong>
+ <strong>{{ t('markdown.markdown.syntax.linksAndImages') }}:</strong>
Use <code>[links](https://example.com)</code> and <code>![images](image.png)</code>.
</p>
<!-- COLORED BLOCKS -->
- <h2><Icon name="layers" fill="var(--primary)" /> Colored Blocks</h2>
+ <h2><Icon name="layers" fill="var(--primary)" /> {{ t('markdown.markdown.syntax.coloredBlocks') }}</h2>
<p>Use colored blocks with the syntax <code>:::color TITLE</code>.</p>
<div class="block-grid">
<div class="custom-block blue">
@@ -76,7 +76,7 @@
</div>
<!-- ADVANCED BLOCKS -->
- <h2><Icon name="layers" fill="var(--primary)" /> Advanced Blocks</h2>
+ <h2><Icon name="layers" fill="var(--primary)" /> {{ t('markdown.markdown.syntax.advancedBlocks') }}</h2>
<p>Use info blocks with the syntax <code>:::name TITLE Content :::</code>.</p>
<div class="block-grid">
@@ -131,7 +131,7 @@
</details>
</div>
- <h2><Icon name="layers" fill="var(--primary)" /> Cards & panels</h2>
+ <h2><Icon name="layers" fill="var(--primary)" /> {{ t('markdown.markdown.syntax.cardsAndPanels') }}</h2>
<p>
Use powerful block containers with a simplified syntax and <strong>modifiers</strong>. You can style your blocks using attributes like
<code>border</code>, <code>rounded</code>, <code>bordered</code>, <code>shadow</code>, and even a custom <code>title="..."</code>.
@@ -198,7 +198,7 @@ Useful for side content or notes.
</div>
<!-- MATH -->
- <h2><Icon name="maths" fill="var(--primary)" /> Math Syntax</h2>
+ <h2><Icon name="maths" fill="var(--primary)" /> {{ t('markdown.markdown.syntax.mathSyntax') }}</h2>
<p>Use KaTeX for math expressions: <code>$...$</code> (inline) or <code>$$...$$</code> (block).</p>
<div class="demo">
<pre>$\int_{-\infty}^{+\infty} e^{-x^2} dx = \sqrt{\pi}$</pre>
@@ -207,7 +207,7 @@ Useful for side content or notes.
</div>
<!-- EXTENDED SYNTAX -->
- <h2><Icon name="import" fill="var(--primary)" /> Extended Syntax</h2>
+ <h2><Icon name="import" fill="var(--primary)" /> {{ t('markdown.markdown.syntax.extendedSyntax') }}</h2>
<ul>
<li><strong>Code blocks:</strong> <code>```language ... ```</code></li>
<li><strong>Blockquotes:</strong> <code>> Quoted text</code></li>
@@ -228,7 +228,7 @@ Useful for side content or notes.
</ul>
<!-- FOOTNOTES -->
- <h2><Icon name="format/footnote" fill="var(--primary)" /> Footnotes</h2>
+ <h2><Icon name="format/footnote" fill="var(--primary)" /> {{ t('markdown.markdown.syntax.footnotes') }}</h2>
<p>Add footnotes to your text for references or additional information.</p>
<div class="demo">
<pre>
@@ -257,6 +257,8 @@ This is a text with a note[^1] and another[^ref].
<script setup lang="ts">
import compile from '~/helpers/markdown';
+
+const { t } = useI18nT();
</script>
<style scoped lang="scss">
diff --git a/frontend/app/components/Navbar.vue b/frontend/app/components/Navbar.vue
index a1e2b476..dcb6289a 100644
--- a/frontend/app/components/Navbar.vue
+++ b/frontend/app/components/Navbar.vue
@@ -9,9 +9,15 @@
<BreadCrumb v-if="navbarItems.breadcrumb" />
</div>
<div>
- <button v-if="navbarItems.search" class="search-btn" title="Command center (Ctrl+K)" aria-label="Command center" @click="openCommandCenter">
+ <button v-if="navbarItems.search" class="search-btn" :title="t('components.navbar.commandCenter')" aria-label="Command center" @click="openCommandCenter">
<Icon name="search" />
- <span class="search-text">Type <kbd>/</kbd> to navigate</span>
+ <span class="search-text">
+ <i18n-t scope="global" keypath="components.navbar.searchHint">
+ <template #key>
+ <kbd>/</kbd>
+ </template>
+ </i18n-t>
+ </span>
</button>
<ThemeToggle v-if="navbarItems.theme" aria-label="toggle theme" />
</div>
@@ -19,7 +25,8 @@
</template>
<script lang="ts" setup>
-const { toggleSidebar, isOpened } = useSidebar();
+const { t } = useI18nT();
+const { isOpened, toggleSidebar } = useSidebar();
const preferences = usePreferences();
const navbarItems = preferences.get('navbarItems');
@@ -65,8 +72,7 @@ button {
transform $transition-base ease;
align-items: center;
cursor: pointer;
- gap: 8px;
- margin-left: 16px;
+ gap: 4px;
&:hover {
background: var(--selection-color);
diff --git a/frontend/app/components/NoContent.vue b/frontend/app/components/NoContent.vue
index 081e451c..9205b5f8 100644
--- a/frontend/app/components/NoContent.vue
+++ b/frontend/app/components/NoContent.vue
@@ -1,6 +1,6 @@
<template>
<div class="no-content">
- <h1>{{ title || 'Nothing here' }}</h1>
+ <h1>{{ title || t('components.noContent.nothingHere') }}</h1>
<img :src="`/empty-${colorMode.value}.png`" alt="" />
<p>{{ description }}</p>
<slot />
@@ -11,6 +11,7 @@
defineProps<{ title?: string; description?: string }>();
const colorMode = useColorMode();
+const { t } = useI18nT();
</script>
<style scoped lang="scss">
diff --git a/frontend/app/components/Node/Action/ContextMenu.vue b/frontend/app/components/Node/Action/ContextMenu.vue
index d1298860..b3315d54 100644
--- a/frontend/app/components/Node/Action/ContextMenu.vue
+++ b/frontend/app/components/Node/Action/ContextMenu.vue
@@ -9,28 +9,28 @@
</div>
<div class="menu-group">
- <button class="menu-item" @click="action('open')"><Icon name="file_open" />Open<kbd>Enter</kbd></button>
- <button class="menu-item" @click="action('edit')"><Icon name="edit_page" />Edit<kbd>E</kbd></button>
+ <button class="menu-item" @click="action('open')"><Icon name="file_open" />{{ t('common.actions.open') }}<kbd>Enter</kbd></button>
+ <button class="menu-item" @click="action('edit')"><Icon name="edit_page" />{{ t('common.actions.edit') }}<kbd>E</kbd></button>
</div>
<div class="menu-group">
- <button class="menu-item" @click="action('duplicate')"><Icon name="duplicate" />Duplicate<kbd>Ctrl+D</kbd></button>
- <button class="menu-item" @click="action('copyLink')"><Icon name="link" />Copy link<kbd>Ctrl+L</kbd></button>
+ <button class="menu-item" @click="action('duplicate')"><Icon name="duplicate" />{{ t('common.actions.duplicate') }}<kbd>Ctrl+D</kbd></button>
+ <button class="menu-item" @click="action('copyLink')"><Icon name="link" />{{ t('common.actions.copyLink') }}<kbd>Ctrl+L</kbd></button>
<button class="menu-item" @click="action('pin')">
- <Icon :name="node.order === -1 ? 'pin_off' : 'pin'" />{{ node.order === -1 ? 'Unpin' : 'Pin to top' }}<kbd>P</kbd>
+ <Icon :name="node.order === -1 ? 'pin_off' : 'pin'" />{{ node.order === -1 ? t('common.actions.unpin') : t('common.actions.pin') }}<kbd>P</kbd>
</button>
</div>
<div v-if="nodeStore.hasPermissions(node, 4)" class="menu-group">
- <button class="menu-item" @click="action('manageAccess')"><Icon name="manage_access" />Manage access</button>
+ <button class="menu-item" @click="action('manageAccess')"><Icon name="manage_access" />{{ t('nodes.actions.managePermissions') }}</button>
</div>
<div class="menu-group">
- <button class="menu-item delete" @click="action('delete')"><Icon name="delete" />Move to trash<kbd>Del</kbd></button>
+ <button class="menu-item delete" @click="action('delete')"><Icon name="delete" />{{ t('common.actions.delete') }}<kbd>Del</kbd></button>
</div>
<div v-if="developerMode" class="menu-group">
- <button class="menu-item" @click="action('copyId')"><Icon name="snippets" />Copy ID</button>
+ <button class="menu-item" @click="action('copyId')"><Icon name="snippets" />{{ t('common.actions.copy') }} {{ t('common.labels.id') }}</button>
</div>
</div>
</template>
@@ -49,6 +49,7 @@ const userStore = useUserStore();
const router = useRouter();
const route = useRoute();
const preferences = usePreferences();
+const { t } = useI18nT();
const { shortDate } = useDateFormatters();
const { avatarURL } = useApi();
diff --git a/frontend/app/components/Node/Action/ResourceContextMenu.vue b/frontend/app/components/Node/Action/ResourceContextMenu.vue
index 9c956c57..1fbf376f 100644
--- a/frontend/app/components/Node/Action/ResourceContextMenu.vue
+++ b/frontend/app/components/Node/Action/ResourceContextMenu.vue
@@ -9,25 +9,25 @@
</div>
<div class="menu-group">
- <button class="menu-item" @click="action('open')"><Icon name="file_open" />Open</button>
- <button class="menu-item" @click="action('edit')"><Icon name="edit_page" />Edit meta</button>
+ <button class="menu-item" @click="action('open')"><Icon name="file_open" />{{ t('common.actions.open') }}</button>
+ <button class="menu-item" @click="action('edit')"><Icon name="edit_page" />{{ t('common.actions.edit') }}</button>
</div>
<div class="menu-group">
- <button class="menu-item" @click="action('copyLink')"><Icon name="link" />Copy link</button>
- <button class="menu-item" @click="action('copyMd')"><Icon name="link" />Copy as markdown</button>
+ <button class="menu-item" @click="action('copyLink')"><Icon name="link" />{{ t('common.actions.copyLink') }}</button>
+ <button class="menu-item" @click="action('copyMd')"><Icon name="link" />{{ t('common.actions.copy') }} {{ t('common.labels.content') }}</button>
</div>
<div v-if="nodeStore.hasPermissions(node, 4)" class="menu-group">
- <button class="menu-item" @click="action('manageAccess')"><Icon name="manage_access" />Manage access</button>
+ <button class="menu-item" @click="action('manageAccess')"><Icon name="manage_access" />{{ t('nodes.actions.managePermissions') }}</button>
</div>
<div class="menu-group">
- <button class="menu-item delete" @click="action('delete')"><Icon name="delete" />Move to trash</button>
+ <button class="menu-item delete" @click="action('delete')"><Icon name="delete" />{{ t('common.actions.delete') }}</button>
</div>
<div v-if="developerMode" class="menu-group">
- <button class="menu-item" @click="action('copyId')"><Icon name="snippets" />Copy ID</button>
+ <button class="menu-item" @click="action('copyId')"><Icon name="snippets" />{{ t('common.actions.copy') }} {{ t('common.labels.id') }}</button>
</div>
</div>
</template>
@@ -42,8 +42,8 @@ const emit = defineEmits(['close']);
const nodeStore = useNodesStore();
const userStore = useUserStore();
-
const preferences = usePreferences();
+const { t } = useI18nT();
const { shortDate } = useDateFormatters();
const { avatarURL, resourceURL } = useApi();
diff --git a/frontend/app/components/Node/ContainerView.vue b/frontend/app/components/Node/ContainerView.vue
index e41cdf01..87ee8091 100644
--- a/frontend/app/components/Node/ContainerView.vue
+++ b/frontend/app/components/Node/ContainerView.vue
@@ -7,33 +7,33 @@
</h1>
<h1 v-else-if="parentId === 'shared'">
<Icon name="users" display="xl" class="parent-icon grey" />
- Shared with me
+ {{ t('nodes.workspace.shared') }}
</h1>
<h1 v-else>
<Icon name="workspace" display="xl" class="parent-icon primary" />
- All workspaces
+ {{ t('nodes.workspace.all') }}
</h1>
<div class="header-actions">
<NuxtLink v-if="view == 'kanban'" class="btn-icon no-mobile" @click="resetKanban">
<Icon name="reset" display="lg" />
- <p class="hint-tooltip">Reset board</p>
+ <p class="hint-tooltip">{{ t('nodes.actions.resetBoard') }}</p>
</NuxtLink>
<NodeFilter v-show="!isMobile" :nodes="nodes" @update:nodes="filteredNodes = $event" />
<NuxtLink v-if="parent?.shared && parent.user_id != connectedId" class="btn-icon no-mobile" @click="openRemoveShareModal">
<Icon name="group_off" display="lg" />
- <p class="hint-tooltip">Remove from shared</p>
+ <p class="hint-tooltip">{{ t('nodes.actions.removeFromShared') }}</p>
</NuxtLink>
<NuxtLink v-if="parent && nodesStore.hasPermissions(parent, 4)" class="btn-icon no-mobile" @click="openPermissionsModal">
<Icon name="manage_access" display="lg" />
- <p class="hint-tooltip">Manage permissions</p>
+ <p class="hint-tooltip">{{ t('nodes.actions.managePermissions') }}</p>
</NuxtLink>
<NuxtLink v-if="parent && nodesStore.hasPermissions(parent, 2)" class="btn-icon" @click="openEditModal">
<Icon name="settings" display="lg" />
- <p class="hint-tooltip">Edit metadata</p>
+ <p class="hint-tooltip">{{ t('nodes.actions.editMeta') }}</p>
</NuxtLink>
<NuxtLink v-if="parent && nodesStore.hasPermissions(parent, 4)" class="btn-icon" @click="openDeleteModal">
<Icon name="delete" display="lg" />
- <p class="hint-tooltip">Delete</p>
+ <p class="hint-tooltip">{{ t('common.actions.delete') }}</p>
</NuxtLink>
<span class="doc-count no-mobile">{{ filteredNodes.length != nodes.length ? `${filteredNodes.length} /` : '' }} {{ nodes.length }}</span>
<ViewSelection v-model="view" :show-kanban="true" />
@@ -66,11 +66,11 @@
<NoContent
v-else-if="!nodesStore.isFetching"
style="width: 100%; height: 100%"
- title="No documents found"
- description="There are no documents in this category"
+ :title="t('nodes.container.noDocuments')"
+ :description="t('nodes.container.noDocumentsDescription')"
>
<NuxtLink to="/dashboard/docs/new">
- <AppButton type="link">+ Create new document</AppButton>
+ <AppButton type="link">{{ t('nodes.container.createNewDocument') }}</AppButton>
</NuxtLink>
</NoContent>
</div>
@@ -94,6 +94,7 @@ const router = useRouter();
const userStore = useUserStore();
const { isMobile } = useDevice();
const { getAppAccent } = useAppColors();
+const { t } = useI18nT();
const connectedId = userStore.user?.id;
const view = ref<ViewMode>();
diff --git a/frontend/app/components/Node/Document/Footer.vue b/frontend/app/components/Node/Document/Footer.vue
index f3a90ba6..2e5cef9b 100644
--- a/frontend/app/components/Node/Document/Footer.vue
+++ b/frontend/app/components/Node/Document/Footer.vue
@@ -3,20 +3,20 @@
<div class="footer-top-row">
<NuxtLink :to="`/dashboard/docs/edit/${document.id}`" :prefetch="false" class="edit-link">
<Icon name="edit_page" display="sm" />
- <span>Edit this page</span>
+ <span>{{ t('nodes.document.editPage') }}</span>
</NuxtLink>
<div class="last-updated">
<Icon name="update" />
- Last updated {{ formatRelativeDate(document.updated_timestamp) }}
+ {{ t('nodes.document.lastUpdated') }} {{ formatRelativeDate(document.updated_timestamp) }}
</div>
</div>
<div class="items">
<NuxtLink v-if="previous" :to="`/dashboard/docs/${previous.id}`" class="item left">
- <b>Previous page</b>
+ <b>{{ t('nodes.document.prevPage') }}</b>
{{ previous.name }}
</NuxtLink>
<NuxtLink v-if="next" :to="`/dashboard/docs/${next.id}`" class="item right">
- <b>Next page</b>
+ <b>{{ t('nodes.document.nextPage') }}</b>
{{ next.name }}
</NuxtLink>
</div>
@@ -28,6 +28,7 @@ import type { Node } from '~/stores';
defineProps<{ document?: Node; next?: Node; previous?: Node }>();
+const { t } = useI18nT();
const { formatRelativeDate } = useDateFormatters();
</script>
diff --git a/frontend/app/components/Node/Document/HeaderActionRow.vue b/frontend/app/components/Node/Document/HeaderActionRow.vue
index 4b0c18ea..c650a1b3 100644
--- a/frontend/app/components/Node/Document/HeaderActionRow.vue
+++ b/frontend/app/components/Node/Document/HeaderActionRow.vue
@@ -2,7 +2,7 @@
<span class="actions-row">
<NuxtLink v-if="doc.accessibility == 3 && !isPublic" class="btn-icon" :to="`/doc/${doc.id}`" :prefetch="false" target="_blank">
<Icon name="link" display="lg" />
- <p class="hint-tooltip">Public link</p>
+ <p class="hint-tooltip">{{ t('nodes.actions.publicLink') }}</p>
</NuxtLink>
<NuxtLink
v-if="nodeStore.hasPermissions(doc, 2)"
@@ -11,31 +11,31 @@
:prefetch="false"
>
<Icon name="edit" display="lg" />
- <p class="hint-tooltip">Edit</p>
+ <p class="hint-tooltip">{{ t('common.actions.edit') }}</p>
</NuxtLink>
<NuxtLink class="btn-icon" @click="exportMarkdown">
<Icon name="markdown" display="lg" />
- <p class="hint-tooltip">Export as Markdown</p>
+ <p class="hint-tooltip">{{ t('nodes.actions.exportAsMarkdown') }}</p>
</NuxtLink>
<NuxtLink class="btn-icon" @click="print">
<Icon name="print" display="lg" />
- <p class="hint-tooltip">Print</p>
+ <p class="hint-tooltip">{{ t('common.actions.print') }}</p>
</NuxtLink>
<NuxtLink v-if="doc.shared" class="btn-icon" @click="openRemoveShareModal">
<Icon name="group_off" display="lg" />
- <p class="hint-tooltip">Remove from shared</p>
+ <p class="hint-tooltip">{{ t('nodes.actions.removeFromShared') }}</p>
</NuxtLink>
<NuxtLink v-if="nodeStore.hasPermissions(doc, 2)" class="btn-icon" @click="openEditModal">
<Icon name="settings" display="lg" />
- <p class="hint-tooltip">Edit metadata</p>
+ <p class="hint-tooltip">{{ t('nodes.actions.editMeta') }}</p>
</NuxtLink>
<NuxtLink v-if="nodeStore.hasPermissions(doc, 4)" class="btn-icon" @click="openPermissionsModal">
<Icon name="manage_access" display="lg" />
- <p class="hint-tooltip">Manage permissions</p>
+ <p class="hint-tooltip">{{ t('nodes.actions.managePermissions') }}</p>
</NuxtLink>
<NuxtLink v-if="nodeStore.hasPermissions(doc, 3)" class="btn-icon" @click="openDeleteModal">
<Icon name="delete" display="lg" />
- <p class="hint-tooltip">Delete</p>
+ <p class="hint-tooltip">{{ t('common.actions.delete') }}</p>
</NuxtLink>
</span>
</template>
@@ -51,6 +51,7 @@ import type { Node } from '~/stores';
const props = defineProps<{ doc: Node; isPublic?: boolean }>();
const nodeStore = useNodesStore();
+const { t } = useI18nT();
const print = () => window.print();
const openDeleteModal = () =>
diff --git a/frontend/app/components/Node/Filter.vue b/frontend/app/components/Node/Filter.vue
index cad29f3a..379e1865 100644
--- a/frontend/app/components/Node/Filter.vue
+++ b/frontend/app/components/Node/Filter.vue
@@ -2,15 +2,15 @@
<div ref="root" class="filter-component">
<div class="btn-icon" @click="toggle" @keydown.enter.prevent="toggle">
<Icon name="filter" display="lg" />
- <p class="hint-tooltip">Filter nodes</p>
+ <p class="hint-tooltip">{{ t('nodes.filter.title') }}</p>
<span v-if="filtered.length != nodes?.length" class="bubble"></span>
</div>
<Transition name="pop">
- <div v-if="opened" class="filter-panel" role="dialog" aria-label="Filter nodes" @keydown.esc.prevent="close">
+ <div v-if="opened" class="filter-panel" role="dialog" :aria-label="t('nodes.filter.title')" @keydown.esc.prevent="close">
<!-- Search -->
<div>
- <label>Search</label>
+ <label>{{ t('common.actions.search') }}</label>
<input ref="inputRef" v-model="options.query" />
</div>
@@ -18,31 +18,32 @@
<div class="row">
<label class="row">
<input v-model="options.sortType" type="radio" value="ascending" />
- <span>Ascending</span>
+ <span>{{ t('common.filter.ascending') }}</span>
</label>
<label class="row">
<input v-model="options.sortType" type="radio" value="descending" />
- <span>Descending</span>
+ <span>{{ t('common.filter.descending') }}</span>
</label>
</div>
<div class="row">
<div style="flex: 1">
- <label>Sort</label>
+ <label>{{ t('common.filter.sort') }}</label>
<AppSelect v-model="options.sortBy" :items="SORT_OPTIONS" />
</div>
<div>
- <label>Match</label>
+ <label>{{ t('common.filter.match') }}</label>
<AppSelect v-model="options.matchMode" :items="MATCH_OPTIONS" size="125px" class="select" />
</div>
</div>
<div class="panel-actions">
- <button class="btn" type="button" @click="reset">Reset</button>
+ <button class="btn" type="button" @click="reset">{{ t('common.actions.reset') }}</button>
</div>
<div class="panel-footer">
- <small>{{ filtered.length }} / {{ nodes?.length }} nodes match</small> <small>• <kbd>esc</kbd> to close</small>
+ <small>{{ t('nodes.filter.footer', { count: filtered.length, total: props.nodes.length }) }}</small>
+ <small>• <kbd>esc</kbd> {{ t('nodes.filter.toClose') }}</small>
</div>
</div>
</Transition>
@@ -62,6 +63,7 @@ const defaultOptions: SearchOptions = {
sortBy: 'created',
matchMode: 'includes',
};
+const { t } = useI18nT();
const store = useNodesStore();
const options = ref({ ...defaultOptions });
const opened = ref<boolean>(false);
@@ -155,6 +157,10 @@ onBeforeUnmount(() => {
justify-content: space-around;
}
+kbd {
+ padding: 2px 4px;
+}
+
label {
font-size: 13px;
margin-bottom: 6px;
diff --git a/frontend/app/components/Node/Modals/CreateCategory.vue b/frontend/app/components/Node/Modals/CreateCategory.vue
index 928163bd..6871b8bd 100644
--- a/frontend/app/components/Node/Modals/CreateCategory.vue
+++ b/frontend/app/components/Node/Modals/CreateCategory.vue
@@ -1,25 +1,25 @@
<template>
<div class="modal">
- <h2>New {{ role == 1 ? 'workspace' : 'category' }}</h2>
- <label for="name">Name</label>
- <input id="name" v-model="category.name" class="entry" type="text" required placeholder="Display name" />
- <label>Parent</label>
+ <h2>{{ role == 1 ? t('nodes.workspace.new') : t('nodes.category.new') }}</h2>
+ <label for="name">{{ t('common.labels.name') }}</label>
+ <input id="name" v-model="category.name" class="entry" type="text" required :placeholder="t('common.labels.name')" />
+ <label>{{ t('common.labels.parent') }}</label>
<div>
- <AppSelect v-model="category.parent_id" class="entry" :items="categoriesItem" nullable placeholder="Select a category parent" />
+ <AppSelect v-model="category.parent_id" class="entry" :items="categoriesItem" nullable :placeholder="t('common.labels.parent')" />
</div>
<div style="display: flex; flex-wrap: wrap">
<div style="min-width: 200px; flex: 1; margin-right: 10px">
- <label for="order">Category order <AppHint text="Order of the category in the sidebar" /></label>
+ <label for="order">{{ t('common.labels.order') }} <AppHint :text="t('nodes.category.orderHint')" /></label>
<input id="order" v-model.number="category.order" class="entry" type="number" placeholder="0" />
</div>
<div style="min-width: 200px; flex: 1; margin-left: 10px">
- <label for="color">Color</label>
+ <label for="color">{{ t('common.labels.color') }}</label>
<AppColorPicker id="color" v-model="category.color" class="entry" nullable />
</div>
</div>
<div class="footer">
- <AppButton type="secondary" @click="emit('close')">Cancel</AppButton>
- <AppButton type="primary" @click="createCategory">Create</AppButton>
+ <AppButton type="secondary" @click="emit('close')">{{ t('common.actions.cancel') }}</AppButton>
+ <AppButton type="primary" @click="createCategory">{{ t('common.actions.create') }}</AppButton>
</div>
</div>
</template>
@@ -29,6 +29,7 @@ import type { Node } from '~/stores';
const props = defineProps<{ role: 1 | 2 }>();
const emit = defineEmits(['close']);
+const { t } = useI18nT();
const categoriesStore = useNodesStore();
@@ -49,20 +50,20 @@ function getDefaultParentId() {
}
const category = ref<Partial<Node>>({
- name: '',
- role: props.role,
accessibility: 1,
+ name: '',
parent_id: getDefaultParentId(),
+ role: props.role,
});
const createCategory = () => {
categoriesStore
.post(category.value)
.then(() => {
- useNotifications().add({ type: 'success', title: 'Category successfully created' });
+ useNotifications().add({ title: t('nodes.category.notifications.created'), type: 'success' });
emit('close');
})
- .catch(e => useNotifications().add({ type: 'error', title: 'Error during creation ', message: e }));
+ .catch(e => useNotifications().add({ message: e, title: t('nodes.category.notifications.creationError'), type: 'error' }));
};
</script>
diff --git a/frontend/app/components/Node/Modals/Delete.vue b/frontend/app/components/Node/Modals/Delete.vue
index 5170c5a9..dece17e1 100644
--- a/frontend/app/components/Node/Modals/Delete.vue
+++ b/frontend/app/components/Node/Modals/Delete.vue
@@ -2,28 +2,28 @@
<div class="modal">
<!-- Single node deletion -->
<template v-if="props.node">
- <h3>Delete {{ nodeType }} • {{ props.node.name }}</h3>
- <p>Are you sure you want to delete this {{ nodeType }}?</p>
- <p v-if="allChildren.length > 0" class="warn">This {{ nodeType }} has {{ allChildren.length }} child documents. They will be deleted too.</p>
+ <h3>{{ t('nodes.modals.delete.title', { type: nodeType }) }} • {{ props.node.name }}</h3>
+ <p>{{ t('nodes.modals.delete.confirm', { type: nodeType }) }}</p>
+ <p v-if="allChildren.length > 0" class="warn">{{ t('nodes.modals.delete.hasChildren', { type: nodeType, count: allChildren.length }) }}</p>
</template>
<!-- Bulk deletion -->
<template v-else-if="props.nodes">
- <h3>Delete {{ props.nodes.length > 1 ? 'nodes' : 'node' }}</h3>
+ <h3>{{ t('nodes.modals.delete.titleBulk') }}</h3>
<p>
- Are you sure you want to delete the selected {{ props.nodes.length > 1 ? 'nodes' : 'node' }}?
+ {{ t('nodes.modals.delete.confirmBulk') }}
<br />
<span v-if="props.nodes.length > 1">
- This action will delete <strong>{{ props.nodes.length }}</strong> nodes.
+ {{ t('nodes.modals.delete.bulkCount', { count: props.nodes.length }) }}
</span>
</p>
</template>
- <p class="description">This action is irreversible</p>
+ <p class="description">{{ t('nodes.modals.delete.irreversible') }}</p>
<div class="footer">
- <AppButton type="secondary" @click="emit('close')">Cancel</AppButton>
- <AppButton type="danger" @click="handleDelete">Confirm</AppButton>
+ <AppButton type="secondary" @click="emit('close')">{{ t('common.actions.cancel') }}</AppButton>
+ <AppButton type="danger" @click="handleDelete">{{ t('common.actions.confirm') }}</AppButton>
</div>
</div>
</template>
@@ -39,6 +39,7 @@ const props = defineProps<{
}>();
const emit = defineEmits(['close']);
+const { t } = useI18nT();
const store = useNodesStore();
const nodesTree = useNodesTree();
diff --git a/frontend/app/components/Node/Modals/Metadata.vue b/frontend/app/components/Node/Modals/Metadata.vue
index ff9e2008..6bb4f71d 100644
--- a/frontend/app/components/Node/Modals/Metadata.vue
+++ b/frontend/app/components/Node/Modals/Metadata.vue
@@ -1,40 +1,40 @@
<!-- This components is a modal for advanced editing document metadata -->
<template>
<div class="modal-content">
- <h2>Metadata</h2>
+ <h2>{{ t('nodes.modals.metadata.title') }}</h2>
<form @submit.prevent>
<template v-if="node.role == 1 || node.role == 2">
- <label for="category">Name</label>
+ <label for="category">{{ t('common.labels.name') }}</label>
<input id="category" v-model="node.name" />
- <label>Role</label>
+ <label>{{ t('common.labels.role') }}</label>
<AppRadio v-model="node.role" :items="CATEGORY_ROLES" />
</template>
<template v-if="node.role == 3">
- <label for="category">Theme</label>
- <AppSelect v-model="node.theme" :items="DOCUMENT_THEMES" placeholder="Select theme" />
+ <label for="category">{{ t('settings.documents.theme') }}</label>
+ <AppSelect v-model="node.theme" :items="DOCUMENT_THEMES" :placeholder="t('settings.documents.theme')" />
</template>
- <label for="icon">Emoji or icon <AppHint text="SVG or emojis supported" /></label>
+ <label for="icon">{{ t('nodes.modals.metadata.emojiOrIcon') }} <AppHint :text="t('nodes.modals.metadata.emojiOrIconHint')" /></label>
<textarea id="icon" v-model="node.icon"></textarea>
<template v-if="node.role == 3">
- <label for="thumbnail">Thumbnail <AppHint text="SVG supported" /></label>
+ <label for="thumbnail">{{ t('nodes.modals.metadata.thumbnail') }} <AppHint :text="t('nodes.modals.metadata.thumbnailHint')" /></label>
<textarea id="thumbnail" v-model="node.thumbnail"></textarea>
<div class="inline-input">
- <label for="pinned">Pinned</label>
+ <label for="pinned">{{ t('common.labels.pinned') }}</label>
<AppToggle id="pinned" v-model="pinnedToggle" />
</div>
</template>
- <label for="parent">Parent</label>
+ <label for="parent">{{ t('common.labels.parent') }}</label>
<AppSelect
v-model="node.parent_id"
:items="parentsTree"
- placeholder="Select a parent"
+ :placeholder="t('common.labels.parent')"
nullable
:disabled="i => i.id == node.id || nodeStore.isDescendant(node, i.id as string)"
/>
<div class="inline-input">
- <label for="accessibility">Color</label>
+ <label for="accessibility">{{ t('common.labels.color') }}</label>
<AppColorPicker v-model="node.color" nullable />
</div>
</form>
@@ -46,6 +46,7 @@ import { DOCUMENT_THEMES, CATEGORY_ROLES } from '~/helpers/constants';
import type { Node } from '~/stores';
const props = defineProps<{ doc: Node }>();
+const { t } = useI18nT();
const nodeStore = useNodesStore();
const nodesTree = useNodesTree();
diff --git a/frontend/app/components/Node/Modals/Permissions.vue b/frontend/app/components/Node/Modals/Permissions.vue
index a77e77ef..44c8894a 100644
--- a/frontend/app/components/Node/Modals/Permissions.vue
+++ b/frontend/app/components/Node/Modals/Permissions.vue
@@ -1,29 +1,29 @@
<template>
<div v-if="node" class="modal-content">
- <h2 class="title"><Icon name="manage_access" display="lg" /> Manage permissions</h2>
+ <h2 class="title"><Icon name="manage_access" display="lg" /> {{ t('nodes.modals.permissions.title') }}</h2>
- <label for="accessibility">General access</label>
+ <label for="accessibility">{{ t('nodes.modals.permissions.generalAccess') }}</label>
<AppRadio v-model="node.accessibility" :items="DOCUMENT_ACCESSIBILITIES" placeholder="Accessibility" />
<!-- Accessibility 3: Public document -->
<div v-if="node.accessibility === 3" class="public-info">
- <p class="info-text">This document will be publicly accessible via a unique URL.</p>
+ <p class="info-text">{{ t('nodes.modals.permissions.publicInfo') }}</p>
<p class="info-text">
- Share this link to allow anyone to view the document without needing an account:
+ {{ t('nodes.modals.permissions.shareLink') }}
<br />
<a :href="link" target="_blank" rel="noopener noreferrer" class="public-link">
<Icon name="new_tab" display="sm" fill="var(--text-secondary)" /><span>{{ link }}</span>
</a>
</p>
<div class="access">
- <p for="access">Default permission for new users</p>
+ <p for="access">{{ t('nodes.modals.permissions.defaultPermission') }}</p>
<AppSelect v-model="node.access" :items="DOCUMENT_GENERAL_ACCESS" :searchable="false" size="150px" placeholder="Default" />
</div>
</div>
<!-- Search + add -->
<form @submit.prevent>
- <label for="user">Search user</label>
- <input id="user" v-model="query" placeholder="Username or email" autocomplete="off" />
+ <label for="user">{{ t('nodes.modals.permissions.searchUser') }}</label>
+ <input id="user" v-model="query" :placeholder="t('nodes.modals.permissions.searchPlaceholder')" autocomplete="off" />
<div v-for="user in users" :key="user.id" class="user-card">
<div class="user-info-row">
@@ -33,7 +33,7 @@
</span>
<div class="user-actions">
<AppSelect v-model="selectedPermission" :items="NODE_PERMISSIONS" :searchable="false" size="200px" />
- <button @click="addPermission(user)">Add</button>
+ <button @click="addPermission(user)">{{ t('nodes.modals.permissions.addPermission') }}</button>
</div>
</div>
</div>
@@ -42,8 +42,8 @@
</form>
<!-- Current permissions -->
- <label for="permissions">Manage permissions</label>
- <p v-if="!node?.permissions.length" class="info-secondary">No permissions set</p>
+ <label for="permissions">{{ t('nodes.modals.permissions.managePermissions') }}</label>
+ <p v-if="!node?.permissions.length" class="info-secondary">{{ t('nodes.modals.permissions.noPermissions') }}</p>
<ul id="permissions" class="permissions-list">
<li v-for="perm in node.permissions" :key="perm.id" class="permission-item">
<div class="user-info-row">
@@ -56,7 +56,11 @@
<AppSelect v-model="perm.permission" :items="NODE_PERMISSIONS" :searchable="false" size="250px" @update:model-value="updatePermission(perm)">
<template #list-footer>
<hr />
- <AppSelectNode :level="0" :node="{ id: `$rm-${perm.id}`, label: 'Remove permission' }" @select="removePermission(perm)" />
+ <AppSelectNode
+ :level="0"
+ :node="{ id: `$rm-${perm.id}`, label: t('nodes.modals.permissions.removePermission') }"
+ @select="removePermission(perm)"
+ />
</template>
</AppSelect>
</div>
@@ -71,6 +75,7 @@ import { DOCUMENT_ACCESSIBILITIES, DOCUMENT_GENERAL_ACCESS, NODE_PERMISSIONS } f
import type { Node, Permission, PublicUser } from '~/stores';
const props = defineProps<{ node: Node }>();
+const { t } = useI18nT();
const usersStore = useUserStore();
const nodesStore = useNodesStore();
@@ -110,7 +115,7 @@ const searchUsers = debounce((query: unknown) => {
})
.catch(() => {
users.value = [];
- searchError.value = 'No results found';
+ searchError.value = t('nodes.modals.permissions.noResults');
})
.finally(() => (isLoading.value = false));
}, 750);
diff --git a/frontend/app/components/Node/Modals/RemoveShared.vue b/frontend/app/components/Node/Modals/RemoveShared.vue
index a1d82131..a280777d 100644
--- a/frontend/app/components/Node/Modals/RemoveShared.vue
+++ b/frontend/app/components/Node/Modals/RemoveShared.vue
@@ -1,12 +1,12 @@
<template>
<div class="modal">
- <h3>Remove this document</h3>
- <p>Are you sure you want to remove this document?</p>
- <p style="opacity: 0.7">After this action, you will no longer have access to this document.</p>
- <p v-if="allChildren.length > 0" class="warn">This document has {{ allChildren.length }} child documents. They will be removed too.</p>
+ <h3>{{ t('nodes.modals.removeShared.title') }}</h3>
+ <p>{{ t('nodes.modals.removeShared.confirm') }}</p>
+ <p style="opacity: 0.7">{{ t('nodes.modals.removeShared.noAccess') }}</p>
+ <p v-if="allChildren.length > 0" class="warn">{{ t('nodes.modals.removeShared.childWarning', { count: allChildren.length }) }}</p>
<div class="footer">
- <AppButton type="secondary" @click="emit('close')">Cancel</AppButton>
- <AppButton type="danger" @click="removeDoc">Confirm</AppButton>
+ <AppButton type="secondary" @click="emit('close')">{{ t('common.actions.cancel') }}</AppButton>
+ <AppButton type="danger" @click="removeDoc">{{ t('common.actions.confirm') }}</AppButton>
</div>
</div>
</template>
@@ -15,6 +15,7 @@
const props = defineProps<{ nodeId: string }>();
const emit = defineEmits(['close']);
+const { t } = useI18nT();
const nodesTree = useNodesTree();
const allChildren = nodesTree.getSubtreeAsArray(props.nodeId);
@@ -22,11 +23,11 @@ const removeDoc = () => {
useNodesStore()
.removePermission(props.nodeId, useUserStore().user!.id)
.then(() => {
- useNotifications().add({ type: 'success', title: 'Document removed' });
+ useNotifications().add({ type: 'success', title: t('nodes.modals.removeShared.success') });
emit('close');
useRouter().push('/dashboard');
})
- .catch(e => useNotifications().add({ type: 'error', title: 'Error', message: e }));
+ .catch(e => useNotifications().add({ type: 'error', title: t('common.errors.generic'), message: e }));
};
</script>
diff --git a/frontend/app/components/Node/TOC/TOC.vue b/frontend/app/components/Node/TOC/TOC.vue
index 29fc4ae2..6cb81537 100644
--- a/frontend/app/components/Node/TOC/TOC.vue
+++ b/frontend/app/components/Node/TOC/TOC.vue
@@ -1,18 +1,18 @@
<template>
<aside>
- <h4 v-if="doc?.tags">Tags</h4>
+ <h4 v-if="doc?.tags">{{ t('nodes.tags') }}</h4>
<div v-if="doc?.tags" style="display: flex; font-size: 14px; flex-wrap: wrap">
<tag v-for="tag in doc?.tags.split(',')" :key="tag" class="primary">#{{ tag.trim() }}</tag>
</div>
<ul ref="list" style="position: relative">
<div v-if="headers.length" ref="marker" class="marker" />
- <h4>Table of contents</h4>
+ <h4>{{ t('nodes.document.TOC') }}</h4>
<div v-if="headers.length">
<NodeTOCLevel v-for="header of headers_tree" :key="header.link" :node="header" style="padding-left: 10px" />
</div>
- <p v-else>Nothing to display</p>
+ <p v-else>{{ t('common.nothing') }}</p>
</ul>
- <h4 v-if="childs.length">Child documents</h4>
+ <h4 v-if="childs.length">{{ t('nodes.document.childs') }}</h4>
<NuxtLink v-for="child in childs" :key="child.id" :to="`/dashboard/docs/${child.id}`" class="child-link">
<Icon name="file_shortcut" fill="var(--primary)" />{{ child.data.name as string }}
</NuxtLink>
@@ -23,6 +23,8 @@
import type { Node } from '~/stores';
import type { TreeItem as NodeTreeItem } from '~/helpers/TreeBuilder';
+const { t } = useI18nT();
+
const props = defineProps<{ element?: HTMLElement; doc?: Node }>();
const list = ref<HTMLElement>();
diff --git a/frontend/app/components/SessionCard.vue b/frontend/app/components/SessionCard.vue
index f6f2c3f3..e15e1fd7 100644
--- a/frontend/app/components/SessionCard.vue
+++ b/frontend/app/components/SessionCard.vue
@@ -9,17 +9,17 @@
<div class="session-title">
<span class="browser">{{ parsedUserAgent.browser }}</span>
<span class="os">on {{ parsedUserAgent.os }}</span>
- <span v-if="isCurrent" class="badge current">Current</span>
- <span v-else-if="!session.active" class="badge inactive">Inactive</span>
+ <span v-if="isCurrent" class="badge current">{{ t('components.sessionCard.current') }}</span>
+ <span v-else-if="!session.active" class="badge inactive">{{ t('components.sessionCard.inactive') }}</span>
</div>
<div class="session-meta">
<span class="meta-item">
<Icon name="location" display="xsm" />
- {{ session.location || 'Unknown location' }}
+ {{ session.location || t('components.sessionCard.unknownLocation') }}
</span>
<span class="meta-item">
<Icon name="internet" display="xsm" />
- {{ session.ip_adress || 'Unknown IP' }}
+ {{ session.ip_adress || t('components.sessionCard.unknownIP') }}
</span>
</div>
</div>
@@ -28,22 +28,22 @@
<div class="session-details">
<div class="detail-row">
<div class="detail-item">
- <span class="detail-label">Login</span>
+ <span class="detail-label">{{ t('components.sessionCard.login') }}</span>
<span class="detail-value">{{ numericDate(session.login_timestamp) }}</span>
</div>
<div class="detail-item">
- <span class="detail-label">Last activity</span>
+ <span class="detail-label">{{ t('components.sessionCard.lastActivity') }}</span>
<span class="detail-value">{{ formatRelativeDate(session.last_refresh_timestamp) }}</span>
</div>
<div v-if="session.logout_timestamp" class="detail-item">
- <span class="detail-label">Logged out</span>
+ <span class="detail-label">{{ t('components.sessionCard.loggedOut') }}</span>
<span class="detail-value">{{ numericDate(session.logout_timestamp) }}</span>
</div>
</div>
</div>
<div v-if="showUserAgent && session.user_agent" class="session-user-agent">
- <span class="user-agent-label">User agent</span>
+ <span class="user-agent-label">{{ t('components.sessionCard.userAgent') }}</span>
<code class="user-agent-value">{{ session.user_agent }}</code>
</div>
</div>
@@ -52,6 +52,8 @@
<script setup lang="ts">
import { parseUserAgent } from '~/helpers/utils';
+const { t } = useI18nT();
+
export interface Session {
id: string;
user_id: string;
diff --git a/frontend/app/components/Sidebar/Sidebar.vue b/frontend/app/components/Sidebar/Sidebar.vue
index 9d105a18..6cb867fb 100644
--- a/frontend/app/components/Sidebar/Sidebar.vue
+++ b/frontend/app/components/Sidebar/Sidebar.vue
@@ -10,7 +10,7 @@
</span>
<IconClose class="btn" />
</section>
- <input v-model="filter" type="text" placeholder="Search or ctrl + q" />
+ <input v-model="filter" type="text" :placeholder="t('components.sidebar.searchPlaceholder')" />
<div v-if="userStore.user" class="user">
<img :src="avatarURL(userStore.user)" alt="Avatar" class="avatar" />
@@ -22,23 +22,23 @@
<div class="icons">
<NuxtLink to="/dashboard/docs/new" class="nav-item" :prefetch="false" @click="onClick">
<Icon name="add_file" />
- <p class="hint-tooltip">New doc</p>
+ <p class="hint-tooltip">{{ t('components.sidebar.newDoc') }}</p>
</NuxtLink>
<NuxtLink class="nav-item" @click="newCategory">
<Icon name="add_folder" />
- <p class="hint-tooltip">New category</p>
+ <p class="hint-tooltip">{{ t('components.sidebar.newCategory') }}</p>
</NuxtLink>
<NuxtLink v-if="!nodesTree.isAllCollapsed()" class="nav-item" @click.stop="nodesTree.collapseAll">
<Icon name="collapse" />
- <p class="hint-tooltip">Close all</p>
+ <p class="hint-tooltip">{{ t('components.sidebar.closeAll') }}</p>
</NuxtLink>
<NuxtLink v-else class="nav-item" @click.stop="nodesTree.expandAll">
<Icon name="arrow-expand" />
- <p class="hint-tooltip">Open all</p>
+ <p class="hint-tooltip">{{ t('components.sidebar.openAll') }}</p>
</NuxtLink>
<NuxtLink class="nav-item" @click="toggleDock">
<Icon name="dock" />
- <p class="hint-tooltip">Toggle dock</p>
+ <p class="hint-tooltip">{{ t('components.sidebar.toggleDock') }}</p>
</NuxtLink>
</div>
</div>
@@ -71,6 +71,7 @@ import { filterTreeByLabel } from '~/helpers/TreeBuilder';
const nodesStore = useNodesStore();
const preferences = usePreferences();
const userStore = useUserStore();
+const { t } = useI18nT();
const nodesTree = useNodesTree();
const { isOpened, hasSidebar, filtered } = useSidebar();
diff --git a/frontend/app/components/Sidebar/SidebarItem.vue b/frontend/app/components/Sidebar/SidebarItem.vue
index 56a17139..c6769907 100644
--- a/frontend/app/components/Sidebar/SidebarItem.vue
+++ b/frontend/app/components/Sidebar/SidebarItem.vue
@@ -12,8 +12,8 @@
>
<Icon :fill="item.data.role == 3 ? 'var(--pink) !important' : undefined" :name="icon" :class="customClass" />&nbsp;
- <NuxtLink v-if="item.onClick" class="close content" @click="item.onClick">{{ item.label }}</NuxtLink>
- <NuxtLink v-else :to="item.route" class="close content">{{ item.label }}</NuxtLink>
+ <NuxtLink v-if="item.onClick" class="close content" @click="item.onClick">{{ item.data.role == -1 ? t(item.label) : item.label }}</NuxtLink>
+ <NuxtLink v-else :to="item.route" class="close content">{{ item.data.role == -1 ? t(item.label) : item.label }}</NuxtLink>
<Icon v-if="item.data.shared && level === 0" name="shared" fill="var(--text-secondary)" />
@@ -29,10 +29,13 @@
</template>
<script setup lang="ts">
+import type { Node } from '~/stores';
+
import NodeContextMenu from '~/components/Node/Action/ContextMenu.vue';
+
import { navigationItems, type SidebarItem, getItemChildren } from './helpers';
-import type { Node } from '~/stores';
+const { t } = useI18n();
const nodesStore = useNodesStore();
const { isOpened, workspaceId } = useSidebar();
const { getAppAccent } = useAppColors();
@@ -66,7 +69,7 @@ const onClick = (m: MouseEvent) => {
function showContextMenu(event: MouseEvent) {
if (props.item.data.role === -1) return; // Prevent context menu on nav items
contextMenu.open(shallowRef(NodeContextMenu), event, {
- props: { node: props.item.data as Node, contextMenu: true },
+ props: { contextMenu: true, node: props.item.data as Node },
});
}
diff --git a/frontend/app/components/Sidebar/SidebarWorkspaces.vue b/frontend/app/components/Sidebar/SidebarWorkspaces.vue
index d97285b2..5c706335 100644
--- a/frontend/app/components/Sidebar/SidebarWorkspaces.vue
+++ b/frontend/app/components/Sidebar/SidebarWorkspaces.vue
@@ -13,15 +13,15 @@
<SidebarWorkspace :option="shared_workspaces" />
</li>
<hr />
- <span class="workspaces-label">Workspaces</span>
+ <span class="workspaces-label">{{ t('components.sidebar.workspaces') }}</span>
<li v-for="option in options" :key="option.meta?.id" :class="{ selected: option.value === workspaceId }" @click="selectOption(option)">
<SidebarWorkspace :option="option" />
</li>
- <div v-if="!options.length" class="placeholder">No workspaces found</div>
+ <div v-if="!options.length" class="placeholder">{{ t('components.sidebar.noWorkspaces') }}</div>
<hr />
- <div class="new-workspace" @click="create_workspace"><Icon name="plus" fill="var(--text-secondary)" /> New Workspace</div>
+ <div class="new-workspace" @click="create_workspace"><Icon name="plus" fill="var(--text-secondary)" /> {{ t('components.sidebar.newWorkspace') }}</div>
<NuxtLink :to="`/dashboard/categories/${selectedOption.value}/edit`" class="new-workspace"
- ><Icon name="settings" fill="var(--text-secondary)" /> Edit Workspace</NuxtLink
+ ><Icon name="settings" fill="var(--text-secondary)" /> {{ t('components.sidebar.editWorkspace') }}</NuxtLink
>
</ul>
</div>
@@ -32,10 +32,11 @@ import NewCategoryModal from '~/components/Node/Modals/CreateCategory.vue';
import type { Workspace } from './helpers';
+const { t } = useI18nT();
const { workspaceId } = useSidebar();
const props = defineProps<{ options: Workspace[] }>();
-const all_workspaces = ref({ text: 'All Workspaces', value: undefined, meta: { color: -1 } });
-const shared_workspaces = ref({ text: 'Shared with me', value: 'shared', meta: { color: -1, icon: 'users' } });
+const all_workspaces = computed(() => ({ text: t('components.sidebar.allWorkspaces'), value: undefined, meta: { color: -1 } }));
+const shared_workspaces = computed(() => ({ text: t('components.sidebar.sharedWithMe'), value: 'shared', meta: { color: -1, icon: 'users' } }));
watch(
() => props.options,
opts => {
diff --git a/frontend/app/components/Sidebar/helpers.ts b/frontend/app/components/Sidebar/helpers.ts
index 9909793e..5c724391 100644
--- a/frontend/app/components/Sidebar/helpers.ts
+++ b/frontend/app/components/Sidebar/helpers.ts
@@ -1,14 +1,9 @@
-import SettingsModal from '~/pages/dashboard/settings/modal.vue';
-import type { Node } from '~/stores';
import type { TreeItem } from '~/helpers/TreeBuilder';
+import type { Node } from '~/stores';
+
+import SettingsModal from '~/pages/dashboard/settings/modal.vue';
export interface NavigationItem {
- id: string;
- parent_id?: string;
- label: string;
- route: string;
- icon: string;
- onClick?: () => void;
data: {
id: string;
role: number;
@@ -18,13 +13,19 @@ export interface NavigationItem {
shared: boolean;
order?: number;
};
+ icon: string;
+ id: string;
+ label: string;
+ onClick?: () => void;
+ parent_id?: string;
+ route: string;
show: Ref<boolean>;
}
export type DefaultItem = NavigationItem;
// Type union for sidebar items
-export type SidebarItem = TreeItem<Node> | NavigationItem;
+export type SidebarItem = NavigationItem | TreeItem<Node>;
// Helper to get children of a sidebar item with type safety
export function getItemChildren(item: SidebarItem): SidebarItem[] | undefined {
@@ -39,127 +40,127 @@ export function isItemVisible(item: SidebarItem): boolean {
}
export interface Workspace {
+ meta?: Partial<Node>;
text: string;
value?: string;
- meta?: Partial<Node>;
}
const { isMobile } = useDevice();
const sidebarItemsPrefs = usePreferences().get('sidebarItems');
export const navigationItems: DefaultItem[] = [
{
- id: 'home',
- parent_id: '',
- label: 'Home',
- route: '/dashboard/home',
- icon: 'dashboard',
data: {
- id: 'home',
- role: -1,
- name: 'Home',
icon: 'dashboard',
+ id: 'home',
+ name: 'components.sidebar.nav.home',
permissions: [],
+ role: -1,
shared: false,
},
+ icon: 'dashboard',
+ id: 'home',
+ label: 'components.sidebar.nav.home',
+ parent_id: '',
+ route: '/dashboard/home',
show: computed(() => sidebarItemsPrefs.value.home!),
},
{
- id: 'manage-categories',
- parent_id: '',
- label: 'Manage categories',
- route: '/dashboard/categories',
- icon: 'categories',
data: {
- id: 'manage-categories',
- role: -1,
- name: 'Manage categories',
icon: 'categories',
+ id: 'manage-categories',
+ name: 'components.sidebar.nav.manageCategories',
permissions: [],
+ role: -1,
shared: false,
},
+ icon: 'categories',
+ id: 'manage-categories',
+ label: 'components.sidebar.nav.manageCategories',
+ parent_id: '',
+ route: '/dashboard/categories',
show: computed(() => sidebarItemsPrefs.value.manageCategories!),
},
{
- id: 'cdn',
- parent_id: '',
- label: 'CDN',
- route: '/dashboard/cdn',
- icon: 'cdn',
data: {
- id: 'cdn',
- role: -1,
- name: 'CDN',
icon: 'cdn',
+ id: 'cdn',
+ name: 'components.sidebar.nav.cdn',
permissions: [],
+ role: -1,
shared: false,
},
+ icon: 'cdn',
+ id: 'cdn',
+ label: 'components.sidebar.nav.cdn',
+ parent_id: '',
+ route: '/dashboard/cdn',
show: computed(() => sidebarItemsPrefs.value.cdn!),
},
{
- id: 'settings',
- parent_id: '',
- label: 'Settings',
- route: '',
- icon: 'user_settings',
- onClick: () => {
- if (isMobile.value) useRouter().push('/dashboard/settings');
- else useModal().add(new Modal(shallowRef(SettingsModal), { props: {}, size: 'large', noPadding: true }));
- },
data: {
- id: 'settings',
- role: -1,
- name: 'Settings',
icon: 'user_settings',
+ id: 'settings',
+ name: 'components.sidebar.nav.settings',
permissions: [],
+ role: -1,
shared: false,
},
+ icon: 'user_settings',
+ id: 'settings',
+ label: 'components.sidebar.nav.settings',
+ onClick: () => {
+ if (isMobile.value) useRouter().push('/dashboard/settings');
+ else useModal().add(new Modal(shallowRef(SettingsModal), { noPadding: true, props: {}, size: 'large' }));
+ },
+ parent_id: '',
+ route: '',
show: computed(() => sidebarItemsPrefs.value.settings!),
},
{
- id: 'documents',
- parent_id: '',
- label: 'Documents',
- route: '/dashboard/docs',
- icon: 'files',
data: {
- id: 'documents',
- role: -1,
- name: 'Documents',
icon: 'files',
+ id: 'documents',
+ name: 'components.sidebar.nav.documents',
permissions: [],
+ role: -1,
shared: false,
},
+ icon: 'files',
+ id: 'documents',
+ label: 'components.sidebar.nav.documents',
+ parent_id: '',
+ route: '/dashboard/docs',
show: computed(() => sidebarItemsPrefs.value.documents!),
},
{
- id: 'importations',
- parent_id: '',
- label: 'Importations',
- route: '/dashboard/import',
- icon: 'import',
data: {
- id: 'import',
- role: -1,
- name: 'Import',
icon: 'import',
+ id: 'import',
+ name: 'components.sidebar.nav.imports',
permissions: [],
+ role: -1,
shared: false,
},
+ icon: 'import',
+ id: 'importations',
+ label: 'components.sidebar.nav.imports',
+ parent_id: '',
+ route: '/dashboard/import',
show: computed(() => sidebarItemsPrefs.value.importation!),
},
{
- id: 'new-page',
- parent_id: '',
- label: 'New Page',
- route: '/dashboard/docs/new',
- icon: 'add_file',
data: {
- id: 'new-page',
- role: -1,
- name: 'New Page',
icon: 'add_file',
+ id: 'new-page',
+ name: 'components.sidebar.nav.newPage',
permissions: [],
+ role: -1,
shared: false,
},
+ icon: 'add_file',
+ id: 'new-page',
+ label: 'components.sidebar.nav.newPage',
+ parent_id: '',
+ route: '/dashboard/docs/new',
show: computed(() => sidebarItemsPrefs.value.newPage!),
},
];
diff --git a/frontend/app/components/ViewSelection.vue b/frontend/app/components/ViewSelection.vue
index 1720e8d2..65a01f11 100644
--- a/frontend/app/components/ViewSelection.vue
+++ b/frontend/app/components/ViewSelection.vue
@@ -1,13 +1,14 @@
<template>
<div class="view-selection">
- <button v-for="option in viewOptions" :key="option.value" :class="{ active: view === option.value }" :title="option.label" @click="view = option.value">
+ <button v-for="option in viewOptions" :key="option.value" :class="{ active: view === option.value }" @click="view = option.value">
<Icon :name="option.icon" />
+ <p class="hint-tooltip">{{ option.label }}</p>
</button>
</div>
</template>
<script setup lang="ts">
-export type ViewMode = 'list' | 'table' | 'kanban';
+export type ViewMode = 'kanban' | 'list' | 'table';
const props = withDefaults(
defineProps<{
@@ -18,15 +19,16 @@ const props = withDefaults(
},
);
+const { t } = useI18nT();
const view = defineModel<ViewMode>();
const viewOptions = computed(() => {
const options = [
- { value: 'list' as ViewMode, icon: 'table', label: 'Grid view' },
- { value: 'table' as ViewMode, icon: 'list', label: 'List view' },
+ { icon: 'table', label: t('components.viewSelection.list'), value: 'list' as ViewMode },
+ { icon: 'list', label: t('components.viewSelection.table'), value: 'table' as ViewMode },
];
if (props.showKanban) {
- options.push({ value: 'kanban' as ViewMode, icon: 'kanban', label: 'Kanban view' });
+ options.push({ icon: 'kanban', label: t('components.viewSelection.kanban'), value: 'kanban' as ViewMode });
}
return options;
});
@@ -69,10 +71,15 @@ button {
align-items: center;
cursor: pointer;
justify-content: center;
+ position: relative;
&:hover {
color: var(--text-body);
background: var(--surface-base);
+ .hint-tooltip {
+ opacity: 1;
+ visibility: visible;
+ }
}
&.active > svg {
diff --git a/frontend/app/composables/useDateFormatters.ts b/frontend/app/composables/useDateFormatters.ts
index 4a8d635d..5e5e5878 100644
--- a/frontend/app/composables/useDateFormatters.ts
+++ b/frontend/app/composables/useDateFormatters.ts
@@ -1,72 +1,71 @@
-const locale = 'en-US';
+export const useDateFormatters = () => {
+ const { locale, t } = useI18nT();
-/** Format a timestamp to a readable date string (e.g., "15 Dec 2024") */
-function shortDate(timestamp: number | undefined): string {
- const date = new Date(timestamp || 0);
- return `${date.getDate()} ${date.toLocaleString('default', { month: 'short' })} ${date.getFullYear()}`;
-}
+ /** Format a timestamp to a readable date string (e.g., "15 Dec 2024") */
+ function shortDate(timestamp: number | undefined): string {
+ const date = new Date(timestamp || 0);
+ return `${date.getDate()} ${date.toLocaleString('default', { month: 'short' })} ${date.getFullYear()}`;
+ }
-/** Format a timestamp to a numeric date string (e.g., "12/15/2024") */
-function numericDate(timestamp?: number | string): string {
- return new Date(timestamp || '').toLocaleDateString(locale, {
- year: 'numeric',
- month: '2-digit',
- day: '2-digit',
- });
-}
+ /** Format a timestamp to a numeric date string (e.g., "12/15/2024") */
+ function numericDate(timestamp?: number | string): string {
+ return new Date(timestamp || '').toLocaleDateString(locale.value, {
+ year: 'numeric',
+ month: '2-digit',
+ day: '2-digit',
+ });
+ }
-/** Format a timestamp to a relative time string (e.g., "2h ago") */
-const relativeTime = (timestamp: number) => {
- const diff = Date.now() - timestamp;
- const minutes = Math.floor(diff / 60000);
- const hours = Math.floor(diff / 3600000);
- const days = Math.floor(diff / 86400000);
+ /** Format a timestamp to a relative time string (e.g., "2h ago") */
+ const relativeTime = (timestamp: number) => {
+ const diff = Date.now() - timestamp;
+ const minutes = Math.floor(diff / 60000);
+ const hours = Math.floor(diff / 3600000);
+ const days = Math.floor(diff / 86400000);
- // English version
- if (minutes < 1) return 'Just now';
- if (minutes < 60) return `${minutes}m ago`;
- if (hours < 24) return `${hours}h ago`;
- if (days === 1) return 'Yesterday';
- if (days < 7) return `${days} days ago`;
- return shortDate(timestamp);
-};
+ if (minutes < 1) return t('time.justNow');
+ if (minutes < 60) return t('time.minutesAgo', { count: minutes });
+ if (hours < 24) return t('time.hoursAgo', { count: hours });
+ if (days === 1) return t('time.yesterday');
+ if (days < 7) return t('time.daysAgo', { count: days });
+ return shortDate(timestamp);
+ };
-const formatRelativeDate = (timestamp?: number) => {
- if (!timestamp) return '';
- const now = Date.now();
- const diff = now - timestamp;
- const days = Math.floor(diff / (1000 * 60 * 60 * 24));
- if (days === 0) return 'today';
- if (days === 1) return 'yesterday';
- if (days < 7) return `${days} days ago`;
- if (days < 30) return `${Math.floor(days / 7)} weeks ago`;
- return new Date(timestamp).toLocaleDateString(locale, { month: 'short', day: 'numeric', year: 'numeric' });
-};
+ const formatRelativeDate = (timestamp?: number) => {
+ if (!timestamp) return '';
+ const now = Date.now();
+ const diff = now - timestamp;
+ const days = Math.floor(diff / (1000 * 60 * 60 * 24));
+ if (days === 0) return t('time.today');
+ if (days === 1) return t('time.yesterday');
+ if (days < 7) return t('time.daysAgo', { count: days });
+ if (days < 30) return t('time.weeksAgo', { count: Math.floor(days / 7) });
+ return new Date(timestamp).toLocaleDateString(locale.value, { month: 'short', day: 'numeric', year: 'numeric' });
+ };
-const shortDateLabel = (timestamp: number) => {
- const date = new Date(timestamp);
- const today = new Date();
- const yesterday = new Date(today);
- yesterday.setDate(yesterday.getDate() - 1);
+ const shortDateLabel = (timestamp: number) => {
+ const date = new Date(timestamp);
+ const today = new Date();
+ const yesterday = new Date(today);
+ yesterday.setDate(yesterday.getDate() - 1);
- if (date.toDateString() === today.toDateString()) return 'Today';
- if (date.toDateString() === yesterday.toDateString()) return 'Yesterday';
- return date.toLocaleDateString(locale, { weekday: 'long', day: 'numeric', month: 'long' });
-};
+ if (date.toDateString() === today.toDateString()) return t('time.today');
+ if (date.toDateString() === yesterday.toDateString()) return t('time.yesterday');
+ return date.toLocaleDateString(locale.value, { weekday: 'long', day: 'numeric', month: 'long' });
+ };
-const formatTime = (timestamp: number) => {
- return new Date(timestamp).toLocaleTimeString(locale, { hour: '2-digit', minute: '2-digit' });
-};
+ const formatTime = (timestamp: number) => {
+ return new Date(timestamp).toLocaleTimeString(locale.value, { hour: '2-digit', minute: '2-digit' });
+ };
-const todayFormatted = computed(() => {
- return new Date().toLocaleDateString(locale, {
- weekday: 'long',
- day: 'numeric',
- month: 'long',
+ const todayFormatted = computed(() => {
+ return new Date().toLocaleDateString(locale.value, {
+ weekday: 'long',
+ day: 'numeric',
+ month: 'long',
+ });
});
-});
-export const useDateFormatters = () => {
return {
shortDate,
numericDate,
diff --git a/frontend/app/composables/useI18n.ts b/frontend/app/composables/useI18n.ts
new file mode 100644
index 00000000..b5f8d1c2
--- /dev/null
+++ b/frontend/app/composables/useI18n.ts
@@ -0,0 +1,28 @@
+/* eslint-disable @typescript-eslint/unified-signatures */
+import { useI18n as _useI18n } from 'vue-i18n';
+
+import type { MessageSchema } from '../../i18n/i18n.config';
+
+/**
+ * Generate all valid dot-path keys from a nested message object type.
+ * e.g. { common: { actions: { create: string } } } → 'common.actions.create'
+ */
+type NestedKeyOf<T extends Record<string, unknown>, Prefix extends string = ''> = {
+ [K in keyof T & string]: T[K] extends Record<string, unknown> ? NestedKeyOf<T[K], `${Prefix}${K}.`> : `${Prefix}${K}`;
+}[keyof T & string];
+
+export type I18nKey = NestedKeyOf<MessageSchema>;
+
+interface StrictTranslateFunction {
+ (key: I18nKey): string;
+ (key: I18nKey, plural: number): string;
+ (key: I18nKey, named: Record<string, unknown>): string;
+ (key: I18nKey, list: unknown[]): string;
+ (key: I18nKey, plural: number, named: Record<string, unknown>): string;
+ (key: I18nKey, defaultMsg: string): string;
+}
+
+export const useI18nT = (...args: Parameters<typeof _useI18n>) => {
+ const i18n = _useI18n(...args);
+ return i18n as Omit<typeof i18n, 't'> & { t: StrictTranslateFunction };
+};
diff --git a/frontend/app/composables/usePreferences.ts b/frontend/app/composables/usePreferences.ts
index bee1127b..7aa37b7e 100644
--- a/frontend/app/composables/usePreferences.ts
+++ b/frontend/app/composables/usePreferences.ts
@@ -4,6 +4,7 @@ import type { TreeNode } from '../helpers/TreeBuilder';
export type ANode<ID = string | number> = Omit<TreeNode<unknown, ID>, 'data'>;
export const DEFAULT_PREFERENCES = {
+ locale: 'en' as 'en' | 'fr',
printMode: false as boolean,
darkMode: false as boolean,
hideTOC: false as boolean,
diff --git a/frontend/app/pages/(public)/doc/[id]/edit.vue b/frontend/app/pages/(public)/doc/[id]/edit.vue
index ffee637c..00c3a1fb 100644
--- a/frontend/app/pages/(public)/doc/[id]/edit.vue
+++ b/frontend/app/pages/(public)/doc/[id]/edit.vue
@@ -4,7 +4,7 @@
<script lang="ts" setup>
import type { Node } from '~/stores';
-definePageMeta({ breadcrumb: 'Edit' });
+definePageMeta({ breadcrumb: {i18n: 'common.actions.edit'} });
const store = useNodesStore();
@@ -36,8 +36,8 @@ watchEffect(async () => {
function save(doc: Node) {
store
.update(doc)
- .then(() => notifications.add({ type: 'success', title: 'Document successfully updated' }))
- .catch(e => notifications.add({ type: 'error', title: 'Error', message: e }));
+ .then(() => notifications.add({ title: 'Document successfully updated', type: 'success' }))
+ .catch(e => notifications.add({ message: e, title: 'Error', type: 'error' }));
}
function autoSave(doc: Node) {
diff --git a/frontend/app/pages/dashboard.vue b/frontend/app/pages/dashboard.vue
index a0e4d02b..41d72573 100644
--- a/frontend/app/pages/dashboard.vue
+++ b/frontend/app/pages/dashboard.vue
@@ -13,7 +13,7 @@
</div>
</template>
<script setup lang="ts">
-definePageMeta({ breadcrumb: 'Home' });
+definePageMeta({ breadcrumb: { i18n: 'dashboard.pages.home' } });
const nodesStore = useNodesStore();
const userStore = useUserStore();
diff --git a/frontend/app/pages/dashboard/admin/index.vue b/frontend/app/pages/dashboard/admin/index.vue
index b15ab029..8dddf7a8 100644
--- a/frontend/app/pages/dashboard/admin/index.vue
+++ b/frontend/app/pages/dashboard/admin/index.vue
@@ -1,11 +1,12 @@
<template>
<div class="page-card">
- <h1>Admin dashboard</h1>
- <p>From this dashboard, you can manage users and site settings.</p>
- <AppButton type="primary" @click="router.push('/dashboard/admin/users')">Manage users</AppButton>
+ <h1>{{ t('admin.dashboard.title') }}</h1>
+ <p>{{ t('admin.dashboard.description') }}</p>
+ <AppButton type="primary" @click="router.push('/dashboard/admin/users')">{{ t('admin.dashboard.manageUsers') }}</AppButton>
</div>
</template>
<script setup lang="ts">
const router = useRouter();
+const { t } = useI18nT();
</script>
diff --git a/frontend/app/pages/dashboard/admin/users/index.vue b/frontend/app/pages/dashboard/admin/users/index.vue
index 3b194f1e..4ed8646d 100644
--- a/frontend/app/pages/dashboard/admin/users/index.vue
+++ b/frontend/app/pages/dashboard/admin/users/index.vue
@@ -1,14 +1,14 @@
<template>
<div class="page-card">
<header>
- <h1>Users manager</h1>
+ <h1>{{ t('admin.users.title') }}</h1>
</header>
<DataTable v-if="rows?.length" :headers="headers" :rows="rows || []">
<template #action="{ cell }">
<NuxtLink :to="`/dashboard/admin/users/${(cell?.data as User).id}`"><Icon name="view" /></NuxtLink>
</template>
</DataTable>
- <div v-else>No user found.</div>
+ <div v-else>{{ t('admin.users.noUsers') }}</div>
</div>
</template>
<script setup lang="ts">
@@ -16,21 +16,22 @@ import { useAdminStore } from '~/stores/admin.store';
import type { User } from '~/stores';
const adminStore = useAdminStore();
+const { t } = useI18nT();
const { avatarURL } = useApi();
const { numericDate } = useDateFormatters();
adminStore.fetchAll();
-const headers = [
- { label: 'Name', key: 'username' },
- { label: 'Firstname', key: 'firstname' },
- { label: 'Lastname', key: 'lastname' },
- { label: 'Email', key: 'email' },
- { label: 'Role', key: 'role' },
- { label: 'Created at', key: 'created_at' },
- { label: 'Action', key: 'action' },
-];
+const headers = computed(() => [
+ { label: t('admin.users.headers.name'), key: 'username' },
+ { label: t('admin.users.headers.firstname'), key: 'firstname' },
+ { label: t('admin.users.headers.lastname'), key: 'lastname' },
+ { label: t('admin.users.headers.email'), key: 'email' },
+ { label: t('admin.users.headers.role'), key: 'role' },
+ { label: t('admin.users.headers.createdAt'), key: 'created_at' },
+ { label: t('admin.users.headers.action'), key: 'action' },
+]);
const rows = computed(() =>
adminStore.users?.map(u => {
diff --git a/frontend/app/pages/dashboard/categories.vue b/frontend/app/pages/dashboard/categories.vue
index 360f9462..1b64a0ac 100644
--- a/frontend/app/pages/dashboard/categories.vue
+++ b/frontend/app/pages/dashboard/categories.vue
@@ -3,5 +3,5 @@
</template>
<script setup lang="ts">
-definePageMeta({ breadcrumb: "Categories" });
+definePageMeta({ breadcrumb: {c: 2, i18n: 'nodes.category.name'} });
</script>
diff --git a/frontend/app/pages/dashboard/categories/[id]/edit.vue b/frontend/app/pages/dashboard/categories/[id]/edit.vue
index f93dd6c4..5a2c61d6 100644
--- a/frontend/app/pages/dashboard/categories/[id]/edit.vue
+++ b/frontend/app/pages/dashboard/categories/[id]/edit.vue
@@ -1,54 +1,55 @@
<template>
<div class="page-card">
- <h1 style="font-size: 24px">Category & workspace</h1>
+ <h1 style="font-size: 24px">{{ t('nodes.category.editTitle') }}</h1>
<form v-if="category" @submit.prevent>
<div class="form-row">
<div class="form-column">
- <label>Name</label>
+ <label>{{ t('common.labels.name') }}</label>
<input id="name" v-model="category.name" type="text" required />
</div>
<div class="form-column">
- <label>Role</label>
+ <label>{{ t('common.labels.role') }}</label>
<AppRadio v-model="category.role" :items="CATEGORY_ROLES" />
</div>
</div>
<div class="form-row">
<div class="form-column">
- <label>Parent</label>
+ <label>{{ t('common.labels.parent') }}</label>
<AppSelect
v-model="category.parent_id"
:items="categoriesItem"
- placeholder="Select a category parent"
+ :placeholder="t('common.placeholder.parent')"
nullable
:disabled="i => i.id == category!.id || nodesStore.isDescendant(category!, i.id as string)"
/>
</div>
<div class="form-column">
- <label for="order">Order</label>
+ <label for="order">{{ t('common.labels.order') }}</label>
<input id="order" v-model.number="category.order" type="number" />
</div>
</div>
- <label style="display: flex; align-items: center">Icon <AppHint text="SVG supported" /></label>
+ <label style="display: flex; align-items: center">{{ t('common.labels.icon') }} <AppHint :text="t('nodes.category.iconHint')" /></label>
<textarea v-model="category.icon" type="text" rows="5" />
- <label for="color">Color</label>
+ <label for="color">{{ t('common.labels.color') }}</label>
<AppColorPicker v-model="category.color" name="color" nullable />
<div class="actions-row">
- <AppButton type="danger" @click="deleteCategory()">Delete</AppButton>
- <AppButton type="primary" class="btn primary" @click="updateCategory">Update</AppButton>
+ <AppButton type="danger" @click="deleteCategory()">{{ t('common.actions.delete') }}</AppButton>
+ <AppButton type="primary" class="btn primary" @click="updateCategory">{{ t('common.actions.update') }}</AppButton>
</div>
</form>
</div>
</template>
<script lang="ts" setup>
-import { CATEGORY_ROLES } from '~/helpers/constants';
import DeleteModal from '~/components/Node/Modals/Delete.vue';
+import { CATEGORY_ROLES } from '~/helpers/constants';
-definePageMeta({ breadcrumb: 'Edit' });
+definePageMeta({ breadcrumb: {i18n: 'common.actions.edit'} });
+const { t } = useI18nT();
const nodesStore = useNodesStore();
const route = useRoute();
const nodesTree = useNodesTree();
@@ -61,10 +62,10 @@ const updateCategory = async () => {
nodesStore
.update(category.value)
.then(() => {
- useNotifications().add({ type: 'success', title: 'Category updated' });
+ useNotifications().add({ title: t('nodes.category.notifications.updated'), type: 'success' });
useRouter().push('/dashboard/categories');
})
- .catch(e => useNotifications().add({ type: 'error', title: 'Error', message: e }));
+ .catch(e => useNotifications().add({ message: e, title: t('common.status.error'), type: 'error' }));
};
const deleteCategory = async () => {
useModal().add(new Modal(shallowRef(DeleteModal), { props: { categoryId: category.value?.id || '' } }));
diff --git a/frontend/app/pages/dashboard/categories/index.vue b/frontend/app/pages/dashboard/categories/index.vue
index 77171f0a..f3259578 100644
--- a/frontend/app/pages/dashboard/categories/index.vue
+++ b/frontend/app/pages/dashboard/categories/index.vue
@@ -1,15 +1,21 @@
<template>
<div class="page-card">
<header>
- <h1>Workspaces & Categories</h1>
+ <h1>{{ t('nodes.container.title') }}</h1>
<div class="actions-row">
- <AppButton type="primary" @click="createWorkspace">+ Workspace</AppButton>
- <AppButton type="primary" @click="createCategory">+ Category</AppButton>
- <NuxtLink to="/dashboard/import"><AppButton type="secondary" variant="outline">Import</AppButton></NuxtLink>
+ <AppButton type="primary" @click="createWorkspace">{{ t('nodes.container.newWorkspace') }}</AppButton>
+ <AppButton type="primary" @click="createCategory">{{ t('nodes.container.newCategory') }}</AppButton>
+ <NuxtLink to="/dashboard/import"
+ ><AppButton type="secondary" variant="outline">{{ t('nodes.container.import') }}</AppButton></NuxtLink
+ >
</div>
</header>
<div style="padding-bottom: 10px">
- <input v-model="filter" placeholder="Search for workspace..." style="width: 50%; padding: 8px; border: 1px solid var(--border); border-radius: 4px" />
+ <input
+ v-model="filter"
+ :placeholder="t('nodes.container.searchPlaceholder')"
+ style="width: 50%; padding: 8px; border: 1px solid var(--border); border-radius: 4px"
+ />
</div>
<div v-for="workspace in filteredItems" :key="workspace.id" class="workspace">
<h3 class="wp-name">
@@ -17,7 +23,7 @@
</h3>
<WorkspaceTree v-for="node in workspace.children" :key="node.id" :node="node" @edit="editNode" @delete="deleteNode" />
</div>
- <div v-if="!filteredItems.length" style="color: #6c757d; font-style: italic">No workspaces or category found</div>
+ <div v-if="!filteredItems.length" style="color: #6c757d; font-style: italic">{{ t('nodes.container.noWorkspaces') }}</div>
</div>
</template>
@@ -28,6 +34,8 @@ import WorkspaceTree from './_components/WorkspaceTree.vue';
import type { Node } from '~/stores';
import { filterTreeByLabel, type TreeItem } from '~/helpers/TreeBuilder';
+const { t } = useI18nT();
+
const filter = ref('');
const nodesTree = useNodesTree();
diff --git a/frontend/app/pages/dashboard/cdn.vue b/frontend/app/pages/dashboard/cdn.vue
index 78393804..da92bf98 100644
--- a/frontend/app/pages/dashboard/cdn.vue
+++ b/frontend/app/pages/dashboard/cdn.vue
@@ -3,5 +3,5 @@
</template>
<script setup lang="ts">
-definePageMeta({ breadcrumb: 'CDN' });
+definePageMeta({ breadcrumb: { i18n: 'cdn.meta.shortTitle' } });
</script>
diff --git a/frontend/app/pages/dashboard/cdn/[id]/index.vue b/frontend/app/pages/dashboard/cdn/[id]/index.vue
index 0dba850d..11098767 100644
--- a/frontend/app/pages/dashboard/cdn/[id]/index.vue
+++ b/frontend/app/pages/dashboard/cdn/[id]/index.vue
@@ -1,40 +1,40 @@
<template>
<div class="page-card">
<header>
- <h1>Update resource</h1>
+ <h1>{{ t('cdn.edit.title') }}</h1>
<NuxtLink :to="`/dashboard/cdn/${resource?.id}/preview`" class="btn-icon">
<AppButton type="secondary">Preview</AppButton>
</NuxtLink>
</header>
- <p>Manage resources and files on the server. You can edit metadata and delete file from the server.</p>
+ <p>{{ t('cdn.edit.description') }}</p>
<form v-if="resource" @submit.prevent>
<div class="form-row">
<div class="form-column">
- <label>ID</label>
+ <label>{{ t('common.labels.id') }}</label>
<input id="id" type="text" :value="resource.id" disabled />
</div>
<div class="form-column">
- <label>Size</label>
+ <label>{{ t('common.labels.size') }}</label>
<input id="size" type="text" :value="readableFileSize(resource.size ?? 0)" disabled />
</div>
</div>
- <label>Name</label>
+ <label>{{ t('common.labels.name') }}</label>
<input id="name" v-model="resource.name" type="text" required />
- <label style="display: flex; align-items: center">Parent <AppHint text="To organize your uploads" /></label>
+ <label style="display: flex; align-items: center">{{ t('common.labels.parent') }} <AppHint text="To organize your uploads" /></label>
<AppSelect v-model="resource.parent_id" nullable :items="nodesTree" placeholder="Select a resource parent" />
- <label>Type</label>
+ <label>{{ t('common.labels.type') }}</label>
<input id="id" type="text" :value="resource.metadata?.filetype" disabled />
- <label>Original path</label>
+ <label>{{ t('cdn.labels.originalPath') }}</label>
<input id="content" type="text" :value="resource.content" disabled />
- <label>Path</label>
+ <label>{{ t('cdn.labels.path') }}</label>
<input id="path" type="text" :value="resource.metadata?.transformed_path" disabled />
<p style="overflow-wrap: break-word">
Resource:
<a :href="resourceURL(resource)" target="_blank">{{ resourceURL(resource) }}</a>
</p>
<div class="actions-row">
- <AppButton type="primary" class="btn primary" @click="updateCategory">Update</AppButton>
- <AppButton type="danger" @click="showDeleteModal">Delete</AppButton>
+ <AppButton type="primary" class="btn primary" @click="updateCategory">{{ t('common.actions.update') }}</AppButton>
+ <AppButton type="danger" @click="showDeleteModal">{{ t('common.actions.delete') }}</AppButton>
</div>
</form>
</div>
@@ -44,9 +44,10 @@
import DeleteNodeModal from '~/components/Node/Modals/Delete.vue';
import { readableFileSize } from '~/helpers/resources';
-definePageMeta({ breadcrumb: 'Edit' });
+definePageMeta({ breadcrumb: {i18n: 'common.actions.edit'} });
const nodeStore = useNodesStore();
+const { t } = useI18nT();
const route = useRoute();
const { resourceURL } = useApi();
@@ -59,10 +60,10 @@ const updateCategory = async () => {
nodeStore
.update(resource.value)
.then(() => {
- useNotifications().add({ type: 'success', title: 'Resource updated' });
+ useNotifications().add({ title: 'Resource updated', type: 'success' });
useRouter().push('/dashboard/cdn');
})
- .catch(e => useNotifications().add({ type: 'error', title: 'Error', message: e }));
+ .catch(e => useNotifications().add({ message: e, title: 'Error', type: 'error' }));
};
const showDeleteModal = () => {
useModal().add(new Modal(shallowRef(DeleteNodeModal), { props: { nodes: [resource.value], redirectTo: '/dashboard/cdn' }, size: 'small' }));
diff --git a/frontend/app/pages/dashboard/cdn/[id]/preview.vue b/frontend/app/pages/dashboard/cdn/[id]/preview.vue
index 375e91fe..9c112860 100644
--- a/frontend/app/pages/dashboard/cdn/[id]/preview.vue
+++ b/frontend/app/pages/dashboard/cdn/[id]/preview.vue
@@ -2,24 +2,24 @@
<div class="page-card">
<template v-if="resource">
<header>
- <h1>Preview <tag yellow>Beta</tag> • {{ resource.name }}</h1>
+ <h1>{{ t('cdn.preview.title') }} <tag yellow>Beta</tag> • {{ resource.name }}</h1>
<div class="actions-row">
<AppSelect v-if="isPdfFile(mimeType)" v-model="zoom" :items="PDF_SCALES" :searchable="false" label="Scale" style="width: 200px" />
<NuxtLink :to="`/dashboard/cdn/${resource.id}`" class="btn-icon">
<Icon name="edit" display="lg" />
- <p class="hint-tooltip">Edit</p>
+ <p class="hint-tooltip">{{ t('common.actions.edit') }}</p>
</NuxtLink>
<span class="btn-icon" @click="copyLink">
<Icon name="copy" display="lg" />
- <p class="hint-tooltip">Copy link</p>
+ <p class="hint-tooltip">{{ t('common.actions.copyLink') }}</p>
</span>
<NuxtLink :href="resourceURL(resource, true)" download rel="noopener" class="btn-icon">
<Icon name="download" display="lg" />
- <p class="hint-tooltip">Download</p>
+ <p class="hint-tooltip">{{ t('common.actions.download') }}</p>
</NuxtLink>
<NuxtLink class="btn-icon" @click="showDeleteModal">
<Icon name="delete" display="lg" />
- <p class="hint-tooltip">Delete</p>
+ <p class="hint-tooltip">{{ t('common.actions.delete') }}</p>
</NuxtLink>
</div>
</header>
@@ -29,10 +29,10 @@
<video v-else-if="isVideoFile(mimeType)" :src="resourceURL(resource)" controls />
<audio v-else-if="isAudioFile(mimeType)" :src="resourceURL(resource)" controls />
<div v-else class="no-preview">
- <p>Preview not available for this file type.</p>
+ <p>{{ t('cdn.preview.unavailable') }}</p>
<p>
<NuxtLink :href="resourceURL(resource, true)" download rel="noopener">
- <AppButton type="primary">Download file</AppButton>
+ <AppButton type="primary">{{ t('cdn.actions.download') }}</AppButton>
</NuxtLink>
</p>
</div>
@@ -46,8 +46,9 @@ import DeleteNodeModal from '~/components/Node/Modals/Delete.vue';
import { PDF_SCALES } from '~/helpers/constants';
import { isImageFile, isPdfFile, isVideoFile, isAudioFile } from '~/helpers/resources';
-definePageMeta({ breadcrumb: 'Preview' });
+definePageMeta({ breadcrumb: {i18n: 'common.actions.preview'} });
+const { t } = useI18nT();
const { resourceURL } = useApi();
const zoom = ref<(typeof PDF_SCALES)[number]['id']>('automatic_zoom');
diff --git a/frontend/app/pages/dashboard/cdn/index.vue b/frontend/app/pages/dashboard/cdn/index.vue
index a03a1ac8..741cbbd6 100644
--- a/frontend/app/pages/dashboard/cdn/index.vue
+++ b/frontend/app/pages/dashboard/cdn/index.vue
@@ -1,7 +1,7 @@
<template>
<div class="page-card">
<header>
- <h1>File manager</h1>
+ <h1>{{ t('cdn.meta.title') }}</h1>
<div class="action-row">
<NodeFilter v-show="!device.isMobile" :nodes="nodes" @update:nodes="filteredResources = $event" />
<ViewSelection v-model="view" />
@@ -9,7 +9,7 @@
</header>
<div class="storage-indicator">
<div class="storage-info">
- <span class="storage-label">Storage used</span>
+ <span class="storage-label">{{ t('cdn.storageUsed') }}</span>
<span class="storage-values">{{ readableFileSize(totalUsedSpace) }} / {{ readableFileSize(MAX_STORAGE) }}</span>
</div>
<div class="progress-bar">
@@ -24,18 +24,18 @@
<AppDrop ref="dropComponent" multiple :max-files="10" @select="selectFiles" />
<div style="display: flex; width: 100%; padding: 12px 0; align-items: center; flex-direction: column; gap: 10px">
<AppButton type="primary" :disabled="!selectedFiles.length" @click="submitFiles">
- Upload {{ selectedFiles.length ? `${selectedFiles.length} file(s)` : '' }} on server
+ {{ selectedFiles.length ? t('cdn.actions.upload.multiple', { n: selectedFiles.length }) : t('cdn.actions.upload.idle') }}
</AppButton>
<div v-if="isLoading" class="upload-progress">
<LoaderSpinner />
- <span>Uploading {{ uploadProgress.current }} / {{ uploadProgress.total }}</span>
+ <span>{{ t('cdn.actions.upload.progress', { n: uploadProgress.current, total: uploadProgress.total }) }}</span>
</div>
</div>
<div v-if="fileLinks.length" class="link-section">
<div class="links-text" v-text="linksText"></div>
<div class="links-actions">
- <AppButton type="primary" @click="copyLinks">Copy {{ fileLinks.length > 1 ? 'links' : 'link' }}</AppButton>
- <AppButton type="secondary" @click="fileLinks = []">Clear</AppButton>
+ <AppButton type="primary" @click="copyLinks">{{ t('common.actions.copy') }} {{ fileLinks.length > 1 ? 'links' : 'link' }}</AppButton>
+ <AppButton type="secondary" @click="fileLinks = []">{{ t('common.actions.clear') }}</AppButton>
</div>
</div>
<div v-if="filteredResources.length" class="resources-list">
@@ -70,34 +70,33 @@
</div>
</div>
<div v-if="!filteredResources.length" class="not-found">
- <p>No result found for "{{ filter }}"</p>
+ <p>{{ t('common.search.noResults', { filter: filter }) }}</p>
</div>
</div>
</div>
</div>
- <NoContent v-else title="No resource found"></NoContent>
+ <NoContent v-else :title="t('cdn.page.empty')"></NoContent>
</div>
</template>
<script setup lang="ts">
-import DeleteNodeModal from '~/components/Node/Modals/Delete.vue';
-import ResourceContextMenu from '~/components/Node/Action/ResourceContextMenu.vue';
-import { readableFileSize, resolvePreviewUrl } from '~/helpers/resources';
import type { Field } from '~/components/DataTable.vue';
import type { Node } from '~/stores';
-definePageMeta({ breadcrumb: 'Upload' });
+import ResourceContextMenu from '~/components/Node/Action/ResourceContextMenu.vue';
+import DeleteNodeModal from '~/components/Node/Modals/Delete.vue';
+import { readableFileSize, resolvePreviewUrl } from '~/helpers/resources';
const router = useRouter();
const resourcesStore = useResourcesStore();
const nodesStore = useNodesStore();
-
+const { t } = useI18nT();
const device = useDevice();
const appColors = useAppColors();
const { numericDate } = useDateFormatters();
const contextMenu = useContextMenu();
const { resourceURL } = useApi();
-const view = ref<'table' | 'list'>('list');
+const view = ref<'list' | 'table'>('list');
const selectedFiles = ref<File[]>([]);
const fileLinks = ref<string[]>([]);
const isLoading = ref(false);
@@ -147,24 +146,28 @@ const submitFiles = async () => {
const r = await resourcesStore.post(body);
fileLinks.value.push(resourceURL(r));
} catch (e) {
- useNotifications().add({ type: 'error', title: 'Error', message: `Failed to upload ${file.name}: ${e}` });
+ useNotifications().add({ message: t('cdn.notifications.error', { error: e, file: file.name }), title: 'Error', type: 'error' });
}
uploadProgress.value.current++;
}
isLoading.value = false;
if (fileLinks.value.length) {
- useNotifications().add({ type: 'success', title: 'Upload complete', message: `${fileLinks.value.length} file(s) uploaded successfully` });
+ useNotifications().add({
+ message: t('cdn.notifications.successMsg', { n: fileLinks.value.length }),
+ title: t('cdn.notifications.successTitle'),
+ type: 'success',
+ });
}
};
const headers = [
- { label: 'Name', key: 'name' },
- { label: 'Size', key: 'size' },
- { label: 'Type', key: 'type' },
- { label: 'Parent doc', key: 'parent' },
- { label: 'Date', key: 'date' },
- { label: 'Action', key: 'action' },
+ { key: 'name', label: t('common.labels.name') },
+ { key: 'size', label: t('common.labels.size') },
+ { key: 'type', label: t('common.labels.type') },
+ { key: 'parent', label: t('common.labels.parent') },
+ { key: 'date', label: t('common.labels.date') },
+ { key: 'action', label: t('common.labels.action') },
];
const color = (type: string) => (type.includes('image') ? 'green' : type.includes('video') ? 'blue' : type.includes('pdf') ? 'yellow' : 'red');
@@ -173,12 +176,12 @@ const rows: ComputedRef<Field[]> = computed(() =>
const parent = res.parent_id ? nodesStore.getById(res.parent_id) : null;
const category = parent ? nodesStore.getById(parent.parent_id || '') : null;
return {
+ action: { data: res, type: 'slot' },
+ date: { content: numericDate(res.created_timestamp), type: 'text' },
name: { content: res.name, type: 'text' },
+ parent: { content: category ? `<tag class="${appColors.getAppAccent(category.color)}">${parent?.name}</tag>` : '', type: 'html' },
size: { content: readableFileSize(res.size ?? 0), type: 'text' },
type: { content: `<tag class="${color(res.metadata?.filetype || '')}">${res.metadata?.filetype || ''}</tag>`, type: 'html' },
- parent: { content: category ? `<tag class="${appColors.getAppAccent(category.color)}">${parent?.name}</tag>` : '', type: 'html' },
- date: { content: numericDate(res.created_timestamp), type: 'text' },
- action: { type: 'slot', data: res },
};
}),
);
diff --git a/frontend/app/pages/dashboard/docs.vue b/frontend/app/pages/dashboard/docs.vue
index b178f3c7..14e8fb4f 100644
--- a/frontend/app/pages/dashboard/docs.vue
+++ b/frontend/app/pages/dashboard/docs.vue
@@ -3,5 +3,5 @@
</template>
<script setup lang="ts">
-definePageMeta({ breadcrumb: "Documents" });
+definePageMeta({ breadcrumb: {c:2, i18n: 'nodes.types.document'} });
</script>
diff --git a/frontend/app/pages/dashboard/docs/[id].vue b/frontend/app/pages/dashboard/docs/[id].vue
index 3f019c00..6776077c 100644
--- a/frontend/app/pages/dashboard/docs/[id].vue
+++ b/frontend/app/pages/dashboard/docs/[id].vue
@@ -18,11 +18,13 @@
</div>
</template>
<script setup lang="ts">
+import type { RouteLocationNormalizedLoaded } from 'vue-router';
+
+import type { Node } from '~/stores';
+
import NodeContextMenu from '~/components/Node/Action/ContextMenu.vue';
-import DeleteNodeModal from '~/components/Node/Modals/Delete.vue';
import NodeDocumentContentCompiled from '~/components/Node/Document/ContentCompiled.vue';
-import type { Node } from '~/stores';
-import type { RouteLocationNormalizedLoaded } from 'vue-router';
+import DeleteNodeModal from '~/components/Node/Modals/Delete.vue';
const documentsStore = useNodesStore();
const preferencesStore = usePreferences();
@@ -80,7 +82,7 @@ const contextMenu = useContextMenu();
function showContextMenu(event: MouseEvent) {
contextMenu.open(shallowRef(NodeContextMenu), event, {
- props: { node: node.value, contextMenu: true },
+ props: { contextMenu: true, node: node.value },
});
}
@@ -115,8 +117,8 @@ onMounted(() => {
e.preventDefault();
useModal().add(
new Modal(shallowRef(DeleteNodeModal), {
- size: 'small',
props: { node: node.value, redirectTo: '/dashboard' },
+ size: 'small',
}),
);
}
diff --git a/frontend/app/pages/dashboard/docs/edit/[id].vue b/frontend/app/pages/dashboard/docs/edit/[id].vue
index 00366430..c1d57b7e 100644
--- a/frontend/app/pages/dashboard/docs/edit/[id].vue
+++ b/frontend/app/pages/dashboard/docs/edit/[id].vue
@@ -4,7 +4,7 @@
<script lang="ts" setup>
import type { Node } from '~/stores';
-definePageMeta({ breadcrumb: 'Edit' });
+definePageMeta({ breadcrumb: {i18n: 'common.actions.edit'} });
const store = useNodesStore();
const route = useRoute();
@@ -27,8 +27,8 @@ watchEffect(async () => {
function save(doc: Node) {
store
.update(doc)
- .then(() => notifications.add({ type: 'success', title: 'Document successfully updated' }))
- .catch(e => notifications.add({ type: 'error', title: 'Error', message: e }));
+ .then(() => notifications.add({ title: 'Document successfully updated', type: 'success' }))
+ .catch(e => notifications.add({ message: e, title: 'Error', type: 'error' }));
}
function autoSave(doc: Node) {
diff --git a/frontend/app/pages/dashboard/docs/index.vue b/frontend/app/pages/dashboard/docs/index.vue
index 0fccc730..a6e4f9ca 100644
--- a/frontend/app/pages/dashboard/docs/index.vue
+++ b/frontend/app/pages/dashboard/docs/index.vue
@@ -6,7 +6,7 @@
import type { TreeItem } from '~/helpers/TreeBuilder';
import type { Node } from '~/stores';
-definePageMeta({ breadcrumb: 'All' });
+definePageMeta({ breadcrumb: {i18n: 'common.labels.all'} });
const nodesStore = useNodesStore();
const { filtered, workspaceId } = useSidebar();
diff --git a/frontend/app/pages/dashboard/docs/new.vue b/frontend/app/pages/dashboard/docs/new.vue
index ee62fdee..45c7cf3b 100644
--- a/frontend/app/pages/dashboard/docs/new.vue
+++ b/frontend/app/pages/dashboard/docs/new.vue
@@ -4,15 +4,15 @@
<script lang="ts" setup>
import type { Node } from '~/stores';
-definePageMeta({ breadcrumb: 'New' });
+definePageMeta({ breadcrumb: {i18n: 'common.actions.new'} });
const store = useNodesStore();
const defaultParent = (useRoute().query.cat as string | undefined) || useSidebar().workspaceId.value || undefined;
const document = ref<Partial<Node>>({
- parent_id: ['root', 'shared'].includes(defaultParent || '') ? undefined : defaultParent,
accessibility: 1,
+ parent_id: ['root', 'shared'].includes(defaultParent || '') ? undefined : defaultParent,
role: 3,
});
const notifications = useNotifications();
@@ -21,10 +21,10 @@ function save(doc: Node) {
store
.post(doc)
.then(d => {
- notifications.add({ type: 'success', title: 'Document successfully posted' });
+ notifications.add({ title: 'Document successfully posted', type: 'success' });
useRouter().push(`/dashboard/docs/edit/${d.id}`);
})
- .catch(e => notifications.add({ type: 'error', title: 'Error', message: e }));
+ .catch(e => notifications.add({ message: e, title: 'Error', type: 'error' }));
}
const exit = () => useRouter().push('/dashboard');
</script>
diff --git a/frontend/app/pages/dashboard/home.vue b/frontend/app/pages/dashboard/home.vue
index b55781a3..43e1a943 100644
--- a/frontend/app/pages/dashboard/home.vue
+++ b/frontend/app/pages/dashboard/home.vue
@@ -3,11 +3,13 @@
<!-- Header with greeting and quick actions -->
<header class="home-header">
<div class="greeting">
- <h1>đź‘‹ Hey, {{ userName }}</h1>
- <p class="subtitle">{{ todayFormatted }} · {{ documentsCount }} documents · {{ workspacesCount }} workspaces</p>
+ <h1>{{ t('dashboard.greeting', { userName }) }}</h1>
+ <p class="subtitle">
+ {{ todayFormatted }} · {{ documentsCount }} {{ t('dashboard.stats.documents') }} · {{ workspacesCount }} {{ t('dashboard.stats.workspaces') }}
+ </p>
</div>
<div class="quick-actions">
- <AppButton type="primary" @click="createNewDocument">+ New document</AppButton>
+ <AppButton type="primary" @click="createNewDocument">{{ t('dashboard.actions.newDocument') }}</AppButton>
</div>
</header>
@@ -18,7 +20,7 @@
<input
v-model="searchQuery"
type="text"
- placeholder="Search documents, workspaces, categories..."
+ :placeholder="t('dashboard.search')"
class="search-input"
@focus="isSearchFocused = true"
@blur="isSearchFocused = false"
@@ -44,8 +46,8 @@
<!-- Section "Continue Working" -->
<section v-if="recentlyEdited.length" class="section">
<div class="section-header">
- <h2><Icon name="work" />Continue Working</h2>
- <NuxtLink to="/dashboard/docs" class="see-all">See all</NuxtLink>
+ <h2><Icon name="work" />{{ t('dashboard.sections.continueWorking') }}</h2>
+ <NuxtLink to="/dashboard/docs" class="see-all">{{ t('dashboard.links.seeAll') }}</NuxtLink>
</div>
<div class="continue-working">
<NuxtLink v-for="doc in recentlyEdited" :key="doc.id" :to="`/dashboard/docs/${doc.id}`">
@@ -57,7 +59,7 @@
<!-- Section Pinned Documents -->
<section v-if="pinnedDocuments.length" class="section">
<div class="section-header">
- <h2><Icon name="pin" /> Pinned Documents</h2>
+ <h2><Icon name="pin" /> {{ t('dashboard.sections.pinnedDocuments') }}</h2>
</div>
<div class="pinned-grid">
<NuxtLink v-for="doc in pinnedDocuments" :key="doc.id" :to="`/dashboard/docs/${doc.id}`">
@@ -69,21 +71,21 @@
<!-- Workspaces Section -->
<section class="section">
<div class="section-header">
- <h2><Icon name="workspace" /> Your Workspaces</h2>
- <NuxtLink to="/dashboard/categories" class="see-all">Manage</NuxtLink>
+ <h2><Icon name="workspace" /> {{ t('dashboard.sections.yourWorkspaces') }}</h2>
+ <NuxtLink to="/dashboard/categories" class="see-all">{{ t('dashboard.links.manage') }}</NuxtLink>
</div>
<div class="workspaces-grid">
<NuxtLink v-for="workspace in workspaces" :key="workspace.id" :to="`/dashboard/categories/${workspace.id}`">
<NodeCardWorkspace :workspace="workspace" />
</NuxtLink>
- <button class="add-workspace" @click="openCreateWorkspace">New workspace</button>
+ <button class="add-workspace" @click="openCreateWorkspace">{{ t('dashboard.actions.newWorkspace') }}</button>
</div>
</section>
<!-- Recent Activity Section -->
<section class="section">
<div class="section-header">
- <h2><Icon name="recent" /> Recent Activity</h2>
+ <h2><Icon name="recent" /> {{ t('dashboard.sections.recentActivity') }}</h2>
</div>
<div class="activity-timeline">
<div v-for="(group, date) in activityByDate" :key="date" class="activity-group">
@@ -111,28 +113,28 @@
<Icon name="files" display="xxl" class="stat-icon" fill="var(--primary)" />
<div class="stat-content">
<span class="stat-value">{{ documentsCount }}</span>
- <span class="stat-label">Documents</span>
+ <span class="stat-label">{{ t('dashboard.stats.documents') }}</span>
</div>
</div>
<div class="stat-card">
<Icon name="categories" display="xxl" class="stat-icon" fill="var(--primary)" />
<div class="stat-content">
<span class="stat-value">{{ workspacesCount }}</span>
- <span class="stat-label">Workspaces</span>
+ <span class="stat-label">{{ t('dashboard.stats.workspaces') }}</span>
</div>
</div>
<div class="stat-card">
<Icon name="advanced" display="xxl" class="stat-icon" fill="var(--primary)" />
<div class="stat-content">
<span class="stat-value">{{ tagsCount }}</span>
- <span class="stat-label">Tags</span>
+ <span class="stat-label">{{ t('dashboard.stats.tags') }}</span>
</div>
</div>
<div class="stat-card">
<Icon name="import" display="xxl" class="stat-icon" fill="var(--primary)" />
<div class="stat-content">
<span class="stat-value">{{ resourcesCount }}</span>
- <span class="stat-label">CDN Files</span>
+ <span class="stat-label">{{ t('dashboard.stats.cdnFiles') }}</span>
</div>
</div>
</section>
@@ -148,6 +150,7 @@ const router = useRouter();
const nodesStore = useNodesStore();
const userStore = useUserStore();
+const { t } = useI18nT();
const { todayFormatted, formatTime, shortDateLabel } = useDateFormatters();
const { getAppAccent } = useAppColors();
@@ -266,6 +269,7 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate
.subtitle {
font-size: 0.9rem;
color: var(--text-secondary);
+ text-transform: capitalize;
}
.quick-actions {
diff --git a/frontend/app/pages/dashboard/import/_components/ImportActions.vue b/frontend/app/pages/dashboard/import/_components/ImportActions.vue
index caedca13..bb61cad3 100644
--- a/frontend/app/pages/dashboard/import/_components/ImportActions.vue
+++ b/frontend/app/pages/dashboard/import/_components/ImportActions.vue
@@ -1,18 +1,18 @@
<template>
<div class="actions-card">
<div class="import-options">
- <h3>Import Options</h3>
- <AppCheck v-model="preserveTimestamps"> Preserve original timestamps </AppCheck>
- <AppCheck v-model="skipExisting"> Skip documents that already exist (import new only) </AppCheck>
+ <h3>{{ t('import.actions.optionsTitle') }}</h3>
+ <AppCheck v-model="preserveTimestamps"> {{ t('import.actions.preserveTimestamps') }} </AppCheck>
+ <AppCheck v-model="skipExisting"> {{ t('import.actions.skipExisting') }} </AppCheck>
</div>
<div class="actions-row">
<AppButton type="secondary" @click="resetImport">
<Icon name="close" :size="16" />
- Cancel
+ {{ t('import.actions.cancel') }}
</AppButton>
<AppButton type="primary" :disabled="isImporting || (toCreate.length === 0 && toUpdate.length === 0)" @click="importAll">
<Icon name="download" :size="16" />
- {{ isImporting ? 'Importing...' : 'Import All' }}
+ {{ isImporting ? t('import.actions.importing') : t('import.actions.importAll') }}
</AppButton>
</div>
</div>
@@ -21,6 +21,7 @@
<script setup lang="ts">
import type { DB_Node, ImportJob } from '~/stores';
+const { t } = useI18nT();
const props = defineProps<{
toCreate: DB_Node[];
toUpdate: DB_Node[];
diff --git a/frontend/app/pages/dashboard/import/_components/ImportHeader.vue b/frontend/app/pages/dashboard/import/_components/ImportHeader.vue
index efbad1cc..f7814983 100644
--- a/frontend/app/pages/dashboard/import/_components/ImportHeader.vue
+++ b/frontend/app/pages/dashboard/import/_components/ImportHeader.vue
@@ -1,28 +1,28 @@
<template>
<div>
<header>
- <h2>Backup Information <tag yellow>Beta</tag></h2>
+ <h2>{{ t('import.header.title') }} <tag yellow>Beta</tag></h2>
<AppButton type="secondary" size="sm" class="btn-close" @click="resetImport">
<Icon name="close" :size="14" />
- Change file
+ {{ t('import.header.changeFile') }}
</AppButton>
</header>
<div class="info-grid">
<div class="info-item">
- <span class="label">Created</span>
+ <span class="label">{{ t('import.header.created') }}</span>
<span class="value">{{ numericDate(manifest.created_at) }}</span>
</div>
<div class="info-item">
- <span class="label">Version</span>
+ <span class="label">{{ t('import.header.version') }}</span>
<span class="value">{{ manifest.version }}</span>
</div>
<div class="info-item">
- <span class="label">Total Documents</span>
+ <span class="label">{{ t('import.header.totalDocuments') }}</span>
<span class="value">{{ manifest.statistics.total_documents }}</span>
</div>
<div class="info-item">
- <span class="label">Total Size</span>
+ <span class="label">{{ t('import.header.totalSize') }}</span>
<span class="value">{{ readableFileSize(manifest.statistics.total_size_bytes) }}</span>
</div>
</div>
@@ -31,19 +31,19 @@
<div class="backup-options">
<span class="badge" :class="{ active: manifest.options.include_documents }">
<Icon name="folder" :size="14" />
- Documents
+ {{ t('import.header.documents') }}
</span>
<span class="badge" :class="{ active: manifest.options.include_files }">
<Icon name="image" :size="14" />
- Files
+ {{ t('import.header.files') }}
</span>
<span class="badge" :class="{ active: manifest.options.include_metadata }">
<Icon name="layers" :size="14" />
- Metadata
+ {{ t('import.header.metadata') }}
</span>
<span class="badge" :class="{ active: manifest.includeSettings }">
<Icon name="settings" :size="14" />
- Settings
+ {{ t('import.header.settings') }}
</span>
</div>
</div>
@@ -54,6 +54,7 @@ import type { ManifestExtended } from '~/helpers/backups/types';
import { readableFileSize } from '~/helpers/resources';
defineProps<{ manifest: ManifestExtended; resetImport: () => void }>();
+const { t } = useI18nT();
const { numericDate } = useDateFormatters();
</script>
diff --git a/frontend/app/pages/dashboard/import/_components/ImportProgress.vue b/frontend/app/pages/dashboard/import/_components/ImportProgress.vue
index 4974d564..3e865a44 100644
--- a/frontend/app/pages/dashboard/import/_components/ImportProgress.vue
+++ b/frontend/app/pages/dashboard/import/_components/ImportProgress.vue
@@ -2,7 +2,8 @@
<div class="container">
<div class="progress-header">
<span class="status">
- <strong>Status</strong><span class="status-badge" :class="importJob.status"> {{ statusLabel }} </span>
+ <strong>{{ t('common.labels.status') }}</strong
+ ><span class="status-badge" :class="importJob.status"> {{ statusLabel }} </span>
</span>
<span v-if="importJob.status === 'in_progress'" class="progress-percent"> {{ progress }}% </span>
</div>
@@ -18,19 +19,21 @@ import type { ImportJob } from '~/stores';
const props = defineProps<{ importJob: ImportJob; toCreate: number; toUpdate: number }>();
+const { t } = useI18nT();
+
const progress = computed(() => Math.floor(((props.importJob.created.length + props.importJob.updated.length) * 100) / (props.toCreate + props.toUpdate)));
const statusLabel = computed(() => {
switch (props.importJob.status) {
case 'pending':
- return 'Pending';
+ return t('common.status.pending');
case 'in_progress':
- return 'In Progress';
+ return t('common.status.processing');
case 'completed':
- return 'Completed';
+ return t('common.status.completed');
case 'failed':
- return 'Failed';
+ return t('common.status.failed');
default:
- return 'Unknown';
+ return t('common.status.unknown');
}
});
</script>
diff --git a/frontend/app/pages/dashboard/import/_components/ImportSummary.vue b/frontend/app/pages/dashboard/import/_components/ImportSummary.vue
index cb091077..e9de2941 100644
--- a/frontend/app/pages/dashboard/import/_components/ImportSummary.vue
+++ b/frontend/app/pages/dashboard/import/_components/ImportSummary.vue
@@ -1,21 +1,21 @@
<template>
<div class="ctn">
- <h2>Import Summary</h2>
+ <h2>{{ t('import.summary.title') }}</h2>
<div class="stats">
<div class="stat new">
<Icon name="plus" :size="20" />
<span class="count">{{ toCreate }}</span>
- <span class="label">New documents</span>
+ <span class="label">{{ t('import.summary.newDocuments') }}</span>
</div>
<div class="stat update">
<Icon name="update" :size="20" />
<span class="count">{{ toUpdate }}</span>
- <span class="label">Documents to update</span>
+ <span class="label">{{ t('import.summary.documentsToUpdate') }}</span>
</div>
<div class="stat unchanged">
<Icon name="check" :size="20" />
<span class="count">{{ unchangedCount }}</span>
- <span class="label">Unchanged</span>
+ <span class="label">{{ t('import.summary.unchanged') }}</span>
</div>
</div>
<div class="progess">
@@ -28,6 +28,8 @@
import ImportProgress from './ImportProgress.vue';
import type { ImportJob } from '~/stores';
+
+const { t } = useI18nT();
defineProps<{
toCreate: number;
toUpdate: number;
diff --git a/frontend/app/pages/dashboard/import/_components/ImportTabs.vue b/frontend/app/pages/dashboard/import/_components/ImportTabs.vue
index 9d522f0d..f6fef98d 100644
--- a/frontend/app/pages/dashboard/import/_components/ImportTabs.vue
+++ b/frontend/app/pages/dashboard/import/_components/ImportTabs.vue
@@ -1,10 +1,10 @@
<template>
<div>
<div class="tabs">
- <button :class="{ active: activeTab === 'create' }" @click="activeTab = 'create'">New Documents ({{ toCreate.length }})</button>
- <button :class="{ active: activeTab === 'update' }" @click="activeTab = 'update'">Updates ({{ toUpdate.length }})</button>
+ <button :class="{ active: activeTab === 'create' }" @click="activeTab = 'create'">{{ t('import.tabs.newDocuments') }} ({{ toCreate.length }})</button>
+ <button :class="{ active: activeTab === 'update' }" @click="activeTab = 'update'">{{ t('import.tabs.updates') }} ({{ toUpdate.length }})</button>
<button :class="{ active: activeTab === 'local' }" @click="activeTab = 'local'">
- Local settings and preferences ({{ manifest?.includeSettings ? 1 : 0 }})
+ {{ t('import.tabs.localSettings') }} ({{ manifest?.includeSettings ? 1 : 0 }})
</button>
</div>
@@ -12,13 +12,13 @@
<div v-if="activeTab === 'create'" class="tab-content">
<div v-if="toCreate.length === 0" class="empty-state">
<Icon name="folder" :size="32" />
- <p>No new documents to import</p>
+ <p>{{ t('import.tabs.noNewDocuments') }}</p>
</div>
<template v-else>
<div class="list-header">
- <AppCheck v-model="selectAllCreate" @update:model-value="toggleSelectAllCreate"> Select all </AppCheck>
+ <AppCheck v-model="selectAllCreate" @update:model-value="toggleSelectAllCreate"> {{ t('import.tabs.selectAll') }} </AppCheck>
<AppButton type="primary" size="sm" :disabled="selectedCreate.length === 0 || isImporting" @click="importSelected('create')">
- Import selected ({{ selectedCreate.length }})
+ {{ t('import.tabs.importSelected', { count: selectedCreate.length }) }}
</AppButton>
</div>
<div class="documents-list">
@@ -36,7 +36,7 @@
</div>
</div>
<div class="doc-actions">
- <AppButton type="primary" size="sm" :disabled="isImporting" @click="importSingle(doc, 'create')"> Import </AppButton>
+ <AppButton type="primary" size="sm" :disabled="isImporting" @click="importSingle(doc, 'create')"> {{ t('import.tabs.import') }} </AppButton>
</div>
</div>
</div>
@@ -47,14 +47,14 @@
<div v-if="activeTab === 'update'" class="tab-content">
<div v-if="toUpdate.length === 0" class="empty-state">
<Icon name="update" :size="32" />
- <p>No documents to update</p>
+ <p>{{ t('import.tabs.noUpdates') }}</p>
</div>
<template v-else>
<div class="list-header">
- <AppCheck v-model="selectAllUpdate" @update:model-value="toggleSelectAllUpdate"> Select all </AppCheck>
+ <AppCheck v-model="selectAllUpdate" @update:model-value="toggleSelectAllUpdate"> {{ t('import.tabs.selectAll') }} </AppCheck>
<AppButton type="primary" size="sm" :disabled="selectedUpdate.length === 0 || isImporting" @click="importSelected('update')">
<LoaderSpinner v-if="isImporting" :size="14" />
- Update selected ({{ selectedUpdate.length }})
+ {{ t('import.tabs.updateSelected', { count: selectedUpdate.length }) }}
</AppButton>
</div>
<div class="documents-list">
@@ -71,17 +71,19 @@
</div>
<div class="comparison">
<div class="version current">
- <span class="version-label">Current</span>
+ <span class="version-label">{{ t('import.tabs.current') }}</span>
<span class="version-date">{{ numericDate(getExistingNode(doc.id)?.updated_timestamp) }}</span>
</div>
<Icon name="arrow-right" :size="14" class="arrow" />
<div class="version backup">
- <span class="version-label">Backup</span>
+ <span class="version-label">{{ t('import.tabs.backup') }}</span>
<span class="version-date">{{ numericDate(doc.updated_timestamp) }}</span>
</div>
</div>
<div class="doc-actions">
- <AppButton type="primary" size="sm" :disabled="isImporting" @click="importSingle(doc, 'update')"> Imprort from backup </AppButton>
+ <AppButton type="primary" size="sm" :disabled="isImporting" @click="importSingle(doc, 'update')">
+ {{ t('import.tabs.importFromBackup') }}
+ </AppButton>
</div>
</div>
</div>
@@ -92,16 +94,14 @@
<div v-if="activeTab === 'local'" class="tab-content">
<div v-if="!manifest.includeSettings" class="empty-state">
<Icon name="settings" :size="32" />
- <p>No local settings and preferences found in the backup</p>
+ <p>{{ t('import.tabs.noLocalSettings') }}</p>
</div>
<div v-else class="empty-state">
<Icon name="settings" :size="32" />
- <p>Local settings and preferences can be imported</p>
- <p>Do you want to replace your local settings and preferences with those from the backup?</p>
- <p class="warning">
- <Icon name="warning" :size="14" /> This will overwrite your current local settings and preferences including <strong>your snippets</strong>
- </p>
- <AppButton type="primary" size="md" :disabled="isImporting" @click="importLocalSettings"> Import Local Settings </AppButton>
+ <p>{{ t('import.tabs.localSettingsAvailable') }}</p>
+ <p>{{ t('import.tabs.replaceLocalSettings') }}</p>
+ <p class="warning"><Icon name="warning" :size="14" /> {{ t('import.tabs.localSettingsWarning') }}</p>
+ <AppButton type="primary" size="md" :disabled="isImporting" @click="importLocalSettings"> {{ t('import.tabs.importLocalSettings') }} </AppButton>
</div>
</div>
</div>
@@ -112,6 +112,7 @@ import { getRoleName, resolveIcon } from '~/helpers/node';
import type { DB_Node, ImportJob } from '~/stores';
import type { ManifestExtended } from '~/helpers/backups/types';
+const { t } = useI18nT();
const props = defineProps<{ manifest: ManifestExtended; toCreate: DB_Node[]; toUpdate: DB_Node[]; importJob: ImportJob }>();
const emit = defineEmits<{
(e: 'import', type: 'create' | 'update', nodeIds: string[]): void;
diff --git a/frontend/app/pages/dashboard/import/index.vue b/frontend/app/pages/dashboard/import/index.vue
index 00cc353b..63885eea 100644
--- a/frontend/app/pages/dashboard/import/index.vue
+++ b/frontend/app/pages/dashboard/import/index.vue
@@ -3,16 +3,17 @@
<!-- Step 1: File Selection -->
<div v-if="step === 'select'">
<header>
- <h1 style="font-size: 20px">Import documents <tag class="yellow">Beta</tag></h1>
+ <h1 style="font-size: 20px">{{ t('import.meta.title') }} <tag class="yellow">Beta</tag></h1>
</header>
<p>
- You can import documents from a previous export. If you don't have an export, you can create one from the
- <NuxtLink to="/dashboard/settings?p=backup" style="color: var(--primary)">settings</NuxtLink> page.
+ {{ t('import.meta.description') }}
+ <NuxtLink to="/dashboard/settings?p=backup" style="color: var(--primary)">{{ t('import.meta.settingsLink') }}</NuxtLink
+ >.
</p>
<AppDrop ref="dropComponent" @select="handleFileSelect as (file: File) => void" />
<div class="submit">
<AppButton type="primary" :disabled="!selectedFile || isAnalyzing" @click="analyzeFile">
- {{ isAnalyzing ? 'Analyzing...' : 'Start Import' }}
+ {{ isAnalyzing ? t('import.steps.select.analyzing') : t('import.steps.select.startImport') }}
</AppButton>
</div>
<p v-if="analyzeError" class="error-text">{{ analyzeError }}</p>
@@ -59,8 +60,9 @@ import { handleBackupFile } from '~/helpers/backups';
import type { Manifest } from '~/helpers/backups/types';
import type { DB_Node, ImportJob } from '~/stores/db_strustures';
-definePageMeta({ breadcrumb: 'Importations' });
+definePageMeta({ breadcrumb: { i18n: 'import.meta.breadcrumb' } });
+const { t } = useI18nT();
const nodesStore = useNodesStore();
const notifications = useNotifications();
@@ -179,9 +181,17 @@ function importLocalSettings() {
const preferences = usePreferences();
if (localData.value) {
preferences.importPreferences(localData.value);
- notifications.add({ type: 'success', title: 'Settings Imported', message: 'Local settings have been imported successfully.' });
+ notifications.add({
+ type: 'success',
+ title: t('import.notifications.localImportedTitle'),
+ message: t('import.notifications.localImportedMessage'),
+ });
} else {
- notifications.add({ type: 'error', title: 'Import Failed', message: 'No local settings found in the backup.' });
+ notifications.add({
+ type: 'error',
+ title: t('import.notifications.importFailedTitle'),
+ message: t('import.notifications.importFailedMessage'),
+ });
}
}
@@ -198,8 +208,8 @@ async function importAll() {
notifications.add({
type: 'success',
- title: 'Import complete',
- message: `Documents imported successfully`,
+ title: t('import.notifications.importCompleteTitle'),
+ message: t('import.notifications.importCompleteMessage'),
});
}
</script>
diff --git a/frontend/app/pages/dashboard/settings/_modals/DeleteAccountModal.vue b/frontend/app/pages/dashboard/settings/_modals/DeleteAccountModal.vue
index 35a3f257..bbdc0d61 100644
--- a/frontend/app/pages/dashboard/settings/_modals/DeleteAccountModal.vue
+++ b/frontend/app/pages/dashboard/settings/_modals/DeleteAccountModal.vue
@@ -1,20 +1,22 @@
<template>
<div class="modal">
- <h3>Delete account</h3>
- <p>Are you sure you want to delete your account ?</p>
- <p style="opacity: 0.7">This action is irreversible</p>
- <p v-if="time > 0">Please wait {{ time }} seconds before confirming</p>
+ <h3>{{ t('user.accontDeletion.title') }}</h3>
+ <p>{{ t('user.accontDeletion.description') }}</p>
+ <p style="opacity: 0.7">{{ t('common.confirm.irreversible') }}</p>
+ <p v-if="time > 0">{{ t('user.accontDeletion.waitModal', { seconds: time }) }}</p>
<div class="footer">
- <AppButton type="secondary" @click="emit('close')">Cancel</AppButton>
- <AppButton :disabled="time > 0" type="danger" @click="deleteAccount">Confirm</AppButton>
+ <AppButton type="secondary" @click="emit('close')">{{ t('common.actions.cancel') }}</AppButton>
+ <AppButton :disabled="time > 0" type="danger" @click="deleteAccount">{{ t('common.actions.confirm') }}</AppButton>
</div>
</div>
</template>
<script setup lang="ts">
-const time = ref(15);
const emit = defineEmits(['close']);
+const { t } = useI18nT();
+
+const time = ref(15);
let interval: NodeJS.Timeout;
onMounted(() => {
diff --git a/frontend/app/pages/dashboard/settings/_views/_modals/Restore.vue b/frontend/app/pages/dashboard/settings/_views/_modals/Restore.vue
index 14e59ad6..53416792 100644
--- a/frontend/app/pages/dashboard/settings/_views/_modals/Restore.vue
+++ b/frontend/app/pages/dashboard/settings/_views/_modals/Restore.vue
@@ -1,13 +1,13 @@
<template>
<div class="modal">
- <h3>Restore default snippets</h3>
- <p>Are you sure you want to restore the default snippets?</p>
+ <h3>{{ t('settings.snippets.action.restoreDefaults') }}</h3>
+ <p>{{ t('settings.snippets.action.restoreDefaultsConfirm') }}</p>
- <p class="description">This action is irreversible</p>
+ <p class="description">{{ t('common.confirm.irreversible') }}</p>
<div class="footer">
- <AppButton type="secondary" @click="emit('close')">Cancel</AppButton>
- <AppButton type="danger" @click="reset">Confirm</AppButton>
+ <AppButton type="secondary" @click="emit('close')">{{ t('common.actions.cancel') }}</AppButton>
+ <AppButton type="danger" @click="reset">{{ t('common.actions.confirm') }}</AppButton>
</div>
</div>
</template>
@@ -16,6 +16,7 @@
const snippets = useSnippets();
const emit = defineEmits<{ close: [] }>();
+const { t } = useI18nT();
const reset = async () => {
snippets.restoreDefaults();
diff --git a/frontend/app/pages/dashboard/settings/_views/_modals/SnippetModal.vue b/frontend/app/pages/dashboard/settings/_views/_modals/SnippetModal.vue
index b9fac204..c2ac07a2 100644
--- a/frontend/app/pages/dashboard/settings/_views/_modals/SnippetModal.vue
+++ b/frontend/app/pages/dashboard/settings/_views/_modals/SnippetModal.vue
@@ -1,19 +1,23 @@
<template>
<div class="modal">
- <h2>{{ isEdit ? 'Edit Snippet' : 'New Snippet' }}</h2>
+ <h2>{{ isEdit ? t('settings.snippets.action.titleEdit') : t('settings.snippets.action.titleNew') }}</h2>
<label>
- <span>Shortcut</span>
+ <span>{{ t('settings.snippets.action.shortcut') }}</span>
<input v-model="form.id" type="text" placeholder="!example" :class="{ error: formError }" @input="formError = ''" />
<small v-if="formError" class="error-text">{{ formError }}</small>
- <small v-else class="hint">Prefix with <code>!</code> for easy trigger in editor</small>
+ <small v-else class="hint">
+ <i18n-t scope="global" keypath="settings.snippets.action.shortcutHint">
+ <template #code><code>!</code></template>
+ </i18n-t>
+ </small>
</label>
<label> Content </label>
- <textarea v-model="form.label" rows="6" placeholder="Snippet content...&#10;Use ${0}, ${1} for tab stops" />
+ <textarea v-model="form.label" rows="6" :placeholder="t('settings.snippets.action.contentPlaceholder')" />
<div class="actions-row">
- <AppButton type="secondary" @click="$emit('close')">Cancel</AppButton>
- <AppButton type="primary" @click="save">{{ isEdit ? 'Save' : 'Create' }}</AppButton>
+ <AppButton type="secondary" @click="$emit('close')">{{ t('common.actions.cancel') }}</AppButton>
+ <AppButton type="primary" @click="save">{{ isEdit ? t('common.actions.save') : t('common.actions.create') }}</AppButton>
</div>
</div>
</template>
@@ -28,14 +32,17 @@ const props = defineProps<{
const emit = defineEmits<{ close: [] }>();
-const isEdit = computed(() => !!props.snippet);
-const form = ref<Snippet>({ id: props.snippet?.id ?? '', label: props.snippet?.label ?? '' });
+const { t } = useI18nT();
+
const formError = ref('');
+const form = ref<Snippet>({ id: props.snippet?.id ?? '', label: props.snippet?.label ?? '' });
+
+const isEdit = computed(() => !!props.snippet);
const save = () => {
const trimmedId = form.value.id.trim();
if (!trimmedId) {
- formError.value = 'Shortcut is required';
+ formError.value = t('settings.snippets.action.required');
return;
}
@@ -44,7 +51,7 @@ const save = () => {
if (success) {
emit('close');
} else {
- formError.value = 'This shortcut already exists';
+ formError.value = t('settings.snippets.action.alreadyExists');
}
};
</script>
diff --git a/frontend/app/pages/dashboard/settings/_views/about.vue b/frontend/app/pages/dashboard/settings/_views/about.vue
index 8159fdd3..8c5ff737 100644
--- a/frontend/app/pages/dashboard/settings/_views/about.vue
+++ b/frontend/app/pages/dashboard/settings/_views/about.vue
@@ -1,21 +1,24 @@
<template>
<div>
- <h2 class="page-title">About Alexandrie</h2>
+ <h2 class="page-title">{{ t('settings.about.title') }}</h2>
<IconApp width="150px" height="150px" style="float: right" />
- <p class="page-subtitle">Information about the application.</p>
+ <p class="page-subtitle">{{ t('settings.about.subtitle') }}</p>
<p>
- <strong>Alexandrie version: {{ version }}</strong>
+ <strong>{{ t('settings.about.version') }}: {{ version }}</strong>
</p>
<p>
- <strong>Client: {{ isPWA ? 'PWA' : 'Website' }}</strong>
+ <strong>{{ t('settings.about.client') }}: {{ isPWA ? t('settings.about.pwa') : t('settings.about.website') }}</strong>
</p>
<p>
- Alexandrie is a personal knowledge management tool designed to help you organize and retrieve your notes efficiently. <br />
- It offers a range of features including document organization, tagging, and advanced search capabilities. <br />
- If you have any questions, suggestions or if you found a bug, please feel free to reach out to us! You can create an issue on the
- <NuxtLink to="https://github.com/Smaug6739/Alexandrie" target="_blank" style="font-weight: bold; color: var(--primary)">GitHub repository</NuxtLink>.
+ {{ t('settings.about.description') }} <br />
+ {{ t('settings.about.features') }} <br />
+ {{ t('settings.about.contact') }}
+ <NuxtLink to="https://github.com/Smaug6739/Alexandrie" target="_blank" style="font-weight: bold; color: var(--primary)">{{
+ t('settings.about.githubRepo')
+ }}</NuxtLink
+ >.
</p>
- <h3>Changelog v8.6.0</h3>
+ <h3>{{ t('settings.about.changelog') }} v8.6.0</h3>
<ul>
<li>New settings panel with improved UI and functionality</li>
<li>Added support for custom themes and appearance settings</li>
@@ -24,7 +27,7 @@
<li>Fixed various bugs and issues reported by users</li>
</ul>
<p style="display: flex; gap: 5px">
- See the full changelog on
+ {{ t('settings.about.seeFullChangelog') }}
<span style="display: flex; align-items: center">
<NuxtLink to="https://github.com/Smaug6739/Alexandrie/releases/tag/v8.6.0" target="_blank" style="font-weight: bold; color: var(--primary)"
>GitHub</NuxtLink
@@ -39,4 +42,5 @@
import pgk from '~/../package.json';
const version = pgk.version || 'unknown';
const isPWA = !!window.matchMedia('(display-mode: standalone)').matches;
+const { t } = useI18nT();
</script>
diff --git a/frontend/app/pages/dashboard/settings/_views/advanced.vue b/frontend/app/pages/dashboard/settings/_views/advanced.vue
index 7b828649..7f3bd4bf 100644
--- a/frontend/app/pages/dashboard/settings/_views/advanced.vue
+++ b/frontend/app/pages/dashboard/settings/_views/advanced.vue
@@ -1,23 +1,24 @@
<template>
<div>
- <h2 class="page-title">Advanced</h2>
- <p class="page-subtitle">Manage advanced settings for the application.</p>
+ <h2 class="page-title">{{ t('settings.advanced.title') }}</h2>
+ <p class="page-subtitle">{{ t('settings.advanced.subtitle') }}</p>
<div>
- <h3>Reset all preferences</h3>
- <p>This will reset all your preferences to their default values. This action cannot be undone.</p>
- <AppButton type="danger" @click="preferences.reset">Reset preferences</AppButton>
+ <h3>{{ t('settings.advanced.resetPreferences') }}</h3>
+ <p>{{ t('settings.advanced.resetPreferencesDesc') }}</p>
+ <AppButton type="danger" @click="preferences.reset">{{ t('settings.advanced.resetPreferencesBtn') }}</AppButton>
</div>
<div>
- <h3>Reset local storage</h3>
- <p>This will reset all your local storage data. This action cannot be undone. This action will also reset preferences.</p>
- <AppButton type="danger" @click="deleteLocalStorage">Delete local storage</AppButton>
+ <h3>{{ t('settings.advanced.resetLocalStorage') }}</h3>
+ <p>{{ t('settings.advanced.resetLocalStorageDesc') }}</p>
+ <AppButton type="danger" @click="deleteLocalStorage">{{ t('settings.advanced.resetLocalStorageBtn') }}</AppButton>
</div>
</div>
</template>
<script setup lang="ts">
const preferences = usePreferences();
+const { t } = useI18nT();
const deleteLocalStorage = () => {
localStorage.clear();
diff --git a/frontend/app/pages/dashboard/settings/_views/apparence.vue b/frontend/app/pages/dashboard/settings/_views/apparence.vue
index 557b4166..186ee466 100644
--- a/frontend/app/pages/dashboard/settings/_views/apparence.vue
+++ b/frontend/app/pages/dashboard/settings/_views/apparence.vue
@@ -1,115 +1,126 @@
<template>
<div>
- <h2 class="page-title">Preferences</h2>
- <p class="page-subtitle">Manage your preferences and settings.</p>
+ <h2 class="page-title">{{ t('settings.appearance.title') }}</h2>
+ <p class="page-subtitle">{{ t('settings.appearance.subtitle') }}</p>
- <AppPreferenceInputSection :options="options" />
+ <AppPreferenceInputSection :options="options as any" />
</div>
</template>
<script setup lang="ts">
const appColors = useAppColors();
-
-type InterfaceOption = Option & {
- tag?: string;
-};
+const { t } = useI18nT();
const colorMode = useColorMode();
-const options: Array<{ label: string; options: InterfaceOption[] }> = [
+const { setLocale } = useI18n();
+
+const options = computed(() => [
{
- label: 'General',
+ label: t('settings.appearance.general'),
options: [
{
- label: 'Enable Dark Mode',
- type: 'toggle',
- key: 'darkMode',
- // @ts-expect-error -> specific type
+ label: t('settings.appearance.enableDarkMode'),
+ type: 'toggle' as const,
+ key: 'darkMode' as const,
onChange: (option: boolean) => {
colorMode.preference = option ? 'dark' : 'light';
document.body.style.colorScheme = colorMode.preference;
},
},
{
- label: 'Choose accent color',
- type: 'color',
- key: 'primaryColor',
- // @ts-expect-error -> specific type
+ label: t('settings.appearance.setLanguage'),
+ description: t('settings.appearance.setLanguageDesc'),
+ type: 'select' as const,
+ key: 'locale' as const,
+ choices: [
+ { label: 'English', id: 'en' },
+ { label: 'Français', id: 'fr' },
+ ],
+ onChange: (option: unknown) => {
+ const localeCode = option as 'en' | 'fr';
+ setLocale(localeCode);
+ },
+ },
+ {
+ label: t('settings.appearance.chooseAccentColor'),
+ type: 'color' as const,
+ key: 'primaryColor' as const,
onChange: (option: number) => {
appColors.setAppColor(option);
},
},
{
- label: 'Interface style',
- description: 'Glassmorphism adds transparent surfaces with blur effects for a modern glass look.',
- type: 'radio',
- key: 'style',
- tag: 'New',
+ label: t('settings.appearance.interfaceStyle'),
+ description: t('settings.appearance.interfaceStyleDesc'),
+ type: 'radio' as const,
+ key: 'style' as const,
+ tag: t('settings.nav.new'),
choices: [
- { label: 'Default', id: 'default' },
- { label: 'Glassmorphism', id: 'glassmorphism' },
+ { label: t('settings.appearance.styleDefault'), id: 'default' },
+ { label: t('settings.appearance.styleGlassmorphism'), id: 'glassmorphism' },
],
},
],
},
{
- label: 'Sidebar',
+ label: t('settings.appearance.sidebar'),
options: [
{
- label: 'Enable Compact Mode',
- description: 'Reduce the size of the sidebar items to show more content on the screen.',
- type: 'toggle',
- key: 'compactMode',
+ label: t('settings.appearance.enableCompactMode'),
+ description: t('settings.appearance.enableCompactModeDesc'),
+ type: 'toggle' as const,
+ key: 'compactMode' as const,
},
{
- label: 'View dock',
- description: 'Show the dock on the right side of the sidebar to access to the different apps quickly.',
- type: 'toggle',
- key: 'view_dock',
+ label: t('settings.appearance.viewDock'),
+ description: t('settings.appearance.viewDockDesc'),
+ type: 'toggle' as const,
+ key: 'view_dock' as const,
},
{
- label: 'Normalize file icons',
- description: 'Display file parents with the same icon as classic files (not in green)',
- type: 'toggle',
- key: 'normalizeFileIcons',
+ label: t('settings.appearance.normalizeFileIcons'),
+ description: t('settings.appearance.normalizeFileIconsDesc'),
+ type: 'toggle' as const,
+ key: 'normalizeFileIcons' as const,
},
{
- label: 'Display uncategorized resources',
- description: 'Show resources (uploads from CDN) that are not categorized at the top of the sidebar.',
- type: 'toggle',
- key: 'displayUncategorizedResources',
+ label: t('settings.appearance.displayUncategorizedResources'),
+ description: t('settings.appearance.displayUncategorizedResourcesDesc'),
+ type: 'toggle' as const,
+ key: 'displayUncategorizedResources' as const,
},
- { label: 'Hide resources', type: 'toggle', key: 'hideSidebarResources' },
+ { label: t('settings.appearance.hideResources'), type: 'toggle' as const, key: 'hideSidebarResources' as const },
{
- label: 'Show items in Sidebar',
- type: 'groupCheckbox',
- key: 'sidebarItems',
+ label: t('settings.appearance.showItemsInSidebar'),
+ type: 'groupCheckbox' as const,
+ key: 'sidebarItems' as const,
items: {
- manageCategories: 'Manage Categories',
- importation: 'Importation',
- cdn: 'CDN',
- documents: 'Documents',
- settings: 'Settings',
- home: 'Home',
- newPage: 'New Page',
+ manageCategories: t('settings.appearance.sidebarItems.manageCategories'),
+ importation: t('settings.appearance.sidebarItems.importation'),
+ cdn: t('settings.appearance.sidebarItems.cdn'),
+ documents: t('settings.appearance.sidebarItems.documents'),
+ settings: t('settings.appearance.sidebarItems.settings'),
+ home: t('settings.appearance.sidebarItems.home'),
+ newPage: t('settings.appearance.sidebarItems.newPage'),
},
},
],
},
{
- label: 'Navbar',
+ label: t('settings.appearance.navbar'),
options: [
{
- label: 'Which items to display in the navbar',
- type: 'groupCheckbox',
- key: 'navbarItems',
+ label: t('settings.appearance.navbarItemsToDisplay'),
+ type: 'groupCheckbox' as const,
+ key: 'navbarItems' as const,
items: {
- breadcrumb: 'Breadcrumb',
- search: 'Search',
- theme: 'Theme',
- navigation: 'Navigation',
+ breadcrumb: t('settings.appearance.navbarItems.breadcrumb'),
+ search: t('settings.appearance.navbarItems.search'),
+ theme: t('settings.appearance.navbarItems.theme'),
+ navigation: t('settings.appearance.navbarItems.navigation'),
},
},
],
},
-];
+]);
</script>
diff --git a/frontend/app/pages/dashboard/settings/_views/backups.vue b/frontend/app/pages/dashboard/settings/_views/backups.vue
index cd5a4631..965fded5 100644
--- a/frontend/app/pages/dashboard/settings/_views/backups.vue
+++ b/frontend/app/pages/dashboard/settings/_views/backups.vue
@@ -1,35 +1,35 @@
<template>
<div>
- <h2 class="page-title">Backups <tag yellow>Beta</tag></h2>
- <div class="main">
- <p>Create a backup of your data with customizable options.</p>
+ <h2 class="page-title">{{ t('settings.backups.title') }}</h2>
+ <p class="page-subtitle">{{ t('settings.backups.subtitle') }}</p>
+ <div class="main">
<!-- Backup Options -->
<div class="options-section">
- <h3>Backup Options</h3>
+ <h3>{{ t('settings.backups.options') }}</h3>
<div class="options-grid">
<AppCheck v-model="options.includeDocuments">
<span class="option-label">
<Icon name="folder" display="sm" />
- Documents & Categories
+ {{ t('settings.backups.includeDocuments') }}
</span>
</AppCheck>
<AppCheck v-model="options.includeFiles">
<span class="option-label">
<Icon name="image" display="sm" />
- Uploaded Files (images, PDFs, etc.)
+ {{ t('settings.backups.includeFiles') }}
</span>
</AppCheck>
<AppCheck v-model="options.includeSettings">
<span class="option-label">
<Icon name="settings" display="sm" />
- Settings & Preferences
+ {{ t('settings.backups.includeSettings') }}
</span>
</AppCheck>
<AppCheck v-model="options.includeMetadata">
<span class="option-label">
<Icon name="layers" display="sm" />
- Metadata
+ {{ t('settings.backups.includeMetadata') }}
</span>
</AppCheck>
</div>
@@ -38,7 +38,7 @@
<!-- Start Backup Button -->
<AppButton type="primary" :disabled="isProcessing || !hasAnyOption" @click="startBackup">
<Icon v-if="!isProcessing" name="backup" display="sm" />
- {{ isProcessing ? 'Creating Backup...' : 'Create Backup' }}
+ {{ isProcessing ? t('settings.backups.creatingBackup') : t('settings.backups.createBackup') }}
</AppButton>
<LoaderSpinner v-if="isProcessing" />
<!-- Progress Section -->
@@ -59,7 +59,7 @@
<!-- Cancel Button -->
<AppButton v-if="currentJob.status === 'processing' || currentJob.status === 'pending'" type="secondary" @click="cancelBackup">
<Icon name="close" display="sm" />
- Cancel
+ {{ t('common.actions.cancel') }}
</AppButton>
<!-- Error Message -->
@@ -72,18 +72,18 @@
<div v-if="currentJob?.status === 'completed' && currentJob.download_url" class="link-section">
<p class="expiry-notice">
<Icon name="clock" :size="14" />
- This link expires on {{ numericDate(currentJob.expires_at || '') }}
+ {{ t('settings.backups.expiryNotice', { date: numericDate(currentJob.expires_at || '') }) }}
</p>
- <input v-model="currentJob.download_url" type="text" readonly placeholder="Backup Link" />
+ <input v-model="currentJob.download_url" type="text" readonly :placeholder="t('settings.backups.backupLink')" />
<div class="actions-row">
<AppButton type="secondary" @click="copyLink">
<Icon name="copy" display="sm" />
- Copy Link
+ {{ t('common.actions.copyLink') }}
</AppButton>
<a :href="currentJob.download_url" download>
<AppButton type="primary">
<Icon name="download" display="sm" />
- Download Backup
+ {{ t('settings.backups.downloadBackup') }}
</AppButton>
</a>
</div>
@@ -122,6 +122,7 @@ const options = reactive({
includeMetadata: true,
});
+const { t } = useI18nT();
const { numericDate } = useDateFormatters();
const notifications = useNotifications();
const pref = usePreferences();
@@ -136,13 +137,13 @@ const hasAnyOption = computed(() => options.includeDocuments || options.includeF
const statusLabel = computed(() => {
switch (currentJob.value?.status) {
case 'pending':
- return 'Pending';
+ return t('common.status.pending');
case 'processing':
- return 'Processing';
+ return t('common.status.processing');
case 'completed':
- return 'Completed';
+ return t('common.status.completed');
case 'failed':
- return 'Failed';
+ return t('common.status.failed');
default:
return '';
}
@@ -151,7 +152,7 @@ const statusLabel = computed(() => {
const copyLink = () => {
if (currentJob.value?.download_url) {
navigator.clipboard.writeText(currentJob.value.download_url);
- notifications.add({ type: 'success', title: 'Copied', message: 'Link copied to clipboard' });
+ notifications.add({ type: 'success', title: t('common.notifications.copiedTitle'), message: t('common.notifications.copiedMessage') });
}
};
@@ -172,7 +173,7 @@ async function startBackup() {
return;
}
- notifications.add({ type: 'success', title: 'Backup Started', message: 'Your backup is being created...' });
+ notifications.add({ type: 'success', title: t('settings.backups.notifications.startedTitle'), message: t('settings.backups.notifications.started') });
// Start polling for status
startPolling(result.result.job_id);
}
@@ -192,7 +193,7 @@ async function checkStatus(jobId: string) {
stopPolling();
if (result.result.status === 'completed') {
- notifications.add({ type: 'success', title: 'Backup Complete', message: 'Your backup is ready for download!' });
+ notifications.add({ type: 'success', title: t('settings.backups.notifications.completedTitle'), message: t('settings.backups.notifications.completed') });
} else if (result.result.status === 'failed') {
error(result.result.message, result.result.error);
}
@@ -222,24 +223,28 @@ async function cancelBackup() {
const result = await makeRequest(`backup/${currentJob.value.id}`, 'DELETE', {});
if (result.status !== 'success') {
- notifications.add({ type: 'error', title: 'Error', message: result.message || 'Failed to cancel backup' });
+ notifications.add({
+ type: 'error',
+ title: t('common.errors.generic'),
+ message: result.message || t('settings.backups.notifications.failedToCancelBackup'),
+ });
return;
}
stopPolling();
- notifications.add({ type: 'info', title: 'Cancelled', message: 'Backup has been cancelled' });
+ notifications.add({ type: 'info', title: t('settings.backups.notifications.canceled') });
currentJob.value = null;
}
function error(message?: string, error?: string) {
- notifications.add({ type: 'error', title: 'Error', message: 'An unknown error occurred' });
+ notifications.add({ type: 'error', title: t('common.errors.generic'), message: message || t('common.errors.unknown') });
currentJob.value = {
status: 'failed',
id: '',
user_id: '',
options: { include_documents: false, include_files: false, include_metadata: false },
progress: 0,
- message: message || 'An error occurred while fetching the backup status. Please try again later.',
+ message: message || t('settings.backups.notifications.errorFetching'),
error: error,
created_at: '',
updated_at: '',
diff --git a/frontend/app/pages/dashboard/settings/_views/documents.vue b/frontend/app/pages/dashboard/settings/_views/documents.vue
index ea8d3183..8526eae6 100644
--- a/frontend/app/pages/dashboard/settings/_views/documents.vue
+++ b/frontend/app/pages/dashboard/settings/_views/documents.vue
@@ -1,7 +1,7 @@
<template>
<div>
- <h2 class="page-title">Documents preferences</h2>
- <p class="page-subtitle">Manage your document settings and editor preferences.</p>
+ <h2 class="page-title">{{ t('settings.documents.title') }}</h2>
+ <p class="page-subtitle">{{ t('settings.documents.subtitle') }}</p>
<AppPreferenceInputSection :options="options" />
</div>
@@ -14,50 +14,52 @@ type InterfaceOption = Option & {
tag?: string;
};
-const options: Array<{ label: string; options: InterfaceOption[] }> = [
+const { t } = useI18nT();
+
+const options = computed<Array<{ label: string; options: InterfaceOption[] }>>(() => [
{
- label: 'Documents',
+ label: t('settings.documents.section'),
options: [
{
- label: 'Enable Print Mode',
- description: 'Simplify the header of printed documents (remove the thumbnail, tags, description and keep only the title)',
+ label: t('settings.documents.enablePrintMode'),
+ description: t('settings.documents.enablePrintModeDesc'),
type: 'toggle',
key: 'printMode',
},
- { label: 'Hide Table of Content', type: 'toggle', key: 'hideTOC' },
+ { label: t('settings.documents.hideTOC'), type: 'toggle', key: 'hideTOC' },
{
- label: 'Document size',
+ label: t('settings.documents.documentSize'),
type: 'radio',
key: 'docSize',
choices: DOCUMENT_SIZES,
},
{
- label: 'Theme',
- description: 'Default theme used for documents. You can override it for each document individually.',
+ label: t('settings.documents.theme'),
+ description: t('settings.documents.themeDesc'),
type: 'select',
key: 'theme',
choices: DOCUMENT_THEMES,
},
{
- label: 'Default font size',
- description: 'Set the default font size for all your documents.',
+ label: t('settings.documents.defaultFontSize'),
+ description: t('settings.documents.defaultFontSizeDesc'),
type: 'number',
key: 'documentFontSize',
},
{
- label: 'Default font family',
- description: 'Set the default font family for all your documents.',
+ label: t('settings.documents.defaultFontFamily'),
+ description: t('settings.documents.defaultFontFamilyDesc'),
type: 'select',
choices: EDITOR_FONTS,
key: 'documentFontFamily',
},
{
- label: 'Default line height',
- description: 'Set the default line height for all your documents.',
+ label: t('settings.documents.defaultLineHeight'),
+ description: t('settings.documents.defaultLineHeightDesc'),
type: 'number',
key: 'documentLineHeight',
},
],
},
-];
+]);
</script>
diff --git a/frontend/app/pages/dashboard/settings/_views/editor.vue b/frontend/app/pages/dashboard/settings/_views/editor.vue
index c94bfa9d..f0d25d48 100644
--- a/frontend/app/pages/dashboard/settings/_views/editor.vue
+++ b/frontend/app/pages/dashboard/settings/_views/editor.vue
@@ -1,7 +1,7 @@
<template>
<div>
- <h2 class="page-title">Editor preferences</h2>
- <p class="page-subtitle">Manage your editor preferences.</p>
+ <h2 class="page-title">{{ t('settings.editor.title') }}</h2>
+ <p class="page-subtitle">{{ t('settings.editor.subtitle') }}</p>
<AppPreferenceInputSection :options="options" />
</div>
@@ -14,18 +14,20 @@ type InterfaceOption = Option & {
tag?: string;
};
-const options: Array<{ label: string; options: InterfaceOption[] }> = [
+const { t } = useI18nT();
+
+const options = computed<Array<{ label: string; options: InterfaceOption[] }>>(() => [
{
- label: 'Editor',
+ label: t('settings.editor.section'),
options: [
{
- label: 'Editor font family',
+ label: t('settings.editor.fontFamily'),
type: 'select',
key: 'editorFontFamily',
choices: EDITOR_FONTS,
},
{
- label: 'Editor font size',
+ label: t('settings.editor.fontSize'),
type: 'select',
key: 'editorFontSize',
choices: [
@@ -38,33 +40,33 @@ const options: Array<{ label: string; options: InterfaceOption[] }> = [
{ label: '24', id: 24 },
],
},
- { label: 'Enable document auto-save', type: 'toggle', key: 'documentAutoSave' },
+ { label: t('settings.editor.enableAutoSave'), type: 'toggle', key: 'documentAutoSave' },
{
- label: 'Enable Spell Check',
- description: 'Enable spell check of browser in the editor. Changes may require a page reload to take effect.',
+ label: t('settings.editor.enableSpellCheck'),
+ description: t('settings.editor.enableSpellCheckDesc'),
type: 'toggle',
key: 'editorSpellCheck',
},
{
- label: 'Display statistics bar',
- description: 'Show a small statistics bar at the top of the editor with word count, characters, and lines.',
+ label: t('settings.editor.displayStatsBar'),
+ description: t('settings.editor.displayStatsBarDesc'),
type: 'toggle',
key: 'editorDisplayStats',
},
{
- label: 'Enable Snippets',
- description: 'Enable or disable editor snippets functionality.',
+ label: t('settings.editor.enableSnippets'),
+ description: t('settings.editor.enableSnippetsDesc'),
type: 'toggle',
key: 'editorSnippetsEnabled',
},
{
- label: 'Simplified view for mobile',
- tag: 'New',
- description: 'Enable a simplified editor view on mobile devices for better usability.',
+ label: t('settings.editor.simplifiedMobileView'),
+ tag: t('settings.nav.new'),
+ description: t('settings.editor.simplifiedMobileViewDesc'),
type: 'toggle',
key: 'editorSimplifiedViewOnMobile',
},
],
},
-];
+]);
</script>
diff --git a/frontend/app/pages/dashboard/settings/_views/other.vue b/frontend/app/pages/dashboard/settings/_views/other.vue
index df28c35d..05e46eee 100644
--- a/frontend/app/pages/dashboard/settings/_views/other.vue
+++ b/frontend/app/pages/dashboard/settings/_views/other.vue
@@ -1,7 +1,7 @@
<template>
<div>
- <h2 class="page-title">Other</h2>
- <p class="page-subtitle">Manage other general settings for the application.</p>
+ <h2 class="page-title">{{ t('settings.other.title') }}</h2>
+ <p class="page-subtitle">{{ t('settings.other.subtitle') }}</p>
<AppPreferenceInputSection :options="options" />
</div>
@@ -12,15 +12,16 @@ type InterfaceOption = Option & {
tag?: string;
};
+const { t } = useI18nT();
const nodesTree = useNodesTree();
const categories = nodesTree.treeUpToRole(2).value;
-const options: Array<{ label: string; options: InterfaceOption[] }> = [
+const options = computed<Array<{ label: string; options: InterfaceOption[] }>>(() => [
{
- label: 'Datatable',
+ label: t('settings.other.datatable'),
options: [
{
- label: 'Default datatable items count',
+ label: t('settings.other.defaultItemsCount'),
type: 'select',
key: 'datatableItemsCount',
choices: [
@@ -34,11 +35,11 @@ const options: Array<{ label: string; options: InterfaceOption[] }> = [
],
},
{
- label: 'Uploads',
+ label: t('settings.other.uploads'),
options: [
{
- label: 'Default upload folder',
- description: 'Choose the default folder where your uploads will be stored. You can change this for each upload.',
+ label: t('settings.other.defaultUploadFolder'),
+ description: t('settings.other.defaultUploadFolderDesc'),
type: 'select',
key: 'defaultUploadFolder',
choices: categories,
@@ -46,15 +47,15 @@ const options: Array<{ label: string; options: InterfaceOption[] }> = [
],
},
{
- label: 'Other',
+ label: t('settings.other.otherSection'),
options: [
{
- label: 'Developer Mode',
- description: 'Enable additional debugging features and options like "Copy ID" in context menus.',
+ label: t('settings.other.developerMode'),
+ description: t('settings.other.developerModeDesc'),
type: 'toggle',
key: 'developerMode',
},
],
},
-];
+]);
</script>
diff --git a/frontend/app/pages/dashboard/settings/_views/profile.vue b/frontend/app/pages/dashboard/settings/_views/profile.vue
index b09e1d45..2238cca3 100644
--- a/frontend/app/pages/dashboard/settings/_views/profile.vue
+++ b/frontend/app/pages/dashboard/settings/_views/profile.vue
@@ -1,34 +1,38 @@
<template>
<div>
- <h2 class="page-title">My Profile</h2>
- <p class="page-subtitle">Manage your profile settings and preferences.</p>
+ <h2 class="page-title">{{ t('settings.profile.title') }}</h2>
+ <p class="page-subtitle">{{ t('settings.profile.subtitle') }}</p>
<form v-if="userStore.user" @submit.prevent="updateUser">
<div class="form-group">
- <label for="username">Username</label>
+ <label for="username">{{ t('settings.profile.username') }}</label>
<input id="username" v-model="userStore.user.username" type="text" disabled required />
</div>
<div class="form-group">
- <label for="firstname">First Name</label>
+ <label for="firstname">{{ t('settings.profile.firstname') }}</label>
<input id="firstname" v-model="userStore.user.firstname" type="text" />
</div>
<div class="form-group">
- <label for="lastname">Last Name</label>
+ <label for="lastname">{{ t('settings.profile.lastname') }}</label>
<input id="lastname" v-model="userStore.user.lastname" type="text" />
</div>
<div class="form-group">
- <label for="email">Email</label>
+ <label for="email">{{ t('settings.profile.email') }}</label>
<input id="email" v-model="userStore.user.email" type="email" required />
</div>
<div class="form-group">
- <label>Avatar</label>
+ <label>{{ t('settings.profile.avatar') }}</label>
<img :src="avatarDisplayed" class="avatar" @click="selectAvatar" />
<input ref="avatarInput" type="file" accept="image/*" style="display: none" @change="previewAvatar" />
</div>
- <AppButton type="primary">Update profile</AppButton>
+ <AppButton type="primary">{{ t('common.actions.update') }}</AppButton>
</form>
<hr style="margin: 10px 0" />
- <p><strong>Account creation:</strong> {{ shortDate(userStore.user?.created_timestamp) }}</p>
- <p><strong>Last update:</strong> {{ shortDate(userStore.user?.updated_timestamp) }}</p>
+ <p>
+ <strong>{{ t('settings.profile.accountCreation') }}:</strong> {{ shortDate(userStore.user?.created_timestamp) }}
+ </p>
+ <p>
+ <strong>{{ t('settings.profile.lastUpdate') }}:</strong> {{ shortDate(userStore.user?.updated_timestamp) }}
+ </p>
</div>
</template>
@@ -38,6 +42,7 @@ const resourcesStore = useResourcesStore();
const { avatarURL } = useApi();
const { shortDate } = useDateFormatters();
+const { t } = useI18nT();
const avatarInput = ref<HTMLInputElement | null>(null);
const avatarPreview = ref('');
@@ -69,10 +74,10 @@ const updateUser = async () => {
try {
await uploadAvatar();
await userStore.update(userStore.user);
- useNotifications().add({ type: 'success', title: 'User updated' });
+ useNotifications().add({ type: 'success', title: t('settings.profile.notifications.updated') });
} catch (e) {
avatarPreview.value = '';
- useNotifications().add({ type: 'error', title: 'Error', message: e as string });
+ useNotifications().add({ type: 'error', title: t('settings.profile.notifications.error'), message: e as string });
}
};
</script>
diff --git a/frontend/app/pages/dashboard/settings/_views/security.vue b/frontend/app/pages/dashboard/settings/_views/security.vue
index ddf1c168..66ee2c65 100644
--- a/frontend/app/pages/dashboard/settings/_views/security.vue
+++ b/frontend/app/pages/dashboard/settings/_views/security.vue
@@ -1,29 +1,29 @@
<template>
<div>
- <h2 class="page-title">Security</h2>
- <p class="page-subtitle">Manage your security settings and monitor your account activity.</p>
- <h3>Active sessions</h3>
- <p class="section-description">These are the devices that are currently logged into your account.</p>
+ <h2 class="page-title">{{ t('settings.security.title') }}</h2>
+ <p class="page-subtitle">{{ t('settings.security.subtitle') }}</p>
+ <h3>{{ t('settings.security.activeSessions') }}</h3>
+ <p class="section-description">{{ t('settings.security.activeSessionsDesc') }}</p>
<div class="sessions-list">
<SessionCard v-for="(session, index) in store.sessions" :key="session.id" :session="session" :is-current="index === 0" :show-user-agent="true" />
</div>
- <p v-if="store.sessions.length === 0" class="no-sessions">No active sessions found.</p>
+ <p v-if="store.sessions.length === 0" class="no-sessions">{{ t('settings.security.noSessions') }}</p>
<div v-if="hasUnrecognizedSession" class="warning-box">
<Icon name="warning" display="sm" />
<div>
- <strong>Don't recognize a session?</strong>
- <p>If you see a session you don't recognize, change your password immediately and click "Log out from all devices" below.</p>
+ <strong>{{ t('settings.security.unrecognizedSession') }}</strong>
+ <p>{{ t('settings.security.unrecognizedSessionDesc') }}</p>
</div>
</div>
<!-- OIDC Linked Accounts -->
<template v-if="oidcEnabled">
- <h3>Connected accounts</h3>
- <p class="section-description">Link external accounts for easier sign-in.</p>
+ <h3>{{ t('settings.security.connectedAccounts') }}</h3>
+ <p class="section-description">{{ t('settings.security.connectedAccountsDesc') }}</p>
<div class="oidc-accounts">
<div v-if="loadingOIDC" class="oidc-loading">
<LoaderSpinner :size="24" />
- <span>Loading connected accounts...</span>
+ <span>{{ t('settings.security.loadingAccounts') }}</span>
</div>
<template v-else>
<div v-for="provider in availableProviders" :key="provider.name" class="oidc-account">
@@ -34,36 +34,37 @@
</div>
<div class="oidc-account-actions">
<template v-if="isLinked(provider.name)">
- <span class="oidc-status linked">Connected</span>
- <AppButton type="danger" size="sm" @click="unlinkAccount(provider.name)">Unlink</AppButton>
+ <span class="oidc-status linked">{{ t('settings.security.connected') }}</span>
+ <AppButton type="danger" size="sm" @click="unlinkAccount(provider.name)">{{ t('settings.security.unlink') }}</AppButton>
</template>
<template v-else>
- <span class="oidc-status">Not connected</span>
- <AppButton type="secondary" size="sm" @click="linkAccount(provider.name)">Link</AppButton>
+ <span class="oidc-status">{{ t('settings.security.notConnected') }}</span>
+ <AppButton type="secondary" size="sm" @click="linkAccount(provider.name)">{{ t('settings.security.link') }}</AppButton>
</template>
</div>
</div>
- <p v-if="availableProviders.length === 0" class="no-providers">No SSO providers are configured for this application.</p>
+ <p v-if="availableProviders.length === 0" class="no-providers">{{ t('settings.security.noProviders') }}</p>
</template>
</div>
</template>
- <h3>Password</h3>
+ <h3>{{ t('settings.security.password') }}</h3>
<form @submit.prevent="changePassword">
<div class="form-group">
- <label for="password">New password</label>
+ <label for="password">{{ t('settings.security.newPassword') }}</label>
<input id="password" v-model="passwordValue" type="password" required />
</div>
<div class="form-group">
<span style="display: flex; align-items: center"
- ><label for="password_confirm">Confirm password</label> <span v-if="errPasswordNotMatch" class="err"> Password do not match !</span></span
+ ><label for="password_confirm">{{ t('settings.security.confirmPassword') }}</label>
+ <span v-if="errPasswordNotMatch" class="err"> {{ t('settings.security.passwordNotMatch') }}</span></span
>
<input id="password_confirm" v-model="passwordConfirmValue" type="password" required />
</div>
- <AppButton type="primary">Change password</AppButton>
+ <AppButton type="primary">{{ t('settings.security.changePassword') }}</AppButton>
</form>
- <h2>Danger zone</h2>
- <p class="page-subtitle">Irreversible actions. Please proceed with caution.</p>
+ <h2>{{ t('settings.security.dangerZone') }}</h2>
+ <p class="page-subtitle">{{ t('settings.security.dangerZoneDesc') }}</p>
<div class="danger-section">
<div class="danger-card">
@@ -72,11 +73,11 @@
<Icon name="logout" display="sm" />
</div>
<div class="danger-card-info">
- <h4>Log out</h4>
- <p>End your current session on this device. You will need to sign in again to access your account.</p>
+ <h4>{{ t('settings.security.logout') }}</h4>
+ <p>{{ t('settings.security.logoutDesc') }}</p>
</div>
</div>
- <AppButton type="secondary" @click="logout">Log out</AppButton>
+ <AppButton type="secondary" @click="logout">{{ t('settings.security.logout') }}</AppButton>
</div>
<div class="danger-card">
@@ -85,11 +86,11 @@
<Icon name="devices" display="sm" />
</div>
<div class="danger-card-info">
- <h4>Log out from all devices</h4>
- <p>End all active sessions across all devices. You will be redirected to the login page. Make sure to save your work first.</p>
+ <h4>{{ t('settings.security.logoutAll') }}</h4>
+ <p>{{ t('settings.security.logoutAllDesc') }}</p>
</div>
</div>
- <AppButton type="danger" @click="logoutAll">Log out from all devices</AppButton>
+ <AppButton type="danger" @click="logoutAll">{{ t('settings.security.logoutAll') }}</AppButton>
</div>
<div class="danger-card destructive">
@@ -98,21 +99,23 @@
<Icon name="delete" display="sm" />
</div>
<div class="danger-card-info">
- <h4>Delete account</h4>
- <p>Permanently delete your account and all associated data. This action cannot be undone.</p>
+ <h4>{{ t('settings.security.deleteAccount') }}</h4>
+ <p>{{ t('settings.security.deleteAccountDesc') }}</p>
<details class="delete-details">
- <summary>What will be deleted?</summary>
+ <summary>{{ t('settings.security.deleteAccountDetails') }}</summary>
<ul>
- <li>All your files and folders</li>
- <li>All your uploads</li>
- <li>All your shares</li>
- <li>All your account data (preferences, profile...)</li>
+ <li>{{ t('settings.security.deleteAccountList.files') }}</li>
+ <li>{{ t('settings.security.deleteAccountList.uploads') }}</li>
+ <li>{{ t('settings.security.deleteAccountList.shares') }}</li>
+ <li>{{ t('settings.security.deleteAccountList.data') }}</li>
</ul>
- <p class="backup-hint"><NuxtLink to="/dashboard/settings?p=backup">Export your data</NuxtLink> before deleting your account.</p>
+ <p class="backup-hint">
+ <NuxtLink to="/dashboard/settings?p=backup">{{ t('settings.security.backupHint') }}</NuxtLink>
+ </p>
</details>
</div>
</div>
- <AppButton type="danger" @click="openDeleteModal">Delete account</AppButton>
+ <AppButton type="danger" @click="openDeleteModal">{{ t('settings.security.deleteAccount') }}</AppButton>
</div>
</div>
</div>
@@ -123,6 +126,7 @@ import { getProviderIcon, getProviderLabel } from '~/helpers/oidc-providers';
import DeleteAccountModal from '../_modals/DeleteAccountModal.vue';
const emit = defineEmits(['close']);
+const { t } = useI18nT();
const store = useUserStore();
store.fetchSessions();
@@ -152,16 +156,16 @@ async function linkAccount(providerName: string) {
try {
await linkProvider(providerName);
} catch (error) {
- useNotifications().add({ type: 'error', title: (error as Error).message || 'Failed to initiate account linking' });
+ useNotifications().add({ type: 'error', title: (error as Error).message || t('settings.security.notifications.linkError') });
}
}
async function unlinkAccount(providerName: string) {
try {
await unlinkProvider(providerName);
- useNotifications().add({ type: 'success', title: `${getProviderLabel(providerName)} account unlinked` });
+ useNotifications().add({ type: 'success', title: t('settings.security.notifications.accountUnlinked', { provider: getProviderLabel(providerName) }) });
} catch (error) {
- useNotifications().add({ type: 'error', title: (error as Error).message || 'Failed to unlink account' });
+ useNotifications().add({ type: 'error', title: (error as Error).message || t('settings.security.notifications.unlinkError') });
}
}
@@ -185,9 +189,9 @@ const changePassword = async () => {
passwordValue.value = '';
passwordConfirmValue.value = '';
errPasswordNotMatch.value = false;
- useNotifications().add({ type: 'success', title: 'Password changed successfully' });
+ useNotifications().add({ type: 'success', title: t('settings.security.notifications.passwordChanged') });
})
- .catch(e => useNotifications().add({ type: 'error', title: 'Error during password saving', message: e.message }));
+ .catch(e => useNotifications().add({ type: 'error', title: t('settings.security.notifications.passwordError'), message: e.message }));
};
const logout = () => {
diff --git a/frontend/app/pages/dashboard/settings/_views/shortcuts.vue b/frontend/app/pages/dashboard/settings/_views/shortcuts.vue
index 39768c57..53506f42 100644
--- a/frontend/app/pages/dashboard/settings/_views/shortcuts.vue
+++ b/frontend/app/pages/dashboard/settings/_views/shortcuts.vue
@@ -2,133 +2,137 @@
<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>
- <p>General</p>
+ <p>{{ t('application.shortcuts.sections.general') }}</p>
<div class="shortcuts">
<div class="shortcut">
- <span>Open command center and navigate</span>
+ <span>{{ t('application.shortcuts.openCmdCenter') }}</span>
<span><kbd>Ctrl</kbd> <kbd>K</kbd> or <kbd>/</kbd></span>
</div>
<div class="shortcut">
- <span>Open CDN uploader</span>
+ <span>{{ t('application.shortcuts.openCDN') }}</span>
<span><kbd>Ctrl</kbd> <kbd>U</kbd></span>
</div>
<div class="shortcut">
- <span>Create a new document</span>
+ <span>{{ t('application.shortcuts.createDocument') }}</span>
<span><kbd>Ctrl</kbd> <kbd>Alt</kbd> <kbd>C</kbd></span>
</div>
<div class="shortcut">
- <span>Create a new category</span>
+ <span>{{ t('application.shortcuts.createCategory') }}</span>
<span><kbd>Ctrl</kbd> <kbd>Alt</kbd> <kbd>N</kbd></span>
</div>
<div class="shortcut">
- <span>Reload the page</span>
+ <span>{{ t('application.shortcuts.reloadPage') }}</span>
<span><kbd>Ctrl</kbd> <kbd>R</kbd></span>
</div>
<div class="shortcut">
- <span>Save the current page</span>
+ <span>{{ t('application.shortcuts.savePage') }}</span>
<span><kbd>Ctrl</kbd> <kbd>S</kbd></span>
</div>
<div class="shortcut">
- <span>Print the page</span>
+ <span>{{ t('application.shortcuts.printPage') }}</span>
<span><kbd>Ctrl</kbd> <kbd>P</kbd></span>
</div>
<div class="shortcut">
- <span>Close the current modal</span>
+ <span>{{ t('application.shortcuts.closeModal') }}</span>
<span><kbd>Esc</kbd></span>
</div>
</div>
- <p>Document page</p>
+ <p>{{ t('application.shortcuts.sections.document') }}</p>
<div class="shortcuts">
<div class="shortcut">
- <span>Edit the document</span>
+ <span>{{ t('application.shortcuts.editDocument') }}</span>
<span><kbd>Ctrl</kbd> <kbd>E</kbd></span>
</div>
<div class="shortcut">
- <span>Go to next document</span>
+ <span>{{ t('application.shortcuts.nextDocument') }}</span>
<span><kbd>ArrowRight</kbd></span>
</div>
<div class="shortcut">
- <span>Go to previous document</span>
+ <span>{{ t('application.shortcuts.prevDocument') }}</span>
<span><kbd>ArrowLeft</kbd></span>
</div>
</div>
- <p>Editor page</p>
+ <p>{{ t('application.shortcuts.sections.editor') }}</p>
<div class="shortcuts">
<div class="shortcut">
- <span>Save the document</span>
+ <span>{{ t('application.shortcuts.savePage') }}</span>
<span><kbd>Ctrl</kbd> <kbd>S</kbd></span>
</div>
<div class="shortcut">
- <span>Toggle preview</span>
+ <span>{{ t('application.shortcuts.togglePreview') }}</span>
<span><kbd>Ctrl</kbd> <kbd>P</kbd></span>
</div>
<div class="shortcut">
- <span>Exit the page</span>
+ <span>{{ t('application.shortcuts.exitPage') }}</span>
<span><kbd>Esc</kbd></span>
</div>
<div class="shortcut">
- <span>Open the find dialog</span>
+ <span>{{ t('application.shortcuts.openFindDialog') }}</span>
<span><kbd>Ctrl</kbd> <kbd>F</kbd></span>
</div>
<div class="shortcut">
- <span>Undo the last action</span>
+ <span>{{ t('application.shortcuts.undoAction') }}</span>
<span><kbd>Ctrl</kbd> <kbd>Z</kbd></span>
</div>
<div class="shortcut">
- <span>Redo the last action</span>
+ <span>{{ t('application.shortcuts.redoAction') }}</span>
<span><kbd>Ctrl</kbd> <kbd>Y</kbd></span>
</div>
<div class="shortcut">
- <span>Copy the selected text or line if no selection</span>
+ <span>{{ t('application.shortcuts.copyText') }}</span>
<span><kbd>Ctrl</kbd> <kbd>C</kbd></span>
</div>
<div class="shortcut">
- <span>Cut the selected text or line if no selection</span>
+ <span>{{ t('application.shortcuts.cutText') }}</span>
<span><kbd>Ctrl</kbd> <kbd>X</kbd></span>
</div>
<div class="shortcut">
- <span>Paste from clipboard</span>
+ <span>{{ t('application.shortcuts.pasteText') }}</span>
<span><kbd>Ctrl</kbd> <kbd>V</kbd></span>
</div>
<div class="shortcut">
- <span>Bold text</span>
+ <span>{{ t('application.shortcuts.boldText') }}</span>
<span><kbd>Ctrl</kbd> <kbd>B</kbd></span>
</div>
<div class="shortcut">
- <span>Italic text</span>
+ <span>{{ t('application.shortcuts.italicText') }}</span>
<span><kbd>Ctrl</kbd> <kbd>I</kbd></span>
</div>
<div class="shortcut">
- <span>Underline text</span>
+ <span>{{ t('application.shortcuts.underlineText') }}</span>
<span><kbd>Ctrl</kbd> <kbd>U</kbd></span>
</div>
<div class="shortcut">
- <span>Insert link</span>
+ <span>{{ t('application.shortcuts.insertLink') }}</span>
<span><kbd>Ctrl</kbd> <kbd>L</kbd></span>
</div>
<div class="shortcut">
- <span>Insert image</span>
+ <span>{{ t('application.shortcuts.insertImage') }}</span>
<span><kbd>Ctrl</kbd> <kbd>E</kbd></span>
</div>
</div>
- <p>Search page</p>
+ <p>{{ t('application.shortcuts.sections.search') }}</p>
<div class="shortcuts">
<div class="shortcut">
- <span>Next search result</span>
+ <span>{{ t('application.shortcuts.nextSearchResult') }}</span>
<span><kbd>Tab</kbd></span>
</div>
<div class="shortcut">
- <span>Previous search result</span>
+ <span>{{ t('application.shortcuts.prevSearchResult') }}</span>
<span><kbd>Shift</kbd> <kbd>Tab</kbd></span>
</div>
<div class="shortcut">
- <span>Open the selected search result</span>
+ <span>{{ t('application.shortcuts.openSelectedSearchResult') }}</span>
<span><kbd>Enter</kbd></span>
</div>
</div>
</div>
</template>
+<script lang="ts" setup>
+const { t } = useI18nT();
+</script>
+
<style scoped lang="scss">
.shortcuts {
display: flex;
diff --git a/frontend/app/pages/dashboard/settings/_views/snippets.vue b/frontend/app/pages/dashboard/settings/_views/snippets.vue
index 12a3d5bf..2a671fa0 100644
--- a/frontend/app/pages/dashboard/settings/_views/snippets.vue
+++ b/frontend/app/pages/dashboard/settings/_views/snippets.vue
@@ -3,9 +3,9 @@
<!-- Header -->
<header class="page-header">
<div class="header-content">
- <h2 class="page-title">Snippets</h2>
+ <h2 class="page-title">{{ t('settings.snippets.title') }}</h2>
<p class="page-subtitle">
- Manage markdown shortcuts. Type <code>!shortcut</code> in the editor to expand.
+ {{ t('settings.snippets.subtitle') }}
<span class="count">{{ allSnippets.length }} snippets</span>
</p>
</div>
@@ -23,9 +23,9 @@
</Transition>
<div v-if="showImportMenu" class="dropdown-backdrop" @click="showImportMenu = false" />
</div>
- <AppButton type="secondary" @click="exportJSON"><Icon name="backup" /> Export</AppButton>
- <AppButton type="secondary" @click="openRestoreModal"><Icon name="refresh" />Restore</AppButton>
- <AppButton type="primary" @click="openModal('create')"><Icon name="plus" />New</AppButton>
+ <AppButton type="secondary" @click="exportJSON"><Icon name="backup" /> {{ t('common.actions.export') }}</AppButton>
+ <AppButton type="secondary" @click="openRestoreModal"><Icon name="refresh" /> {{ t('common.actions.reset') }}</AppButton>
+ <AppButton type="primary" @click="openModal('create')"><Icon name="plus" />{{ t('common.actions.create') }}</AppButton>
</div>
<!-- Data Table -->
@@ -56,22 +56,22 @@
</template>
<script setup lang="ts">
-import type { Snippet } from '~/composables/useSnippets';
-import type { Field } from '~/components/DataTable.vue';
import SnippetModal from './_modals/SnippetModal.vue';
import { Modal } from '~/composables/useModal';
import RestoreModal from './_modals/Restore.vue';
+import type { Snippet } from '~/composables/useSnippets';
+import type { Field } from '~/components/DataTable.vue';
-const { allSnippets, add, remove, update, exportJSON, importJSON, importDictionary, isDuplicate } = useSnippets();
-
+const { t } = useI18nT();
const notifications = useNotifications();
const modalManager = useModal();
+const { allSnippets, add, remove, update, exportJSON, importJSON, importDictionary, isDuplicate } = useSnippets();
// Table config
const headers = [
- { label: 'Shortcut', key: 'shortcut' },
- { label: 'Content', key: 'content' },
- { label: 'Actions', key: 'action', align: 'right' as const },
+ { label: t('settings.snippets.shortcut'), key: 'shortcut' },
+ { label: t('common.labels.content'), key: 'content' },
+ { label: t('common.labels.action'), key: 'action', align: 'right' as const },
];
const truncate = (str: string, len: number) => {
diff --git a/frontend/app/pages/dashboard/settings/_views/styles.vue b/frontend/app/pages/dashboard/settings/_views/styles.vue
index 756bab59..75361a7c 100644
--- a/frontend/app/pages/dashboard/settings/_views/styles.vue
+++ b/frontend/app/pages/dashboard/settings/_views/styles.vue
@@ -1,7 +1,7 @@
<template>
<div>
- <h2 class="page-title">Styles injection</h2>
- <p class="page-subtitle">Inherit and customize the application and document styles.</p>
+ <h2 class="page-title">{{ t('settings.styles.title') }}</h2>
+ <p class="page-subtitle">{{ t('settings.styles.subtitle') }}</p>
<AppPreferenceInputSection :options="options" />
</div>
@@ -12,27 +12,29 @@ type InterfaceOption = Option & {
tag?: string;
};
-const options: Array<{ label: string; options: InterfaceOption[] }> = [
+const { t } = useI18nT();
+
+const options = computed<Array<{ label: string; options: InterfaceOption[] }>>(() => [
{
- label: 'Custom styles',
+ label: t('settings.styles.customStyles'),
options: [
{
- label: 'Enable custom styles injection',
- description: 'Inject your own CSS to customize the app and document themes. Changes are applied in real-time.',
+ label: t('settings.styles.enableInjection'),
+ description: t('settings.styles.enableInjectionDesc'),
type: 'toggle',
key: 'stylesInjectionEnabled',
},
{
- label: 'Application styles',
- description: 'CSS applied globally to the entire application (layout, sidebar, navbar, etc.)',
+ label: t('settings.styles.appStyles'),
+ description: t('settings.styles.appStylesDesc'),
type: 'textarea',
key: 'stylesInjection',
placeholder: '/* e.g. */\n:root {\n --surface-base: #1a1a2e;\n}',
rows: 8,
},
{
- label: 'Document styles',
- description: 'CSS applied to document content (markdown preview, typography, code blocks, etc.)',
+ label: t('settings.styles.documentStyles'),
+ description: t('settings.styles.documentStylesDesc'),
type: 'textarea',
key: 'stylesDocumentsInjection',
placeholder: '/* e.g. */\nh1 {\n color: coral;\n}',
@@ -40,5 +42,5 @@ const options: Array<{ label: string; options: InterfaceOption[] }> = [
},
],
},
-];
+]);
</script>
diff --git a/frontend/app/pages/dashboard/settings/index.vue b/frontend/app/pages/dashboard/settings/index.vue
index d4c5a2c1..600cdf13 100644
--- a/frontend/app/pages/dashboard/settings/index.vue
+++ b/frontend/app/pages/dashboard/settings/index.vue
@@ -2,10 +2,10 @@
<div :class="['component', isModal ? 'modal' : '']" @keydown.stop>
<button class="menu-toggle" @click="menuOpen = !menuOpen">
<Icon :name="menuOpen ? 'close' : 'menu'" />
- {{ menuOpen ? 'Close menu' : 'Menu' }}
+ {{ menuOpen ? t('settings.menu.toggleClose') : t('settings.menu.toggleOpen') }}
</button>
<nav :class="{ open: menuOpen }">
- <span v-if="isModal">Account settings</span>
+ <span v-if="isModal">{{ t('settings.meta.accountSettings') }}</span>
<div v-if="isModal && store.user" class="user">
<img :src="avatarURL(store.user)" alt="Avatar" style="width: 25px; height: 25px; border-radius: 50%" />
<div>
@@ -85,6 +85,7 @@ const route = useRoute();
const router = useRouter();
const store = useUserStore();
const { avatarURL } = useApi();
+const { t } = useI18nT();
const currentPage = ref<PageKey>((route.query.p as PageKey) || 'profile');
const currentComponent = computed(() => pages[currentPage.value]);
@@ -96,48 +97,48 @@ const logout = () => {
close();
};
-const navSections: NavSection[] = [
+const navSections = computed<NavSection[]>(() => [
{
- title: 'General',
+ title: t('settings.nav.general'),
items: [
- { key: 'profile', label: 'My profile', icon: 'profil' },
- { key: 'apparence', label: 'Apparence', icon: 'brush', bubble: true },
- { key: 'security', label: 'Security', icon: 'security' },
+ { key: 'profile', label: t('settings.pages.profile'), icon: 'profil' },
+ { key: 'apparence', label: t('settings.pages.appearance'), icon: 'brush', bubble: true },
+ { key: 'security', label: t('settings.pages.security'), icon: 'security' },
],
},
{
- title: 'Preferences',
- tag: 'New',
+ title: t('settings.nav.preferences'),
+ tag: t('settings.nav.new'),
items: [
- { key: 'documents', label: 'Documents settings', icon: 'bookmark-stack' },
- { key: 'editor', label: 'Editor settings', icon: 'editor' },
- { key: 'styles', label: 'Styles injection', icon: 'styles' },
- { key: 'other', label: 'Other', icon: 'advanced' },
+ { key: 'documents', label: t('settings.pages.documents'), icon: 'bookmark-stack' },
+ { key: 'editor', label: t('settings.pages.editor'), icon: 'editor' },
+ { key: 'styles', label: t('settings.pages.styles'), icon: 'styles' },
+ { key: 'other', label: t('settings.pages.other'), icon: 'advanced' },
],
},
{
- title: 'Tools',
+ title: t('settings.nav.tools'),
items: [
- { key: 'snippets', label: 'Snippets', icon: 'snippets' },
- { key: 'backup', label: 'Backup', icon: 'backup' },
- { key: 'advanced', label: 'Advanced', icon: 'build' },
+ { key: 'snippets', label: t('settings.pages.snippets'), icon: 'snippets' },
+ { key: 'backup', label: t('settings.pages.backup'), icon: 'backup' },
+ { key: 'advanced', label: t('settings.pages.advanced'), icon: 'build' },
],
},
{
- title: 'Guides & Infos',
+ title: t('settings.nav.guides'),
items: [
- { key: 'shortcuts', label: 'Shortcuts', icon: 'shortcuts' },
- { key: 'markdown', label: 'Markdown', icon: 'markdown' },
+ { key: 'shortcuts', label: t('settings.pages.shortcuts'), icon: 'shortcuts' },
+ { key: 'markdown', label: t('settings.pages.markdown'), icon: 'markdown' },
],
},
{
- title: 'Other',
+ title: t('settings.nav.other'),
items: [
- { key: 'about', label: 'About', icon: 'view' },
- { type: 'action', label: 'Logout', icon: 'logout', action: () => logout() },
+ { key: 'about', label: t('settings.pages.about'), icon: 'view' },
+ { type: 'action', label: t('settings.pages.logout'), icon: 'logout', action: () => logout() },
],
},
-];
+]);
const setPage = (p: PageKey) => {
router.push({ query: { ...route.query, p } });
diff --git a/frontend/app/pages/dashboard/share-target.vue b/frontend/app/pages/dashboard/share-target.vue
index d20a8914..b04653fe 100644
--- a/frontend/app/pages/dashboard/share-target.vue
+++ b/frontend/app/pages/dashboard/share-target.vue
@@ -1,12 +1,12 @@
<template>
<div class="page-card">
- <h2 class="page-title"><Icon name="share" /> Shared Content</h2>
- <p class="page-subtitle">Content received from another app.</p>
+ <h2 class="page-title"><Icon name="share" /> {{ t('nodes.share.title') }}</h2>
+ <p class="page-subtitle">{{ t('nodes.share.description') }}</p>
<Loader v-if="loading" />
<div v-else class="share-content">
- <h2>Shared content</h2>
+ <h2>{{ t('nodes.share.sharedContent') }}</h2>
<!-- Shared text / URL preview -->
<section v-if="sharedText || sharedUrl" class="share-section">
<div class="preview-card">
@@ -26,13 +26,13 @@
</section>
<section>
- <label>Choose destination</label>
+ <label>{{ t('nodes.share.chooseDestination') }}</label>
<AppSelect v-model="parentId" :items="categories" nullable placeholder="Select a workspace or category (optional)" />
</section>
<!-- Action: create note or upload files -->
<section class="share-actions">
- <h2>What would you like to do?</h2>
+ <h2>{{ t('nodes.share.actionChoose') }}</h2>
<!-- Create note from shared content -->
<div class="action-card" @click="createNote">
@@ -40,8 +40,8 @@
<Icon name="document" />
</div>
<div class="action-info">
- <h3>Create a new document</h3>
- <p>Create a new Markdown document with the shared content</p>
+ <h3>{{ t('nodes.share.actionCreateDocument') }}</h3>
+ <p>{{ t('nodes.share.actionCreateDocumentDesc') }}</p>
</div>
</div>
@@ -51,8 +51,8 @@
<Icon name="upload" />
</div>
<div class="action-info">
- <h3>Upload as resources</h3>
- <p>Upload the shared files to your resource library</p>
+ <h3>{{ t('nodes.share.actionUploadResource') }}</h3>
+ <p>{{ t('nodes.share.actionUploadResourceDesc') }}</p>
</div>
</div>
</section>
@@ -63,11 +63,12 @@
<script lang="ts" setup>
import type { Node } from '~/stores';
-definePageMeta({ breadcrumb: 'Share' });
+definePageMeta({ breadcrumb: {i18n: 'common.actions.share'} });
const nodesStore = useNodesStore();
const resourcesStore = useResourcesStore();
+const { t } = useI18nT();
const notifications = useNotifications();
const router = useRouter();
const nodesTree = useNodesTree();
@@ -108,7 +109,7 @@ async function retrieveSharedData() {
for (const file of files) {
if (file && file.size > 0) {
const preview = file.type.startsWith('image/') ? URL.createObjectURL(file) : undefined;
- sharedFiles.value.push({ name: file.name, file, preview });
+ sharedFiles.value.push({ file, name: file.name, preview });
}
}
@@ -174,15 +175,15 @@ async function createNote() {
}
const doc: Partial<Node> = {
- name: title,
+ accessibility: 1,
content: content,
+ name: title,
parent_id: parentId.value || undefined,
- accessibility: 1,
role: 3,
};
const created = await nodesStore.post(doc);
- notifications.add({ type: 'success', title: 'Document created from shared content' });
+ notifications.add({ title: 'Document created from shared content', type: 'success' });
// Upload non-text files as resources linked to this note
const nonTextFiles = sharedFiles.value.filter(f => !f.file.type.startsWith('text/') && !f.name.endsWith('.md') && !f.name.endsWith('.txt'));
@@ -195,14 +196,14 @@ async function createNote() {
await resourcesStore.post(formData);
} catch (e) {
console.error('[share-target] Failed to upload file:', sharedFile.name, e);
- notifications.add({ type: 'warning', title: `Failed to upload ${sharedFile.name}` });
+ notifications.add({ title: `Failed to upload ${sharedFile.name}`, type: 'warning' });
}
}
cleanupPreviews();
router.push(`/dashboard/docs/edit/${created.id}`);
} catch (e) {
- notifications.add({ type: 'error', title: 'Error creating document', message: String(e) });
+ notifications.add({ message: String(e), title: 'Error creating document', type: 'error' });
} finally {
processing.value = false;
}
@@ -222,11 +223,11 @@ async function uploadFiles() {
uploadedCount++;
}
- notifications.add({ type: 'success', title: `${uploadedCount} file(s) uploaded successfully` });
+ notifications.add({ title: `${uploadedCount} file(s) uploaded successfully`, type: 'success' });
cleanupPreviews();
router.push('/dashboard/cdn');
} catch (e) {
- notifications.add({ type: 'error', title: 'Error uploading files', message: String(e) });
+ notifications.add({ message: String(e), title: 'Error uploading files', type: 'error' });
} finally {
processing.value = false;
}
diff --git a/frontend/app/styles/abstract/static.scss b/frontend/app/styles/abstract/static.scss
index 0f8e4fe8..92fae581 100644
--- a/frontend/app/styles/abstract/static.scss
+++ b/frontend/app/styles/abstract/static.scss
@@ -6,4 +6,5 @@ $font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
$transition-fast: 0.15s;
$transition-base: 0.25s;
$transition-medium: 0.3s;
-$transition-slow: 0.4s;
\ No newline at end of file
+$transition-slow: 0.4s;
+$transition-wait: 0.5s;
\ No newline at end of file
diff --git a/frontend/app/styles/components/tooltip.scss b/frontend/app/styles/components/tooltip.scss
index 81b8b22f..58ccd091 100644
--- a/frontend/app/styles/components/tooltip.scss
+++ b/frontend/app/styles/components/tooltip.scss
@@ -24,7 +24,7 @@
/* Transition */
transition:
opacity $transition-fast ease,
- visibility 0s linear $transition-slow; // Delay hiding to match opacity transition
+ visibility 0s linear $transition-wait; // Delay hiding to match opacity transition
margin-top: 0.2rem;
pointer-events: none;
diff --git a/frontend/bun.lock b/frontend/bun.lock
index 3b92b1df..0aac7baf 100644
--- a/frontend/bun.lock
+++ b/frontend/bun.lock
@@ -15,6 +15,7 @@
"@nuxt/devtools": "latest",
"@nuxt/eslint": "1.15.1",
"@nuxtjs/color-mode": "^4.0.0",
+ "@nuxtjs/i18n": "10.2.3",
"@pinia/nuxt": "^0.11.3",
"@types/katex": "^0.16.8",
"@types/markdown-it": "^14.1.2",
@@ -44,6 +45,7 @@
"vue-router": "^5.0.2",
},
"devDependencies": {
+ "eslint-plugin-perfectionist": "^5.6.0",
"vite-plugin-svg-icons": "^2.0.1",
},
},
@@ -383,6 +385,24 @@
"@humanwhocodes/retry": ["@humanwhocodes/[email protected]", "", {}, "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ=="],
+ "@intlify/bundle-utils": ["@intlify/[email protected]", "", { "dependencies": { "@intlify/message-compiler": "^11.1.12", "@intlify/shared": "^11.1.12", "acorn": "^8.8.2", "esbuild": "^0.25.4", "escodegen": "^2.1.0", "estree-walker": "^2.0.2", "jsonc-eslint-parser": "^2.3.0", "source-map-js": "^1.2.1", "yaml-eslint-parser": "^1.2.2" } }, "sha512-fEO3CJGPymxieGh8BHox7d6stgajDQae7wgpH6YYw7WX+cdW6jTTXyljZqz7OV3JcwlS9M9UHSoO+YwiO56IhA=="],
+
+ "@intlify/core": ["@intlify/[email protected]", "", { "dependencies": { "@intlify/core-base": "11.2.8", "@intlify/shared": "11.2.8" } }, "sha512-su9kRlQAkG+SBP5cufTYmwPnqjur8etZVa2lnR80CgE5JqA0pXwGUF7W08dR/a6T2oDoYPh53/S8O0CGbfx1qg=="],
+
+ "@intlify/core-base": ["@intlify/[email protected]", "", { "dependencies": { "@intlify/message-compiler": "11.2.8", "@intlify/shared": "11.2.8" } }, "sha512-nBq6Y1tVkjIUsLsdOjDSJj4AsjvD0UG3zsg9Fyc+OivwlA/oMHSKooUy9tpKj0HqZ+NWFifweHavdljlBLTwdA=="],
+
+ "@intlify/h3": ["@intlify/[email protected]", "", { "dependencies": { "@intlify/core": "^11.1.12", "@intlify/utils": "^0.13.0" } }, "sha512-BtL5+U3Dd9Qz6so+ArOMQWZ+nV21rOqqYUXnqwvW6J3VUXr66A9+9+vUFb/NAQvOU4kdfkO3c/9LMRGU9WZ8vw=="],
+
+ "@intlify/message-compiler": ["@intlify/[email protected]", "", { "dependencies": { "@intlify/shared": "11.2.8", "source-map-js": "^1.0.2" } }, "sha512-A5n33doOjmHsBtCN421386cG1tWp5rpOjOYPNsnpjIJbQ4POF0QY2ezhZR9kr0boKwaHjbOifvyQvHj2UTrDFQ=="],
+
+ "@intlify/shared": ["@intlify/[email protected]", "", {}, "sha512-l6e4NZyUgv8VyXXH4DbuucFOBmxLF56C/mqh2tvApbzl2Hrhi1aTDcuv5TKdxzfHYmpO3UB0Cz04fgDT9vszfw=="],
+
+ "@intlify/unplugin-vue-i18n": ["@intlify/[email protected]", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@intlify/bundle-utils": "11.0.7", "@intlify/shared": "^11.1.12", "@intlify/vue-i18n-extensions": "^8.0.0", "@rollup/pluginutils": "^5.1.0", "@typescript-eslint/scope-manager": "^8.13.0", "@typescript-eslint/typescript-estree": "^8.13.0", "debug": "^4.3.3", "fast-glob": "^3.2.12", "pathe": "^2.0.3", "picocolors": "^1.0.0", "unplugin": "^2.3.4", "vue": "^3.5.21" }, "peerDependencies": { "petite-vue-i18n": "*", "vue-i18n": "*" }, "optionalPeers": ["petite-vue-i18n", "vue-i18n"] }, "sha512-wswKprS1D8VfnxxVhKxug5wa3MbDSOcCoXOBjnzhMK+6NfP6h6UI8pFqSBIvcW8nPDuzweTc0Sk3PeBCcubfoQ=="],
+
+ "@intlify/utils": ["@intlify/[email protected]", "", {}, "sha512-8i3uRdAxCGzuHwfmHcVjeLQBtysQB2aXl/ojoagDut5/gY5lvWCQ2+cnl2TiqE/fXj/D8EhWG/SLKA7qz4a3QA=="],
+
+ "@intlify/vue-i18n-extensions": ["@intlify/[email protected]", "", { "dependencies": { "@babel/parser": "^7.24.6", "@intlify/shared": "^10.0.0", "@vue/compiler-dom": "^3.2.45", "vue-i18n": "^10.0.0" }, "peerDependencies": { "vue": "^3.0.0" }, "optionalPeers": ["vue"] }, "sha512-w0+70CvTmuqbskWfzeYhn0IXxllr6mU+IeM2MU0M+j9OW64jkrvqY+pYFWrUnIIC9bEdij3NICruicwd5EgUuQ=="],
+
"@ioredis/commands": ["@ioredis/[email protected]", "", {}, "sha512-eUgLqrMf8nJkZxT24JvVRrQya1vZkQh8BBeYNwGDqa5I0VUi8ACx7uFvAaLxintokpTenkK6DASvo/bvNbBGow=="],
"@isaacs/cliui": ["@isaacs/[email protected]", "", {}, "sha512-AokJm4tuBHillT+FpMtxQ60n8ObyXBatq7jD2/JA9dxbDDokKQm8KMht5ibGzLVU9IJDIKK4TPKgMHEYMn3lMg=="],
@@ -427,6 +447,8 @@
"@marijn/find-cluster-break": ["@marijn/[email protected]", "", {}, "sha512-l0h88YhZFyKdXIFNfSWpyjStDjGHwZ/U7iobcK1cQQD8sejsONdQtTVU+1wVN1PBw40PiiHB1vA5S7VTfQiP9g=="],
+ "@miyaneee/rollup-plugin-json5": ["@miyaneee/[email protected]", "", { "dependencies": { "@rollup/pluginutils": "^5.1.0", "json5": "^2.2.3" }, "peerDependencies": { "rollup": "^1.20.0 || ^2.0.0 || ^3.0.0 || ^4.0.0" } }, "sha512-JjTIaXZp9WzhUHpElrqPnl1AzBi/rvRs065F71+aTmlqvTMVkdbjZ8vfFl4nRlgJy+TPBw69ZK4pwFdmOAt4aA=="],
+
"@napi-rs/canvas": ["@napi-rs/[email protected]", "", { "optionalDependencies": { "@napi-rs/canvas-android-arm64": "0.1.92", "@napi-rs/canvas-darwin-arm64": "0.1.92", "@napi-rs/canvas-darwin-x64": "0.1.92", "@napi-rs/canvas-linux-arm-gnueabihf": "0.1.92", "@napi-rs/canvas-linux-arm64-gnu": "0.1.92", "@napi-rs/canvas-linux-arm64-musl": "0.1.92", "@napi-rs/canvas-linux-riscv64-gnu": "0.1.92", "@napi-rs/canvas-linux-x64-gnu": "0.1.92", "@napi-rs/canvas-linux-x64-musl": "0.1.92", "@napi-rs/canvas-win32-arm64-msvc": "0.1.92", "@napi-rs/canvas-win32-x64-msvc": "0.1.92" } }, "sha512-q7ZaUCJkEU5BeOdE7fBx1XWRd2T5Ady65nxq4brMf5L4cE1VV/ACq5w9Z5b/IVJs8CwSSIwc30nlthH0gFo4Ig=="],
"@napi-rs/canvas-android-arm64": ["@napi-rs/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-rDOtq53ujfOuevD5taxAuIFALuf1QsQWZe1yS/N4MtT+tNiDBEdjufvQRPWZ11FubL2uwgP8ApYU3YOaNu1ZsQ=="],
@@ -487,6 +509,8 @@
"@nuxtjs/color-mode": ["@nuxtjs/[email protected]", "", { "dependencies": { "@nuxt/kit": "^4.2.1", "exsolve": "^1.0.8", "pathe": "^2.0.3", "pkg-types": "^2.3.0", "semver": "^7.7.3" } }, "sha512-xyaVR/TPLdMuRa2VOgH6b75jvmFEsn9QKL6ISldaAw38ooFJfWY1ts2F3ye43wcT/goCbcuvPuskF2f8yUZhlw=="],
+ "@nuxtjs/i18n": ["@nuxtjs/[email protected]", "", { "dependencies": { "@intlify/core": "^11.1.11", "@intlify/h3": "^0.7.1", "@intlify/shared": "^11.1.11", "@intlify/unplugin-vue-i18n": "^11.0.0", "@intlify/utils": "^0.13.0", "@miyaneee/rollup-plugin-json5": "^1.2.0", "@nuxt/kit": "^4.1.2", "@rollup/plugin-yaml": "^4.1.2", "@vue/compiler-sfc": "^3.5.22", "defu": "^6.1.4", "devalue": "^5.1.1", "h3": "^1.15.4", "knitwork": "^1.2.0", "magic-string": "^0.30.21", "mlly": "^1.7.4", "nuxt-define": "^1.0.0", "ohash": "^2.0.11", "oxc-parser": "^0.95.0", "oxc-transform": "^0.95.0", "oxc-walker": "^0.5.2", "pathe": "^2.0.3", "typescript": "^5.9.2", "ufo": "^1.6.1", "unplugin": "^2.3.5", "unplugin-vue-router": "^0.16.0", "unstorage": "^1.16.1", "vue-i18n": "^11.1.11", "vue-router": "^4.6.3" } }, "sha512-nRAQJbWjbiBvW6XRsG3Q6olYw2EKz7V1J6cDCHLCPbF1EyNhrAH/9aCNQaR5PYcoXPeRLpF86DIPBEnamghyHw=="],
+
"@oxc-minify/binding-android-arm-eabi": ["@oxc-minify/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-m7TGBR2hjsBJIN9UJ909KBoKsuogo6CuLsHKvUIBXdjI0JVHP8g4ZHeB+BJpGn5LJdeSGDfz9MWiuXrZDRzunw=="],
"@oxc-minify/binding-android-arm64": ["@oxc-minify/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-RvxOOkzvP5NeeoraBtgNJSBqO+XzlS7DooxST/drAXCfO52GsmxVB1N7QmifrsTYtH8GC2z3DTFjZQ1w/AJOWg=="],
@@ -529,85 +553,85 @@
"@oxc-parser/binding-android-arm-eabi": ["@oxc-parser/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-retxBzJ39Da7Lh/eZTn9+HJgTeDUxZIpuI0urOsmcFsBKXAth3lc1jIvwseQ9qbAI/VrsoFOXiGIzgclARbAHg=="],
- "@oxc-parser/binding-android-arm64": ["@oxc-parser/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-pRkbBRbuIIsufUWpOJ+JHWfJFNupkidy4sbjfcm37e6xwYrn9LSKMLubPHvNaL1Zf92ZRhGiwaYkEcmaFg2VcA=="],
+ "@oxc-parser/binding-android-arm64": ["@oxc-parser/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-dZyxhhvJigwWL1wgnLlqyEiSeuqO0WdDH9H+if0dPcBM4fKa5fjVkaUcJT1jBMcBTnkjxMwTXYZy5TK60N0fjg=="],
- "@oxc-parser/binding-darwin-arm64": ["@oxc-parser/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-fh6/KQL/cbH5DukT3VkdCqnULLuvVnszVKySD5IgSE0WZb32YZo/cPsPdEv052kk6w3N4agu+NTiMnZjcvhUIg=="],
+ "@oxc-parser/binding-darwin-arm64": ["@oxc-parser/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-zun9+V33kyCtNec9oUSWwb0qi3fB8pXwum1yGFECPEr55g/CrWju6/Jv4hwwNBeW2tK9Ch/PRstEtYmOLMhHpg=="],
- "@oxc-parser/binding-darwin-x64": ["@oxc-parser/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-vUBOOY1E30vlu/DoTGDoT1UbLlwu5Yv9tqeBabAwRzwNDz8Skho16VKhsBDUiyqddtpsR3//v6vNk38w4c+6IA=="],
+ "@oxc-parser/binding-darwin-x64": ["@oxc-parser/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-9djMQ/t6Ns/UXtziwUe562uVJMbhtuLtCj+Xav+HMVT/rhV9gWO8PQOG7AwDLUBjJanItsrfqrGtqhNxtZ701w=="],
- "@oxc-parser/binding-freebsd-x64": ["@oxc-parser/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-hnEtO/9AVnYWzrgnp6L+oPs/6UqlFeteUL6n7magkd2tttgmx1C01hyNNh6nTpZfLzEVJSNJ0S+4NTsK2q2CxA=="],
+ "@oxc-parser/binding-freebsd-x64": ["@oxc-parser/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-GK6k0PgCVkkeRZtHgcosCYbXIRySpJpuPw/OInfLGFh8f3x9gp2l8Fbcfx+YO+ZOHFBCd2NNedGqw8wMgouxfA=="],
- "@oxc-parser/binding-linux-arm-gnueabihf": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-WxJrUz3pcIc2hp4lvJbvt/sTL33oX9NPvkD3vDDybE6tc0V++rS+hNOJxwXdD2FDIFPkHs/IEn5asEZFVH+VKw=="],
+ "@oxc-parser/binding-linux-arm-gnueabihf": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-+g/lFITtyHHEk69cunOHuiT5cX+mpUTcbGYNe8suguZ7FqgNwai+PnGv0ctCvtgxBPVfckfUK8c3RvFKo+vi/w=="],
- "@oxc-parser/binding-linux-arm-musleabihf": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-jj8A8WWySaJQqM9XKAIG8U2Q3qxhFQKrXPWv98d1oC35at+L1h+C+V4M3l8BAKhpHKCu3dYlloaAbHd5q1Hw6A=="],
+ "@oxc-parser/binding-linux-arm-musleabihf": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-SXNasDtPw8ycNV7VEvFxb4LETmykvWKUhHR7K3us818coXYpDj54P8WEx8hJobP/9skuuiFuKHmtYLdjX8wntA=="],
- "@oxc-parser/binding-linux-arm64-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-G2F8H6FcAExVK5vvhpSh61tqWx5QoaXXUnSsj5FyuDiFT/K7AMMVSQVqnZREDc+YxhrjB0vnKjCcuobXK63kIw=="],
+ "@oxc-parser/binding-linux-arm64-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-0LzebARTU0ROfD6pDK4h1pFn+09meErCZ0MA2TaW08G72+GNneEsksPufOuI+9AxVSRa+jKE3fu0wavvhZgSkg=="],
- "@oxc-parser/binding-linux-arm64-musl": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-3R0iqjM3xYOZCnwgcxOQXH7hrz64/USDIuLbNTM1kZqQzRqaR4w7SwoWKU934zABo8d0op2oSwOp+CV3hZnM7A=="],
+ "@oxc-parser/binding-linux-arm64-musl": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-Pvi1lGe/G+mJZ3hUojMP/aAHAzHA25AEtVr8/iuz7UV72t/15NOgJYr9kELMUMNjPqpr3vKUgXTFmTtAxp11Qw=="],
"@oxc-parser/binding-linux-ppc64-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-lAQf8PQxfgy7h0bmcfSVE3hg3qMueshPYULFsCrHM+8KefGZ9W+ZMvRyU33gLrB4w1O3Fz1orR0hmKMCRxXNrQ=="],
- "@oxc-parser/binding-linux-riscv64-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-2QlvQBUhHuAE3ezD4X3CAEKMXdfgInggQ5Bj/7gb5NcYP3GyfLTj7c+mMu+BRwfC9B3AXBNyqHWbqEuuUvZyRQ=="],
+ "@oxc-parser/binding-linux-riscv64-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-pUEVHIOVNDfhk4sTlLhn6mrNENhE4/dAwemxIfqpcSyBlYG0xYZND1F3jjR2yWY6DakXZ6VSuDbtiv1LPNlOLw=="],
"@oxc-parser/binding-linux-riscv64-musl": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-v06iu0osHszgqJ1dLQRb6leWFU1sjG/UQk4MoVBtE6ZPewgfTkby6G9II1SpEAf2onnAuQceVYxQH9iuU3NJqw=="],
- "@oxc-parser/binding-linux-s390x-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-+5HhNHtxsdcd7+ljXFnn9FOoCNXJX3UPgIfIE6vdwS1HqdGNH6eAcVobuqGOp54l8pvcxDQA6F4cPswCgLrQfQ=="],
+ "@oxc-parser/binding-linux-s390x-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-5+olaepHTE3J/+w7g0tr3nocvv5BKilAJnzj4L8tWBCLEZbL6olJcGVoldUO+3cgg1SO1xJywP5BuLhT0mDUDw=="],
- "@oxc-parser/binding-linux-x64-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-jKwO7ZLNkjxwg7FoCLw+fJszooL9yXRZsDN0AQ1AQUTWq1l8GH/2e44k68N3fcP19jl8O8jGpqLAZcQTYk6skA=="],
+ "@oxc-parser/binding-linux-x64-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-8huzHlK/N98wrnYKxIcYsK8ZGBWomQchu/Mzi6m+CtbhjWOv9DmK0jQ2fUWImtluQVpTwS0uZT06d3g7XIkJrA=="],
- "@oxc-parser/binding-linux-x64-musl": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-TYqnuKV/p3eOc+N61E0961nA7DC+gaCeJ3+V2LcjJdTwFMdikqWL6uVk1jlrpUCBrozHDATVUKDZYH7r4FQYjQ=="],
+ "@oxc-parser/binding-linux-x64-musl": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-bWnrLfGDcx/fab0+UQnFbVFbiykof/btImbYf+cI2pU/1Egb2x+OKSmM5Qt0nEUiIpM5fgJmYXxTopybSZOKYA=="],
"@oxc-parser/binding-openharmony-arm64": ["@oxc-parser/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-ZhrVmWFifVEFQX4XPwLoVFDHw9tAWH9p9vHsHFH+5uCKdfVR+jje4WxVo6YrokWCboGckoOzHq5KKMOcPZfkRg=="],
- "@oxc-parser/binding-wasm32-wasi": ["@oxc-parser/[email protected]", "", { "dependencies": { "@napi-rs/wasm-runtime": "^1.1.1" }, "cpu": "none" }, "sha512-Gr8X2PUU3hX1g3F5oLWIZB8DhzDmjr5TfOrmn5tlBOo9l8ojPGdKjnIBfObM7X15928vza8QRKW25RTR7jfivg=="],
+ "@oxc-parser/binding-wasm32-wasi": ["@oxc-parser/[email protected]", "", { "dependencies": { "@napi-rs/wasm-runtime": "^1.0.7" }, "cpu": "none" }, "sha512-0JLyqkZu1HnQIZ4e5LBGOtzqua1QwFEUOoMSycdoerXqayd4LK2b7WMfAx8eCIf+jGm1Uj6f3R00nlsx8g1faQ=="],
- "@oxc-parser/binding-win32-arm64-msvc": ["@oxc-parser/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-t5CDLbU70Ea88bGRhvU/dLJTc/Wcrtf2Jp534E8P3cgjAvHDjdKsfDDqBZrhybJ8Jv9v9vW5ngE40EK51BluDA=="],
+ "@oxc-parser/binding-win32-arm64-msvc": ["@oxc-parser/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-RWvaA6s1SYlBj9CxwHfNn0CRlkPdv9fEUAXfZkGQPdP5e1ppIaO2KYE0sUov/zzp9hPTMMsTMHl4dcIbb+pHCQ=="],
"@oxc-parser/binding-win32-ia32-msvc": ["@oxc-parser/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-rZH0JynCCwnhe2HfRoyNOl/Kfd9pudoWxgpC5OZhj7j77pMK0UOAa35hYDfrtSOUk2HLzrikV5dPUOY2DpSBSA=="],
- "@oxc-parser/binding-win32-x64-msvc": ["@oxc-parser/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-oGHluohzmVFAuQrkEnl1OXAxMz2aYmimxUqIgKXpBgbr7PvFv0doELB273sX+5V3fKeggohKg1A2Qq21W9Z9cQ=="],
+ "@oxc-parser/binding-win32-x64-msvc": ["@oxc-parser/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-BQpgl7rDjFvCIHudmUR0dCwc4ylBYZl4CPVinlD3NhkMif4WD5dADckoo5ES/KOpFyvwcbKZX+grP63cjHi26g=="],
- "@oxc-project/types": ["@oxc-project/[email protected]", "", {}, "sha512-m6RebKHIRsax2iCwVpYW2ErQwa4ywHJrE4sCK3/8JK8ZZAWOKXaRJFl/uP51gaVyyXlaS4+chU1nSCdzYf6QqQ=="],
+ "@oxc-project/types": ["@oxc-project/[email protected]", "", {}, "sha512-vACy7vhpMPhjEJhULNxrdR0D943TkA/MigMpJCHmBHvMXxRStRi/dPtTlfQ3uDwWSzRpT8z+7ImjZVf8JWBocQ=="],
"@oxc-transform/binding-android-arm-eabi": ["@oxc-transform/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-r4LuBaPnOAi0eUOBNi880Fm2tO2omH7N1FRrL6+nyz/AjQ+QPPLtoyZJva0O+sKi1buyN/7IzM5p9m+5ANSDbg=="],
- "@oxc-transform/binding-android-arm64": ["@oxc-transform/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-ve46vQcQrY8eGe8990VSlS9gkD+AogJqbtfOkeua+5sQGQTDgeIRRxOm7ktCo19uZc2bEBwXRJITgosd+NRVmQ=="],
+ "@oxc-transform/binding-android-arm64": ["@oxc-transform/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-eW+BCgRWOsMrDiz7FEV7BjAmaF9lGIc2ueGdRUYjRUMq4f5FSGS7gMBTYDxajdoIB3L5Gnksh1CWkIlgg95UVA=="],
- "@oxc-transform/binding-darwin-arm64": ["@oxc-transform/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-ddbmLU3Tr+i7MOynfwAXxUXud3SjJKlv7XNjaq08qiI8Av/QvhXVGc2bMhXkWQSMSBUeTDoiughKjK+Zsb6y/A=="],
+ "@oxc-transform/binding-darwin-arm64": ["@oxc-transform/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-OUUaYZVss8tyDZZ7TGr2vnH3+i3Ouwsx0frQRGkiePNatXxaJJ3NS5+Kwgi9hh3WryXaQz2hWji4AM2RHYE7Cg=="],
- "@oxc-transform/binding-darwin-x64": ["@oxc-transform/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-TKvmNw96jQZPqYb4pRrzLFDailNB3YS14KNn+x2hwRbqc6CqY96S9PYwyOpVpYdxfoRjYO9WgX9SoS+62a1DPA=="],
+ "@oxc-transform/binding-darwin-x64": ["@oxc-transform/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-49UPEgIlgWUndwcP3LH6dvmOewZ92DxCMpFMo11JhUlmNJxA3sjVImEBRB56/tJ+XF+xnya9kB1oCW4yRY+mRw=="],
- "@oxc-transform/binding-freebsd-x64": ["@oxc-transform/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-YPMkSCDaelO8HHYRMYjm+Q+IfkfIbdtQzwPuasItYkq8UUkNeHNPheNh2JkvQa3c+io3E9ePOgHQ2yihpk7o/Q=="],
+ "@oxc-transform/binding-freebsd-x64": ["@oxc-transform/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-lNKrHKaDEm8pbKlVbn0rv2L97O0lbA0Tsrxx4GF/HhmdW+NgwGU1pMzZ4tB2QcylbqgKxOB+v9luebHyh1jfgA=="],
- "@oxc-transform/binding-linux-arm-gnueabihf": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-nA7kzQGNEpuTRknst/IJ3l8hqmDmEda3aun6jkXgp7gKxESjuHeaNH04mKISxvJ7fIacvP2g/wtTSnm4u5jL8Q=="],
+ "@oxc-transform/binding-linux-arm-gnueabihf": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-+VWcLeeizI8IjU+V+o8AmzPuIMiTrGr0vrmXU3CEsV05MrywCuJU+f6ilPs3JBKno9VIwqvRpHB/z39sQabHWg=="],
- "@oxc-transform/binding-linux-arm-musleabihf": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-w8GuLmckKlGc3YujaZKhtbFxziCcosvM2l9GnQjCb/yENWLGDiyQOy0BTAgPGdJwpYTiOeJblEXSuXYvlE1Ong=="],
+ "@oxc-transform/binding-linux-arm-musleabihf": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-a59xPw84t6VwlvNEGcmuw3feGcKcWOC7uB8oePJ/BVSAV1yayLoB3k6JASwLTZ7N/PNPNUhcw1jDxowgAfBJfg=="],
- "@oxc-transform/binding-linux-arm64-gnu": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-9LwwGnJ8+WT0rXcrI8M0RJtDNt91eMqcDPPEvJxhRFHIMcHTy5D5xT+fOl3Us0yMqKo3HUWkbfUYqAp4GoZ3Jw=="],
+ "@oxc-transform/binding-linux-arm64-gnu": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-NLdrFuEHlmbiC1M1WESFV4luUcB/84GXi+cbnRXhgMjIW/CThRVJ989eTJy59QivkVlLcJSKTiKiKCt0O6TTlQ=="],
- "@oxc-transform/binding-linux-arm64-musl": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-Lg6VOuSd3oXv7J0eGywgqh/086h+qQzIBOD+47pYKMTTJcbDe+f3h/RgGoMKJE5HhiwT5sH1aGEJfIfaYUiVSw=="],
+ "@oxc-transform/binding-linux-arm64-musl": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-GL0ffCPW8JlFI0/jeSgCY665yDdojHxA0pbYG+k8oEHOWCYZUZK9AXL+r0oerNEWYJ8CRB+L5Yq87ZtU/YUitw=="],
"@oxc-transform/binding-linux-ppc64-gnu": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-PXzmj82o1moA4IGphYImTRgc2youTi4VRfyFX3CHwLjxPcQ5JtcsgbDt4QUdOzXZ+zC07s5jf2ZzhRapEOlj2w=="],
- "@oxc-transform/binding-linux-riscv64-gnu": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-vhJsMsVH/6xwa3bt1LGts33FXUkGjaEGDwsRyp4lIfOjSfQVWMtCmWMFNaA0dW9FVWdD2Gt2fSFBSZ+azDxlpg=="],
+ "@oxc-transform/binding-linux-riscv64-gnu": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-tbH7LaClSmN3YFVo1UjMSe7D6gkb5f+CMIbj9i873UUZomVRmAjC4ygioObfzM+sj/tX0WoTXx5L1YOfQkHL6Q=="],
"@oxc-transform/binding-linux-riscv64-musl": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-cXWFb7z+2IjFUEcXtRwluq9oEG5qnyFCjiu3SWrgYNcWwPdHusv3I/7K5/CTbbi4StoZ5txbi7/iSfDHNyWuRw=="],
- "@oxc-transform/binding-linux-s390x-gnu": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-eEFu4SRqJTJ20/88KRWmp+jpHKAw0Y1DsnSgpEeXyBIIcsOaLIUMU/TfYWUmqRbvbMV9rmOmI3kp5xWYUq6kSQ=="],
+ "@oxc-transform/binding-linux-s390x-gnu": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-8jMqiURWa0iTiPMg7BWaln89VdhhWzNlPyKM90NaFVVhBIKCr2UEhrQWdpBw/E9C8uWf/4VabBEhfPMK+0yS4w=="],
- "@oxc-transform/binding-linux-x64-gnu": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-ST1MDT+TlOyZ1c5btrGinRSUW2Jf4Pa+0gdKwsyjDSOC3dxy2ZNkN3mosTf4ywc3J+mxfYKqtjs7zSwHz03ILA=="],
+ "@oxc-transform/binding-linux-x64-gnu": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-D5ULJ2uWipsTgfvHIvqmnGkCtB3Fyt2ZN7APRjVO+wLr+HtmnaWddKsLdrRWX/m/6nQ2xQdoQekdJrokYK9LtQ=="],
- "@oxc-transform/binding-linux-x64-musl": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-ISQoA3pD4cyTGpf9sXXeerH6pL2L6EIpdy6oAy2ttkswyVFDyQNVOVIGIdLZDgbpmqGljxZnWqt/J/N68pQaig=="],
+ "@oxc-transform/binding-linux-x64-musl": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-DmCGU+FzRezES5wVAGVimZGzYIjMOapXbWpxuz8M8p3nMrfdBEQ5/tpwBp2vRlIohhABy4vhHJByl4c64ENCGQ=="],
"@oxc-transform/binding-openharmony-arm64": ["@oxc-transform/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-UOGVrGIv7yLJovyEXEyUTADuLq98vd/cbMHFLJweRXD+11I8Tn4jASi4WzdsN8C3BVYGRHrXH2NlSBmhz33a4g=="],
- "@oxc-transform/binding-wasm32-wasi": ["@oxc-transform/[email protected]", "", { "dependencies": { "@napi-rs/wasm-runtime": "^1.1.1" }, "cpu": "none" }, "sha512-XIX7Gpq9koAvzBVHDlVFHM79r5uOVK6kTEsdsN4qaajpjkgtv4tdsAOKIYK6l7fUbsbE6xS+6w1+yRFrDeC1kg=="],
+ "@oxc-transform/binding-wasm32-wasi": ["@oxc-transform/[email protected]", "", { "dependencies": { "@napi-rs/wasm-runtime": "^1.0.7" }, "cpu": "none" }, "sha512-tSo1EU4Whd1gXyae7cwSDouhppkuz6Jkd5LY8Uch9VKsHVSRhDLDW19Mq6VSwtyPxDPTJnJ2jYJWm+n8SYXiXQ=="],
- "@oxc-transform/binding-win32-arm64-msvc": ["@oxc-transform/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-EgXef9kOne9BNsbYBbuRqxk2hteT0xsAGcx/VbtCBMJYNj8fANFhT271DUSOgfa4DAgrQQmsyt/Kr1aV9mpU9w=="],
+ "@oxc-transform/binding-win32-arm64-msvc": ["@oxc-transform/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-6eaxlgj+J5n8zgJTSugqdPLBtKGRqvxYLcvHN8b+U9hVhF/2HG/JCOrcSYV/XgWGNPQiaRVzpR3hGhmFro9QTw=="],
"@oxc-transform/binding-win32-ia32-msvc": ["@oxc-transform/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-6QaB0qjNaou2YR+blncHdw7j0e26IOwOIjLbhVGDeuf9+4rjJeiqRXJ2hOtCcS4zblnao/MjdgQuZ3fM0nl+Kw=="],
- "@oxc-transform/binding-win32-x64-msvc": ["@oxc-transform/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-FRKYlY959QeqRPx9kXs0HjU2xuXPT1cdF+vvA200D9uAX/KLcC34MwRqUKTYml4kCc2Vf/P2pBR9cQuBm3zECQ=="],
+ "@oxc-transform/binding-win32-x64-msvc": ["@oxc-transform/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-Y8JY79A7fTuBjEXZFu+mHbHzgsV3uJDUuUKeGffpOwI1ayOGCKeBJTiMhksYkiir1xS+DkGLEz73+xse9Is9rw=="],
"@parcel/watcher": ["@parcel/[email protected]", "", { "dependencies": { "detect-libc": "^2.0.3", "is-glob": "^4.0.3", "node-addon-api": "^7.0.0", "picomatch": "^4.0.3" }, "optionalDependencies": { "@parcel/watcher-android-arm64": "2.5.6", "@parcel/watcher-darwin-arm64": "2.5.6", "@parcel/watcher-darwin-x64": "2.5.6", "@parcel/watcher-freebsd-x64": "2.5.6", "@parcel/watcher-linux-arm-glibc": "2.5.6", "@parcel/watcher-linux-arm-musl": "2.5.6", "@parcel/watcher-linux-arm64-glibc": "2.5.6", "@parcel/watcher-linux-arm64-musl": "2.5.6", "@parcel/watcher-linux-x64-glibc": "2.5.6", "@parcel/watcher-linux-x64-musl": "2.5.6", "@parcel/watcher-win32-arm64": "2.5.6", "@parcel/watcher-win32-ia32": "2.5.6", "@parcel/watcher-win32-x64": "2.5.6" } }, "sha512-tmmZ3lQxAe/k/+rNnXQRawJ4NjxO2hqiOLTHvWchtGZULp4RyFeh6aU4XdOYBFe2KE1oShQTv4AblOs2iOrNnQ=="],
@@ -669,6 +693,8 @@
"@rollup/plugin-terser": ["@rollup/[email protected]", "", { "dependencies": { "serialize-javascript": "^6.0.1", "smob": "^1.0.0", "terser": "^5.17.4" }, "peerDependencies": { "rollup": "^2.0.0||^3.0.0||^4.0.0" }, "optionalPeers": ["rollup"] }, "sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A=="],
+ "@rollup/plugin-yaml": ["@rollup/[email protected]", "", { "dependencies": { "@rollup/pluginutils": "^5.0.1", "js-yaml": "^4.1.0", "tosource": "^2.0.0-alpha.3" }, "peerDependencies": { "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" }, "optionalPeers": ["rollup"] }, "sha512-RpupciIeZMUqhgFE97ba0s98mOFS7CWzN3EJNhJkqSv9XLlWYtwVdtE6cDw6ASOF/sZVFS7kRJXftaqM2Vakdw=="],
+
"@rollup/pluginutils": ["@rollup/[email protected]", "", { "dependencies": { "@types/estree": "^1.0.0", "estree-walker": "^2.0.2", "picomatch": "^4.0.2" }, "peerDependencies": { "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" }, "optionalPeers": ["rollup"] }, "sha512-5EdhGZtnu3V88ces7s53hhfK5KSASnJZv8Lulpc04cWO3REESroJXg73DFsOmgbU2BhwV0E20bu2IDZb3VKW4Q=="],
"@rollup/rollup-android-arm-eabi": ["@rollup/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-A6ehUVSiSaaliTxai040ZpZ2zTevHYbvu/lDoeAteHI8QnaosIzm4qwtezfRg1jOYaUmnzLX1AOD6Z+UJjtifg=="],
@@ -765,21 +791,21 @@
"@typescript-eslint/parser": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/scope-manager": "8.55.0", "@typescript-eslint/types": "8.55.0", "@typescript-eslint/typescript-estree": "8.55.0", "@typescript-eslint/visitor-keys": "8.55.0", "debug": "^4.4.3" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } }, "sha512-4z2nCSBfVIMnbuu8uinj+f0o4qOeggYJLbjpPHka3KH1om7e+H9yLKTYgksTaHcGco+NClhhY2vyO3HsMH1RGw=="],
- "@typescript-eslint/project-service": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.55.0", "@typescript-eslint/types": "^8.55.0", "debug": "^4.4.3" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-zRcVVPFUYWa3kNnjaZGXSu3xkKV1zXy8M4nO/pElzQhFweb7PPtluDLQtKArEOGmjXoRjnUZ29NjOiF0eCDkcQ=="],
+ "@typescript-eslint/project-service": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.56.0", "@typescript-eslint/types": "^8.56.0", "debug": "^4.4.3" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-M3rnyL1vIQOMeWxTWIW096/TtVP+8W3p/XnaFflhmcFp+U4zlxUxWj4XwNs6HbDeTtN4yun0GNTTDBw/SvufKg=="],
- "@typescript-eslint/scope-manager": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.55.0", "@typescript-eslint/visitor-keys": "8.55.0" } }, "sha512-fVu5Omrd3jeqeQLiB9f1YsuK/iHFOwb04bCtY4BSCLgjNbOD33ZdV6KyEqplHr+IlpgT0QTZ/iJ+wT7hvTx49Q=="],
+ "@typescript-eslint/scope-manager": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.56.0", "@typescript-eslint/visitor-keys": "8.56.0" } }, "sha512-7UiO/XwMHquH+ZzfVCfUNkIXlp/yQjjnlYUyYz7pfvlK3/EyyN6BK+emDmGNyQLBtLGaYrTAI6KOw8tFucWL2w=="],
- "@typescript-eslint/tsconfig-utils": ["@typescript-eslint/[email protected]", "", { "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-1R9cXqY7RQd7WuqSN47PK9EDpgFUK3VqdmbYrvWJZYDd0cavROGn+74ktWBlmJ13NXUQKlZ/iAEQHI/V0kKe0Q=="],
+ "@typescript-eslint/tsconfig-utils": ["@typescript-eslint/[email protected]", "", { "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-bSJoIIt4o3lKXD3xmDh9chZcjCz5Lk8xS7Rxn+6l5/pKrDpkCwtQNQQwZ2qRPk7TkUYhrq3WPIHXOXlbXP0itg=="],
"@typescript-eslint/type-utils": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.55.0", "@typescript-eslint/typescript-estree": "8.55.0", "@typescript-eslint/utils": "8.55.0", "debug": "^4.4.3", "ts-api-utils": "^2.4.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } }, "sha512-x1iH2unH4qAt6I37I2CGlsNs+B9WGxurP2uyZLRz6UJoZWDBx9cJL1xVN/FiOmHEONEg6RIufdvyT0TEYIgC5g=="],
- "@typescript-eslint/types": ["@typescript-eslint/[email protected]", "", {}, "sha512-ujT0Je8GI5BJWi+/mMoR0wxwVEQaxM+pi30xuMiJETlX80OPovb2p9E8ss87gnSVtYXtJoU9U1Cowcr6w2FE0w=="],
+ "@typescript-eslint/types": ["@typescript-eslint/[email protected]", "", {}, "sha512-DBsLPs3GsWhX5HylbP9HNG15U0bnwut55Lx12bHB9MpXxQ+R5GC8MwQe+N1UFXxAeQDvEsEDY6ZYwX03K7Z6HQ=="],
- "@typescript-eslint/typescript-estree": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/project-service": "8.55.0", "@typescript-eslint/tsconfig-utils": "8.55.0", "@typescript-eslint/types": "8.55.0", "@typescript-eslint/visitor-keys": "8.55.0", "debug": "^4.4.3", "minimatch": "^9.0.5", "semver": "^7.7.3", "tinyglobby": "^0.2.15", "ts-api-utils": "^2.4.0" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-EwrH67bSWdx/3aRQhCoxDaHM+CrZjotc2UCCpEDVqfCE+7OjKAGWNY2HsCSTEVvWH2clYQK8pdeLp42EVs+xQw=="],
+ "@typescript-eslint/typescript-estree": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/project-service": "8.56.0", "@typescript-eslint/tsconfig-utils": "8.56.0", "@typescript-eslint/types": "8.56.0", "@typescript-eslint/visitor-keys": "8.56.0", "debug": "^4.4.3", "minimatch": "^9.0.5", "semver": "^7.7.3", "tinyglobby": "^0.2.15", "ts-api-utils": "^2.4.0" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-ex1nTUMWrseMltXUHmR2GAQ4d+WjkZCT4f+4bVsps8QEdh0vlBsaCokKTPlnqBFqqGaxilDNJG7b8dolW2m43Q=="],
- "@typescript-eslint/utils": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", "@typescript-eslint/scope-manager": "8.55.0", "@typescript-eslint/types": "8.55.0", "@typescript-eslint/typescript-estree": "8.55.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } }, "sha512-BqZEsnPGdYpgyEIkDC1BadNY8oMwckftxBT+C8W0g1iKPdeqKZBtTfnvcq0nf60u7MkjFO8RBvpRGZBPw4L2ow=="],
+ "@typescript-eslint/utils": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", "@typescript-eslint/scope-manager": "8.56.0", "@typescript-eslint/types": "8.56.0", "@typescript-eslint/typescript-estree": "8.56.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.0.0" } }, "sha512-RZ3Qsmi2nFGsS+n+kjLAYDPVlrzf7UhTffrDIKr+h2yzAlYP/y5ZulU0yeDEPItos2Ph46JAL5P/On3pe7kDIQ=="],
- "@typescript-eslint/visitor-keys": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.55.0", "eslint-visitor-keys": "^4.2.1" } }, "sha512-AxNRwEie8Nn4eFS1FzDMJWIISMGoXMb037sgCBJ3UR6o0fQTzr2tqN9WT+DkWJPhIdQCfV7T6D387566VtnCJA=="],
+ "@typescript-eslint/visitor-keys": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.56.0", "eslint-visitor-keys": "^5.0.0" } }, "sha512-q+SL+b+05Ud6LbEE35qe4A99P+htKTKVbyiNEe45eCbJFyh/HVK9QXwlrbz+Q4L8SOW4roxSVwXYj4DMBT7Ieg=="],
"@unhead/vue": ["@unhead/[email protected]", "", { "dependencies": { "hookable": "^6.0.1", "unhead": "2.1.4" }, "peerDependencies": { "vue": ">=3.5.18" } }, "sha512-MFvywgkHMt/AqbhmKOqRuzvuHBTcmmmnUa7Wm/Sg11leXAeRShv2PcmY7IiYdeeJqBMCm1jwhcs6201jj6ggZg=="],
@@ -1211,6 +1237,8 @@
"escape-string-regexp": ["[email protected]", "", {}, "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="],
+ "escodegen": ["[email protected]", "", { "dependencies": { "esprima": "^4.0.1", "estraverse": "^5.2.0", "esutils": "^2.0.2" }, "optionalDependencies": { "source-map": "~0.6.1" }, "bin": { "esgenerate": "bin/esgenerate.js", "escodegen": "bin/escodegen.js" } }, "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w=="],
+
"eslint": ["[email protected]", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.2", "@eslint/config-array": "^0.23.0", "@eslint/config-helpers": "^0.5.2", "@eslint/core": "^1.1.0", "@eslint/plugin-kit": "^0.6.0", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", "ajv": "^6.12.4", "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", "eslint-scope": "^9.1.0", "eslint-visitor-keys": "^5.0.0", "espree": "^11.1.0", "esquery": "^1.7.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", "minimatch": "^10.1.1", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, "peerDependencies": { "jiti": "*" }, "optionalPeers": ["jiti"], "bin": { "eslint": "bin/eslint.js" } }, "sha512-O0piBKY36YSJhlFSG8p9VUdPV/SxxS4FYDWVpr/9GJuMaepzwlf4J8I4ov1b+ySQfDTPhc3DtLaxcT1fN0yqCg=="],
"eslint-config-flat-gitignore": ["[email protected]", "", { "dependencies": { "@eslint/compat": "^1.2.5" }, "peerDependencies": { "eslint": "^9.5.0" } }, "sha512-cJzNJ7L+psWp5mXM7jBX+fjHtBvvh06RBlcweMhKD8jWqQw0G78hOW5tpVALGHGFPsBV+ot2H+pdDGJy6CV8pA=="],
@@ -1229,6 +1257,8 @@
"eslint-plugin-jsdoc": ["[email protected]", "", { "dependencies": { "@es-joy/jsdoccomment": "~0.84.0", "@es-joy/resolve.exports": "1.2.0", "are-docs-informative": "^0.0.2", "comment-parser": "1.4.5", "debug": "^4.4.3", "escape-string-regexp": "^4.0.0", "espree": "^11.1.0", "esquery": "^1.7.0", "html-entities": "^2.6.0", "object-deep-merge": "^2.0.0", "parse-imports-exports": "^0.2.4", "semver": "^7.7.3", "spdx-expression-parse": "^4.0.0", "to-valid-identifier": "^1.0.0" }, "peerDependencies": { "eslint": "^7.0.0 || ^8.0.0 || ^9.0.0" } }, "sha512-U+Q5ppErmC17VFQl542eBIaXcuq975BzoIHBXyx7UQx/i4gyHXxPiBkonkuxWyFA98hGLALLUuD+NJcXqSGKxg=="],
+ "eslint-plugin-perfectionist": ["[email protected]", "", { "dependencies": { "@typescript-eslint/utils": "^8.56.0", "natural-orderby": "^5.0.0" }, "peerDependencies": { "eslint": "^8.45.0 || ^9.0.0 || ^10.0.0" } }, "sha512-pxrLrfRp5wl1Vol1fAEa/G5yTXxefTPJjz07qC7a8iWFXcOZNuWBItMQ2OtTzfQIvMq6bMyYcrzc3Wz++na55Q=="],
+
"eslint-plugin-regexp": ["[email protected]", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.11.0", "comment-parser": "^1.4.0", "jsdoc-type-pratt-parser": "^7.0.0", "refa": "^0.12.1", "regexp-ast-analysis": "^0.7.1", "scslre": "^0.3.0" }, "peerDependencies": { "eslint": ">=9.38.0" } }, "sha512-iW7hgAV8NOG6E2dz+VeKpq67YLQ9jaajOKYpoOSic2/q8y9BMdXBKkSR9gcMtbqEhNQzdW41E3wWzvhp8ExYwQ=="],
"eslint-plugin-unicorn": ["[email protected]", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "@eslint-community/eslint-utils": "^4.9.0", "@eslint/plugin-kit": "^0.4.0", "change-case": "^5.4.4", "ci-info": "^4.3.1", "clean-regexp": "^1.0.0", "core-js-compat": "^3.46.0", "esquery": "^1.6.0", "find-up-simple": "^1.0.1", "globals": "^16.4.0", "indent-string": "^5.0.0", "is-builtin-module": "^5.0.0", "jsesc": "^3.1.0", "pluralize": "^8.0.0", "regexp-tree": "^0.1.27", "regjsparser": "^0.13.0", "semver": "^7.7.3", "strip-indent": "^4.1.1" }, "peerDependencies": { "eslint": ">=9.38.0" } }, "sha512-HIlIkGLkvf29YEiS/ImuDZQbP12gWyx5i3C6XrRxMvVdqMroCI9qoVYCoIl17ChN+U89pn9sVwLxhIWj5nEc7g=="],
@@ -1245,6 +1275,8 @@
"espree": ["[email protected]", "", { "dependencies": { "acorn": "^8.15.0", "acorn-jsx": "^5.3.2", "eslint-visitor-keys": "^5.0.0" } }, "sha512-WFWYhO1fV4iYkqOOvq8FbqIhr2pYfoDY0kCotMkDeNtGpiGGkZ1iov2u8ydjtgM8yF8rzK7oaTbw2NAzbAbehw=="],
+ "esprima": ["[email protected]", "", { "bin": { "esparse": "./bin/esparse.js", "esvalidate": "./bin/esvalidate.js" } }, "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A=="],
+
"esquery": ["[email protected]", "", { "dependencies": { "estraverse": "^5.1.0" } }, "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g=="],
"esrecurse": ["[email protected]", "", { "dependencies": { "estraverse": "^5.2.0" } }, "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag=="],
@@ -1599,6 +1631,8 @@
"json5": ["[email protected]", "", { "bin": { "json5": "lib/cli.js" } }, "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg=="],
+ "jsonc-eslint-parser": ["[email protected]", "", { "dependencies": { "acorn": "^8.5.0", "eslint-visitor-keys": "^3.0.0", "espree": "^9.0.0", "semver": "^7.3.5" } }, "sha512-1e4qoRgnn448pRuMvKGsFFymUCquZV0mpGgOyIKNgD3JVDTsVJyRBGH/Fm0tBb8WsWGgmB1mDe6/yJMQM37DUA=="],
+
"jsonfile": ["[email protected]", "", { "dependencies": { "universalify": "^2.0.0" }, "optionalDependencies": { "graceful-fs": "^4.1.6" } }, "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg=="],
"jsonpointer": ["[email protected]", "", {}, "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ=="],
@@ -1739,6 +1773,8 @@
"natural-compare": ["[email protected]", "", {}, "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="],
+ "natural-orderby": ["[email protected]", "", {}, "sha512-kKHJhxwpR/Okycz4HhQKKlhWe4ASEfPgkSWNmKFHd7+ezuQlxkA5cM3+XkBPvm1gmHen3w53qsYAv+8GwRrBlg=="],
+
"nitropack": ["[email protected]", "", { "dependencies": { "@cloudflare/kv-asset-handler": "^0.4.2", "@rollup/plugin-alias": "^6.0.0", "@rollup/plugin-commonjs": "^29.0.0", "@rollup/plugin-inject": "^5.0.5", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-replace": "^6.0.3", "@rollup/plugin-terser": "^0.4.4", "@vercel/nft": "^1.2.0", "archiver": "^7.0.1", "c12": "^3.3.3", "chokidar": "^5.0.0", "citty": "^0.1.6", "compatx": "^0.2.0", "confbox": "^0.2.2", "consola": "^3.4.2", "cookie-es": "^2.0.0", "croner": "^9.1.0", "crossws": "^0.3.5", "db0": "^0.3.4", "defu": "^6.1.4", "destr": "^2.0.5", "dot-prop": "^10.1.0", "esbuild": "^0.27.2", "escape-string-regexp": "^5.0.0", "etag": "^1.8.1", "exsolve": "^1.0.8", "globby": "^16.1.0", "gzip-size": "^7.0.0", "h3": "^1.15.5", "hookable": "^5.5.3", "httpxy": "^0.1.7", "ioredis": "^5.9.1", "jiti": "^2.6.1", "klona": "^2.0.6", "knitwork": "^1.3.0", "listhen": "^1.9.0", "magic-string": "^0.30.21", "magicast": "^0.5.1", "mime": "^4.1.0", "mlly": "^1.8.0", "node-fetch-native": "^1.6.7", "node-mock-http": "^1.0.4", "ofetch": "^1.5.1", "ohash": "^2.0.11", "pathe": "^2.0.3", "perfect-debounce": "^2.0.0", "pkg-types": "^2.3.0", "pretty-bytes": "^7.1.0", "radix3": "^1.1.2", "rollup": "^4.55.1", "rollup-plugin-visualizer": "^6.0.5", "scule": "^1.3.0", "semver": "^7.7.3", "serve-placeholder": "^2.0.2", "serve-static": "^2.2.1", "source-map": "^0.7.6", "std-env": "^3.10.0", "ufo": "^1.6.3", "ultrahtml": "^1.6.0", "uncrypto": "^0.1.3", "unctx": "^2.5.0", "unenv": "^2.0.0-rc.24", "unimport": "^5.6.0", "unplugin-utils": "^0.3.1", "unstorage": "^1.17.4", "untyped": "^2.0.0", "unwasm": "^0.5.3", "youch": "^4.1.0-beta.13", "youch-core": "^0.3.3" }, "peerDependencies": { "xml2js": "^0.6.2" }, "optionalPeers": ["xml2js"], "bin": { "nitro": "dist/cli/index.mjs", "nitropack": "dist/cli/index.mjs" } }, "sha512-2dDj89C4wC2uzG7guF3CnyG+zwkZosPEp7FFBGHB3AJo11AywOolWhyQJFHDzve8COvGxJaqscye9wW2IrUsNw=="],
"node-addon-api": ["[email protected]", "", {}, "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ=="],
@@ -1767,6 +1803,8 @@
"nuxt": ["[email protected]", "", { "dependencies": { "@dxup/nuxt": "^0.3.2", "@nuxt/cli": "^3.33.0", "@nuxt/devtools": "^3.1.1", "@nuxt/kit": "4.3.1", "@nuxt/nitro-server": "4.3.1", "@nuxt/schema": "4.3.1", "@nuxt/telemetry": "^2.7.0", "@nuxt/vite-builder": "4.3.1", "@unhead/vue": "^2.1.3", "@vue/shared": "^3.5.27", "c12": "^3.3.3", "chokidar": "^5.0.0", "compatx": "^0.2.0", "consola": "^3.4.2", "cookie-es": "^2.0.0", "defu": "^6.1.4", "destr": "^2.0.5", "devalue": "^5.6.2", "errx": "^0.1.0", "escape-string-regexp": "^5.0.0", "exsolve": "^1.0.8", "h3": "^1.15.5", "hookable": "^5.5.3", "ignore": "^7.0.5", "impound": "^1.0.0", "jiti": "^2.6.1", "klona": "^2.0.6", "knitwork": "^1.3.0", "magic-string": "^0.30.21", "mlly": "^1.8.0", "nanotar": "^0.2.0", "nypm": "^0.6.5", "ofetch": "^1.5.1", "ohash": "^2.0.11", "on-change": "^6.0.2", "oxc-minify": "^0.112.0", "oxc-parser": "^0.112.0", "oxc-transform": "^0.112.0", "oxc-walker": "^0.7.0", "pathe": "^2.0.3", "perfect-debounce": "^2.1.0", "pkg-types": "^2.3.0", "rou3": "^0.7.12", "scule": "^1.3.0", "semver": "^7.7.4", "std-env": "^3.10.0", "tinyglobby": "^0.2.15", "ufo": "^1.6.3", "ultrahtml": "^1.6.0", "uncrypto": "^0.1.3", "unctx": "^2.5.0", "unimport": "^5.6.0", "unplugin": "^3.0.0", "unplugin-vue-router": "^0.19.2", "untyped": "^2.0.0", "vue": "^3.5.27", "vue-router": "^4.6.4" }, "peerDependencies": { "@parcel/watcher": "^2.1.0", "@types/node": ">=18.12.0" }, "optionalPeers": ["@parcel/watcher", "@types/node"], "bin": { "nuxi": "bin/nuxt.mjs", "nuxt": "bin/nuxt.mjs" } }, "sha512-bl+0rFcT5Ax16aiWFBFPyWcsTob19NTZaDL5P6t0MQdK63AtgS6fN6fwvwdbXtnTk6/YdCzlmuLzXhSM22h0OA=="],
+ "nuxt-define": ["[email protected]", "", {}, "sha512-CYZ2WjU+KCyCDVzjYUM4eEpMF0rkPmkpiFrybTqqQCRpUbPt2h3snswWIpFPXTi+osRCY6Og0W/XLAQgDL4FfQ=="],
+
"nypm": ["[email protected]", "", { "dependencies": { "citty": "^0.2.0", "pathe": "^2.0.3", "tinyexec": "^1.0.2" }, "bin": { "nypm": "dist/cli.mjs" } }, "sha512-K6AJy1GMVyfyMXRVB88700BJqNUkByijGJM8kEHpLdcAt+vSQAVfkWWHYzuRXHSY6xA2sNc5RjTj0p9rE2izVQ=="],
"object-assign": ["[email protected]", "", {}, "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="],
@@ -1805,11 +1843,11 @@
"oxc-minify": ["[email protected]", "", { "optionalDependencies": { "@oxc-minify/binding-android-arm-eabi": "0.112.0", "@oxc-minify/binding-android-arm64": "0.112.0", "@oxc-minify/binding-darwin-arm64": "0.112.0", "@oxc-minify/binding-darwin-x64": "0.112.0", "@oxc-minify/binding-freebsd-x64": "0.112.0", "@oxc-minify/binding-linux-arm-gnueabihf": "0.112.0", "@oxc-minify/binding-linux-arm-musleabihf": "0.112.0", "@oxc-minify/binding-linux-arm64-gnu": "0.112.0", "@oxc-minify/binding-linux-arm64-musl": "0.112.0", "@oxc-minify/binding-linux-ppc64-gnu": "0.112.0", "@oxc-minify/binding-linux-riscv64-gnu": "0.112.0", "@oxc-minify/binding-linux-riscv64-musl": "0.112.0", "@oxc-minify/binding-linux-s390x-gnu": "0.112.0", "@oxc-minify/binding-linux-x64-gnu": "0.112.0", "@oxc-minify/binding-linux-x64-musl": "0.112.0", "@oxc-minify/binding-openharmony-arm64": "0.112.0", "@oxc-minify/binding-wasm32-wasi": "0.112.0", "@oxc-minify/binding-win32-arm64-msvc": "0.112.0", "@oxc-minify/binding-win32-ia32-msvc": "0.112.0", "@oxc-minify/binding-win32-x64-msvc": "0.112.0" } }, "sha512-rkVSeeIRSt+RYI9uX6xonBpLUpvZyegxIg0UL87ev7YAfUqp7IIZlRjkgQN5Us1lyXD//TOo0Dcuuro/TYOWoQ=="],
- "oxc-parser": ["[email protected]", "", { "dependencies": { "@oxc-project/types": "^0.112.0" }, "optionalDependencies": { "@oxc-parser/binding-android-arm-eabi": "0.112.0", "@oxc-parser/binding-android-arm64": "0.112.0", "@oxc-parser/binding-darwin-arm64": "0.112.0", "@oxc-parser/binding-darwin-x64": "0.112.0", "@oxc-parser/binding-freebsd-x64": "0.112.0", "@oxc-parser/binding-linux-arm-gnueabihf": "0.112.0", "@oxc-parser/binding-linux-arm-musleabihf": "0.112.0", "@oxc-parser/binding-linux-arm64-gnu": "0.112.0", "@oxc-parser/binding-linux-arm64-musl": "0.112.0", "@oxc-parser/binding-linux-ppc64-gnu": "0.112.0", "@oxc-parser/binding-linux-riscv64-gnu": "0.112.0", "@oxc-parser/binding-linux-riscv64-musl": "0.112.0", "@oxc-parser/binding-linux-s390x-gnu": "0.112.0", "@oxc-parser/binding-linux-x64-gnu": "0.112.0", "@oxc-parser/binding-linux-x64-musl": "0.112.0", "@oxc-parser/binding-openharmony-arm64": "0.112.0", "@oxc-parser/binding-wasm32-wasi": "0.112.0", "@oxc-parser/binding-win32-arm64-msvc": "0.112.0", "@oxc-parser/binding-win32-ia32-msvc": "0.112.0", "@oxc-parser/binding-win32-x64-msvc": "0.112.0" } }, "sha512-7rQ3QdJwobMQLMZwQaPuPYMEF2fDRZwf51lZ//V+bA37nejjKW5ifMHbbCwvA889Y4RLhT+/wLJpPRhAoBaZYw=="],
+ "oxc-parser": ["[email protected]", "", { "dependencies": { "@oxc-project/types": "^0.95.0" }, "optionalDependencies": { "@oxc-parser/binding-android-arm64": "0.95.0", "@oxc-parser/binding-darwin-arm64": "0.95.0", "@oxc-parser/binding-darwin-x64": "0.95.0", "@oxc-parser/binding-freebsd-x64": "0.95.0", "@oxc-parser/binding-linux-arm-gnueabihf": "0.95.0", "@oxc-parser/binding-linux-arm-musleabihf": "0.95.0", "@oxc-parser/binding-linux-arm64-gnu": "0.95.0", "@oxc-parser/binding-linux-arm64-musl": "0.95.0", "@oxc-parser/binding-linux-riscv64-gnu": "0.95.0", "@oxc-parser/binding-linux-s390x-gnu": "0.95.0", "@oxc-parser/binding-linux-x64-gnu": "0.95.0", "@oxc-parser/binding-linux-x64-musl": "0.95.0", "@oxc-parser/binding-wasm32-wasi": "0.95.0", "@oxc-parser/binding-win32-arm64-msvc": "0.95.0", "@oxc-parser/binding-win32-x64-msvc": "0.95.0" } }, "sha512-Te8fE/SmiiKWIrwBwxz5Dod87uYvsbcZ9JAL5ylPg1DevyKgTkxCXnPEaewk1Su2qpfNmry5RHoN+NywWFCG+A=="],
- "oxc-transform": ["[email protected]", "", { "optionalDependencies": { "@oxc-transform/binding-android-arm-eabi": "0.112.0", "@oxc-transform/binding-android-arm64": "0.112.0", "@oxc-transform/binding-darwin-arm64": "0.112.0", "@oxc-transform/binding-darwin-x64": "0.112.0", "@oxc-transform/binding-freebsd-x64": "0.112.0", "@oxc-transform/binding-linux-arm-gnueabihf": "0.112.0", "@oxc-transform/binding-linux-arm-musleabihf": "0.112.0", "@oxc-transform/binding-linux-arm64-gnu": "0.112.0", "@oxc-transform/binding-linux-arm64-musl": "0.112.0", "@oxc-transform/binding-linux-ppc64-gnu": "0.112.0", "@oxc-transform/binding-linux-riscv64-gnu": "0.112.0", "@oxc-transform/binding-linux-riscv64-musl": "0.112.0", "@oxc-transform/binding-linux-s390x-gnu": "0.112.0", "@oxc-transform/binding-linux-x64-gnu": "0.112.0", "@oxc-transform/binding-linux-x64-musl": "0.112.0", "@oxc-transform/binding-openharmony-arm64": "0.112.0", "@oxc-transform/binding-wasm32-wasi": "0.112.0", "@oxc-transform/binding-win32-arm64-msvc": "0.112.0", "@oxc-transform/binding-win32-ia32-msvc": "0.112.0", "@oxc-transform/binding-win32-x64-msvc": "0.112.0" } }, "sha512-cIRRvZgrHfsAHrkt8LWdAX4+Do8R0MzQSfeo9yzErzHeYiuyNiP4PCTPbOy/wBXL4MYzt3ebrBa5jt3akQkKAg=="],
+ "oxc-transform": ["[email protected]", "", { "optionalDependencies": { "@oxc-transform/binding-android-arm64": "0.95.0", "@oxc-transform/binding-darwin-arm64": "0.95.0", "@oxc-transform/binding-darwin-x64": "0.95.0", "@oxc-transform/binding-freebsd-x64": "0.95.0", "@oxc-transform/binding-linux-arm-gnueabihf": "0.95.0", "@oxc-transform/binding-linux-arm-musleabihf": "0.95.0", "@oxc-transform/binding-linux-arm64-gnu": "0.95.0", "@oxc-transform/binding-linux-arm64-musl": "0.95.0", "@oxc-transform/binding-linux-riscv64-gnu": "0.95.0", "@oxc-transform/binding-linux-s390x-gnu": "0.95.0", "@oxc-transform/binding-linux-x64-gnu": "0.95.0", "@oxc-transform/binding-linux-x64-musl": "0.95.0", "@oxc-transform/binding-wasm32-wasi": "0.95.0", "@oxc-transform/binding-win32-arm64-msvc": "0.95.0", "@oxc-transform/binding-win32-x64-msvc": "0.95.0" } }, "sha512-SmS5aThb5K0SoUZgzGbikNBjrGHfOY4X5TEqBlaZb1uy5YgXbUSbpakpZJ13yW36LNqy8Im5+y+sIk5dlzpZ/w=="],
- "oxc-walker": ["[email protected]", "", { "dependencies": { "magic-regexp": "^0.10.0" }, "peerDependencies": { "oxc-parser": ">=0.98.0" } }, "sha512-54B4KUhrzbzc4sKvKwVYm7E2PgeROpGba0/2nlNZMqfDyca+yOor5IMb4WLGBatGDT0nkzYdYuzylg7n3YfB7A=="],
+ "oxc-walker": ["[email protected]", "", { "dependencies": { "magic-regexp": "^0.10.0" }, "peerDependencies": { "oxc-parser": ">=0.72.0" } }, "sha512-XYoZqWwApSKUmSDEFeOKdy3Cdh95cOcSU8f7yskFWE4Rl3cfL5uwyY+EV7Brk9mdNLy+t5SseJajd6g7KncvlA=="],
"p-limit": ["[email protected]", "", { "dependencies": { "yocto-queue": "^1.0.0" } }, "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ=="],
@@ -2249,6 +2287,8 @@
"toidentifier": ["[email protected]", "", {}, "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA=="],
+ "tosource": ["[email protected]", "", {}, "sha512-KAB2lrSS48y91MzFPFuDg4hLbvDiyTjOVgaK7Erw+5AmZXNq4sFRVn8r6yxSLuNs15PaokrDRpS61ERY9uZOug=="],
+
"totalist": ["[email protected]", "", {}, "sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ=="],
"tr46": ["[email protected]", "", { "dependencies": { "punycode": "^2.1.0" } }, "sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA=="],
@@ -2313,11 +2353,11 @@
"universalify": ["[email protected]", "", {}, "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw=="],
- "unplugin": ["[email protected]", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "picomatch": "^4.0.3", "webpack-virtual-modules": "^0.6.2" } }, "sha512-0Mqk3AT2TZCXWKdcoaufeXNukv2mTrEZExeXlHIOZXdqYoHHr4n51pymnwV8x2BOVxwXbK2HLlI7usrqMpycdg=="],
+ "unplugin": ["[email protected]", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "acorn": "^8.15.0", "picomatch": "^4.0.3", "webpack-virtual-modules": "^0.6.2" } }, "sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww=="],
"unplugin-utils": ["[email protected]", "", { "dependencies": { "pathe": "^2.0.3", "picomatch": "^4.0.3" } }, "sha512-5lWVjgi6vuHhJ526bI4nlCOmkCIF3nnfXkCMDeMJrtdvxTs6ZFCM8oNufGTsDbKv/tJ/xj8RpvXjRuPBZJuJog=="],
- "unplugin-vue-router": ["[email protected]", "", { "dependencies": { "@babel/generator": "^7.28.5", "@vue-macros/common": "^3.1.1", "@vue/language-core": "^3.2.1", "ast-walker-scope": "^0.8.3", "chokidar": "^5.0.0", "json5": "^2.2.3", "local-pkg": "^1.1.2", "magic-string": "^0.30.21", "mlly": "^1.8.0", "muggle-string": "^0.4.1", "pathe": "^2.0.3", "picomatch": "^4.0.3", "scule": "^1.3.0", "tinyglobby": "^0.2.15", "unplugin": "^2.3.11", "unplugin-utils": "^0.3.1", "yaml": "^2.8.2" }, "peerDependencies": { "@vue/compiler-sfc": "^3.5.17", "vue-router": "^4.6.0" }, "optionalPeers": ["vue-router"] }, "sha512-u5dgLBarxE5cyDK/hzJGfpCTLIAyiTXGlo85COuD4Nssj6G7NxS+i9mhCWz/1p/ud1eMwdcUbTXehQe41jYZUA=="],
+ "unplugin-vue-router": ["[email protected]", "", { "dependencies": { "@babel/generator": "^7.28.5", "@vue-macros/common": "^3.1.1", "@vue/language-core": "^3.1.3", "ast-walker-scope": "^0.8.3", "chokidar": "^4.0.3", "json5": "^2.2.3", "local-pkg": "^1.1.2", "magic-string": "^0.30.21", "mlly": "^1.8.0", "muggle-string": "^0.4.1", "pathe": "^2.0.3", "picomatch": "^4.0.3", "scule": "^1.3.0", "tinyglobby": "^0.2.15", "unplugin": "^2.3.10", "unplugin-utils": "^0.3.1", "yaml": "^2.8.1" }, "peerDependencies": { "@vue/compiler-sfc": "^3.5.17", "vue-router": "^4.6.0" }, "optionalPeers": ["vue-router"] }, "sha512-lE6ZjnHaXfS2vFI/PSEwdKcdOo5RwAbCKUnPBIN9YwLgSWas3x+qivzQvJa/uxhKzJldE6WK43aDKjGj9Rij9w=="],
"unrs-resolver": ["[email protected]", "", { "dependencies": { "napi-postinstall": "^0.3.0" }, "optionalDependencies": { "@unrs/resolver-binding-android-arm-eabi": "1.11.1", "@unrs/resolver-binding-android-arm64": "1.11.1", "@unrs/resolver-binding-darwin-arm64": "1.11.1", "@unrs/resolver-binding-darwin-x64": "1.11.1", "@unrs/resolver-binding-freebsd-x64": "1.11.1", "@unrs/resolver-binding-linux-arm-gnueabihf": "1.11.1", "@unrs/resolver-binding-linux-arm-musleabihf": "1.11.1", "@unrs/resolver-binding-linux-arm64-gnu": "1.11.1", "@unrs/resolver-binding-linux-arm64-musl": "1.11.1", "@unrs/resolver-binding-linux-ppc64-gnu": "1.11.1", "@unrs/resolver-binding-linux-riscv64-gnu": "1.11.1", "@unrs/resolver-binding-linux-riscv64-musl": "1.11.1", "@unrs/resolver-binding-linux-s390x-gnu": "1.11.1", "@unrs/resolver-binding-linux-x64-gnu": "1.11.1", "@unrs/resolver-binding-linux-x64-musl": "1.11.1", "@unrs/resolver-binding-wasm32-wasi": "1.11.1", "@unrs/resolver-binding-win32-arm64-msvc": "1.11.1", "@unrs/resolver-binding-win32-ia32-msvc": "1.11.1", "@unrs/resolver-binding-win32-x64-msvc": "1.11.1" } }, "sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg=="],
@@ -2375,6 +2415,8 @@
"vue-eslint-parser": ["[email protected]", "", { "dependencies": { "debug": "^4.4.0", "eslint-scope": "^8.2.0 || ^9.0.0", "eslint-visitor-keys": "^4.2.0 || ^5.0.0", "espree": "^10.3.0 || ^11.0.0", "esquery": "^1.6.0", "semver": "^7.6.3" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0" } }, "sha512-Aj1cCjD3HQjp5B8cLr6zJjISEOkr0MCrqvwLg3MeyGDjKlL8uMFLKfVbP7Te09cG9Y9KmzJwwnD7hf884CpcOg=="],
+ "vue-i18n": ["[email protected]", "", { "dependencies": { "@intlify/core-base": "11.2.8", "@intlify/shared": "11.2.8", "@vue/devtools-api": "^6.5.0" }, "peerDependencies": { "vue": "^3.0.0" } }, "sha512-vJ123v/PXCZntd6Qj5Jumy7UBmIuE92VrtdX+AXr+1WzdBHojiBxnAxdfctUFL+/JIN+VQH4BhsfTtiGsvVObg=="],
+
"vue-router": ["[email protected]", "", { "dependencies": { "@babel/generator": "^7.28.6", "@vue-macros/common": "^3.1.1", "@vue/devtools-api": "^8.0.0", "ast-walker-scope": "^0.8.3", "chokidar": "^5.0.0", "json5": "^2.2.3", "local-pkg": "^1.1.2", "magic-string": "^0.30.21", "mlly": "^1.8.0", "muggle-string": "^0.4.1", "pathe": "^2.0.3", "picomatch": "^4.0.3", "scule": "^1.3.0", "tinyglobby": "^0.2.15", "unplugin": "^3.0.0", "unplugin-utils": "^0.3.1", "yaml": "^2.8.2" }, "peerDependencies": { "@pinia/colada": ">=0.21.2", "@vue/compiler-sfc": "^3.5.17", "pinia": "^3.0.4", "vue": "^3.5.0" }, "optionalPeers": ["@pinia/colada", "@vue/compiler-sfc", "pinia"] }, "sha512-YFhwaE5c5JcJpNB1arpkl4/GnO32wiUWRB+OEj1T0DlDxEZoOfbltl2xEwktNU/9o1sGcGburIXSpbLpPFe/6w=="],
"w3c-keyname": ["[email protected]", "", {}, "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ=="],
@@ -2447,6 +2489,8 @@
"yaml": ["[email protected]", "", { "bin": { "yaml": "bin.mjs" } }, "sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A=="],
+ "yaml-eslint-parser": ["[email protected]", "", { "dependencies": { "eslint-visitor-keys": "^3.0.0", "yaml": "^2.0.0" } }, "sha512-odxVsHAkZYYglR30aPYRY4nUGJnoJ2y1ww2HDvZALo0BDETv9kWbi16J52eHs+PWRNmF4ub6nZqfVOeesOvntg=="],
+
"yargs": ["[email protected]", "", { "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } }, "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w=="],
"yargs-parser": ["[email protected]", "", {}, "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw=="],
@@ -2481,12 +2525,28 @@
"@dxup/nuxt/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
+ "@es-joy/jsdoccomment/@typescript-eslint/types": ["@typescript-eslint/[email protected]", "", {}, "sha512-ujT0Je8GI5BJWi+/mMoR0wxwVEQaxM+pi30xuMiJETlX80OPovb2p9E8ss87gnSVtYXtJoU9U1Cowcr6w2FE0w=="],
+
"@eslint-community/eslint-utils/eslint-visitor-keys": ["[email protected]", "", {}, "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag=="],
"@eslint/compat/@eslint/core": ["@eslint/[email protected]", "", { "dependencies": { "@types/json-schema": "^7.0.15" } }, "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ=="],
"@eslint/config-inspector/chokidar": ["[email protected]", "", { "dependencies": { "readdirp": "^4.0.1" } }, "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA=="],
+ "@intlify/bundle-utils/esbuild": ["[email protected]", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.25.12", "@esbuild/android-arm": "0.25.12", "@esbuild/android-arm64": "0.25.12", "@esbuild/android-x64": "0.25.12", "@esbuild/darwin-arm64": "0.25.12", "@esbuild/darwin-x64": "0.25.12", "@esbuild/freebsd-arm64": "0.25.12", "@esbuild/freebsd-x64": "0.25.12", "@esbuild/linux-arm": "0.25.12", "@esbuild/linux-arm64": "0.25.12", "@esbuild/linux-ia32": "0.25.12", "@esbuild/linux-loong64": "0.25.12", "@esbuild/linux-mips64el": "0.25.12", "@esbuild/linux-ppc64": "0.25.12", "@esbuild/linux-riscv64": "0.25.12", "@esbuild/linux-s390x": "0.25.12", "@esbuild/linux-x64": "0.25.12", "@esbuild/netbsd-arm64": "0.25.12", "@esbuild/netbsd-x64": "0.25.12", "@esbuild/openbsd-arm64": "0.25.12", "@esbuild/openbsd-x64": "0.25.12", "@esbuild/openharmony-arm64": "0.25.12", "@esbuild/sunos-x64": "0.25.12", "@esbuild/win32-arm64": "0.25.12", "@esbuild/win32-ia32": "0.25.12", "@esbuild/win32-x64": "0.25.12" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg=="],
+
+ "@intlify/bundle-utils/estree-walker": ["[email protected]", "", {}, "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="],
+
+ "@intlify/unplugin-vue-i18n/@typescript-eslint/scope-manager": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.55.0", "@typescript-eslint/visitor-keys": "8.55.0" } }, "sha512-fVu5Omrd3jeqeQLiB9f1YsuK/iHFOwb04bCtY4BSCLgjNbOD33ZdV6KyEqplHr+IlpgT0QTZ/iJ+wT7hvTx49Q=="],
+
+ "@intlify/unplugin-vue-i18n/@typescript-eslint/typescript-estree": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/project-service": "8.55.0", "@typescript-eslint/tsconfig-utils": "8.55.0", "@typescript-eslint/types": "8.55.0", "@typescript-eslint/visitor-keys": "8.55.0", "debug": "^4.4.3", "minimatch": "^9.0.5", "semver": "^7.7.3", "tinyglobby": "^0.2.15", "ts-api-utils": "^2.4.0" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-EwrH67bSWdx/3aRQhCoxDaHM+CrZjotc2UCCpEDVqfCE+7OjKAGWNY2HsCSTEVvWH2clYQK8pdeLp42EVs+xQw=="],
+
+ "@intlify/unplugin-vue-i18n/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
+
+ "@intlify/vue-i18n-extensions/@intlify/shared": ["@intlify/[email protected]", "", {}, "sha512-BcmHpb5bQyeVNrptC3UhzpBZB/YHHDoEREOUERrmF2BRxsyOEuRrq+Z96C/D4+2KJb8kuHiouzAei7BXlG0YYw=="],
+
+ "@intlify/vue-i18n-extensions/vue-i18n": ["[email protected]", "", { "dependencies": { "@intlify/core-base": "10.0.8", "@intlify/shared": "10.0.8", "@vue/devtools-api": "^6.5.0" }, "peerDependencies": { "vue": "^3.0.0" } }, "sha512-mIjy4utxMz9lMMo6G9vYePv7gUFt4ztOMhY9/4czDJxZ26xPeJ49MAGa9wBAE3XuXbYCrtVPmPxNjej7JJJkZQ=="],
+
"@keyv/bigmap/keyv": ["[email protected]", "", { "dependencies": { "@keyv/serialize": "^1.1.1" } }, "sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw=="],
"@nuxt/cli/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
@@ -2499,6 +2559,10 @@
"@nuxt/eslint-config/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
+ "@nuxt/eslint-plugin/@typescript-eslint/types": ["@typescript-eslint/[email protected]", "", {}, "sha512-ujT0Je8GI5BJWi+/mMoR0wxwVEQaxM+pi30xuMiJETlX80OPovb2p9E8ss87gnSVtYXtJoU9U1Cowcr6w2FE0w=="],
+
+ "@nuxt/eslint-plugin/@typescript-eslint/utils": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", "@typescript-eslint/scope-manager": "8.55.0", "@typescript-eslint/types": "8.55.0", "@typescript-eslint/typescript-estree": "8.55.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } }, "sha512-BqZEsnPGdYpgyEIkDC1BadNY8oMwckftxBT+C8W0g1iKPdeqKZBtTfnvcq0nf60u7MkjFO8RBvpRGZBPw4L2ow=="],
+
"@nuxt/kit/ignore": ["[email protected]", "", {}, "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg=="],
"@nuxt/kit/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
@@ -2517,6 +2581,10 @@
"@nuxtjs/color-mode/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
+ "@nuxtjs/i18n/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
+
+ "@nuxtjs/i18n/vue-router": ["[email protected]", "", { "dependencies": { "@vue/devtools-api": "^6.6.4" }, "peerDependencies": { "vue": "^3.5.0" } }, "sha512-Hz9q5sa33Yhduglwz6g9skT8OBPii+4bFn88w6J+J4MfEo4KRRpmiNG/hHHkdbRFlLBOqxN8y8gf2Fb0MTUgVg=="],
+
"@parcel/watcher-wasm/napi-wasm": ["[email protected]", "", { "bundled": true }, "sha512-h/4nMGsHjZDCYmQVNODIrYACVJ+I9KItbG+0si6W/jSjdA9JbWDoU4LLeMXVcEQGHjttI2tuXqDrbGF7qkUHHg=="],
"@poppinss/colors/kleur": ["[email protected]", "", {}, "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ=="],
@@ -2531,17 +2599,37 @@
"@rollup/pluginutils/estree-walker": ["[email protected]", "", {}, "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="],
+ "@stylistic/eslint-plugin/@typescript-eslint/types": ["@typescript-eslint/[email protected]", "", {}, "sha512-ujT0Je8GI5BJWi+/mMoR0wxwVEQaxM+pi30xuMiJETlX80OPovb2p9E8ss87gnSVtYXtJoU9U1Cowcr6w2FE0w=="],
+
"@stylistic/eslint-plugin/eslint-visitor-keys": ["[email protected]", "", {}, "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ=="],
"@stylistic/eslint-plugin/espree": ["[email protected]", "", { "dependencies": { "acorn": "^8.15.0", "acorn-jsx": "^5.3.2", "eslint-visitor-keys": "^4.2.1" } }, "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ=="],
"@surma/rollup-plugin-off-main-thread/magic-string": ["[email protected]", "", { "dependencies": { "sourcemap-codec": "^1.4.8" } }, "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ=="],
+ "@typescript-eslint/eslint-plugin/@typescript-eslint/scope-manager": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.55.0", "@typescript-eslint/visitor-keys": "8.55.0" } }, "sha512-fVu5Omrd3jeqeQLiB9f1YsuK/iHFOwb04bCtY4BSCLgjNbOD33ZdV6KyEqplHr+IlpgT0QTZ/iJ+wT7hvTx49Q=="],
+
+ "@typescript-eslint/eslint-plugin/@typescript-eslint/utils": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", "@typescript-eslint/scope-manager": "8.55.0", "@typescript-eslint/types": "8.55.0", "@typescript-eslint/typescript-estree": "8.55.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } }, "sha512-BqZEsnPGdYpgyEIkDC1BadNY8oMwckftxBT+C8W0g1iKPdeqKZBtTfnvcq0nf60u7MkjFO8RBvpRGZBPw4L2ow=="],
+
+ "@typescript-eslint/eslint-plugin/@typescript-eslint/visitor-keys": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.55.0", "eslint-visitor-keys": "^4.2.1" } }, "sha512-AxNRwEie8Nn4eFS1FzDMJWIISMGoXMb037sgCBJ3UR6o0fQTzr2tqN9WT+DkWJPhIdQCfV7T6D387566VtnCJA=="],
+
"@typescript-eslint/eslint-plugin/ignore": ["[email protected]", "", {}, "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg=="],
- "@typescript-eslint/typescript-estree/minimatch": ["[email protected]", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="],
+ "@typescript-eslint/parser/@typescript-eslint/scope-manager": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.55.0", "@typescript-eslint/visitor-keys": "8.55.0" } }, "sha512-fVu5Omrd3jeqeQLiB9f1YsuK/iHFOwb04bCtY4BSCLgjNbOD33ZdV6KyEqplHr+IlpgT0QTZ/iJ+wT7hvTx49Q=="],
+
+ "@typescript-eslint/parser/@typescript-eslint/types": ["@typescript-eslint/[email protected]", "", {}, "sha512-ujT0Je8GI5BJWi+/mMoR0wxwVEQaxM+pi30xuMiJETlX80OPovb2p9E8ss87gnSVtYXtJoU9U1Cowcr6w2FE0w=="],
- "@typescript-eslint/visitor-keys/eslint-visitor-keys": ["[email protected]", "", {}, "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ=="],
+ "@typescript-eslint/parser/@typescript-eslint/typescript-estree": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/project-service": "8.55.0", "@typescript-eslint/tsconfig-utils": "8.55.0", "@typescript-eslint/types": "8.55.0", "@typescript-eslint/visitor-keys": "8.55.0", "debug": "^4.4.3", "minimatch": "^9.0.5", "semver": "^7.7.3", "tinyglobby": "^0.2.15", "ts-api-utils": "^2.4.0" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-EwrH67bSWdx/3aRQhCoxDaHM+CrZjotc2UCCpEDVqfCE+7OjKAGWNY2HsCSTEVvWH2clYQK8pdeLp42EVs+xQw=="],
+
+ "@typescript-eslint/parser/@typescript-eslint/visitor-keys": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.55.0", "eslint-visitor-keys": "^4.2.1" } }, "sha512-AxNRwEie8Nn4eFS1FzDMJWIISMGoXMb037sgCBJ3UR6o0fQTzr2tqN9WT+DkWJPhIdQCfV7T6D387566VtnCJA=="],
+
+ "@typescript-eslint/type-utils/@typescript-eslint/types": ["@typescript-eslint/[email protected]", "", {}, "sha512-ujT0Je8GI5BJWi+/mMoR0wxwVEQaxM+pi30xuMiJETlX80OPovb2p9E8ss87gnSVtYXtJoU9U1Cowcr6w2FE0w=="],
+
+ "@typescript-eslint/type-utils/@typescript-eslint/typescript-estree": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/project-service": "8.55.0", "@typescript-eslint/tsconfig-utils": "8.55.0", "@typescript-eslint/types": "8.55.0", "@typescript-eslint/visitor-keys": "8.55.0", "debug": "^4.4.3", "minimatch": "^9.0.5", "semver": "^7.7.3", "tinyglobby": "^0.2.15", "ts-api-utils": "^2.4.0" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-EwrH67bSWdx/3aRQhCoxDaHM+CrZjotc2UCCpEDVqfCE+7OjKAGWNY2HsCSTEVvWH2clYQK8pdeLp42EVs+xQw=="],
+
+ "@typescript-eslint/type-utils/@typescript-eslint/utils": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", "@typescript-eslint/scope-manager": "8.55.0", "@typescript-eslint/types": "8.55.0", "@typescript-eslint/typescript-estree": "8.55.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } }, "sha512-BqZEsnPGdYpgyEIkDC1BadNY8oMwckftxBT+C8W0g1iKPdeqKZBtTfnvcq0nf60u7MkjFO8RBvpRGZBPw4L2ow=="],
+
+ "@typescript-eslint/typescript-estree/minimatch": ["[email protected]", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="],
"@unrs/resolver-binding-wasm32-wasi/@napi-rs/wasm-runtime": ["@napi-rs/[email protected]", "", { "dependencies": { "@emnapi/core": "^1.4.3", "@emnapi/runtime": "^1.4.3", "@tybys/wasm-util": "^0.10.0" } }, "sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ=="],
@@ -2615,10 +2703,14 @@
"dot-prop/type-fest": ["[email protected]", "", { "dependencies": { "tagged-tag": "^1.0.0" } }, "sha512-JnTrzGu+zPV3aXIUhnyWJj4z/wigMsdYajGLIYakqyOW1nPllzXEJee0QQbHj+CTIQtXGlAjuK0UY+2xTyjVAw=="],
+ "escodegen/source-map": ["[email protected]", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="],
+
"eslint/find-up": ["[email protected]", "", { "dependencies": { "locate-path": "^6.0.0", "path-exists": "^4.0.0" } }, "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng=="],
"eslint-flat-config-utils/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
+ "eslint-plugin-import-x/@typescript-eslint/types": ["@typescript-eslint/[email protected]", "", {}, "sha512-ujT0Je8GI5BJWi+/mMoR0wxwVEQaxM+pi30xuMiJETlX80OPovb2p9E8ss87gnSVtYXtJoU9U1Cowcr6w2FE0w=="],
+
"eslint-plugin-unicorn/@eslint/plugin-kit": ["@eslint/[email protected]", "", { "dependencies": { "@eslint/core": "^0.17.0", "levn": "^0.4.1" } }, "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA=="],
"eslint-plugin-unicorn/globals": ["[email protected]", "", {}, "sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ=="],
@@ -2653,12 +2745,14 @@
"impound/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
- "impound/unplugin": ["[email protected]", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "acorn": "^8.15.0", "picomatch": "^4.0.3", "webpack-virtual-modules": "^0.6.2" } }, "sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww=="],
-
"impound/unplugin-utils": ["[email protected]", "", { "dependencies": { "pathe": "^2.0.3", "picomatch": "^4.0.3" } }, "sha512-gwXJnPRewT4rT7sBi/IvxKTjsms7jX7QIDLOClApuZwR49SXbrB1z2NLUZ+vDHyqCj/n58OzRRqaW+B8OZi8vg=="],
"is-number/kind-of": ["[email protected]", "", { "dependencies": { "is-buffer": "^1.1.5" } }, "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ=="],
+ "jsonc-eslint-parser/eslint-visitor-keys": ["[email protected]", "", {}, "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag=="],
+
+ "jsonc-eslint-parser/espree": ["[email protected]", "", { "dependencies": { "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", "eslint-visitor-keys": "^3.4.1" } }, "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ=="],
+
"lazystream/readable-stream": ["[email protected]", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="],
"listhen/citty": ["[email protected]", "", { "dependencies": { "consola": "^3.2.3" } }, "sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ=="],
@@ -2667,8 +2761,6 @@
"loader-utils/json5": ["[email protected]", "", { "dependencies": { "minimist": "^1.2.0" }, "bin": { "json5": "lib/cli.js" } }, "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA=="],
- "magic-regexp/unplugin": ["[email protected]", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "acorn": "^8.15.0", "picomatch": "^4.0.3", "webpack-virtual-modules": "^0.6.2" } }, "sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww=="],
-
"micromatch/picomatch": ["[email protected]", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="],
"mixin-deep/is-extendable": ["[email protected]", "", { "dependencies": { "is-plain-object": "^2.0.4" } }, "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA=="],
@@ -2707,8 +2799,18 @@
"nuxt/ignore": ["[email protected]", "", {}, "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg=="],
+ "nuxt/oxc-parser": ["[email protected]", "", { "dependencies": { "@oxc-project/types": "^0.112.0" }, "optionalDependencies": { "@oxc-parser/binding-android-arm-eabi": "0.112.0", "@oxc-parser/binding-android-arm64": "0.112.0", "@oxc-parser/binding-darwin-arm64": "0.112.0", "@oxc-parser/binding-darwin-x64": "0.112.0", "@oxc-parser/binding-freebsd-x64": "0.112.0", "@oxc-parser/binding-linux-arm-gnueabihf": "0.112.0", "@oxc-parser/binding-linux-arm-musleabihf": "0.112.0", "@oxc-parser/binding-linux-arm64-gnu": "0.112.0", "@oxc-parser/binding-linux-arm64-musl": "0.112.0", "@oxc-parser/binding-linux-ppc64-gnu": "0.112.0", "@oxc-parser/binding-linux-riscv64-gnu": "0.112.0", "@oxc-parser/binding-linux-riscv64-musl": "0.112.0", "@oxc-parser/binding-linux-s390x-gnu": "0.112.0", "@oxc-parser/binding-linux-x64-gnu": "0.112.0", "@oxc-parser/binding-linux-x64-musl": "0.112.0", "@oxc-parser/binding-openharmony-arm64": "0.112.0", "@oxc-parser/binding-wasm32-wasi": "0.112.0", "@oxc-parser/binding-win32-arm64-msvc": "0.112.0", "@oxc-parser/binding-win32-ia32-msvc": "0.112.0", "@oxc-parser/binding-win32-x64-msvc": "0.112.0" } }, "sha512-7rQ3QdJwobMQLMZwQaPuPYMEF2fDRZwf51lZ//V+bA37nejjKW5ifMHbbCwvA889Y4RLhT+/wLJpPRhAoBaZYw=="],
+
+ "nuxt/oxc-transform": ["[email protected]", "", { "optionalDependencies": { "@oxc-transform/binding-android-arm-eabi": "0.112.0", "@oxc-transform/binding-android-arm64": "0.112.0", "@oxc-transform/binding-darwin-arm64": "0.112.0", "@oxc-transform/binding-darwin-x64": "0.112.0", "@oxc-transform/binding-freebsd-x64": "0.112.0", "@oxc-transform/binding-linux-arm-gnueabihf": "0.112.0", "@oxc-transform/binding-linux-arm-musleabihf": "0.112.0", "@oxc-transform/binding-linux-arm64-gnu": "0.112.0", "@oxc-transform/binding-linux-arm64-musl": "0.112.0", "@oxc-transform/binding-linux-ppc64-gnu": "0.112.0", "@oxc-transform/binding-linux-riscv64-gnu": "0.112.0", "@oxc-transform/binding-linux-riscv64-musl": "0.112.0", "@oxc-transform/binding-linux-s390x-gnu": "0.112.0", "@oxc-transform/binding-linux-x64-gnu": "0.112.0", "@oxc-transform/binding-linux-x64-musl": "0.112.0", "@oxc-transform/binding-openharmony-arm64": "0.112.0", "@oxc-transform/binding-wasm32-wasi": "0.112.0", "@oxc-transform/binding-win32-arm64-msvc": "0.112.0", "@oxc-transform/binding-win32-ia32-msvc": "0.112.0", "@oxc-transform/binding-win32-x64-msvc": "0.112.0" } }, "sha512-cIRRvZgrHfsAHrkt8LWdAX4+Do8R0MzQSfeo9yzErzHeYiuyNiP4PCTPbOy/wBXL4MYzt3ebrBa5jt3akQkKAg=="],
+
+ "nuxt/oxc-walker": ["[email protected]", "", { "dependencies": { "magic-regexp": "^0.10.0" }, "peerDependencies": { "oxc-parser": ">=0.98.0" } }, "sha512-54B4KUhrzbzc4sKvKwVYm7E2PgeROpGba0/2nlNZMqfDyca+yOor5IMb4WLGBatGDT0nkzYdYuzylg7n3YfB7A=="],
+
"nuxt/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
+ "nuxt/unplugin": ["[email protected]", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "picomatch": "^4.0.3", "webpack-virtual-modules": "^0.6.2" } }, "sha512-0Mqk3AT2TZCXWKdcoaufeXNukv2mTrEZExeXlHIOZXdqYoHHr4n51pymnwV8x2BOVxwXbK2HLlI7usrqMpycdg=="],
+
+ "nuxt/unplugin-vue-router": ["[email protected]", "", { "dependencies": { "@babel/generator": "^7.28.5", "@vue-macros/common": "^3.1.1", "@vue/language-core": "^3.2.1", "ast-walker-scope": "^0.8.3", "chokidar": "^5.0.0", "json5": "^2.2.3", "local-pkg": "^1.1.2", "magic-string": "^0.30.21", "mlly": "^1.8.0", "muggle-string": "^0.4.1", "pathe": "^2.0.3", "picomatch": "^4.0.3", "scule": "^1.3.0", "tinyglobby": "^0.2.15", "unplugin": "^2.3.11", "unplugin-utils": "^0.3.1", "yaml": "^2.8.2" }, "peerDependencies": { "@vue/compiler-sfc": "^3.5.17", "vue-router": "^4.6.0" }, "optionalPeers": ["vue-router"] }, "sha512-u5dgLBarxE5cyDK/hzJGfpCTLIAyiTXGlo85COuD4Nssj6G7NxS+i9mhCWz/1p/ud1eMwdcUbTXehQe41jYZUA=="],
+
"nuxt/vue-router": ["[email protected]", "", { "dependencies": { "@vue/devtools-api": "^6.6.4" }, "peerDependencies": { "vue": "^3.5.0" } }, "sha512-Hz9q5sa33Yhduglwz6g9skT8OBPii+4bFn88w6J+J4MfEo4KRRpmiNG/hHHkdbRFlLBOqxN8y8gf2Fb0MTUgVg=="],
"nypm/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
@@ -2795,21 +2897,17 @@
"to-regex-range/is-number": ["[email protected]", "", {}, "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="],
- "unctx/unplugin": ["[email protected]", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "acorn": "^8.15.0", "picomatch": "^4.0.3", "webpack-virtual-modules": "^0.6.2" } }, "sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww=="],
-
"unenv/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
"unimport/escape-string-regexp": ["[email protected]", "", {}, "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw=="],
"unimport/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
- "unimport/unplugin": ["[email protected]", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "acorn": "^8.15.0", "picomatch": "^4.0.3", "webpack-virtual-modules": "^0.6.2" } }, "sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww=="],
-
"unplugin-utils/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
- "unplugin-vue-router/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
+ "unplugin-vue-router/chokidar": ["[email protected]", "", { "dependencies": { "readdirp": "^4.0.1" } }, "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA=="],
- "unplugin-vue-router/unplugin": ["[email protected]", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "acorn": "^8.15.0", "picomatch": "^4.0.3", "webpack-virtual-modules": "^0.6.2" } }, "sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww=="],
+ "unplugin-vue-router/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
"unset-value/has-value": ["[email protected]", "", { "dependencies": { "get-value": "^2.0.3", "has-values": "^0.1.4", "isobject": "^2.0.0" } }, "sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q=="],
@@ -2831,10 +2929,14 @@
"vite-plugin-vue-tracer/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
+ "vue-i18n/@vue/devtools-api": ["@vue/[email protected]", "", {}, "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g=="],
+
"vue-router/@vue/devtools-api": ["@vue/[email protected]", "", { "dependencies": { "@vue/devtools-kit": "^8.0.6" } }, "sha512-+lGBI+WTvJmnU2FZqHhEB8J1DXcvNlDeEalz77iYgOdY1jTj1ipSBaKj3sRhYcy+kqA8v/BSuvOz1XJucfQmUA=="],
"vue-router/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
+ "vue-router/unplugin": ["[email protected]", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "picomatch": "^4.0.3", "webpack-virtual-modules": "^0.6.2" } }, "sha512-0Mqk3AT2TZCXWKdcoaufeXNukv2mTrEZExeXlHIOZXdqYoHHr4n51pymnwV8x2BOVxwXbK2HLlI7usrqMpycdg=="],
+
"which-builtin-type/isarray": ["[email protected]", "", {}, "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw=="],
"workbox-build/@rollup/plugin-replace": ["@rollup/[email protected]", "", { "dependencies": { "@rollup/pluginutils": "^3.1.0", "magic-string": "^0.25.7" }, "peerDependencies": { "rollup": "^1.20.0 || ^2.0.0" } }, "sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg=="],
@@ -2857,18 +2959,124 @@
"wrap-ansi-cjs/strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="],
+ "yaml-eslint-parser/eslint-visitor-keys": ["[email protected]", "", {}, "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag=="],
+
"yargs/string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],
"@apideck/better-ajv-errors/ajv/json-schema-traverse": ["[email protected]", "", {}, "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="],
"@eslint/config-inspector/chokidar/readdirp": ["[email protected]", "", {}, "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg=="],
+ "@intlify/bundle-utils/esbuild/@esbuild/aix-ppc64": ["@esbuild/[email protected]", "", { "os": "aix", "cpu": "ppc64" }, "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/android-arm": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/android-arm64": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/android-x64": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "x64" }, "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/darwin-arm64": ["@esbuild/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/darwin-x64": ["@esbuild/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/freebsd-arm64": ["@esbuild/[email protected]", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/freebsd-x64": ["@esbuild/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/linux-arm": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/linux-arm64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/linux-ia32": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "ia32" }, "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/linux-loong64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/linux-mips64el": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/linux-ppc64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/linux-riscv64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/linux-s390x": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/linux-x64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/netbsd-arm64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/netbsd-x64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "x64" }, "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/openbsd-arm64": ["@esbuild/[email protected]", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/openbsd-x64": ["@esbuild/[email protected]", "", { "os": "openbsd", "cpu": "x64" }, "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/openharmony-arm64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/sunos-x64": ["@esbuild/[email protected]", "", { "os": "sunos", "cpu": "x64" }, "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/win32-arm64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/win32-ia32": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ=="],
+
+ "@intlify/bundle-utils/esbuild/@esbuild/win32-x64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA=="],
+
+ "@intlify/unplugin-vue-i18n/@typescript-eslint/scope-manager/@typescript-eslint/types": ["@typescript-eslint/[email protected]", "", {}, "sha512-ujT0Je8GI5BJWi+/mMoR0wxwVEQaxM+pi30xuMiJETlX80OPovb2p9E8ss87gnSVtYXtJoU9U1Cowcr6w2FE0w=="],
+
+ "@intlify/unplugin-vue-i18n/@typescript-eslint/scope-manager/@typescript-eslint/visitor-keys": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.55.0", "eslint-visitor-keys": "^4.2.1" } }, "sha512-AxNRwEie8Nn4eFS1FzDMJWIISMGoXMb037sgCBJ3UR6o0fQTzr2tqN9WT+DkWJPhIdQCfV7T6D387566VtnCJA=="],
+
+ "@intlify/unplugin-vue-i18n/@typescript-eslint/typescript-estree/@typescript-eslint/project-service": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.55.0", "@typescript-eslint/types": "^8.55.0", "debug": "^4.4.3" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-zRcVVPFUYWa3kNnjaZGXSu3xkKV1zXy8M4nO/pElzQhFweb7PPtluDLQtKArEOGmjXoRjnUZ29NjOiF0eCDkcQ=="],
+
+ "@intlify/unplugin-vue-i18n/@typescript-eslint/typescript-estree/@typescript-eslint/tsconfig-utils": ["@typescript-eslint/[email protected]", "", { "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-1R9cXqY7RQd7WuqSN47PK9EDpgFUK3VqdmbYrvWJZYDd0cavROGn+74ktWBlmJ13NXUQKlZ/iAEQHI/V0kKe0Q=="],
+
+ "@intlify/unplugin-vue-i18n/@typescript-eslint/typescript-estree/@typescript-eslint/types": ["@typescript-eslint/[email protected]", "", {}, "sha512-ujT0Je8GI5BJWi+/mMoR0wxwVEQaxM+pi30xuMiJETlX80OPovb2p9E8ss87gnSVtYXtJoU9U1Cowcr6w2FE0w=="],
+
+ "@intlify/unplugin-vue-i18n/@typescript-eslint/typescript-estree/@typescript-eslint/visitor-keys": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.55.0", "eslint-visitor-keys": "^4.2.1" } }, "sha512-AxNRwEie8Nn4eFS1FzDMJWIISMGoXMb037sgCBJ3UR6o0fQTzr2tqN9WT+DkWJPhIdQCfV7T6D387566VtnCJA=="],
+
+ "@intlify/unplugin-vue-i18n/@typescript-eslint/typescript-estree/minimatch": ["[email protected]", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="],
+
+ "@intlify/vue-i18n-extensions/vue-i18n/@intlify/core-base": ["@intlify/[email protected]", "", { "dependencies": { "@intlify/message-compiler": "10.0.8", "@intlify/shared": "10.0.8" } }, "sha512-FoHslNWSoHjdUBLy35bpm9PV/0LVI/DSv9L6Km6J2ad8r/mm0VaGg06C40FqlE8u2ADcGUM60lyoU7Myo4WNZQ=="],
+
+ "@intlify/vue-i18n-extensions/vue-i18n/@vue/devtools-api": ["@vue/[email protected]", "", {}, "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g=="],
+
+ "@nuxt/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/scope-manager": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.55.0", "@typescript-eslint/visitor-keys": "8.55.0" } }, "sha512-fVu5Omrd3jeqeQLiB9f1YsuK/iHFOwb04bCtY4BSCLgjNbOD33ZdV6KyEqplHr+IlpgT0QTZ/iJ+wT7hvTx49Q=="],
+
+ "@nuxt/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/project-service": "8.55.0", "@typescript-eslint/tsconfig-utils": "8.55.0", "@typescript-eslint/types": "8.55.0", "@typescript-eslint/visitor-keys": "8.55.0", "debug": "^4.4.3", "minimatch": "^9.0.5", "semver": "^7.7.3", "tinyglobby": "^0.2.15", "ts-api-utils": "^2.4.0" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-EwrH67bSWdx/3aRQhCoxDaHM+CrZjotc2UCCpEDVqfCE+7OjKAGWNY2HsCSTEVvWH2clYQK8pdeLp42EVs+xQw=="],
+
+ "@nuxtjs/i18n/vue-router/@vue/devtools-api": ["@vue/[email protected]", "", {}, "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g=="],
+
"@rollup/plugin-babel/@rollup/pluginutils/@types/estree": ["@types/[email protected]", "", {}, "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw=="],
"@rollup/plugin-babel/@rollup/pluginutils/estree-walker": ["[email protected]", "", {}, "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg=="],
"@rollup/plugin-babel/@rollup/pluginutils/picomatch": ["[email protected]", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="],
+ "@typescript-eslint/eslint-plugin/@typescript-eslint/scope-manager/@typescript-eslint/types": ["@typescript-eslint/[email protected]", "", {}, "sha512-ujT0Je8GI5BJWi+/mMoR0wxwVEQaxM+pi30xuMiJETlX80OPovb2p9E8ss87gnSVtYXtJoU9U1Cowcr6w2FE0w=="],
+
+ "@typescript-eslint/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/types": ["@typescript-eslint/[email protected]", "", {}, "sha512-ujT0Je8GI5BJWi+/mMoR0wxwVEQaxM+pi30xuMiJETlX80OPovb2p9E8ss87gnSVtYXtJoU9U1Cowcr6w2FE0w=="],
+
+ "@typescript-eslint/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/project-service": "8.55.0", "@typescript-eslint/tsconfig-utils": "8.55.0", "@typescript-eslint/types": "8.55.0", "@typescript-eslint/visitor-keys": "8.55.0", "debug": "^4.4.3", "minimatch": "^9.0.5", "semver": "^7.7.3", "tinyglobby": "^0.2.15", "ts-api-utils": "^2.4.0" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-EwrH67bSWdx/3aRQhCoxDaHM+CrZjotc2UCCpEDVqfCE+7OjKAGWNY2HsCSTEVvWH2clYQK8pdeLp42EVs+xQw=="],
+
+ "@typescript-eslint/eslint-plugin/@typescript-eslint/visitor-keys/@typescript-eslint/types": ["@typescript-eslint/[email protected]", "", {}, "sha512-ujT0Je8GI5BJWi+/mMoR0wxwVEQaxM+pi30xuMiJETlX80OPovb2p9E8ss87gnSVtYXtJoU9U1Cowcr6w2FE0w=="],
+
+ "@typescript-eslint/eslint-plugin/@typescript-eslint/visitor-keys/eslint-visitor-keys": ["[email protected]", "", {}, "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ=="],
+
+ "@typescript-eslint/parser/@typescript-eslint/typescript-estree/@typescript-eslint/project-service": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.55.0", "@typescript-eslint/types": "^8.55.0", "debug": "^4.4.3" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-zRcVVPFUYWa3kNnjaZGXSu3xkKV1zXy8M4nO/pElzQhFweb7PPtluDLQtKArEOGmjXoRjnUZ29NjOiF0eCDkcQ=="],
+
+ "@typescript-eslint/parser/@typescript-eslint/typescript-estree/@typescript-eslint/tsconfig-utils": ["@typescript-eslint/[email protected]", "", { "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-1R9cXqY7RQd7WuqSN47PK9EDpgFUK3VqdmbYrvWJZYDd0cavROGn+74ktWBlmJ13NXUQKlZ/iAEQHI/V0kKe0Q=="],
+
+ "@typescript-eslint/parser/@typescript-eslint/typescript-estree/minimatch": ["[email protected]", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="],
+
+ "@typescript-eslint/parser/@typescript-eslint/visitor-keys/eslint-visitor-keys": ["[email protected]", "", {}, "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ=="],
+
+ "@typescript-eslint/type-utils/@typescript-eslint/typescript-estree/@typescript-eslint/project-service": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.55.0", "@typescript-eslint/types": "^8.55.0", "debug": "^4.4.3" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-zRcVVPFUYWa3kNnjaZGXSu3xkKV1zXy8M4nO/pElzQhFweb7PPtluDLQtKArEOGmjXoRjnUZ29NjOiF0eCDkcQ=="],
+
+ "@typescript-eslint/type-utils/@typescript-eslint/typescript-estree/@typescript-eslint/tsconfig-utils": ["@typescript-eslint/[email protected]", "", { "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-1R9cXqY7RQd7WuqSN47PK9EDpgFUK3VqdmbYrvWJZYDd0cavROGn+74ktWBlmJ13NXUQKlZ/iAEQHI/V0kKe0Q=="],
+
+ "@typescript-eslint/type-utils/@typescript-eslint/typescript-estree/@typescript-eslint/visitor-keys": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.55.0", "eslint-visitor-keys": "^4.2.1" } }, "sha512-AxNRwEie8Nn4eFS1FzDMJWIISMGoXMb037sgCBJ3UR6o0fQTzr2tqN9WT+DkWJPhIdQCfV7T6D387566VtnCJA=="],
+
+ "@typescript-eslint/type-utils/@typescript-eslint/typescript-estree/minimatch": ["[email protected]", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="],
+
+ "@typescript-eslint/type-utils/@typescript-eslint/utils/@typescript-eslint/scope-manager": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.55.0", "@typescript-eslint/visitor-keys": "8.55.0" } }, "sha512-fVu5Omrd3jeqeQLiB9f1YsuK/iHFOwb04bCtY4BSCLgjNbOD33ZdV6KyEqplHr+IlpgT0QTZ/iJ+wT7hvTx49Q=="],
+
"@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ=="],
"@vite-pwa/nuxt/@nuxt/kit/ignore": ["[email protected]", "", {}, "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg=="],
@@ -2931,6 +3139,70 @@
"node-fetch/whatwg-url/webidl-conversions": ["[email protected]", "", {}, "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="],
+ "nuxt/oxc-parser/@oxc-parser/binding-android-arm64": ["@oxc-parser/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-pRkbBRbuIIsufUWpOJ+JHWfJFNupkidy4sbjfcm37e6xwYrn9LSKMLubPHvNaL1Zf92ZRhGiwaYkEcmaFg2VcA=="],
+
+ "nuxt/oxc-parser/@oxc-parser/binding-darwin-arm64": ["@oxc-parser/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-fh6/KQL/cbH5DukT3VkdCqnULLuvVnszVKySD5IgSE0WZb32YZo/cPsPdEv052kk6w3N4agu+NTiMnZjcvhUIg=="],
+
+ "nuxt/oxc-parser/@oxc-parser/binding-darwin-x64": ["@oxc-parser/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-vUBOOY1E30vlu/DoTGDoT1UbLlwu5Yv9tqeBabAwRzwNDz8Skho16VKhsBDUiyqddtpsR3//v6vNk38w4c+6IA=="],
+
+ "nuxt/oxc-parser/@oxc-parser/binding-freebsd-x64": ["@oxc-parser/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-hnEtO/9AVnYWzrgnp6L+oPs/6UqlFeteUL6n7magkd2tttgmx1C01hyNNh6nTpZfLzEVJSNJ0S+4NTsK2q2CxA=="],
+
+ "nuxt/oxc-parser/@oxc-parser/binding-linux-arm-gnueabihf": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-WxJrUz3pcIc2hp4lvJbvt/sTL33oX9NPvkD3vDDybE6tc0V++rS+hNOJxwXdD2FDIFPkHs/IEn5asEZFVH+VKw=="],
+
+ "nuxt/oxc-parser/@oxc-parser/binding-linux-arm-musleabihf": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-jj8A8WWySaJQqM9XKAIG8U2Q3qxhFQKrXPWv98d1oC35at+L1h+C+V4M3l8BAKhpHKCu3dYlloaAbHd5q1Hw6A=="],
+
+ "nuxt/oxc-parser/@oxc-parser/binding-linux-arm64-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-G2F8H6FcAExVK5vvhpSh61tqWx5QoaXXUnSsj5FyuDiFT/K7AMMVSQVqnZREDc+YxhrjB0vnKjCcuobXK63kIw=="],
+
+ "nuxt/oxc-parser/@oxc-parser/binding-linux-arm64-musl": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-3R0iqjM3xYOZCnwgcxOQXH7hrz64/USDIuLbNTM1kZqQzRqaR4w7SwoWKU934zABo8d0op2oSwOp+CV3hZnM7A=="],
+
+ "nuxt/oxc-parser/@oxc-parser/binding-linux-riscv64-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-2QlvQBUhHuAE3ezD4X3CAEKMXdfgInggQ5Bj/7gb5NcYP3GyfLTj7c+mMu+BRwfC9B3AXBNyqHWbqEuuUvZyRQ=="],
+
+ "nuxt/oxc-parser/@oxc-parser/binding-linux-s390x-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-+5HhNHtxsdcd7+ljXFnn9FOoCNXJX3UPgIfIE6vdwS1HqdGNH6eAcVobuqGOp54l8pvcxDQA6F4cPswCgLrQfQ=="],
+
+ "nuxt/oxc-parser/@oxc-parser/binding-linux-x64-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-jKwO7ZLNkjxwg7FoCLw+fJszooL9yXRZsDN0AQ1AQUTWq1l8GH/2e44k68N3fcP19jl8O8jGpqLAZcQTYk6skA=="],
+
+ "nuxt/oxc-parser/@oxc-parser/binding-linux-x64-musl": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-TYqnuKV/p3eOc+N61E0961nA7DC+gaCeJ3+V2LcjJdTwFMdikqWL6uVk1jlrpUCBrozHDATVUKDZYH7r4FQYjQ=="],
+
+ "nuxt/oxc-parser/@oxc-parser/binding-wasm32-wasi": ["@oxc-parser/[email protected]", "", { "dependencies": { "@napi-rs/wasm-runtime": "^1.1.1" }, "cpu": "none" }, "sha512-Gr8X2PUU3hX1g3F5oLWIZB8DhzDmjr5TfOrmn5tlBOo9l8ojPGdKjnIBfObM7X15928vza8QRKW25RTR7jfivg=="],
+
+ "nuxt/oxc-parser/@oxc-parser/binding-win32-arm64-msvc": ["@oxc-parser/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-t5CDLbU70Ea88bGRhvU/dLJTc/Wcrtf2Jp534E8P3cgjAvHDjdKsfDDqBZrhybJ8Jv9v9vW5ngE40EK51BluDA=="],
+
+ "nuxt/oxc-parser/@oxc-parser/binding-win32-x64-msvc": ["@oxc-parser/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-oGHluohzmVFAuQrkEnl1OXAxMz2aYmimxUqIgKXpBgbr7PvFv0doELB273sX+5V3fKeggohKg1A2Qq21W9Z9cQ=="],
+
+ "nuxt/oxc-parser/@oxc-project/types": ["@oxc-project/[email protected]", "", {}, "sha512-m6RebKHIRsax2iCwVpYW2ErQwa4ywHJrE4sCK3/8JK8ZZAWOKXaRJFl/uP51gaVyyXlaS4+chU1nSCdzYf6QqQ=="],
+
+ "nuxt/oxc-transform/@oxc-transform/binding-android-arm64": ["@oxc-transform/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-ve46vQcQrY8eGe8990VSlS9gkD+AogJqbtfOkeua+5sQGQTDgeIRRxOm7ktCo19uZc2bEBwXRJITgosd+NRVmQ=="],
+
+ "nuxt/oxc-transform/@oxc-transform/binding-darwin-arm64": ["@oxc-transform/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-ddbmLU3Tr+i7MOynfwAXxUXud3SjJKlv7XNjaq08qiI8Av/QvhXVGc2bMhXkWQSMSBUeTDoiughKjK+Zsb6y/A=="],
+
+ "nuxt/oxc-transform/@oxc-transform/binding-darwin-x64": ["@oxc-transform/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-TKvmNw96jQZPqYb4pRrzLFDailNB3YS14KNn+x2hwRbqc6CqY96S9PYwyOpVpYdxfoRjYO9WgX9SoS+62a1DPA=="],
+
+ "nuxt/oxc-transform/@oxc-transform/binding-freebsd-x64": ["@oxc-transform/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-YPMkSCDaelO8HHYRMYjm+Q+IfkfIbdtQzwPuasItYkq8UUkNeHNPheNh2JkvQa3c+io3E9ePOgHQ2yihpk7o/Q=="],
+
+ "nuxt/oxc-transform/@oxc-transform/binding-linux-arm-gnueabihf": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-nA7kzQGNEpuTRknst/IJ3l8hqmDmEda3aun6jkXgp7gKxESjuHeaNH04mKISxvJ7fIacvP2g/wtTSnm4u5jL8Q=="],
+
+ "nuxt/oxc-transform/@oxc-transform/binding-linux-arm-musleabihf": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-w8GuLmckKlGc3YujaZKhtbFxziCcosvM2l9GnQjCb/yENWLGDiyQOy0BTAgPGdJwpYTiOeJblEXSuXYvlE1Ong=="],
+
+ "nuxt/oxc-transform/@oxc-transform/binding-linux-arm64-gnu": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-9LwwGnJ8+WT0rXcrI8M0RJtDNt91eMqcDPPEvJxhRFHIMcHTy5D5xT+fOl3Us0yMqKo3HUWkbfUYqAp4GoZ3Jw=="],
+
+ "nuxt/oxc-transform/@oxc-transform/binding-linux-arm64-musl": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-Lg6VOuSd3oXv7J0eGywgqh/086h+qQzIBOD+47pYKMTTJcbDe+f3h/RgGoMKJE5HhiwT5sH1aGEJfIfaYUiVSw=="],
+
+ "nuxt/oxc-transform/@oxc-transform/binding-linux-riscv64-gnu": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-vhJsMsVH/6xwa3bt1LGts33FXUkGjaEGDwsRyp4lIfOjSfQVWMtCmWMFNaA0dW9FVWdD2Gt2fSFBSZ+azDxlpg=="],
+
+ "nuxt/oxc-transform/@oxc-transform/binding-linux-s390x-gnu": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-eEFu4SRqJTJ20/88KRWmp+jpHKAw0Y1DsnSgpEeXyBIIcsOaLIUMU/TfYWUmqRbvbMV9rmOmI3kp5xWYUq6kSQ=="],
+
+ "nuxt/oxc-transform/@oxc-transform/binding-linux-x64-gnu": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-ST1MDT+TlOyZ1c5btrGinRSUW2Jf4Pa+0gdKwsyjDSOC3dxy2ZNkN3mosTf4ywc3J+mxfYKqtjs7zSwHz03ILA=="],
+
+ "nuxt/oxc-transform/@oxc-transform/binding-linux-x64-musl": ["@oxc-transform/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-ISQoA3pD4cyTGpf9sXXeerH6pL2L6EIpdy6oAy2ttkswyVFDyQNVOVIGIdLZDgbpmqGljxZnWqt/J/N68pQaig=="],
+
+ "nuxt/oxc-transform/@oxc-transform/binding-wasm32-wasi": ["@oxc-transform/[email protected]", "", { "dependencies": { "@napi-rs/wasm-runtime": "^1.1.1" }, "cpu": "none" }, "sha512-XIX7Gpq9koAvzBVHDlVFHM79r5uOVK6kTEsdsN4qaajpjkgtv4tdsAOKIYK6l7fUbsbE6xS+6w1+yRFrDeC1kg=="],
+
+ "nuxt/oxc-transform/@oxc-transform/binding-win32-arm64-msvc": ["@oxc-transform/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-EgXef9kOne9BNsbYBbuRqxk2hteT0xsAGcx/VbtCBMJYNj8fANFhT271DUSOgfa4DAgrQQmsyt/Kr1aV9mpU9w=="],
+
+ "nuxt/oxc-transform/@oxc-transform/binding-win32-x64-msvc": ["@oxc-transform/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-FRKYlY959QeqRPx9kXs0HjU2xuXPT1cdF+vvA200D9uAX/KLcC34MwRqUKTYml4kCc2Vf/P2pBR9cQuBm3zECQ=="],
+
+ "nuxt/unplugin-vue-router/unplugin": ["[email protected]", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "acorn": "^8.15.0", "picomatch": "^4.0.3", "webpack-virtual-modules": "^0.6.2" } }, "sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww=="],
+
"nuxt/vue-router/@vue/devtools-api": ["@vue/[email protected]", "", {}, "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g=="],
"object-copy/define-property/is-descriptor": ["[email protected]", "", { "dependencies": { "is-accessor-descriptor": "^1.0.1", "is-data-descriptor": "^1.0.1" } }, "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg=="],
@@ -2989,6 +3261,8 @@
"to-regex/extend-shallow/is-extendable": ["[email protected]", "", { "dependencies": { "is-plain-object": "^2.0.4" } }, "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA=="],
+ "unplugin-vue-router/chokidar/readdirp": ["[email protected]", "", {}, "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg=="],
+
"unset-value/has-value/has-values": ["[email protected]", "", {}, "sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ=="],
"unset-value/has-value/isobject": ["[email protected]", "", { "dependencies": { "isarray": "1.0.0" } }, "sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA=="],
@@ -3009,6 +3283,38 @@
"yargs/string-width/strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="],
+ "@intlify/unplugin-vue-i18n/@typescript-eslint/scope-manager/@typescript-eslint/visitor-keys/eslint-visitor-keys": ["[email protected]", "", {}, "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ=="],
+
+ "@intlify/unplugin-vue-i18n/@typescript-eslint/typescript-estree/@typescript-eslint/visitor-keys/eslint-visitor-keys": ["[email protected]", "", {}, "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ=="],
+
+ "@intlify/unplugin-vue-i18n/@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ=="],
+
+ "@intlify/vue-i18n-extensions/vue-i18n/@intlify/core-base/@intlify/message-compiler": ["@intlify/[email protected]", "", { "dependencies": { "@intlify/shared": "10.0.8", "source-map-js": "^1.0.2" } }, "sha512-DV+sYXIkHVd5yVb2mL7br/NEUwzUoLBsMkV3H0InefWgmYa34NLZUvMCGi5oWX+Hqr2Y2qUxnVrnOWF4aBlgWg=="],
+
+ "@nuxt/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/scope-manager/@typescript-eslint/visitor-keys": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.55.0", "eslint-visitor-keys": "^4.2.1" } }, "sha512-AxNRwEie8Nn4eFS1FzDMJWIISMGoXMb037sgCBJ3UR6o0fQTzr2tqN9WT+DkWJPhIdQCfV7T6D387566VtnCJA=="],
+
+ "@nuxt/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree/@typescript-eslint/project-service": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.55.0", "@typescript-eslint/types": "^8.55.0", "debug": "^4.4.3" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-zRcVVPFUYWa3kNnjaZGXSu3xkKV1zXy8M4nO/pElzQhFweb7PPtluDLQtKArEOGmjXoRjnUZ29NjOiF0eCDkcQ=="],
+
+ "@nuxt/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree/@typescript-eslint/tsconfig-utils": ["@typescript-eslint/[email protected]", "", { "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-1R9cXqY7RQd7WuqSN47PK9EDpgFUK3VqdmbYrvWJZYDd0cavROGn+74ktWBlmJ13NXUQKlZ/iAEQHI/V0kKe0Q=="],
+
+ "@nuxt/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree/@typescript-eslint/visitor-keys": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.55.0", "eslint-visitor-keys": "^4.2.1" } }, "sha512-AxNRwEie8Nn4eFS1FzDMJWIISMGoXMb037sgCBJ3UR6o0fQTzr2tqN9WT+DkWJPhIdQCfV7T6D387566VtnCJA=="],
+
+ "@nuxt/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree/minimatch": ["[email protected]", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="],
+
+ "@typescript-eslint/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree/@typescript-eslint/project-service": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.55.0", "@typescript-eslint/types": "^8.55.0", "debug": "^4.4.3" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-zRcVVPFUYWa3kNnjaZGXSu3xkKV1zXy8M4nO/pElzQhFweb7PPtluDLQtKArEOGmjXoRjnUZ29NjOiF0eCDkcQ=="],
+
+ "@typescript-eslint/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree/@typescript-eslint/tsconfig-utils": ["@typescript-eslint/[email protected]", "", { "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-1R9cXqY7RQd7WuqSN47PK9EDpgFUK3VqdmbYrvWJZYDd0cavROGn+74ktWBlmJ13NXUQKlZ/iAEQHI/V0kKe0Q=="],
+
+ "@typescript-eslint/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree/minimatch": ["[email protected]", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="],
+
+ "@typescript-eslint/parser/@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ=="],
+
+ "@typescript-eslint/type-utils/@typescript-eslint/typescript-estree/@typescript-eslint/visitor-keys/eslint-visitor-keys": ["[email protected]", "", {}, "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ=="],
+
+ "@typescript-eslint/type-utils/@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ=="],
+
+ "@typescript-eslint/type-utils/@typescript-eslint/utils/@typescript-eslint/scope-manager/@typescript-eslint/visitor-keys": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "8.55.0", "eslint-visitor-keys": "^4.2.1" } }, "sha512-AxNRwEie8Nn4eFS1FzDMJWIISMGoXMb037sgCBJ3UR6o0fQTzr2tqN9WT+DkWJPhIdQCfV7T6D387566VtnCJA=="],
+
"@typescript-eslint/typescript-estree/minimatch/brace-expansion/balanced-match": ["[email protected]", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="],
"archiver-utils/glob/jackspeak/@isaacs/cliui": ["@isaacs/[email protected]", "", { "dependencies": { "string-width": "^5.1.2", "string-width-cjs": "npm:string-width@^4.2.0", "strip-ansi": "^7.0.1", "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", "wrap-ansi": "^8.1.0", "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" } }, "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA=="],
@@ -3051,6 +3357,22 @@
"yargs/string-width/strip-ansi/ansi-regex": ["[email protected]", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="],
+ "@intlify/unplugin-vue-i18n/@typescript-eslint/typescript-estree/minimatch/brace-expansion/balanced-match": ["[email protected]", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="],
+
+ "@nuxt/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/scope-manager/@typescript-eslint/visitor-keys/eslint-visitor-keys": ["[email protected]", "", {}, "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ=="],
+
+ "@nuxt/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree/@typescript-eslint/visitor-keys/eslint-visitor-keys": ["[email protected]", "", {}, "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ=="],
+
+ "@nuxt/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ=="],
+
+ "@typescript-eslint/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ=="],
+
+ "@typescript-eslint/parser/@typescript-eslint/typescript-estree/minimatch/brace-expansion/balanced-match": ["[email protected]", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="],
+
+ "@typescript-eslint/type-utils/@typescript-eslint/typescript-estree/minimatch/brace-expansion/balanced-match": ["[email protected]", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="],
+
+ "@typescript-eslint/type-utils/@typescript-eslint/utils/@typescript-eslint/scope-manager/@typescript-eslint/visitor-keys/eslint-visitor-keys": ["[email protected]", "", {}, "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ=="],
+
"archiver-utils/glob/jackspeak/@isaacs/cliui/string-width": ["[email protected]", "", { "dependencies": { "eastasianwidth": "^0.2.0", "emoji-regex": "^9.2.2", "strip-ansi": "^7.0.1" } }, "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA=="],
"archiver-utils/glob/jackspeak/@isaacs/cliui/wrap-ansi": ["[email protected]", "", { "dependencies": { "ansi-styles": "^6.1.0", "string-width": "^5.0.1", "strip-ansi": "^7.0.1" } }, "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ=="],
@@ -3069,6 +3391,10 @@
"svg-baker/micromatch/braces/fill-range/to-regex-range": ["[email protected]", "", { "dependencies": { "is-number": "^3.0.0", "repeat-string": "^1.6.1" } }, "sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg=="],
+ "@nuxt/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree/minimatch/brace-expansion/balanced-match": ["[email protected]", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="],
+
+ "@typescript-eslint/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree/minimatch/brace-expansion/balanced-match": ["[email protected]", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="],
+
"archiver-utils/glob/jackspeak/@isaacs/cliui/string-width/emoji-regex": ["[email protected]", "", {}, "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="],
"archiver-utils/glob/jackspeak/@isaacs/cliui/wrap-ansi/ansi-styles": ["[email protected]", "", {}, "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg=="],
diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs
index decbdcd5..5330cb3b 100644
--- a/frontend/eslint.config.mjs
+++ b/frontend/eslint.config.mjs
@@ -1,18 +1,72 @@
+import prettier from 'eslint-config-prettier';
+import perfectionist from 'eslint-plugin-perfectionist';
+
// @ts-check
import withNuxt, { defineFlatConfigs } from './.nuxt/eslint.config.mjs';
-import prettier from 'eslint-config-prettier';
export default withNuxt(
defineFlatConfigs(
{
ignores: ['app/styles/katex/**'],
},
+
{
+ plugins: {
+ perfectionist,
+ },
+
rules: {
+ 'no-console': ['warn', { allow: ['warn', 'error'] }],
+ 'no-duplicate-imports': 'error',
+ 'no-var': 'error',
+ 'perfectionist/sort-imports': [
+ 'error',
+ {
+ newlinesBetween: 1,
+ order: 'asc',
+ type: 'alphabetical',
+ },
+ ],
+
+ 'perfectionist/sort-interfaces': [
+ 'error',
+ {
+ order: 'asc',
+ type: 'alphabetical',
+ },
+ ],
+
+ /*'perfectionist/sort-objects': [
+ 'error',
+ {
+ ignoreCase: false,
+ order: 'asc',
+ type: 'alphabetical',
+ },
+ ],*/
+
+ 'perfectionist/sort-union-types': [
+ 'error',
+ {
+ order: 'asc',
+ type: 'alphabetical',
+ },
+ ],
+
+ 'prefer-const': 'error',
+
+ 'vue/block-lang': [
+ 'error',
+ {
+ script: { lang: 'ts' },
+ },
+ ],
+ 'vue/component-name-in-template-casing': ['error', 'PascalCase'],
'vue/multi-word-component-names': 'off',
'vue/no-unused-properties': 'error',
},
},
+
prettier,
),
);
diff --git a/frontend/i18n/i18n.config.ts b/frontend/i18n/i18n.config.ts
new file mode 100644
index 00000000..c4d87752
--- /dev/null
+++ b/frontend/i18n/i18n.config.ts
@@ -0,0 +1,10 @@
+import type en from './locales/en';
+
+export type MessageSchema = typeof en;
+
+export default defineI18nConfig(() => ({
+ fallbackLocale: 'en',
+ legacy: false,
+ locale: 'en',
+}));
+
diff --git a/frontend/i18n/locales/en/admin.ts b/frontend/i18n/locales/en/admin.ts
new file mode 100644
index 00000000..e4931422
--- /dev/null
+++ b/frontend/i18n/locales/en/admin.ts
@@ -0,0 +1,25 @@
+export default {
+ dashboard: {
+ description: 'From this dashboard you can manage site users and settings.',
+ manageUsers: 'Manage users',
+ title: 'Admin dashboard',
+ },
+
+ users: {
+ headers: {
+ action: 'Action',
+ createdAt: 'Created at',
+ email: 'Email',
+ firstname: 'First name',
+ lastname: 'Last name',
+ name: 'Name',
+ role: 'Role',
+ },
+ noUsers: 'No users found.',
+ roles: {
+ admin: 'Admin',
+ user: 'User',
+ },
+ title: 'User management',
+ },
+};
diff --git a/frontend/i18n/locales/en/application.ts b/frontend/i18n/locales/en/application.ts
new file mode 100644
index 00000000..b81ff91f
--- /dev/null
+++ b/frontend/i18n/locales/en/application.ts
@@ -0,0 +1,38 @@
+export default {
+ shortcuts: {
+ boldText: 'Bold text',
+ closeModal: 'Close current modal',
+ copyText: 'Copy selection or current line',
+ createCategory: 'Create category',
+ createDocument: 'Create document',
+ cutText: 'Cut selection or current line',
+ editDocument: 'Edit document',
+ exitPage: 'Leave page',
+ insertImage: 'Insert image',
+ insertLink: 'Insert link',
+ italicText: 'Italic text',
+ nextDocument: 'Next document',
+ nextSearchResult: 'Next search result',
+ openCDN: 'Open CDN uploader',
+ openCmdCenter: 'Open command center',
+ openFindDialog: 'Open find dialog',
+ openSelectedSearchResult: 'Open selected result',
+ pasteText: 'Paste from clipboard',
+ prevDocument: 'Previous document',
+ prevSearchResult: 'Previous search result',
+ printPage: 'Print page',
+ redoAction: 'Redo last action',
+ reloadPage: 'Reload page',
+ savePage: 'Save current page',
+ sections: {
+ document: 'Document',
+ editor: 'Editor',
+ general: 'General',
+ other: 'Other',
+ search: 'Search',
+ },
+ togglePreview: 'Toggle preview',
+ underlineText: 'Underline text',
+ undoAction: 'Undo last action',
+ },
+};
diff --git a/frontend/i18n/locales/en/cdn.ts b/frontend/i18n/locales/en/cdn.ts
new file mode 100644
index 00000000..bdd7a302
--- /dev/null
+++ b/frontend/i18n/locales/en/cdn.ts
@@ -0,0 +1,51 @@
+export default {
+ actions: {
+ download: 'Download file',
+ upload: {
+ idle: 'Upload',
+ multiple: 'Upload {n} file | Upload {n} files',
+ progress: 'Uploading {n} / {total}',
+ },
+ },
+
+ appdrop: {
+ addMore: 'Add more files',
+ link: 'click here',
+ max: 'Maximum {n} files',
+ prompt: 'Drag and drop your file here or {link} to select',
+ promptPlural: 'Drag and drop your files here or {link} to select',
+ removeFile: 'Remove file',
+ },
+
+ edit: {
+ description: 'Manage resources and files on the server. You can edit metadata and delete files.',
+ title: 'Update file',
+ },
+
+ labels: {
+ originalPath: 'Original path',
+ path: 'Path',
+ },
+
+ meta: {
+ shortTitle: 'CDN',
+ title: 'File manager',
+ },
+
+ notifications: {
+ error: 'Upload failed for {file}: {error}',
+ successMsg: '{n} file uploaded successfully | {n} files uploaded successfully',
+ successTitle: 'Upload complete',
+ },
+
+ page: {
+ empty: 'No files uploaded yet.',
+ },
+
+ preview: {
+ title: 'Preview',
+ unavailable: 'Preview not available for this file type',
+ },
+
+ storageUsed: 'Storage used',
+};
diff --git a/frontend/i18n/locales/en/common.ts b/frontend/i18n/locales/en/common.ts
new file mode 100644
index 00000000..21345a70
--- /dev/null
+++ b/frontend/i18n/locales/en/common.ts
@@ -0,0 +1,100 @@
+export default {
+ actions: {
+ cancel: 'Cancel',
+ clear: 'Clear',
+ close: 'Close',
+ confirm: 'Confirm',
+ copy: 'Copy',
+ copyLink: 'Copy link',
+ create: 'Create',
+ delete: 'Delete',
+ download: 'Download',
+ duplicate: 'Duplicate',
+ edit: 'Edit',
+ export: 'Export',
+ import: 'Import',
+ new: 'New',
+ open: 'Open',
+ pin: 'Pin to top',
+ preview: 'Preview',
+ print: 'Print',
+ reset: 'Reset',
+ save: 'Save',
+ search: 'Search',
+ share: 'Share',
+ unpin: 'Unpin from top',
+ update: 'Update',
+ upload: 'Upload',
+ },
+
+ confirm: {
+ irreversible: 'This action is irreversible',
+ },
+
+ errors: {
+ generic: 'An error occurred',
+ notFound: 'Not found',
+ unknown: 'An unknown error occurred',
+ },
+
+ filter: {
+ ascending: 'Ascending',
+ descending: 'Descending',
+ match: 'Match',
+ sort: 'Sort by',
+ },
+
+ labels: {
+ action: 'Action',
+ all: 'All',
+ color: 'Color',
+ content: 'Content',
+ date: 'Date',
+ description: 'Description',
+ email: 'Email',
+ icon: 'Icon',
+ id: 'ID',
+ name: 'Name',
+ order: 'Order',
+ parent: 'Parent',
+ pinned: 'Pinned',
+ role: 'Role',
+ size: 'Size',
+ status: 'Status',
+ tags: 'Tags',
+ type: 'Type',
+ },
+
+ nothing: 'Nothing to display',
+
+ notifications: {
+ copiedMessage: 'Content copied successfully.',
+ copiedTitle: 'Copied to clipboard',
+ },
+
+ pagination: {
+ rowsPerPage: 'Rows per page',
+ showing: 'Showing {start} to {end} of {total} entries',
+ },
+
+ placeholder: {
+ parent: 'Select a parent',
+ search: 'Search...',
+ },
+
+ search: {
+ noResults: 'No results found for "{filter}"',
+ },
+
+ status: {
+ cancelled: 'Cancelled',
+ completed: 'Completed',
+ error: 'Error',
+ failed: 'Failed',
+ loading: 'Loading...',
+ pending: 'Pending',
+ processing: 'Processing',
+ success: 'Success',
+ unknown: 'Unknown',
+ },
+};
diff --git a/frontend/i18n/locales/en/components.ts b/frontend/i18n/locales/en/components.ts
new file mode 100644
index 00000000..ca39fb26
--- /dev/null
+++ b/frontend/i18n/locales/en/components.ts
@@ -0,0 +1,123 @@
+export default {
+ commandCenter: {
+ advanced: {
+ allCategories: 'All categories',
+ category: 'Category',
+ clear: 'Clear',
+ created: 'Created',
+ dateRange: 'Date range',
+ from: 'From',
+ modified: 'Modified',
+ searchInContent: 'Search in content',
+ searchInContentHint: 'Search within document body (full-word search required)',
+ tags: 'Tags',
+ title: 'Advanced filters',
+ to: 'To',
+ },
+ beta: 'Beta',
+ close: 'Close',
+ navigate: 'Navigate',
+ noResults: 'No results for "{query}"',
+ searchPlaceholder: 'Search for a page, action or document...',
+ sections: {
+ documents: 'Documents',
+ pagesAndActions: 'Pages & actions',
+ },
+ select: 'Select',
+ switchTabs: 'Switch tabs',
+ tabs: {
+ advanced: 'Advanced',
+ quick: 'Quick',
+ },
+ },
+
+ dataTable: {
+ rowsPerPage: 'Rows per page',
+ searchPlaceholder: 'Search...',
+ showing: 'Showing {start} to {end} of {total} entries',
+ },
+
+ editor: {
+ placeholder: {
+ title: 'Document title',
+ description: 'Document description',
+
+ }
+ },
+
+ kanban: {
+ addColumn: 'Add column',
+ addDocument: 'Add document',
+ changeColor: 'Change color',
+ deleteColumn: 'Delete column',
+ deleteColumnModal: {
+ confirm: 'Are you sure you want to delete the "{title}" column?',
+ emptyColumn: 'This column is empty.',
+ hasDocuments: 'This column contains {count} document(s). They will be moved to the first column.',
+ title: 'Delete column',
+ },
+ dragHere: 'Drag documents here',
+ editName: 'Edit name',
+ noDocuments: 'No documents',
+ resetBoard: {
+ confirm: 'Are you sure you want to reset the Kanban board?',
+ reset: 'Reset',
+ title: 'Reset Kanban board',
+ warning: 'This action is irreversible. All columns will be removed and cards moved to the first column.',
+ },
+ },
+
+ navbar: {
+ commandCenter: 'Command Center (Ctrl+K)',
+ searchHint: 'Press {key} to navigate',
+ },
+
+ noContent: {
+ nothingHere: 'Nothing to display here',
+ },
+
+ sessionCard: {
+ current: 'Current',
+ inactive: 'Inactive',
+ lastActivity: 'Last activity',
+ loggedOut: 'Logged out',
+ login: 'Login',
+ unknownIP: 'Unknown IP',
+ unknownLocation: 'Unknown location',
+ userAgent: 'User agent',
+ },
+
+ sidebar: {
+ allWorkspaces: 'All workspaces',
+ closeAll: 'Close all',
+ editWorkspace: 'Edit workspace',
+ nav: {
+ cdn: 'CDN',
+ documents: 'Documents',
+ home: 'Home',
+ imports: 'Imports',
+ manageCategories: 'Manage categories',
+ newPage: 'New page',
+ settings: 'Settings',
+ },
+ newCategory: 'New category',
+ newDoc: 'New doc',
+ newWorkspace: 'New workspace',
+ noWorkspaces: 'No workspaces found',
+ openAll: 'Open all',
+ searchPlaceholder: 'Search or ctrl + q',
+ sharedWithMe: 'Shared with me',
+ toggleDock: 'Toggle dock',
+ workspaces: 'Workspaces',
+ },
+
+ tagInput: {
+ placeholder: 'Press Enter to add a tag',
+ },
+
+ viewSelection: {
+ kanban: 'Kanban',
+ list: 'List',
+ table: 'Table',
+ },
+};
diff --git a/frontend/i18n/locales/en/dashboard.ts b/frontend/i18n/locales/en/dashboard.ts
new file mode 100644
index 00000000..1aba3821
--- /dev/null
+++ b/frontend/i18n/locales/en/dashboard.ts
@@ -0,0 +1,34 @@
+export default {
+ actions: {
+ import: 'Import',
+ newDocument: '+ New document',
+ newWorkspace: 'New workspace',
+ },
+
+ greeting: 'đź‘‹ Hey, {userName}',
+
+ links: {
+ manage: 'Manage',
+ seeAll: 'See all',
+ },
+
+ pages: {
+ home: 'Home',
+ },
+
+ search: 'Search documents, workspaces, categories...',
+
+ sections: {
+ continueWorking: 'Continue working',
+ pinnedDocuments: 'Pinned documents',
+ recentActivity: 'Recent activity',
+ yourWorkspaces: 'Your workspaces',
+ },
+
+ stats: {
+ cdnFiles: 'CDN files',
+ documents: 'Documents',
+ tags: 'Tags',
+ workspaces: 'Workspaces',
+ },
+};
diff --git a/frontend/i18n/locales/en/import.ts b/frontend/i18n/locales/en/import.ts
new file mode 100644
index 00000000..c26cce85
--- /dev/null
+++ b/frontend/i18n/locales/en/import.ts
@@ -0,0 +1,74 @@
+export default {
+ actions: {
+ cancel: 'Cancel',
+ importAll: 'Import all',
+ importing: 'Importing...',
+ optionsTitle: 'Import options',
+ preserveTimestamps: 'Preserve original timestamps',
+ skipExisting: 'Skip existing documents (import only new ones)',
+ },
+
+ header: {
+ changeFile: 'Change file',
+ created: 'Created',
+ documents: 'Documents',
+ files: 'Files',
+ metadata: 'Metadata',
+ settings: 'Settings',
+ title: 'Backup info',
+ totalDocuments: 'Total documents',
+ totalSize: 'Total size',
+ version: 'Version',
+ },
+
+ meta: {
+ breadcrumb: 'Imports',
+ description:
+ "You can import documents from a previous export. If you don't have one, create it from the",
+ settingsLink: 'settings',
+ title: 'Import documents',
+ },
+
+ notifications: {
+ importCompleteMessage: 'Documents were imported successfully.',
+ importCompleteTitle: 'Import complete',
+ importFailedMessage: 'An error occurred during import. Please try again.',
+ importFailedTitle: 'Import failed',
+ localImportedMessage: 'Your local settings were replaced with the backup.',
+ localImportedTitle: 'Local settings imported',
+ },
+
+ steps: {
+ select: {
+ analyzing: 'Analyzing...',
+ startImport: 'Start import',
+ },
+ },
+
+ summary: {
+ documentsToUpdate: 'Documents to update',
+ newDocuments: 'New documents',
+ title: 'Import summary',
+ unchanged: 'Unchanged',
+ },
+
+ tabs: {
+ backup: 'Backup',
+ current: 'Current',
+ import: 'Import',
+ importFromBackup: 'Import from backup',
+ importLocalSettings: 'Import local settings',
+ importSelected: 'Import selection ({count})',
+ localSettings: 'Local settings and preferences',
+ localSettingsAvailable: 'Local settings and preferences can be imported',
+ localSettingsWarning: 'This will overwrite your current local settings, including snippets',
+ newDocuments: 'New documents',
+ noLocalSettings: 'No local settings found in the backup',
+ noNewDocuments: 'No new documents to import',
+ noUpdates: 'No documents to update',
+ replaceLocalSettings: 'Replace your local settings with the backup?',
+ selectAll: 'Select all',
+ updates: 'Updates',
+ updateSelected: 'Update selection ({count})',
+ },
+};
diff --git a/frontend/i18n/locales/en/index.ts b/frontend/i18n/locales/en/index.ts
new file mode 100644
index 00000000..95b0968d
--- /dev/null
+++ b/frontend/i18n/locales/en/index.ts
@@ -0,0 +1,27 @@
+import admin from './admin';
+import application from './application';
+import cdn from './cdn';
+import common from './common';
+import components from './components';
+import dashboard from './dashboard';
+import importPage from './import';
+import markdown from './markdown';
+import nodes from './nodes';
+import settings from './settings';
+import time from './time';
+import user from './user';
+
+export default {
+ admin,
+ application,
+ cdn,
+ common,
+ components,
+ dashboard,
+ import: importPage,
+ markdown,
+ nodes,
+ settings,
+ time,
+ user,
+};
diff --git a/frontend/i18n/locales/en/markdown.ts b/frontend/i18n/locales/en/markdown.ts
new file mode 100644
index 00000000..c9ee9235
--- /dev/null
+++ b/frontend/i18n/locales/en/markdown.ts
@@ -0,0 +1,86 @@
+export default {
+ markdown: {
+ colors: {
+ brightness: 'Brightness',
+ customColors: 'Custom colors',
+ quickColors: 'Quick colors',
+ subtitle: 'Choose a color for your text',
+ title: 'Colors',
+ useColor: 'Use color',
+ },
+ image: {
+ noImages: 'No images found',
+ searchPlaceholder: 'Search images...',
+ subtitle: 'Choose an image to insert into your document.',
+ title: 'Select an image',
+ uploadError: 'An error occurred while uploading.',
+ },
+ stats: {
+ chars: 'chars.',
+ lines: 'lines',
+ words: 'words',
+ },
+ syntax: {
+ advancedBlocks: 'Advanced blocks',
+ basicFormatting: 'Basic formatting',
+ cardsAndPanels: 'Cards & panels',
+ coloredBlocks: 'Colored blocks',
+ colors: 'Colors',
+ extendedSyntax: 'Extended syntax',
+ footnotes: 'Footnotes',
+ layoutBlocks: 'Layout blocks',
+ linksAndImages: 'Links & images',
+ mathSyntax: 'Math syntax',
+ subtitle: "This guide shows how to use Alexandrie's extended Markdown features to create expressive, structured notes.",
+ tags: 'Tags',
+ title: 'Alexandrie Markdown syntax guide',
+ titles: 'Headings',
+ },
+ table: {
+ hoverHint: 'Hover to see size',
+ subtitle: 'Select your table size with your mouse',
+ tableSize: '{rows} Ă— {columns} table',
+ title: 'Insert table',
+ },
+ toolbar: {
+ bold: 'Bold',
+ bulletList: 'Bullet list',
+ category: 'Category',
+ clearFormatting: 'Clear formatting',
+ codeBlock: 'Code block',
+
+ color: 'Color',
+ editorSettings: 'Editor settings',
+ footnote: 'Footnote',
+
+ goToDocument: 'Go to document',
+ heading: 'Heading',
+ highlight: 'Highlight',
+ horizontalRule: 'Horizontal rule',
+ image: 'Image',
+ inlineCode: 'Inline code',
+
+ italic: 'Italic',
+ link: 'Link',
+ markdownSyntax: 'Markdown syntax',
+ math: 'Math',
+ numberedList: 'Numbered list',
+ preview: 'Preview',
+ quote: 'Quote',
+
+ save: 'Save',
+ strikethrough: 'Strikethrough',
+ subscript: 'Subscript',
+
+ superscript: 'Superscript',
+ table: 'Table',
+ taskList: 'Task list',
+ underline: 'Underline',
+ },
+ voice: {
+ notSupported: "Speech recognition is not supported in this browser",
+ startRecording: 'Start speech recognition',
+ stopRecording: 'Stop recording',
+ },
+ },
+};
diff --git a/frontend/i18n/locales/en/nodes.ts b/frontend/i18n/locales/en/nodes.ts
new file mode 100644
index 00000000..2b7b6c9d
--- /dev/null
+++ b/frontend/i18n/locales/en/nodes.ts
@@ -0,0 +1,120 @@
+export default {
+ actions: {
+ editMeta: 'Edit metadata',
+ exportAsMarkdown: 'Export as Markdown',
+ managePermissions: 'Manage permissions',
+ newDocument: '+ Create new document',
+ publicLink: 'Public link',
+ removeFromShared: 'Remove from shared',
+ resetBoard: 'Reset board',
+ },
+
+ category: {
+ editTitle: 'Category & workspace',
+ iconHint: 'SVG supported',
+ name: 'Category | Categories',
+ new: 'New category',
+ notifications: {
+ created: 'Category created successfully',
+ creationError: 'Error creating category',
+ updated: 'Category updated',
+ },
+ orderHint: 'Category order in the sidebar',
+ uncategorized: 'Uncategorized',
+ },
+
+ container: {
+ createNewDocument: '+ Create new document',
+ import: 'Import',
+ newCategory: '+ Category',
+ newWorkspace: '+ Workspace',
+ noDocuments: 'No documents found',
+ noDocumentsDescription: 'There are no documents in this category',
+ noWorkspaces: 'No workspace or category found',
+ searchPlaceholder: 'Search a workspace...',
+ title: 'Workspaces & Categories',
+ },
+
+ document: {
+ childs: 'Child documents',
+ editPage: 'Edit page',
+ lastUpdated: 'Last updated',
+ nextPage: 'Next page',
+ prevPage: 'Previous page',
+ TOC: 'Table of contents',
+ },
+
+ filter: {
+ footer: '{count} / {total} matches',
+ title: 'Filter nodes',
+ toClose: 'to close',
+ },
+
+ modals: {
+ delete: {
+ bulkCount: 'This action will delete {count} nodes.',
+ confirm: 'Are you sure you want to delete this {type}?',
+ confirmBulk: 'Are you sure you want to delete the selected nodes?',
+ hasChildren: 'This {type} has {count} child documents. They will also be deleted.',
+ irreversible: 'This action is irreversible',
+ title: 'Delete {type}',
+ titleBulk: 'Delete nodes',
+ },
+ metadata: {
+ emojiOrIcon: 'Emoji or icon',
+ emojiOrIconHint: 'SVG or emojis supported',
+ thumbnail: 'Thumbnail',
+ thumbnailHint: 'SVG supported',
+ title: 'Metadata',
+ },
+ permissions: {
+ addPermission: 'Add',
+ defaultPermission: 'Default permission for new users',
+ generalAccess: 'General access',
+ managePermissions: 'Manage permissions',
+ noPermissions: 'No permission set',
+ noResults: 'No results found',
+ publicInfo: 'This document will be publicly accessible via a unique URL.',
+ removePermission: 'Remove permission',
+ searchPlaceholder: 'Username or email',
+ searchUser: 'Search a user',
+ shareLink: 'Share this link to let anyone view the document without an account:',
+ title: 'Manage permissions',
+ },
+ removeShared: {
+ childWarning: 'This document has {count} child document(s). They will also be removed.',
+ confirm: 'Are you sure you want to remove this document?',
+ noAccess: 'After this action you will no longer have access to this document.',
+ success: 'Document removed',
+ title: 'Remove this document',
+ },
+ },
+
+ // From the shared_target api (PWA)
+ share: {
+ actionChoose: 'What do you want to do?',
+ actionCreateDocument: 'Create new document',
+ actionCreateDocumentDesc: 'Create a new Markdown document with the shared content',
+ actionUploadResource: 'Upload as a resource',
+ actionUploadResourceDesc: 'Upload the shared content as a resource (image, PDF, etc.) and get a link to insert into your documents',
+ chooseDestination: 'Choose where you want to save this content.',
+ description: 'Content received from another app.',
+ sharedContent: 'Shared content',
+ title: 'Share content',
+ },
+
+ tags: 'Tags',
+
+ types: {
+ category: 'Category | Categories',
+ document: 'Document | Documents',
+ resource: 'Resource',
+ workspace: 'Workspace',
+ },
+
+ workspace: {
+ all: 'All workspaces',
+ new: 'New workspace',
+ shared: 'Shared with me',
+ },
+};
diff --git a/frontend/i18n/locales/en/settings.ts b/frontend/i18n/locales/en/settings.ts
new file mode 100644
index 00000000..2ffd5951
--- /dev/null
+++ b/frontend/i18n/locales/en/settings.ts
@@ -0,0 +1,338 @@
+export default {
+ about: {
+ changelog: 'Changelog',
+ client: 'Client',
+ contact: "If you have questions, suggestions or found a bug, feel free to contact us! You can open an issue on the",
+ description: 'Alexandrie is a personal knowledge management tool designed to help you organize and retrieve notes efficiently.',
+ features: 'It provides features like document organization, tagging and advanced search.',
+ githubRepo: 'GitHub repo',
+ pwa: 'PWA',
+ seeFullChangelog: 'See the full changelog on',
+ subtitle: 'App information.',
+ title: 'About Alexandrie',
+ version: 'Alexandrie version',
+ website: 'Website',
+ },
+
+ advanced: {
+ resetLocalStorage: 'Reset local storage',
+ resetLocalStorageBtn: 'Clear local storage',
+ resetLocalStorageDesc:
+ 'This will reset all your local storage data. This action cannot be undone. Preferences will also be reset.',
+ resetPreferences: 'Reset all preferences',
+ resetPreferencesBtn: 'Reset preferences',
+ resetPreferencesDesc: 'This will restore all preferences to their default values. This action cannot be undone.',
+ subtitle: 'Manage advanced application settings.',
+ title: 'Advanced',
+ },
+
+ appearance: {
+ chooseAccentColor: 'Choose accent color',
+ displayUncategorizedResources: 'Show uncategorized resources',
+ displayUncategorizedResourcesDesc: 'Show uncategorized resources (CDN uploads) at the top of the sidebar.',
+ enableCompactMode: 'Enable compact mode',
+ enableCompactModeDesc: 'Reduce sidebar item size to show more content.',
+ enableDarkMode: 'Enable dark mode',
+ general: 'General',
+ hideResources: 'Hide resources',
+ interfaceStyle: 'Interface style',
+ interfaceStyleDesc: 'Glassmorphism adds transparent surfaces with blur for a modern glass look.',
+ navbar: 'Navbar',
+ navbarItems: {
+ breadcrumb: 'Breadcrumb',
+ navigation: 'Navigation',
+ search: 'Search',
+ theme: 'Theme',
+ },
+ navbarItemsToDisplay: 'Navbar items to display',
+ normalizeFileIcons: 'Normalize file icons',
+ normalizeFileIconsDesc: 'Show parent folders with the same icon as regular files (not green)',
+ setLanguage: 'Set language',
+ setLanguageDesc: 'Choose the interface language.',
+ showItemsInSidebar: 'Items to display in sidebar',
+ sidebar: 'Sidebar',
+ sidebarItems: {
+ cdn: 'CDN',
+ documents: 'Documents',
+ home: 'Home',
+ importation: 'Imports',
+ manageCategories: 'Manage categories',
+ newPage: 'New page',
+ settings: 'Settings',
+ },
+ styleDefault: 'Default',
+ styleGlassmorphism: 'Glassmorphism',
+ subtitle: 'Manage your preferences and settings.',
+ title: 'Preferences',
+ viewDock: 'Show dock',
+ viewDockDesc: 'Show the dock on the right side of the sidebar for quick access to apps.',
+ },
+
+ backups: {
+ backupLink: 'Backup link',
+ createBackup: 'Create backup',
+ creatingBackup: 'Creating backup...',
+ downloadBackup: 'Download backup',
+ expiryNotice: 'This link expires on {date}',
+ includeDocuments: 'Documents & Categories',
+ includeFiles: 'Uploaded files (images, PDFs, etc.)',
+ includeMetadata: 'Metadata',
+ includeSettings: 'Settings & Preferences',
+ notifications: {
+ canceled: 'Backup canceled',
+ completed: 'Backup created successfully',
+ completedTitle: 'Done',
+ errorFetching: 'Error fetching backup status. Please try again.',
+ failedToCancelBackup: 'Failed to cancel backup',
+ started: 'Backup creation started',
+ startedTitle: 'Started',
+ },
+ options: 'Backup options',
+ subtitle: 'Create a backup of your data with customizable options.',
+ title: 'Backups',
+ },
+
+ deleteAccountModal: {
+ confirm: 'Are you sure you want to delete your account?',
+ irreversible: 'This action is irreversible',
+ notifications: {
+ deleted: 'Account deleted',
+ error: 'Error',
+ },
+ title: 'Delete account',
+ waitTimer: 'Please wait {seconds} seconds before confirming',
+ },
+
+ documents: {
+ defaultFontFamily: 'Default font family',
+ defaultFontFamilyDesc: 'Set the default font for all your documents.',
+ defaultFontSize: 'Default font size',
+ defaultFontSizeDesc: 'Set the default font size for all your documents.',
+ defaultLineHeight: 'Default line height',
+ defaultLineHeightDesc: 'Set the default line height for all your documents.',
+ documentSize: 'Document size',
+ enablePrintMode: 'Enable print mode',
+ enablePrintModeDesc: 'Simplify document header when printing (remove thumbnail, tags and description)',
+ hideTOC: 'Hide table of contents',
+ section: 'Documents',
+ subtitle: 'Manage your document settings and editing preferences.',
+ theme: 'Theme',
+ themeDesc: 'Default theme used for documents. Can be changed per document.',
+ title: 'Document preferences',
+ },
+
+ editor: {
+ displayStatsBar: 'Show stats bar',
+ displayStatsBarDesc: 'Show a small stats bar at the top of the editor with word, character and line counts.',
+ enableAutoSave: 'Enable autosave',
+ enableSnippets: 'Enable snippets',
+ enableSnippetsDesc: "Enable or disable the editor's snippet feature.",
+ enableSpellCheck: 'Enable spell check',
+ enableSpellCheckDesc: 'Enable browser spell check in the editor. Changes may require a page reload.',
+ fontFamily: 'Editor font',
+ fontSize: 'Editor font size',
+ section: 'Editor',
+ simplifiedMobileView: 'Simplified mobile view',
+ simplifiedMobileViewDesc: 'Enable a simplified editor view on mobile for better usability.',
+ subtitle: 'Manage your editor preferences.',
+ title: 'Editor preferences',
+ },
+
+ markdown: {
+ title: 'Markdown syntax',
+ },
+
+ menu: {
+ toggleClose: 'Close menu',
+ toggleOpen: 'Menu',
+ },
+
+ meta: {
+ accountSettings: 'Account settings',
+ },
+
+ nav: {
+ general: 'General',
+ guides: 'Guides & Info',
+ new: 'New',
+ other: 'Other',
+ preferences: 'Preferences',
+ tools: 'Tools',
+ },
+
+ other: {
+ datatable: 'Data table',
+ defaultItemsCount: 'Default items count',
+ defaultUploadFolder: 'Default upload folder',
+ defaultUploadFolderDesc: 'Choose the default folder where your uploads will be stored. Can be changed per upload.',
+ developerMode: 'Developer mode',
+ developerModeDesc: 'Enable extra debug features like "Copy ID" in context menus.',
+ otherSection: 'Other',
+ subtitle: 'Manage other general application settings.',
+ title: 'Other',
+ uploads: 'Uploads',
+ },
+
+ pages: {
+ about: 'About',
+ advanced: 'Advanced',
+ appearance: 'Appearance',
+ backup: 'Backup',
+ documents: 'Documents',
+ editor: 'Editor',
+ logout: 'Logout',
+ markdown: 'Markdown',
+ other: 'Other',
+ profile: 'My profile',
+ security: 'Security',
+ shortcuts: 'Shortcuts',
+ snippets: 'Snippets',
+ styles: 'Style injection',
+ },
+
+ profile: {
+ accountCreation: 'Account creation',
+ avatar: 'Avatar',
+ email: 'Email',
+ firstname: 'First name',
+ lastname: 'Last name',
+ lastUpdate: 'Last updated',
+ notifications: {
+ error: 'Error updating',
+ updated: 'Profile updated',
+ },
+ subtitle: 'Manage your profile settings and preferences.',
+ title: 'My profile',
+ username: 'Username',
+ },
+
+ security: {
+ activeSessions: 'Active sessions',
+ activeSessionsDesc: 'Here are the devices currently logged into your account.',
+ backupHint: 'Export your data before deleting your account.',
+ changePassword: 'Change password',
+ confirmPassword: 'Confirm password',
+ connected: 'Connected',
+ connectedAccounts: 'Connected accounts',
+ connectedAccountsDesc: 'Link external accounts for easier sign-in.',
+ dangerZone: 'Danger zone',
+ dangerZoneDesc: 'Irreversible actions. Proceed with caution.',
+ deleteAccount: 'Delete account',
+ deleteAccountDesc: 'Permanently delete your account and all associated data. This action cannot be undone.',
+ deleteAccountDetails: 'What will be deleted?',
+ deleteAccountList: {
+ data: 'All your account data (preferences, profile...)',
+ files: 'All your files and folders',
+ shares: 'All your shares',
+ uploads: 'All your uploads',
+ },
+ link: 'Link',
+ loadingAccounts: 'Loading connected accounts...',
+ logout: 'Sign out',
+ logoutAll: 'Sign out from all devices',
+ logoutAllDesc: 'End all active sessions on all devices. You will be redirected to the login page. Make sure to save your work.',
+ logoutDesc: 'End your current session on this device. You will need to sign in again to access your account.',
+ newPassword: 'New password',
+ noProviders: 'No SSO provider is configured for this app.',
+ noSessions: 'No active sessions found.',
+ notConnected: 'Not connected',
+ notifications: {
+ accountUnlinked: 'Account {provider} unlinked',
+ linkError: 'Failed to initiate account linking',
+ passwordChanged: 'Password changed successfully',
+ passwordError: 'Error saving password',
+ unlinkError: 'Failed to unlink account',
+ },
+ password: 'Password',
+ passwordNotMatch: 'Passwords do not match!',
+ subtitle: 'Manage your security settings and monitor account activity.',
+ title: 'Security',
+ unlink: 'Unlink',
+ unrecognizedSession: 'Unrecognized session?',
+ unrecognizedSessionDesc:
+ 'If you see a session you do not recognize, change your password immediately and click "Sign out from all devices" below.',
+ },
+
+ shortcuts: {
+ actions: {
+ bold: 'Bold text',
+ closeModal: 'Close current modal',
+ copy: 'Copy selection or current line',
+ createCategory: 'Create a new category',
+ createDocument: 'Create a new document',
+ cut: 'Cut selection or current line',
+ editDocument: 'Edit document',
+ exitPage: 'Leave page',
+ insertImage: 'Insert image',
+ insertLink: 'Insert link',
+ italic: 'Italic text',
+ nextDocument: 'Next document',
+ nextResult: 'Next result',
+ openCDNUploader: 'Open CDN uploader',
+ openCommandCenter: 'Open command center and navigate',
+ openFindDialog: 'Open find dialog',
+ openResult: 'Open selected result',
+ paste: 'Paste from clipboard',
+ prevDocument: 'Previous document',
+ prevResult: 'Previous result',
+ printPage: 'Print page',
+ redo: 'Redo last action',
+ reloadPage: 'Reload page',
+ saveDocument: 'Save document',
+ savePage: 'Save current page',
+ togglePreview: 'Toggle preview',
+ underline: 'Underline text',
+ undo: 'Undo last action',
+ },
+ documentPage: 'Document page',
+ editorPage: 'Editor page',
+ general: 'General',
+ searchPage: 'Search page',
+ subtitle: 'Here are the shortcuts for different dashboard pages.',
+ title: 'Shortcuts',
+ },
+
+ snippets: {
+ action: {
+ alreadyExists: 'This shortcut already exists',
+ content: 'Snippet content',
+ contentPlaceholder: 'Snippet content...\nUse ${0}, ${1} for tabs',
+ required: 'Shortcut and content are required',
+ restoreDefaults: 'Restore defaults',
+ restoreDefaultsConfirm: 'Are you sure you want to restore the default snippets?',
+ shortcut: 'Shortcut',
+ shortcutHint: 'Prefix with a special char like {code} to find it quickly',
+ titleEdit: 'Edit snippet',
+ titleNew: 'New snippet',
+ },
+ actions: 'Actions',
+ content: 'Content',
+ count: '{count} snippets',
+ createSnippet: 'Create snippet',
+ export: 'Export',
+ import: 'Import',
+ jsonFile: 'JSON file',
+ noSnippets: 'No snippets yet',
+ notifications: {
+ bulkDeleted: '{count} snippets deleted',
+ deleted: 'Snippet deleted',
+ },
+ restore: 'Restore',
+ shortcut: 'Shortcut',
+ subtitle: 'Manage markdown shortcuts. Use them in the editor to write.',
+ textDictionary: 'Text dictionary',
+ title: 'Snippets',
+ },
+
+ styles: {
+ appStyles: 'App styles',
+ appStylesDesc: 'CSS applied globally to the entire application (layout, sidebar, navbar, etc.)',
+ customStyles: 'Custom styles',
+ documentStyles: 'Document styles',
+ documentStylesDesc: 'CSS applied to document content (markdown preview, typography, code blocks, etc.)',
+ enableInjection: 'Enable custom style injection',
+ enableInjectionDesc: 'Inject your own CSS to customize the app and document themes. Changes apply in real time.',
+ subtitle: 'Inherit and customize app and document styles.',
+ title: 'Style injection',
+ },
+};
diff --git a/frontend/i18n/locales/en/time.ts b/frontend/i18n/locales/en/time.ts
new file mode 100644
index 00000000..10ea2dda
--- /dev/null
+++ b/frontend/i18n/locales/en/time.ts
@@ -0,0 +1,9 @@
+export default {
+ daysAgo: '{count} days ago',
+ hoursAgo: '{count} h ago',
+ justNow: 'Just now',
+ minutesAgo: '{count} m ago',
+ today: 'Today',
+ weeksAgo: '{count} weeks ago',
+ yesterday: 'Yesterday',
+};
diff --git a/frontend/i18n/locales/en/user.ts b/frontend/i18n/locales/en/user.ts
new file mode 100644
index 00000000..c3465ae2
--- /dev/null
+++ b/frontend/i18n/locales/en/user.ts
@@ -0,0 +1,7 @@
+export default {
+ accontDeletion: {
+ description: 'You are about to delete your account.',
+ title: 'Delete account',
+ waitModal: 'Please wait {seconds} seconds before you can delete your account.',
+ },
+};
diff --git a/frontend/i18n/locales/fr/admin.ts b/frontend/i18n/locales/fr/admin.ts
new file mode 100644
index 00000000..2d2e2901
--- /dev/null
+++ b/frontend/i18n/locales/fr/admin.ts
@@ -0,0 +1,25 @@
+export default {
+ dashboard: {
+ description: 'Depuis ce tableau de bord, vous pouvez gérer les utilisateurs et les paramètres du site.',
+ manageUsers: 'Gérer les utilisateurs',
+ title: 'Tableau de bord admin',
+ },
+
+ users: {
+ headers: {
+ action: 'Action',
+ createdAt: 'Créé le',
+ email: 'Email',
+ firstname: 'Prénom',
+ lastname: 'Nom de famille',
+ name: 'Nom',
+ role: 'RĂ´le',
+ },
+ noUsers: 'Aucun utilisateur trouvé.',
+ roles: {
+ admin: 'Admin',
+ user: 'Utilisateur',
+ },
+ title: 'Gestion des utilisateurs',
+ },
+};
diff --git a/frontend/i18n/locales/fr/application.ts b/frontend/i18n/locales/fr/application.ts
new file mode 100644
index 00000000..1341f53c
--- /dev/null
+++ b/frontend/i18n/locales/fr/application.ts
@@ -0,0 +1,38 @@
+export default {
+ shortcuts: {
+ boldText: 'Mettre le texte en gras',
+ closeModal: 'Fermer la fenĂŞtre modale actuelle',
+ copyText: 'Copier le texte sélectionné ou la ligne si aucune sélection',
+ createCategory: 'Créer une nouvelle catégorie',
+ createDocument: 'Créer un nouveau document',
+ cutText: 'Couper le texte sélectionné ou la ligne si aucune sélection',
+ editDocument: 'Modifier le document',
+ exitPage: 'Quitter la page',
+ insertImage: 'Insérer une image',
+ insertLink: 'Insérer un lien',
+ italicText: 'Mettre le texte en italique',
+ nextDocument: 'Aller au document suivant',
+ nextSearchResult: 'Résultat de recherche suivant',
+ openCDN: 'Ouvrir le téléverseur CDN',
+ openCmdCenter: 'Ouvrir le centre de commandes',
+ openFindDialog: 'Ouvrir la boîte de dialogue de recherche',
+ openSelectedSearchResult: 'Ouvrir le résultat de recherche sélectionné',
+ pasteText: 'Coller depuis le presse-papiers',
+ prevDocument: 'Aller au document précédent',
+ prevSearchResult: 'Résultat de recherche précédent',
+ printPage: 'Imprimer la page',
+ redoAction: 'Rétablir la dernière action',
+ reloadPage: 'Recharger la page',
+ savePage: 'Enregistrer la page actuelle',
+ sections: {
+ document: 'Document',
+ editor: 'Éditeur',
+ general: 'Général',
+ other: 'Autre',
+ search: 'Recherche',
+ },
+ togglePreview: "Basculer l'aperçu",
+ underlineText: 'Souligner le texte',
+ undoAction: 'Annuler la dernière action',
+ },
+};
diff --git a/frontend/i18n/locales/fr/cdn.ts b/frontend/i18n/locales/fr/cdn.ts
new file mode 100644
index 00000000..1c54e29c
--- /dev/null
+++ b/frontend/i18n/locales/fr/cdn.ts
@@ -0,0 +1,51 @@
+export default {
+ actions: {
+ download: 'Télécharger le fichier',
+ upload: {
+ idle: 'Téléverser',
+ multiple: 'Téléverser {n} fichier | Téléverser {n} fichiers',
+ progress: 'Téléversement de {n} / {total}',
+ },
+ },
+
+ appdrop: {
+ addMore: 'Ajouter plus de fichiers',
+ link: 'cliquez ici',
+ max: 'Maximum {n} fichiers',
+ prompt: 'Glissez-déposez votre fichier ici ou {link} pour sélectionner',
+ promptPlural: 'Glissez-déposez vos fichiers ici ou {link} pour sélectionner',
+ removeFile: 'Supprimer le fichier',
+ },
+
+ edit: {
+ description: 'Gérer les ressources et fichiers sur le serveur. Vous pouvez modifier les métadonnées et supprimer des fichiers du serveur.',
+ title: 'Mettre Ă  jour le fichier',
+ },
+
+ labels: {
+ originalPath: "Chemin d'origine",
+ path: 'Chemin',
+ },
+
+ meta: {
+ shortTitle: 'CDN',
+ title: 'Gestionnaire de fichiers',
+ },
+
+ notifications: {
+ error: 'Échec du téléversement de {file}: {error}',
+ successMsg: '{n} fichier téléversé avec succès | {n} fichiers téléversés avec succès',
+ successTitle: 'Téléversement terminé',
+ },
+
+ page: {
+ empty: 'Aucun fichier téléversé pour le moment.',
+ },
+
+ preview: {
+ title: 'Aperçu',
+ unavailable: 'Aperçu non disponible pour ce type de fichier',
+ },
+
+ storageUsed: 'Espace utilisé',
+};
\ No newline at end of file
diff --git a/frontend/i18n/locales/fr/common.ts b/frontend/i18n/locales/fr/common.ts
new file mode 100644
index 00000000..622a60d0
--- /dev/null
+++ b/frontend/i18n/locales/fr/common.ts
@@ -0,0 +1,101 @@
+export default {
+ actions: {
+ cancel: 'Annuler',
+ clear: 'Effacer',
+ close: 'Fermer',
+ confirm: 'Confirmer',
+ copy: 'Copier',
+ copyLink: 'Copier le lien',
+ create: 'Créer',
+ delete: 'Supprimer',
+ download: 'Télécharger',
+ duplicate: 'Dupliquer',
+ edit: 'Modifier',
+ export: 'Exporter',
+ import: 'Importer',
+ new: 'Nouveau',
+ open: 'Ouvrir',
+ pin: 'Épingler en haut',
+ preview: 'Aperçu',
+ print: 'Imprimer',
+ reset: 'Réinitialiser',
+ save: 'Enregistrer',
+ search: 'Rechercher',
+ share: 'Partager',
+ unpin: 'Détacher du haut',
+ update: 'Mettre Ă  jour',
+ upload: 'Téléverser',
+
+ },
+
+ confirm: {
+ irreversible: 'Cette action est irréversible',
+ },
+
+ errors: {
+ generic: 'Une erreur est survenue',
+ notFound: 'Non trouvé',
+ unknown: 'Une erreur inconnue est survenue',
+ },
+
+ filter: {
+ ascending: 'Ascendant',
+ descending: 'Descendant',
+ match: 'Correspondance',
+ sort: 'Trier par',
+ },
+
+ labels: {
+ action: 'Action',
+ all: 'Tous',
+ color: 'Couleur',
+ content: 'Contenu',
+ date: 'Date',
+ description: 'Description',
+ email: 'Email',
+ icon: 'IcĂ´ne',
+ id: 'ID',
+ name: 'Nom',
+ order: 'Ordre',
+ parent: 'Parent',
+ pinned: 'Épinglé',
+ role: 'RĂ´le',
+ size: 'Taille',
+ status: 'Statut',
+ tags: 'Tags',
+ type: 'Type',
+ },
+
+ nothing: 'Rien Ă  afficher',
+
+ notifications: {
+ copiedMessage: 'Le contenu a été copié avec succès.',
+ copiedTitle: 'Copié dans le presse-papiers',
+ },
+
+ pagination: {
+ rowsPerPage: 'Lignes par page',
+ showing: 'Affichage de {start} à {end} sur {total} entrées',
+ },
+
+ placeholder: {
+ parent: 'Sélectionner un parent',
+ search: 'Rechercher...',
+ },
+
+ search: {
+ noResults: 'Aucun résultat trouvé pour "{filter}"',
+ },
+
+ status: {
+ cancelled: 'Annulé',
+ completed: 'Terminé',
+ error: 'Erreur',
+ failed: 'Échoué',
+ loading: 'Chargement...',
+ pending: 'En attente',
+ processing: 'Traitement en cours',
+ success: 'Succès',
+ unknown: 'Inconnu',
+ },
+};
diff --git a/frontend/i18n/locales/fr/components.ts b/frontend/i18n/locales/fr/components.ts
new file mode 100644
index 00000000..dc415985
--- /dev/null
+++ b/frontend/i18n/locales/fr/components.ts
@@ -0,0 +1,123 @@
+export default {
+ commandCenter: {
+ advanced: {
+ allCategories: 'Toutes les catégories',
+ category: 'Catégorie',
+ clear: 'Effacer',
+ created: 'Créé',
+ dateRange: 'Plage de dates',
+ from: 'Du',
+ modified: 'Modifié',
+ searchInContent: 'Rechercher dans le contenu',
+ searchInContentHint: 'Recherche dans le corps du document (nécessite des mots complets)',
+ tags: 'Tags',
+ title: 'Filtres avancés',
+ to: 'Au',
+ },
+ beta: 'Beta',
+ close: 'Fermer',
+ navigate: 'Naviguer',
+ noResults: 'Aucun résultat pour "{query}"',
+ searchPlaceholder: 'Rechercher une page, action ou document...',
+ sections: {
+ documents: 'Documents',
+ pagesAndActions: 'Pages & actions',
+ },
+ select: 'Sélectionner',
+ switchTabs: "Changer d'onglet",
+ tabs: {
+ advanced: 'Avancé',
+ quick: 'Rapide',
+ },
+ },
+
+ editor: {
+ placeholder: {
+ title: 'Document title',
+ description: 'Document description',
+
+ }
+ },
+
+ dataTable: {
+ rowsPerPage: 'Lignes par page',
+ searchPlaceholder: 'Rechercher...',
+ showing: 'Affichage de {start} à {end} sur {total} entrées',
+ },
+
+ kanban: {
+ addColumn: 'Ajouter une colonne',
+ addDocument: 'Ajouter un document',
+ changeColor: 'Changer la couleur',
+ deleteColumn: 'Supprimer la colonne',
+ deleteColumnModal: {
+ confirm: 'Êtes-vous sûr de vouloir supprimer la colonne "{title}" ?',
+ emptyColumn: 'Cette colonne est vide.',
+ hasDocuments: 'Cette colonne contient {count} document(s). Ils seront déplacés vers la première colonne.',
+ title: 'Supprimer la colonne',
+ },
+ dragHere: 'Glissez des documents ici',
+ editName: 'Modifier le nom',
+ noDocuments: 'Aucun document',
+ resetBoard: {
+ confirm: 'Êtes-vous sûr de vouloir réinitialiser le tableau kanban ?',
+ reset: 'Réinitialiser',
+ title: 'Réinitialiser le tableau kanban',
+ warning: 'Cette action est irréversible. Toutes les colonnes seront supprimées et les cartes déplacées vers la première colonne.',
+ },
+ },
+
+ navbar: {
+ commandCenter: 'Centre de commande (Ctrl+K)',
+ searchHint: 'Taper {key} pour naviguer',
+ },
+
+ noContent: {
+ nothingHere: 'Rien Ă  afficher ici',
+ },
+
+ sessionCard: {
+ current: 'Actuel',
+ inactive: 'Inactif',
+ lastActivity: 'Dernière activité',
+ loggedOut: 'Déconnecté',
+ login: 'Connexion',
+ unknownIP: 'IP inconnue',
+ unknownLocation: 'Emplacement inconnu',
+ userAgent: 'Agent utilisateur',
+ },
+
+ sidebar: {
+ allWorkspaces: 'Tous les espaces de travail',
+ closeAll: 'Tout fermer',
+ editWorkspace: "Modifier l'espace de travail",
+ nav: {
+ cdn: 'CDN',
+ documents: 'Documents',
+ home: 'Accueil',
+ imports: 'Importations',
+ manageCategories: 'Gérer les catégories',
+ newPage: 'Nouvelle page',
+ settings: 'Paramètres',
+ },
+ newCategory: 'Nouvelle catégorie',
+ newDoc: 'Nouveau doc',
+ newWorkspace: 'Nouvel espace de travail',
+ noWorkspaces: 'Aucun espace de travail trouvé',
+ openAll: 'Tout ouvrir',
+ searchPlaceholder: 'Rechercher ou ctrl + q',
+ sharedWithMe: 'Partagés avec moi',
+ toggleDock: 'Basculer le dock',
+ workspaces: 'Espaces de travail',
+ },
+
+ tagInput: {
+ placeholder: 'Entrer pour ajouter un tag',
+ },
+
+ viewSelection: {
+ kanban: 'Kanban',
+ list: 'Liste',
+ table: 'Tableau',
+ },
+} as const;
diff --git a/frontend/i18n/locales/fr/dashboard.ts b/frontend/i18n/locales/fr/dashboard.ts
new file mode 100644
index 00000000..5cbab4ee
--- /dev/null
+++ b/frontend/i18n/locales/fr/dashboard.ts
@@ -0,0 +1,34 @@
+export default {
+ actions: {
+ import: 'Importer',
+ newDocument: '+ Nouveau document',
+ newWorkspace: 'Nouvel espace de travail',
+ },
+
+ greeting: 'đź‘‹ Hey, {userName}',
+
+ links: {
+ manage: 'Gérer',
+ seeAll: 'Voir tout',
+ },
+
+ pages: {
+ home: 'Accueil',
+ },
+
+ search: 'Rechercher des documents, espaces de travail, catégories...',
+
+ sections: {
+ continueWorking: 'Continuer Ă  travailler',
+ pinnedDocuments: 'Documents épinglés',
+ recentActivity: 'Activité récente',
+ yourWorkspaces: 'Vos espaces de travail',
+ },
+
+ stats: {
+ cdnFiles: 'Fichiers CDN',
+ documents: 'Documents',
+ tags: 'Tags',
+ workspaces: 'Espaces de travail',
+ },
+};
diff --git a/frontend/i18n/locales/fr/import.ts b/frontend/i18n/locales/fr/import.ts
new file mode 100644
index 00000000..05d849b7
--- /dev/null
+++ b/frontend/i18n/locales/fr/import.ts
@@ -0,0 +1,74 @@
+export default {
+ actions: {
+ cancel: 'Annuler',
+ importAll: 'Tout importer',
+ importing: 'Importation...',
+ optionsTitle: "Options d'importation",
+ preserveTimestamps: 'Conserver les horodatages originaux',
+ skipExisting: 'Ignorer les documents existants (importer uniquement les nouveaux)',
+ },
+
+ header: {
+ changeFile: 'Changer de fichier',
+ created: 'Créé',
+ documents: 'Documents',
+ files: 'Fichiers',
+ metadata: 'Métadonnées',
+ settings: 'Paramètres',
+ title: 'Informations de sauvegarde',
+ totalDocuments: 'Total des documents',
+ totalSize: 'Taille totale',
+ version: 'Version',
+ },
+
+ meta: {
+ breadcrumb: 'Importations',
+ description:
+ "Vous pouvez importer des documents depuis une exportation précédente. Si vous n'avez pas d'exportation, vous pouvez en créer une depuis la page",
+ settingsLink: 'paramètres',
+ title: 'Importer des documents',
+ },
+
+ notifications: {
+ importCompleteMessage: 'Les documents ont été importés avec succès.',
+ importCompleteTitle: 'Importation terminée',
+ importFailedMessage: "Une erreur est survenue lors de l'importation. Veuillez réessayer.",
+ importFailedTitle: "Échec de l'importation",
+ localImportedMessage: 'Vos paramètres locaux ont été remplacés par ceux de la sauvegarde.',
+ localImportedTitle: 'Paramètres locaux importés',
+ },
+
+ steps: {
+ select: {
+ analyzing: 'Analyse en cours...',
+ startImport: "Démarrer l'importation",
+ },
+ },
+
+ summary: {
+ documentsToUpdate: 'Documents Ă  mettre Ă  jour',
+ newDocuments: 'Nouveaux documents',
+ title: "Résumé de l'importation",
+ unchanged: 'Inchangés',
+ },
+
+ tabs: {
+ backup: 'Sauvegarde',
+ current: 'Actuel',
+ import: 'Importer',
+ importFromBackup: 'Importer depuis la sauvegarde',
+ importLocalSettings: 'Importer les paramètres locaux',
+ importSelected: 'Importer la sélection ({count})',
+ localSettings: 'Paramètres locaux et préférences',
+ localSettingsAvailable: 'Les paramètres locaux et préférences peuvent être importés',
+ localSettingsWarning: 'Cela écrasera vos paramètres locaux actuels, y compris vos snippets',
+ newDocuments: 'Nouveaux documents',
+ noLocalSettings: 'Aucun paramètre local trouvé dans la sauvegarde',
+ noNewDocuments: 'Aucun nouveau document Ă  importer',
+ noUpdates: 'Aucun document Ă  mettre Ă  jour',
+ replaceLocalSettings: 'Voulez-vous remplacer vos paramètres locaux par ceux de la sauvegarde ?',
+ selectAll: 'Tout sélectionner',
+ updates: 'Mises Ă  jour',
+ updateSelected: 'Mettre à jour la sélection ({count})',
+ },
+};
diff --git a/frontend/i18n/locales/fr/index.ts b/frontend/i18n/locales/fr/index.ts
new file mode 100644
index 00000000..8db06015
--- /dev/null
+++ b/frontend/i18n/locales/fr/index.ts
@@ -0,0 +1,29 @@
+import type { MessageSchema } from '../../i18n.config';
+
+import admin from './admin';
+import application from './application';
+import cdn from './cdn';
+import common from './common';
+import components from './components';
+import dashboard from './dashboard';
+import importPage from './import';
+import markdown from './markdown';
+import nodes from './nodes';
+import settings from './settings';
+import time from './time';
+import user from './user';
+
+export default {
+ admin,
+ application,
+ cdn,
+ common,
+ components,
+ dashboard,
+ import: importPage,
+ markdown,
+ nodes,
+ settings,
+ time,
+ user,
+} as MessageSchema;
diff --git a/frontend/i18n/locales/fr/markdown.ts b/frontend/i18n/locales/fr/markdown.ts
new file mode 100644
index 00000000..fe17ba74
--- /dev/null
+++ b/frontend/i18n/locales/fr/markdown.ts
@@ -0,0 +1,86 @@
+export default {
+ markdown: {
+ colors: {
+ brightness: 'Luminosité',
+ customColors: 'Couleurs personnalisées',
+ quickColors: 'Couleurs rapides',
+ subtitle: 'Choisissez une couleur pour votre texte',
+ title: 'Couleurs',
+ useColor: 'Utiliser la couleur',
+ },
+ image: {
+ noImages: 'Aucune image trouvée',
+ searchPlaceholder: 'Rechercher des images...',
+ subtitle: 'Choisissez une image à insérer dans votre document.',
+ title: 'Sélectionner une image',
+ uploadError: 'Une erreur est survenue lors du téléchargement.',
+ },
+ stats: {
+ chars: 'car.',
+ lines: 'lignes',
+ words: 'mots',
+ },
+ syntax: {
+ advancedBlocks: 'Blocs avancés',
+ basicFormatting: 'Formatage de base',
+ cardsAndPanels: 'Cartes & panneaux',
+ coloredBlocks: 'Blocs colorés',
+ colors: 'Couleurs',
+ extendedSyntax: 'Syntaxe étendue',
+ footnotes: 'Notes de bas de page',
+ layoutBlocks: 'Blocs de mise en page',
+ linksAndImages: 'Liens & Images',
+ mathSyntax: 'Syntaxe mathématique',
+ subtitle: "Ce guide vous montre comment utiliser les fonctionnalités Markdown étendues d'Alexandrie pour créer des notes expressives et organisées.",
+ tags: 'Tags',
+ title: 'Guide de syntaxe Markdown Alexandrie',
+ titles: 'Titres',
+ },
+ table: {
+ hoverHint: 'Survolez pour voir la taille',
+ subtitle: 'Sélectionnez la taille de votre tableau avec votre souris',
+ tableSize: '{rows} Ă— {columns} tableau',
+ title: 'Insérer un tableau',
+ },
+ toolbar: {
+ bold: 'Gras',
+ bulletList: 'Liste Ă  puces',
+ category: 'Catégorie',
+ clearFormatting: 'Effacer le formatage',
+ codeBlock: 'Bloc de code',
+
+ color: 'Couleur',
+ editorSettings: "Paramètres de l'éditeur",
+ footnote: 'Note de bas de page',
+
+ goToDocument: 'Aller au document',
+ heading: 'Titre',
+ highlight: 'Surligner',
+ horizontalRule: 'Règle horizontale',
+ image: 'Image',
+ inlineCode: 'Code en ligne',
+
+ italic: 'Italique',
+ link: 'Lien',
+ markdownSyntax: 'Syntaxe Markdown',
+ math: 'Mathématiques',
+ numberedList: 'Liste numérotée',
+ preview: 'Aperçu',
+ quote: 'Citation',
+
+ save: 'Enregistrer',
+ strikethrough: 'Barré',
+ subscript: 'Indice',
+
+ superscript: 'Exposant',
+ table: 'Tableau',
+ taskList: 'Liste de tâches',
+ underline: 'Souligné',
+ },
+ voice: {
+ notSupported: "La reconnaissance vocale n'est pas supportée dans ce navigateur",
+ startRecording: 'Démarrer la reconnaissance vocale',
+ stopRecording: "ArrĂŞter l'enregistrement",
+ },
+ },
+};
diff --git a/frontend/i18n/locales/fr/nodes.ts b/frontend/i18n/locales/fr/nodes.ts
new file mode 100644
index 00000000..85d9723a
--- /dev/null
+++ b/frontend/i18n/locales/fr/nodes.ts
@@ -0,0 +1,120 @@
+export default {
+ actions: {
+ editMeta: 'Modifier les métadonnées',
+ exportAsMarkdown: 'Exporter en Markdown',
+ managePermissions: 'Gérer les permissions',
+ newDocument: '+ Créer un nouveau document',
+ publicLink: 'Lien public',
+ removeFromShared: 'Retirer du partage',
+ resetBoard: 'Réinitialiser le tableau',
+ },
+
+ category: {
+ editTitle: 'Catégorie & espace de travail',
+ iconHint: 'SVG supporté',
+ name: 'Catégorie',
+ new: 'Nouvelle catégorie',
+ notifications: {
+ created: 'Catégorie créée avec succès',
+ creationError: 'Erreur lors de la création',
+ updated: 'Catégorie mise à jour',
+ },
+ orderHint: 'Ordre de la catégorie dans la barre latérale',
+ uncategorized: 'Non catégorisé',
+ },
+
+ container: {
+ createNewDocument: '+ Créer un nouveau document',
+ import: 'Importer',
+ newCategory: '+ Catégorie',
+ newWorkspace: '+ Espace de travail',
+ noDocuments: 'Aucun document trouvé',
+ noDocumentsDescription: "Il n'y a aucun document dans cette catégorie",
+ noWorkspaces: 'Aucun espace de travail ou catégorie trouvé',
+ searchPlaceholder: 'Rechercher un espace de travail...',
+ title: 'Espaces de travail & Catégories',
+ },
+
+ document: {
+ childs: 'Documents enfants',
+ editPage: 'Modifier la page',
+ lastUpdated: 'Dernière mise à jour',
+ nextPage: 'Page suivante',
+ prevPage: 'Page précédente',
+ TOC: 'Table des matières',
+ },
+
+ filter: {
+ footer: '{count} / {total} correspondances',
+ title: 'Filtrer les nœuds',
+ toClose: 'pour fermer',
+ },
+
+ modals: {
+ delete: {
+ bulkCount: 'Cette action supprimera {count} nœuds.',
+ confirm: 'Êtes-vous sûr de vouloir supprimer ce {type} ?',
+ confirmBulk: 'Êtes-vous sûr de vouloir supprimer les nœuds sélectionnés ?',
+ hasChildren: 'Ce {type} a {count} documents enfants. Ils seront également supprimés.',
+ irreversible: 'Cette action est irréversible',
+ title: 'Supprimer {type}',
+ titleBulk: 'Supprimer les nœuds',
+ },
+ metadata: {
+ emojiOrIcon: 'Emoji ou icĂ´ne',
+ emojiOrIconHint: 'SVG ou emojis supportés',
+ thumbnail: 'Miniature',
+ thumbnailHint: 'SVG supporté',
+ title: 'Métadonnées',
+ },
+ permissions: {
+ addPermission: 'Ajouter',
+ defaultPermission: 'Permission par défaut pour les nouveaux utilisateurs',
+ generalAccess: 'Accès général',
+ managePermissions: 'Gérer les permissions',
+ noPermissions: 'Aucune permission définie',
+ noResults: 'Aucun résultat trouvé',
+ publicInfo: 'Ce document sera accessible publiquement via une URL unique.',
+ removePermission: 'Retirer la permission',
+ searchPlaceholder: "Nom d'utilisateur ou email",
+ searchUser: 'Rechercher un utilisateur',
+ shareLink: "Partagez ce lien pour permettre Ă  n'importe qui de voir le document sans avoir besoin d'un compte :",
+ title: 'Gérer les permissions',
+ },
+ removeShared: {
+ childWarning: 'Ce document a {count} document(s) enfant(s). Ils seront également retirés.',
+ confirm: 'Êtes-vous sûr de vouloir retirer ce document ?',
+ noAccess: "Après cette action, vous n'aurez plus accès à ce document.",
+ success: 'Document retiré',
+ title: 'Retirer ce document',
+ },
+ },
+
+ // From the shared_target api (PWA)
+ share: {
+ actionChoose: 'Que voulez-vous faire ?',
+ actionCreateDocument: 'Créer un nouveau document',
+ actionCreateDocumentDesc: 'Créer un nouveau document Markdown avec le contenu partagé',
+ actionUploadResource: 'Téléverser en tant que ressource',
+ actionUploadResourceDesc: 'Téléverser le contenu partagé en tant que ressource (image, PDF, etc.) et obtenir un lien pour l’insérer dans vos documents',
+ chooseDestination: 'Choisissez oĂą vous voulez enregistrer ce contenu.',
+ description: 'Contenu reçu depuis une autre application.',
+ sharedContent: 'Contenu partagé',
+ title: 'Partage de contenu',
+ },
+
+ tags: 'Tags',
+
+ types: {
+ category: 'Catégorie | Catégories',
+ document: 'Document | Documents',
+ resource: 'Ressource',
+ workspace: 'Espace de travail',
+ },
+
+ workspace: {
+ all: 'Tous les espaces de travail',
+ new: 'Nouvel espace de travail',
+ shared: 'Partagés avec moi',
+ },
+};
diff --git a/frontend/i18n/locales/fr/settings.ts b/frontend/i18n/locales/fr/settings.ts
new file mode 100644
index 00000000..2d97b269
--- /dev/null
+++ b/frontend/i18n/locales/fr/settings.ts
@@ -0,0 +1,339 @@
+export default {
+ about: {
+ changelog: 'Journal des modifications',
+ client: 'Client',
+ contact: "Si vous avez des questions, suggestions ou si vous avez trouvé un bug, n'hésitez pas à nous contacter ! Vous pouvez créer une issue sur le",
+ description: 'Alexandrie est un outil de gestion de connaissances personnelles conçu pour vous aider à organiser et retrouver vos notes efficacement.',
+ features: "Il offre une gamme de fonctionnalités incluant l'organisation de documents, le tagging et des capacités de recherche avancée.",
+ githubRepo: 'dépôt GitHub',
+ pwa: 'PWA',
+ seeFullChangelog: 'Voir le journal complet des modifications sur',
+ subtitle: "Informations sur l'application.",
+ title: "Ă€ propos d'Alexandrie",
+ version: "Version d'Alexandrie",
+ website: 'Site web',
+ },
+
+ advanced: {
+ resetLocalStorage: 'Réinitialiser le stockage local',
+ resetLocalStorageBtn: 'Supprimer le stockage local',
+ resetLocalStorageDesc:
+ 'Cela réinitialisera toutes vos données de stockage local. Cette action ne peut pas être annulée. Cette action réinitialisera également les préférences.',
+ resetPreferences: 'Réinitialiser toutes les préférences',
+ resetPreferencesBtn: 'Réinitialiser les préférences',
+ resetPreferencesDesc: 'Cela réinitialisera toutes vos préférences à leurs valeurs par défaut. Cette action ne peut pas être annulée.',
+ subtitle: "Gérez les paramètres avancés de l'application.",
+ title: 'Avancé',
+ },
+
+ appearance: {
+ chooseAccentColor: "Choisir la couleur d'accent",
+ displayUncategorizedResources: 'Afficher les ressources non catégorisées',
+ displayUncategorizedResourcesDesc: 'Afficher les ressources (téléchargements du CDN) non catégorisées en haut de la barre latérale.',
+ enableCompactMode: 'Activer le mode compact',
+ enableCompactModeDesc: 'Réduire la taille des éléments de la barre latérale pour afficher plus de contenu.',
+ enableDarkMode: 'Activer le mode sombre',
+ general: 'Général',
+ hideResources: 'Masquer les ressources',
+ interfaceStyle: "Style d'interface",
+ interfaceStyleDesc: 'Le glassmorphisme ajoute des surfaces transparentes avec des effets de flou pour un look moderne en verre.',
+ navbar: 'Barre de navigation',
+ navbarItems: {
+ breadcrumb: "Fil d'Ariane",
+ navigation: 'Navigation',
+ search: 'Recherche',
+ theme: 'Thème',
+ },
+ navbarItemsToDisplay: 'Éléments à afficher dans la barre de navigation',
+ normalizeFileIcons: 'Normaliser les icĂ´nes de fichiers',
+ normalizeFileIconsDesc: 'Afficher les parents de fichiers avec la mĂŞme icĂ´ne que les fichiers classiques (pas en vert)',
+ setLanguage: 'Définir la langue',
+ setLanguageDesc: "Choisissez la langue de l'interface.",
+ showItemsInSidebar: 'Éléments à afficher dans la barre latérale',
+ sidebar: 'Barre latérale',
+ sidebarItems: {
+ cdn: 'CDN',
+ documents: 'Documents',
+ home: 'Accueil',
+ importation: 'Importation',
+ manageCategories: 'Gérer les catégories',
+ newPage: 'Nouvelle page',
+ settings: 'Paramètres',
+ },
+ styleDefault: 'Par défaut',
+ styleGlassmorphism: 'Glassmorphisme',
+ subtitle: 'Gérez vos préférences et paramètres.',
+ title: 'Préférences',
+ viewDock: 'Afficher le dock',
+ viewDockDesc: 'Afficher le dock sur le côté droit de la barre latérale pour accéder rapidement aux différentes applications.',
+ },
+
+ backups: {
+ backupLink: 'Lien de la sauvegarde',
+ createBackup: 'Créer une sauvegarde',
+ creatingBackup: 'Création de la sauvegarde...',
+ downloadBackup: 'Télécharger la sauvegarde',
+ expiryNotice: 'Ce lien expire le {date}',
+ includeDocuments: 'Documents & Catégories',
+ includeFiles: 'Fichiers téléchargés (images, PDFs, etc.)',
+ includeMetadata: 'Métadonnées',
+ includeSettings: 'Paramètres & Préférences',
+ notifications: {
+ canceled: 'Sauvegarde annulée',
+ completed: 'Sauvegarde créée avec succès',
+ completedTitle: 'Terminé',
+ errorFetching: 'Une erreur est survenue lors de la récupération du statut de sauvegarde. Veuillez réessayer.',
+ failedToCancelBackup: "Échec de l'annulation de la sauvegarde",
+ started: 'Création de la sauvegarde commencée',
+ startedTitle: 'Commencé',
+ },
+ options: 'Options de sauvegarde',
+ subtitle: 'Créez une sauvegarde de vos données avec des options personnalisables.',
+ title: 'Sauvegardes',
+ },
+
+ deleteAccountModal: {
+ confirm: 'Êtes-vous sûr de vouloir supprimer votre compte ?',
+ irreversible: 'Cette action est irréversible',
+ notifications: {
+ deleted: 'Compte supprimé',
+ error: 'Erreur',
+ },
+ title: 'Supprimer le compte',
+ waitTimer: 'Veuillez patienter {seconds} secondes avant de confirmer',
+ },
+
+ documents: {
+ defaultFontFamily: 'Police par défaut',
+ defaultFontFamilyDesc: 'Définir la police par défaut pour tous vos documents.',
+ defaultFontSize: 'Taille de police par défaut',
+ defaultFontSizeDesc: 'Définir la taille de police par défaut pour tous vos documents.',
+ defaultLineHeight: 'Hauteur de ligne par défaut',
+ defaultLineHeightDesc: 'Définir la hauteur de ligne par défaut pour tous vos documents.',
+ documentSize: 'Taille du document',
+ enablePrintMode: 'Activer le mode impression',
+ enablePrintModeDesc: "Simplifier l'en-tête des documents imprimés (supprimer la miniature, les tags, la description et garder uniquement le titre)",
+ hideTOC: 'Masquer la table des matières',
+ section: 'Documents',
+ subtitle: "Gérez vos paramètres de documents et préférences d'édition.",
+ theme: 'Thème',
+ themeDesc: 'Thème par défaut utilisé pour les documents. Vous pouvez le modifier pour chaque document individuellement.',
+ title: 'Préférences des documents',
+ },
+
+ editor: {
+ displayStatsBar: 'Afficher la barre de statistiques',
+ displayStatsBarDesc: "Afficher une petite barre de statistiques en haut de l'éditeur avec le nombre de mots, caractères et lignes.",
+ enableAutoSave: 'Activer la sauvegarde automatique',
+ enableSnippets: 'Activer les snippets',
+ enableSnippetsDesc: "Activer ou désactiver la fonctionnalité des snippets de l'éditeur.",
+ enableSpellCheck: 'Activer la vérification orthographique',
+ enableSpellCheckDesc: "Activer la vérification orthographique du navigateur dans l'éditeur. Les changements peuvent nécessiter un rechargement de la page.",
+ fontFamily: "Police de l'éditeur",
+ fontSize: "Taille de police de l'éditeur",
+ section: 'Éditeur',
+ simplifiedMobileView: 'Vue simplifiée pour mobile',
+ simplifiedMobileViewDesc: "Activer une vue simplifiée de l'éditeur sur les appareils mobiles pour une meilleure utilisabilité.",
+ subtitle: "Gérez vos préférences d'édition.",
+ title: "Préférences de l'éditeur",
+ },
+
+ markdown: {
+ title: 'Syntaxe Markdown',
+ },
+
+ menu: {
+ toggleClose: 'Fermer le menu',
+ toggleOpen: 'Menu',
+ },
+
+ meta: {
+ accountSettings: 'Paramètres du compte',
+ },
+
+ nav: {
+ general: 'Général',
+ guides: 'Guides & Infos',
+ new: 'Nouveau',
+ other: 'Autre',
+ preferences: 'Préférences',
+ tools: 'Outils',
+ },
+
+ other: {
+ datatable: 'Tableau de données',
+ defaultItemsCount: "Nombre d'éléments par défaut",
+ defaultUploadFolder: 'Dossier de téléchargement par défaut',
+ defaultUploadFolderDesc: 'Choisissez le dossier par défaut où vos téléchargements seront stockés. Vous pouvez le modifier pour chaque téléchargement.',
+ developerMode: 'Mode développeur',
+ developerModeDesc: 'Activer des fonctionnalités de débogage supplémentaires comme "Copier l\'ID" dans les menus contextuels.',
+ otherSection: 'Autre',
+ subtitle: "Gérez les autres paramètres généraux de l'application.",
+ title: 'Autre',
+ uploads: 'Téléchargements',
+ },
+
+ pages: {
+ about: 'Ă€ propos',
+ advanced: 'Avancé',
+ appearance: 'Apparence',
+ backup: 'Sauvegarde',
+ documents: 'Documents',
+ editor: 'Éditeur',
+ logout: 'Déconnexion',
+ markdown: 'Markdown',
+ other: 'Autre',
+ profile: 'Mon profil',
+ security: 'Sécurité',
+ shortcuts: 'Raccourcis',
+ snippets: 'Snippets',
+ styles: 'Injection de styles',
+ },
+
+ profile: {
+ accountCreation: 'Création du compte',
+ avatar: 'Avatar',
+ email: 'Email',
+ firstname: 'Prénom',
+ lastname: 'Nom',
+ lastUpdate: 'Dernière mise à jour',
+ notifications: {
+ error: 'Erreur lors de la mise Ă  jour',
+ updated: 'Profil mis Ă  jour',
+ },
+ subtitle: 'Gérez vos paramètres de profil et préférences.',
+ title: 'Mon profil',
+ username: "Nom d'utilisateur",
+ },
+
+ security: {
+ activeSessions: 'Sessions actives',
+ activeSessionsDesc: 'Voici les appareils actuellement connectés à votre compte.',
+ backupHint: 'Exportez vos données avant de supprimer votre compte.',
+ changePassword: 'Changer le mot de passe',
+ confirmPassword: 'Confirmer le mot de passe',
+ connected: 'Connecté',
+ connectedAccounts: 'Comptes connectés',
+ connectedAccountsDesc: 'Liez des comptes externes pour une connexion plus facile.',
+ dangerZone: 'Zone de danger',
+ dangerZoneDesc: 'Actions irréversibles. Procédez avec précaution.',
+ deleteAccount: 'Supprimer le compte',
+ deleteAccountDesc: 'Supprimer définitivement votre compte et toutes les données associées. Cette action ne peut pas être annulée.',
+ deleteAccountDetails: 'Que sera supprimé ?',
+ deleteAccountList: {
+ data: 'Toutes vos données de compte (préférences, profil...)',
+ files: 'Tous vos fichiers et dossiers',
+ shares: 'Tous vos partages',
+ uploads: 'Tous vos téléchargements',
+ },
+ link: 'Lier',
+ loadingAccounts: 'Chargement des comptes connectés...',
+ logout: 'Se déconnecter',
+ logoutAll: 'Se déconnecter de tous les appareils',
+ logoutAllDesc:
+ 'Terminer toutes les sessions actives sur tous les appareils. Vous serez redirigé vers la page de connexion. Assurez-vous de sauvegarder votre travail.',
+ logoutDesc: 'Terminer votre session actuelle sur cet appareil. Vous devrez vous reconnecter pour accéder à votre compte.',
+ newPassword: 'Nouveau mot de passe',
+ noProviders: "Aucun fournisseur SSO n'est configuré pour cette application.",
+ noSessions: 'Aucune session active trouvée.',
+ notConnected: 'Non connecté',
+ notifications: {
+ accountUnlinked: 'Compte {provider} délié',
+ linkError: "Échec de l'initiation de la liaison du compte",
+ passwordChanged: 'Mot de passe modifié avec succès',
+ passwordError: 'Erreur lors de la sauvegarde du mot de passe',
+ unlinkError: 'Échec de la déconnexion du compte',
+ },
+ password: 'Mot de passe',
+ passwordNotMatch: 'Les mots de passe ne correspondent pas !',
+ subtitle: "Gérez vos paramètres de sécurité et surveillez l'activité de votre compte.",
+ title: 'Sécurité',
+ unlink: 'Délier',
+ unrecognizedSession: 'Session non reconnue ?',
+ unrecognizedSessionDesc:
+ 'Si vous voyez une session que vous ne reconnaissez pas, changez votre mot de passe immédiatement et cliquez sur "Se déconnecter de tous les appareils" ci-dessous.',
+ },
+
+ shortcuts: {
+ actions: {
+ bold: 'Texte en gras',
+ closeModal: 'Fermer la modale actuelle',
+ copy: 'Copier le texte sélectionné ou la ligne si aucune sélection',
+ createCategory: 'Créer une nouvelle catégorie',
+ createDocument: 'Créer un nouveau document',
+ cut: 'Couper le texte sélectionné ou la ligne si aucune sélection',
+ editDocument: 'Modifier le document',
+ exitPage: 'Quitter la page',
+ insertImage: 'Insérer une image',
+ insertLink: 'Insérer un lien',
+ italic: 'Texte en italique',
+ nextDocument: 'Document suivant',
+ nextResult: 'Résultat suivant',
+ openCDNUploader: 'Ouvrir le téléchargeur CDN',
+ openCommandCenter: 'Ouvrir le centre de commandes et naviguer',
+ openFindDialog: 'Ouvrir la boîte de dialogue de recherche',
+ openResult: 'Ouvrir le résultat sélectionné',
+ paste: 'Coller depuis le presse-papiers',
+ prevDocument: 'Document précédent',
+ prevResult: 'Résultat précédent',
+ printPage: 'Imprimer la page',
+ redo: 'Rétablir la dernière action',
+ reloadPage: 'Recharger la page',
+ saveDocument: 'Sauvegarder le document',
+ savePage: 'Sauvegarder la page actuelle',
+ togglePreview: "Basculer l'aperçu",
+ underline: 'Texte souligné',
+ undo: 'Annuler la dernière action',
+ },
+ documentPage: 'Page document',
+ editorPage: 'Page éditeur',
+ general: 'Général',
+ searchPage: 'Page de recherche',
+ subtitle: 'Voici les raccourcis pour les différentes pages du tableau de bord.',
+ title: 'Raccourcis',
+ },
+
+ snippets: {
+ action: {
+ alreadyExists: 'Ce raccourci existe déjà',
+ content: 'Contenu du snippet',
+ contentPlaceholder: 'Contenu du snippet...&#10;Utilisez ${0}, ${1} pour les tabulations',
+ required: 'Le raccourci et le contenu sont requis',
+ restoreDefaults: 'Restaurer les valeurs par défaut',
+ restoreDefaultsConfirm: 'Êtes-vous sûr de vouloir restaurer les snippets par défaut ?',
+ shortcut: 'Raccourci',
+ shortcutHint: 'Préfixer avec un caractère spécial comme {code} pour le retrouver facilement',
+ titleEdit: 'Modifier le snippet',
+ titleNew: 'Nouveau snippet',
+ },
+ actions: 'Actions',
+ content: 'Contenu',
+ count: '{count} snippets',
+ createSnippet: 'Créer un snippet',
+ export: 'Exporter',
+ import: 'Importer',
+ jsonFile: 'Fichier JSON',
+ noSnippets: 'Aucun snippet pour le moment',
+ notifications: {
+ bulkDeleted: '{count} snippets supprimés',
+ deleted: 'Snippet supprimé',
+ },
+ restore: 'Restaurer',
+ shortcut: 'Raccourci',
+ subtitle: "Gérez les raccourcis markdown. Utilisez les ensuite dans l'éditeur pour écrire.",
+ textDictionary: 'Dictionnaire texte',
+ title: 'Snippets',
+ },
+
+ styles: {
+ appStyles: "Styles de l'application",
+ appStylesDesc: "CSS appliqué globalement à toute l'application (mise en page, barre latérale, barre de navigation, etc.)",
+ customStyles: 'Styles personnalisés',
+ documentStyles: 'Styles des documents',
+ documentStylesDesc: 'CSS appliqué au contenu des documents (aperçu markdown, typographie, blocs de code, etc.)',
+ enableInjection: "Activer l'injection de styles personnalisés",
+ enableInjectionDesc: "Injectez votre propre CSS pour personnaliser l'application et les thèmes de documents. Les changements sont appliqués en temps réel.",
+ subtitle: "Héritez et personnalisez les styles de l'application et des documents.",
+ title: 'Injection de styles',
+ },
+};
diff --git a/frontend/i18n/locales/fr/time.ts b/frontend/i18n/locales/fr/time.ts
new file mode 100644
index 00000000..7003e9a7
--- /dev/null
+++ b/frontend/i18n/locales/fr/time.ts
@@ -0,0 +1,9 @@
+export default {
+ daysAgo: 'Il y a {count} jours',
+ hoursAgo: 'Il y a {count} h',
+ justNow: "Ă€ l'instant",
+ minutesAgo: 'Il y a {count} m',
+ today: "Aujourd'hui",
+ weeksAgo: 'Il y a {count} semaines',
+ yesterday: 'Hier',
+};
diff --git a/frontend/i18n/locales/fr/user.ts b/frontend/i18n/locales/fr/user.ts
new file mode 100644
index 00000000..9c841e28
--- /dev/null
+++ b/frontend/i18n/locales/fr/user.ts
@@ -0,0 +1,7 @@
+export default {
+ accontDeletion: {
+ description: 'Vous ĂŞtes sur le point de supprimer votre compte.',
+ title: 'Supprimer le compte',
+ waitModal: 'Veillez patienter {seconds} secondes avant de pouvoir supprimer votre compte.',
+ },
+};
diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.ts
index 8e59c9af..70a7be71 100644
--- a/frontend/nuxt.config.ts
+++ b/frontend/nuxt.config.ts
@@ -1,253 +1,267 @@
+import { defineNuxtConfig } from 'nuxt/config';
import { resolve } from 'path';
import { createSvgIconsPlugin } from 'vite-plugin-svg-icons';
-import { defineNuxtConfig } from 'nuxt/config';
export default defineNuxtConfig({
- devtools: { enabled: process.env.NODE_ENV !== 'production' },
- runtimeConfig: {
- public: {
- // Base URLs
- baseApi: '',
- baseCdn: '',
- cdnEndpoint: '/alexandrie/',
- // Feature flags
- configDisableSignupPage: '',
- configDisableLandingPage: '',
- configDisableNativeLogin: false,
+ app: {
+ head: {
+ charset: 'utf-8',
+ htmlAttrs: {
+ lang: 'en',
+ },
+ link: [
+ {
+ href: 'https://alexandrie-hub.fr',
+ rel: 'canonical',
+ },
+ {
+ href: '/manifest.webmanifest',
+ rel: 'manifest',
+ },
+ {
+ href: '/favicon-dark.ico',
+ media: '(prefers-color-scheme: dark)',
+ rel: 'icon',
+ type: 'image/x-icon',
+ },
+ {
+ href: '/favicon.ico',
+ media: '(prefers-color-scheme: light), (prefers-color-scheme: no-preference)',
+ rel: 'icon',
+ type: 'image/x-icon',
+ },
+ { href: 'https://api.alexandrie-hub.fr', rel: 'preconnect' },
+ { href: 'https://cdn.alexandrie-hub.fr', rel: 'preconnect' },
+ ],
+ meta: [
+ // SEO
+ {
+ content:
+ 'Alexandrie is a modern note-taking and knowledge base application built for developers and power users. Write, organize and render beautiful notes using extended Markdown in a fast, clean and distraction-free interface. Self-hostable with Docker.',
+ name: 'description',
+ },
+ {
+ content:
+ 'markdown notes, note taking app, knowledge base, developer notes, markdown editor, personal wiki, technical documentation, pwa notes, docker, self-hosted',
+ name: 'keywords',
+ },
+ { content: 'Alexandrie Team', name: 'author' },
+ { content: 'index, follow', name: 'robots' },
+ { content: 'strict-origin-when-cross-origin', name: 'referrer' },
+
+ // PWA / Mobile
+ { content: 'Alexandrie', name: 'application-name' },
+ { content: 'Alexandrie', name: 'apple-mobile-web-app-title' },
+ { content: 'yes', name: 'apple-mobile-web-app-capable' },
+ { content: 'yes', name: 'mobile-web-app-capable' },
+ { content: '#3956e7', name: 'theme-color' },
+
+ // Open Graph
+ { content: 'website', property: 'og:type' },
+ { content: 'Alexandrie', property: 'og:site_name' },
+ { content: 'Alexandrie – Modern Markdown Note-Taking & Knowledge Base App', property: 'og:title' },
+ {
+ content: 'A modern note-taking and knowledge base app for developers, built around extended Markdown and self-hostable with Docker.',
+ property: 'og:description',
+ },
+ { content: 'https://alexandrie-hub.fr', property: 'og:url' },
+ { content: '/icons/icon-192.png', property: 'og:image' },
+
+ // Twitter Card
+ { content: 'Alexandrie – Modern Markdown Note-Taking App', name: 'twitter:title' },
+ {
+ content: 'Write and organize beautiful notes with extended Markdown. Fast, clean and developer-friendly. Self-hostable with Docker.',
+ name: 'twitter:description',
+ },
+ { content: 'summary', name: 'twitter:card' },
+ { content: '/icons/icon-192.png', name: 'twitter:image' },
+ { content: 'Alexandrie', name: 'twitter:image:alt' },
+ ],
+ title: 'Alexandrie',
+ viewport: 'width=device-width, initial-scale=1',
},
},
- vite: {
- css: {
- preprocessorOptions: {
- scss: {
- additionalData: "@use '~/styles/abstract/static.scss' as *;",
- },
+ colorMode: {
+ classSuffix: '-mode',
+ fallback: 'light', // fallback value if not system preference found
+ preference: 'light', // default value of $colorMode.preference
+ },
+ compatibilityDate: '2024-07-19',
+ css: ['~/styles/main.scss', '~/styles/vendors/katex/katex.min.css'],
+
+ devtools: { enabled: process.env.NODE_ENV !== 'production' },
+ experimental: {
+ defaults: {
+ nuxtLink: {
+ // prefetch: false,
},
},
- plugins: [
- createSvgIconsPlugin({
- iconDirs: [resolve(process.cwd(), 'public/app-icons/')],
- symbolId: 'icon-[name]',
- }),
- ],
- vue: {
- template: {
- compilerOptions: {
- isCustomElement: tag => {
- return ['tag'].includes(tag);
- },
- },
- },
+ payloadExtraction: true,
+ viewTransition: true,
+ },
+ i18n: {
+ defaultLocale: 'en',
+ experimental: {
+ preload: false,
+ stripMessagesPayload: true,
+ typedOptionsAndMessages: 'default',
},
+ locales: [
+ { code: 'en', file: 'en/index.ts', language: 'en-US' },
+ { code: 'fr', file: 'fr/index.ts', language: 'fr-FR' },
+ ],
+ strategy: 'no_prefix',
},
+
+ modules: ['@pinia/nuxt', '@nuxtjs/color-mode', '@vite-pwa/nuxt', '@nuxt/eslint', '@nuxtjs/i18n'],
+
nitro: {
compressPublicAssets: true,
minify: true,
},
- ssr: false,
- css: ['~/styles/main.scss', '~/styles/vendors/katex/katex.min.css'],
- modules: ['@pinia/nuxt', '@nuxtjs/color-mode', '@vite-pwa/nuxt', '@nuxt/eslint'],
-
- colorMode: {
- preference: 'light', // default value of $colorMode.preference
- fallback: 'light', // fallback value if not system preference found
- classSuffix: '-mode',
- },
-
pwa: {
- registerType: 'autoUpdate',
+ base: '/',
+ filename: 'sw.ts',
+ injectManifest: {
+ globPatterns: ['**/*.{js,css,html,ico,png,svg}'],
+ maximumFileSizeToCacheInBytes: 30_000_000,
+ },
manifest: {
- name: 'Alexandrie',
- short_name: 'Alexandrie',
+ background_color: '#334155',
description: 'App for taking beautiful notes in extended Markdown format.',
- start_url: '/dashboard',
display: 'standalone',
- background_color: '#334155',
- theme_color: '#3956e7',
icons: [
{
- src: '/icons/icon-m-144.png',
+ purpose: 'maskable',
sizes: '144x144',
+ src: '/icons/icon-m-144.png',
type: 'image/png',
- purpose: 'maskable',
},
{
- src: '/icons/icon-m-192.png',
+ purpose: 'maskable',
sizes: '192x192',
+ src: '/icons/icon-m-192.png',
type: 'image/png',
- purpose: 'maskable',
},
{
- src: '/icons/icon-m-512.png',
+ purpose: 'maskable',
sizes: '512x512',
+ src: '/icons/icon-m-512.png',
type: 'image/png',
- purpose: 'maskable',
},
{
- src: '/icons/icon-144.png',
+ purpose: 'any',
sizes: '144x144',
+ src: '/icons/icon-144.png',
type: 'image/png',
- purpose: 'any',
},
{
- src: '/icons/icon-192.png',
+ purpose: 'any',
sizes: '192x192',
+ src: '/icons/icon-192.png',
type: 'image/png',
- purpose: 'any',
},
{
- src: '/icons/icon-512.png',
+ purpose: 'any',
sizes: '512x512',
+ src: '/icons/icon-512.png',
type: 'image/png',
- purpose: 'any',
},
],
- share_target: {
- action: '/dashboard/share-target',
- method: 'POST',
- enctype: 'multipart/form-data',
- params: {
- title: 'title',
- text: 'text',
- url: 'url',
- files: [
- {
- name: 'files',
- accept: ['image/*', 'application/pdf', 'text/*', 'application/json', '.md', '.txt', '.json', '.csv'],
- },
- ],
- },
- },
+ name: 'Alexandrie',
screenshots: [
{
- src: '/screenshots/mock/1.png',
+ form_factor: 'wide',
+ label: 'Note rendering',
sizes: '1920x1080',
+ src: '/screenshots/mock/1.png',
type: 'image/png',
- label: 'Note rendering',
- form_factor: 'wide',
},
{
- src: '/screenshots/mock/2.png',
+ form_factor: 'wide',
+ label: 'Note editor',
sizes: '1920x1080',
+ src: '/screenshots/mock/2.png',
type: 'image/png',
- label: 'Note editor',
- form_factor: 'wide',
},
{
- src: '/screenshots/mock/3.png',
+ form_factor: 'wide',
+ label: 'Note list',
sizes: '1920x1080',
+ src: '/screenshots/mock/3.png',
type: 'image/png',
- label: 'Note list',
- form_factor: 'wide',
},
{
- src: '/screenshots/mock/phone-1.png',
+ form_factor: 'narrow',
+ label: 'Demo phone',
sizes: '1920x1920',
+ src: '/screenshots/mock/phone-1.png',
type: 'image/png',
- label: 'Demo phone',
- form_factor: 'narrow',
},
],
+ share_target: {
+ action: '/dashboard/share-target',
+ enctype: 'multipart/form-data',
+ method: 'POST',
+ params: {
+ files: [
+ {
+ accept: ['image/*', 'application/pdf', 'text/*', 'application/json', '.md', '.txt', '.json', '.csv'],
+ name: 'files',
+ },
+ ],
+ text: 'text',
+ title: 'title',
+ url: 'url',
+ },
+ },
+ short_name: 'Alexandrie',
+ start_url: '/dashboard',
+ theme_color: '#3956e7',
},
- strategies: 'injectManifest',
+ registerType: 'autoUpdate',
srcDir: '.',
- filename: 'sw.ts',
- base: '/',
- injectManifest: {
- maximumFileSizeToCacheInBytes: 30_000_000,
- globPatterns: ['**/*.{js,css,html,ico,png,svg}'],
- },
+ strategies: 'injectManifest',
},
- experimental: {
- viewTransition: true,
- payloadExtraction: true,
- defaults: {
- nuxtLink: {
- // prefetch: false,
- },
+ runtimeConfig: {
+ public: {
+ // Base URLs
+ baseApi: '',
+ baseCdn: '',
+ cdnEndpoint: '/alexandrie/',
+ configDisableLandingPage: '',
+ configDisableNativeLogin: false,
+ // Feature flags
+ configDisableSignupPage: '',
},
},
- app: {
- head: {
- title: 'Alexandrie',
- viewport: 'width=device-width, initial-scale=1',
- charset: 'utf-8',
- htmlAttrs: {
- lang: 'en',
- },
- meta: [
- // SEO
- {
- name: 'description',
- content:
- 'Alexandrie is a modern note-taking and knowledge base application built for developers and power users. Write, organize and render beautiful notes using extended Markdown in a fast, clean and distraction-free interface. Self-hostable with Docker.',
- },
- {
- name: 'keywords',
- content:
- 'markdown notes, note taking app, knowledge base, developer notes, markdown editor, personal wiki, technical documentation, pwa notes, docker, self-hosted',
- },
- { name: 'author', content: 'Alexandrie Team' },
- { name: 'robots', content: 'index, follow' },
- { name: 'referrer', content: 'strict-origin-when-cross-origin' },
-
- // PWA / Mobile
- { name: 'application-name', content: 'Alexandrie' },
- { name: 'apple-mobile-web-app-title', content: 'Alexandrie' },
- { name: 'apple-mobile-web-app-capable', content: 'yes' },
- { name: 'mobile-web-app-capable', content: 'yes' },
- { name: 'theme-color', content: '#3956e7' },
-
- // Open Graph
- { property: 'og:type', content: 'website' },
- { property: 'og:site_name', content: 'Alexandrie' },
- { property: 'og:title', content: 'Alexandrie – Modern Markdown Note-Taking & Knowledge Base App' },
- {
- property: 'og:description',
- content: 'A modern note-taking and knowledge base app for developers, built around extended Markdown and self-hostable with Docker.',
- },
- { property: 'og:url', content: 'https://alexandrie-hub.fr' },
- { property: 'og:image', content: '/icons/icon-192.png' },
+ ssr: false,
- // Twitter Card
- { name: 'twitter:title', content: 'Alexandrie – Modern Markdown Note-Taking App' },
- {
- name: 'twitter:description',
- content: 'Write and organize beautiful notes with extended Markdown. Fast, clean and developer-friendly. Self-hostable with Docker.',
- },
- { name: 'twitter:card', content: 'summary' },
- { name: 'twitter:image', content: '/icons/icon-192.png' },
- { name: 'twitter:image:alt', content: 'Alexandrie' },
- ],
- link: [
- {
- rel: 'canonical',
- href: 'https://alexandrie-hub.fr',
- },
- {
- rel: 'manifest',
- href: '/manifest.webmanifest',
- },
- {
- rel: 'icon',
- type: 'image/x-icon',
- href: '/favicon-dark.ico',
- media: '(prefers-color-scheme: dark)',
+ vite: {
+ css: {
+ preprocessorOptions: {
+ scss: {
+ additionalData: "@use '~/styles/abstract/static.scss' as *;",
},
- {
- rel: 'icon',
- type: 'image/x-icon',
- href: '/favicon.ico',
- media: '(prefers-color-scheme: light), (prefers-color-scheme: no-preference)',
+ },
+ },
+ plugins: [
+ createSvgIconsPlugin({
+ iconDirs: [resolve(process.cwd(), 'public/app-icons/')],
+ symbolId: 'icon-[name]',
+ }),
+ ],
+ vue: {
+ template: {
+ compilerOptions: {
+ isCustomElement: tag => {
+ return ['tag'].includes(tag);
+ },
},
- { rel: 'preconnect', href: 'https://api.alexandrie-hub.fr' },
- { rel: 'preconnect', href: 'https://cdn.alexandrie-hub.fr' },
- ],
+ },
},
},
-
- compatibilityDate: '2024-07-19',
});
diff --git a/frontend/package.json b/frontend/package.json
index 4d8d34da..cfc803c9 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -2,6 +2,7 @@
"name": "alexandrie",
"version": "8.6.0",
"devDependencies": {
+ "eslint-plugin-perfectionist": "^5.6.0",
"vite-plugin-svg-icons": "^2.0.1"
},
"scripts": {
@@ -28,6 +29,7 @@
"@nuxt/devtools": "latest",
"@nuxt/eslint": "1.15.1",
"@nuxtjs/color-mode": "^4.0.0",
+ "@nuxtjs/i18n": "10.2.3",
"@pinia/nuxt": "^0.11.3",
"@types/katex": "^0.16.8",
"@types/markdown-it": "^14.1.2",