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: new document titles auto numbering preference & improved themes

Smaug67393e7a751d7d79
diff --git a/frontend/app/components/Node/Document/ContentCompiled.vue b/frontend/app/components/Node/Document/ContentCompiled.vue
index dadf0f87..2d747685 100644
--- a/frontend/app/components/Node/Document/ContentCompiled.vue
+++ b/frontend/app/components/Node/Document/ContentCompiled.vue
@@ -2,7 +2,7 @@
<!-- eslint-disable vue/no-v-html -->
<article
ref="rootElement"
- :class="['markdown-preview', `${theme}-theme`, `document-content`]"
+ :class="['markdown-preview', `${theme}-theme`, `document-content`, { numbering: documentTitlesNumbering }]"
:style="{ fontSize: documentFontSize + 'px', fontFamily: documentFontFamily, lineHeight: documentLineHeight }"
@change="handleCheckboxChange"
@click="handleInternalLinkClick"
@@ -30,6 +30,7 @@ const theme = computed(() => {
const documentFontSize = preferences.get('documentFontSize');
const documentFontFamily = preferences.get('documentFontFamily');
const documentLineHeight = preferences.get('documentLineHeight');
+const documentTitlesNumbering = preferences.get('documentTitlesNumbering');
const rootElement = ref<HTMLElement>();
diff --git a/frontend/app/pages/dashboard/settings/_views/documents.vue b/frontend/app/pages/dashboard/settings/_views/documents.vue
index d0413008..0ced1486 100644
--- a/frontend/app/pages/dashboard/settings/_views/documents.vue
+++ b/frontend/app/pages/dashboard/settings/_views/documents.vue
@@ -40,6 +40,12 @@ const options = computed<Array<{ label: string; options: InterfaceOption[] }>>((
key: 'theme',
choices: DOCUMENT_THEMES,
},
+ {
+ label: t('settings.documents.documentTitlesNumbering'),
+ description: t('settings.documents.documentTitlesNumberingDesc'),
+ type: 'toggle',
+ key: 'documentTitlesNumbering',
+ },
{
label: t('settings.documents.documentShowAttachments'),
description: t('settings.documents.documentShowAttachmentsDesc'),
diff --git a/frontend/app/stores/preferences/constants.ts b/frontend/app/stores/preferences/constants.ts
index fe71fc6d..3a34ea8c 100644
--- a/frontend/app/stores/preferences/constants.ts
+++ b/frontend/app/stores/preferences/constants.ts
@@ -22,6 +22,7 @@ export const DEFAULT_PREFERENCES = {
documentFontSize: 16 as number,
documentFontFamily: 'Poppins' as string,
documentLineHeight: 1.5 as number,
+ documentTitlesNumbering: false as boolean,
documentShowAttachments: false as boolean,
documentDefaultThumbnail: false as boolean,
documentUseParentThumbnail: false as boolean,
@@ -106,6 +107,7 @@ export const EDITOR_KEYS: PreferenceKey[] = [
'documentFontSize',
'documentFontFamily',
'documentLineHeight',
+ 'documentTitlesNumbering',
'documentShowAttachments',
'documentDefaultThumbnail',
'documentUseParentThumbnail',
diff --git a/frontend/app/styles/features/document-theme.scss b/frontend/app/styles/features/document-theme.scss
index 1549b469..932e1a3a 100644
--- a/frontend/app/styles/features/document-theme.scss
+++ b/frontend/app/styles/features/document-theme.scss
@@ -276,6 +276,20 @@
display: none;
}
+ counter-reset: section subsection;
+
+ &.numbering {
+ h2::before {
+ content: counter(section, upper-roman) ". ";
+ counter-increment: section;
+ }
+
+ h3::before {
+ content: counter(subsection, lower-alpha) ". ";
+ counter-increment: subsection;
+ }
+ }
+
h1 {
font-size: 2rem;
}
@@ -283,6 +297,7 @@
h2 {
margin-top: 2rem;
font-size: 1.5rem;
+ counter-reset: subsection;
}
h3 {
@@ -438,218 +453,273 @@
// a comfortable reading measure, numbered headings, tighter leading than Modern,
// and figure/table captions that read as part of the document rather than UI.
.academic-theme {
- max-width: 100%;
- padding: 0 0.5rem;
- font-family: 'Libertinus Serif', 'LMRoman10', Georgia, serif !important;
- font-size: 17px;
- line-height: 1.65;
+ margin: auto;
+ padding: 0 3rem;
+ font-family: "Libertinus Serif", Georgia, serif !important;
+ font-size: 18px;
+ line-height: 1.85;
color: var(--text-body);
text-align: justify;
-
- // Automatic section numbering, the way a paper is structured. Counters are
- // reset on the container so every document numbers from 1.
- counter-reset: section;
+ counter-reset: section subsection;
hyphens: auto;
.header-anchor {
display: none;
}
+ @media print {
+ margin: 0;
+ padding: 0;
+ }
+
+ &.numbering {
+ h2::before {
+ font-size: 1.8rem;
+ font-weight: 700;
+ color: var(--text-primary);
+ letter-spacing: normal;
+ content: counter(section, decimal-leading-zero);
+ counter-increment: section;
+ }
+
+ h3::before {
+ color: var(--text-muted);
+ content: counter(section) "." counter(subsection) " ";
+ counter-increment: subsection;
+ }
+ }
+
+ /* ---------- Title ---------- */
+
h1 {
- margin: 0 0 1.5rem;
- font-size: 1.9em;
+ margin: 0 0 4rem;
+ padding-bottom: 1.5rem;
+ border-bottom: 2px solid var(--border);
+ font-size: 3rem;
font-weight: 700;
- line-height: 1.25;
+ line-height: 1.15;
text-align: center;
+ letter-spacing: -.03em;
}
h2 {
- margin: 2rem 0 0.75rem;
- font-size: 1.35em;
+ display: flex;
+ align-items: center;
+ gap: 1rem;
+ margin: 2rem 0;
+ font-size: .95rem;
font-weight: 700;
+ text-transform: uppercase;
+ letter-spacing: .25em;
counter-reset: subsection;
- &::before {
- content: counter(section) '. ';
- counter-increment: section;
- }
+
}
h3 {
- margin: 1.25rem 0 0.5rem;
- font-size: 1.12em;
+ margin: 2.5rem 0 1rem;
+ font-size: 1.3rem;
font-weight: 600;
-
- &::before {
- content: counter(section) '.' counter(subsection) '. ';
- counter-increment: subsection;
- }
}
h4 {
- margin: 1rem 0 0.5rem;
- font-size: 1em;
+ margin: 1.5rem 0 .75rem;
+ font-size: 1.05rem;
font-weight: 600;
font-style: italic;
}
+ /* ---------- Paragraphs ---------- */
+
p {
- width: 100%;
margin: 0;
- padding: 0.35em 0;
+ padding: 0;
}
- // Indent successive paragraphs instead of spacing them out — the typographic
- // convention in printed papers.
- p + p {
- text-indent: 1.5em;
+ p+p {
+ margin-top: .25em;
+ text-indent: 2em;
}
- a {
- color: var(--primary);
- text-decoration: none;
- &:hover {
- text-decoration: underline;
- }
- }
- code,
- pre {
- font-family: $font-mono;
- font-size: 0.88em;
- color: var(--text-body);
+ /* ---------- Links ---------- */
+
+ a {
+ color: inherit;
+ text-decoration-color: var(--primary);
+ text-decoration-thickness: 2px;
+ text-underline-offset: .18em;
}
- pre {
- padding: 0.75rem 1rem;
- border: 1px solid var(--border-color);
- border-radius: var(--radius-sm);
- text-align: left;
- hyphens: none;
- overflow-x: auto;
+ /* ---------- Lists ---------- */
+
+ ul,
+ ol {
+ margin: 1.5rem 0;
+ padding-left: 2rem;
+
+ li {
+ margin: .45rem 0;
+ }
}
+ /* ---------- Quotes ---------- */
+
blockquote {
- margin: 1.25rem 2rem;
- padding: 0;
+ position: relative;
+ margin: 3rem 2rem;
+ padding: 1rem 2rem;
border: none;
- font-size: 0.95em;
+ font-size: 1.05rem;
font-style: italic;
- color: var(--text-muted);
+
+ &::before {
+ position: absolute;
+ top: -.15em;
+ left: -.25em;
+ font-size: 5rem;
+ line-height: 1;
+ opacity: .15;
+ content: "“";
+ }
}
- ul,
- ol {
- margin: 0.5em 0;
- padding-left: 1.75rem;
- text-align: left;
+ /* ---------- Code ---------- */
- li {
- margin: 0.25em 0;
- }
+ code {
+ font-family: $font-mono;
+ font-size: .9em;
}
+ pre {
+ margin: 2rem 0;
+ padding: 1.25rem;
+ border-left: 3px solid var(--text-primary);
+ font-size: .9rem;
+ background: transparent;
+ overflow-x: auto;
+ }
+
+ /* ---------- Images ---------- */
+
img {
display: block;
max-width: 100%;
- margin: 1.5rem auto 0.5rem;
+ margin: 3rem auto 1rem;
+ border: 1px solid var(--border);
}
- // Figure and table captions: small, centred, numbered.
figure {
- margin: 1.5rem 0;
+ margin: 3rem 0;
+ }
- figcaption {
- margin-top: 0.5rem;
- font-size: 0.85em;
- color: var(--text-muted);
- text-align: center;
+ figcaption {
+ margin-top: .75rem;
+ font-size: .85rem;
+ font-style: italic;
+ color: var(--text-muted);
+ text-align: center;
+
+ &::before {
+ font-weight: bold;
+ content: "Figure — ";
}
}
+ /* ---------- Tables ---------- */
+
table {
width: 100%;
- margin: 1.5em 0;
- font-size: 0.92em;
- text-align: left;
+ margin: 3rem 0;
+ font-size: .95rem;
border-collapse: collapse;
+ }
- // Booktabs-style rules: horizontal only, no vertical lines.
- th,
- td {
- padding: 0.45em 0.6em;
- border: none;
- border-bottom: 1px solid var(--border-color);
- }
+ th,
+ td {
+ padding: .65rem .8rem;
+ border: none;
+ }
- thead th {
- border-top: 2px solid var(--text-body);
- border-bottom: 1px solid var(--text-body);
- font-weight: 700;
- }
+ thead tr {
+ border-top: 2px solid currentcolor;
+ border-bottom: 1px solid currentcolor;
+ }
- tbody tr:last-child td {
- border-bottom: 2px solid var(--text-body);
- }
+ tbody tr:last-child {
+ border-bottom: 2px solid currentcolor;
+ }
+
+ tbody tr:nth-child(even) {
+ background: rgb(127 127 127 / 4%);
}
+ /* ---------- Horizontal rule ---------- */
+
+ hr {
+ width: 30%;
+ margin: 4rem auto;
+ border: none;
+ border-top: 1px solid var(--border);
+ }
+
+ /* ---------- Custom blocks ---------- */
+
.custom-block {
- margin: 1.25rem 0;
- padding: 0.75rem 1rem;
- border-left: 3px solid var(--grey);
- border-radius: 0;
- font-size: 0.95em;
- text-align: left;
- background-color: var(--surface-raised);
+ margin: 2.5rem 0;
+ padding: 1.5rem 2rem;
+ border: 1px solid var(--border);
+ border-left: 5px solid var(--text-primary);
+ background: transparent;
+ box-shadow: none;
+
+ .custom-block-title {
+ margin-bottom: 1rem;
+ font-size: .9rem;
+ font-weight: 700;
+ text-transform: uppercase;
+ letter-spacing: .2em;
+ }
+
+ .custom-block-content p {
+ text-indent: 0;
+ }
- &.info,
&.blue {
border-left-color: var(--blue);
}
- &.success,
&.green {
border-left-color: var(--green);
}
- &.warning,
&.yellow {
border-left-color: var(--yellow);
}
- &.danger,
&.red {
border-left-color: var(--red);
}
- &.teal {
- border-left-color: var(--teal);
- }
-
&.purple {
border-left-color: var(--purple);
}
- .custom-block-title {
- margin-bottom: 0.35rem;
- font-weight: 700;
- font-variant: small-caps;
- letter-spacing: 0.02em;
- }
-
- .custom-block-content p {
- margin: 0.35em 0;
- text-indent: 0;
+ &.teal {
+ border-left-color: var(--teal);
}
}
+ /* ---------- KaTeX ---------- */
+
.katex {
- font-size: 18px;
+ display: flex;
+ justify-content: center;
+ font-size: 1.15em;
.text {
- font-family: 'Libertinus Math', serif !important;
- font-size: 14px;
+ font-family: "Libertinus Math", serif !important;
}
}
}
@@ -668,8 +738,22 @@
display: none;
}
- // M3 type scale: display/headline sizes tighten tracking, body text loosens
- // it. That contrast is what makes the hierarchy read as Material.
+ counter-reset: section subsection;
+
+ &.numbering {
+ h2::before {
+ color: var(--text-primary);
+ content: counter(section, upper-roman) ". ";
+ counter-increment: section;
+ }
+
+ h3::before {
+ color: var(--text-muted);
+ content: counter(subsection, lower-alpha) ". ";
+ counter-increment: subsection;
+ }
+ }
+
h1 {
margin: 0 0 1.5rem;
font-size: 2em;
@@ -684,6 +768,7 @@
font-weight: 400;
line-height: 1.3;
letter-spacing: 0;
+ counter-reset: subsection;
}
h3 {
@@ -857,4 +942,4 @@
.katex {
font-size: 1.05em;
}
-}
+}
\ No newline at end of file
diff --git a/frontend/i18n/locales/de/settings.ts b/frontend/i18n/locales/de/settings.ts
index 53432ee6..61542edc 100644
--- a/frontend/i18n/locales/de/settings.ts
+++ b/frontend/i18n/locales/de/settings.ts
@@ -113,6 +113,8 @@ export default {
defaultLineHeight: 'Standardzeilenhöhe',
defaultLineHeightDesc: 'Lege die Standardzeilenhöhe für alle deine Dokumente fest.',
documentSize: 'Dokumentgröße',
+ documentTitlesNumbering: 'Dokumenttitel nummerieren',
+ documentTitlesNumberingDesc: 'Aktiviere die automatische Nummerierung von Dokumenttiteln (H1, H2, H3...).',
documentShowAttachments: 'Anhänge anzeigen',
documentShowAttachmentsDesc: 'Zeige angehängte Ressourcen (Bilder, PDFs usw.) am Ende des Dokuments an.',
documentDefaultThumbnail: 'Standardminiaturansicht',
diff --git a/frontend/i18n/locales/en/settings.ts b/frontend/i18n/locales/en/settings.ts
index 9c69274b..d06af55d 100644
--- a/frontend/i18n/locales/en/settings.ts
+++ b/frontend/i18n/locales/en/settings.ts
@@ -112,6 +112,8 @@ export default {
defaultLineHeight: 'Default line height',
defaultLineHeightDesc: 'Set the default line height for all your documents.',
documentSize: 'Document size',
+ documentTitlesNumbering: 'Number document titles',
+ documentTitlesNumberingDesc: 'Enable automatic numbering of document titles (H1, H2, H3...).',
documentShowAttachments: 'Show attachments',
documentShowAttachmentsDesc: 'Show attached resources (images, PDFs, etc.) at the end of the document.',
documentDefaultThumbnail: 'Default thumbnail',
diff --git a/frontend/i18n/locales/fr/settings.ts b/frontend/i18n/locales/fr/settings.ts
index 8a5178c8..ada24e50 100644
--- a/frontend/i18n/locales/fr/settings.ts
+++ b/frontend/i18n/locales/fr/settings.ts
@@ -113,6 +113,8 @@ export default {
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',
+ documentTitlesNumbering: 'Numérotation des titres de documents',
+ documentTitlesNumberingDesc: 'Activer la numérotation automatique des titres de documents (H1, H2, H3...).',
documentShowAttachments: 'Afficher les pièces jointes',
documentShowAttachmentsDesc: 'Afficher les ressources jointes (images, PDFs, etc.) à la fin du document.',
documentDefaultThumbnail: 'Miniature par défaut',
diff --git a/frontend/i18n/locales/it/settings.ts b/frontend/i18n/locales/it/settings.ts
index 44b9b2a0..dfb1eab7 100644
--- a/frontend/i18n/locales/it/settings.ts
+++ b/frontend/i18n/locales/it/settings.ts
@@ -3,30 +3,32 @@ export default {
changelog: 'Changelog',
client: 'Client',
contact: 'Se hai domande, suggerimenti o se hai trovato un bug, non esitare a contattarci! Puoi aprire una segnalazione sulla',
- description: 'Alexandrie è uno strumento per la gestione della conoscenza personale progettato per aiutarti a organizzare e recuperare le note in modo efficiente.',
- features: 'Fornisce funzionalità come l\'organizzazione dei documenti, i tag e la ricerca avanzata.',
+ description:
+ 'Alexandrie è uno strumento per la gestione della conoscenza personale progettato per aiutarti a organizzare e recuperare le note in modo efficiente.',
+ features: "Fornisce funzionalità come l'organizzazione dei documenti, i tag e la ricerca avanzata.",
githubRepo: 'Repository GitHub',
pwa: 'PWA',
seeFullChangelog: 'Guarda il changelog completo su',
- subtitle: 'Informazioni sull\'app.',
+ subtitle: "Informazioni sull'app.",
title: 'Informazioni su Alexandrie',
version: 'Versione di Alexandrie',
website: 'Sito web',
},
advanced: {
- resetLocalStorage: 'Ripristina l\'archiviazione locale',
- resetLocalStorageBtn: 'Svuota l\'archiviazione locale',
- resetLocalStorageDesc: 'Questo ripristinerà tutti i dati della tua archiviazione locale. Questa azione non può essere annullata. Verranno ripristinate anche le preferenze.',
+ resetLocalStorage: "Ripristina l'archiviazione locale",
+ resetLocalStorageBtn: "Svuota l'archiviazione locale",
+ resetLocalStorageDesc:
+ 'Questo ripristinerà tutti i dati della tua archiviazione locale. Questa azione non può essere annullata. Verranno ripristinate anche le preferenze.',
resetPreferences: 'Ripristina tutte le preferenze',
resetPreferencesBtn: 'Ripristina preferenze',
resetPreferencesDesc: 'Questo ripristinerà tutte le preferenze ai loro valori predefiniti. Questa azione non può essere annullata.',
- subtitle: 'Gestisci le impostazioni avanzate dell\'applicazione.',
+ subtitle: "Gestisci le impostazioni avanzate dell'applicazione.",
title: 'Avanzate',
},
appearance: {
- chooseAccentColor: 'Scegli il colore d\'accento',
+ chooseAccentColor: "Scegli il colore d'accento",
displayUncategorizedResources: 'Mostra risorse senza categoria',
displayUncategorizedResourcesDesc: 'Mostra le risorse senza categoria (caricamenti CDN) nella parte superiore della barra laterale.',
displayTabs: 'Mostra schede',
@@ -48,7 +50,7 @@ export default {
normalizeFileIcons: 'Normalizza le icone dei file',
normalizeFileIconsDesc: 'Mostra le cartelle genitore con la stessa icona dei file normali (non verde)',
setLanguage: 'Imposta lingua',
- setLanguageDesc: 'Scegli la lingua dell\'interfaccia.',
+ setLanguageDesc: "Scegli la lingua dell'interfaccia.",
showItemsInSidebar: 'Elementi da mostrare nella barra laterale',
sidebar: 'Barra laterale',
sidebarItems: {
@@ -110,17 +112,19 @@ export default {
defaultFontSize: 'Dimensione carattere predefinita',
defaultFontSizeDesc: 'Imposta la dimensione del carattere predefinita per tutti i tuoi documenti.',
defaultLineHeight: 'Altezza riga predefinita',
- defaultLineHeightDesc: 'Imposta l\'altezza della riga predefinita per tutti i tuoi documenti.',
+ defaultLineHeightDesc: "Imposta l'altezza della riga predefinita per tutti i tuoi documenti.",
documentSize: 'Dimensione del documento',
+ documentTitlesNumbering: 'Numerazione dei titoli dei documenti',
+ documentTitlesNumberingDesc: 'Abilita la numerazione automatica dei titoli dei documenti (H1, H2, H3...).',
documentShowAttachments: 'Mostra allegati',
documentShowAttachmentsDesc: 'Mostra le risorse allegate (immagini, PDF, ecc.) alla fine del documento.',
documentDefaultThumbnail: 'Miniatura predefinita',
- documentDefaultThumbnailDesc: 'Mostra una miniatura predefinita per i documenti che non ne hanno una, utilizzando l\'icona standard del documento.',
+ documentDefaultThumbnailDesc: "Mostra una miniatura predefinita per i documenti che non ne hanno una, utilizzando l'icona standard del documento.",
documentUseParentThumbnail: 'Usa miniatura genitore',
documentUseParentThumbnailDesc:
'Mostra la miniatura del genitore per i documenti che non hanno una propria miniatura. Se nemmeno il genitore ha una miniatura, mostra quella predefinita.',
enablePrintMode: 'Abilita modalità di stampa',
- enablePrintModeDesc: 'Semplifica l\'intestazione del documento durante la stampa (rimuove miniatura, tag e descrizione)',
+ enablePrintModeDesc: "Semplifica l'intestazione del documento durante la stampa (rimuove miniatura, tag e descrizione)",
hideTOC: 'Nascondi indice dei contenuti',
section: 'Documenti',
subtitle: 'Gestisci le impostazioni dei tuoi documenti e le preferenze di modifica.',
@@ -131,18 +135,18 @@ export default {
editor: {
displayStatsBar: 'Mostra barra delle statistiche',
- displayStatsBarDesc: 'Mostra una piccola barra delle statistiche nella parte superiore dell\'editor con il conteggio di parole, caratteri e righe.',
+ displayStatsBarDesc: "Mostra una piccola barra delle statistiche nella parte superiore dell'editor con il conteggio di parole, caratteri e righe.",
enableAutoSave: 'Abilita salvataggio automatico',
enableSnippets: 'Abilita snippet',
- enableSnippetsDesc: 'Abilita o disabilita la funzionalità degli snippet dell\'editor.',
+ enableSnippetsDesc: "Abilita o disabilita la funzionalità degli snippet dell'editor.",
enableSpellCheck: 'Abilita controllo ortografico',
- enableSpellCheckDesc: 'Abilita il controllo ortografico del browser nell\'editor. Le modifiche potrebbero richiedere il ricaricamento della pagina.',
- fontFamily: 'Carattere dell\'editor',
- fontSize: 'Dimensione carattere dell\'editor',
+ enableSpellCheckDesc: "Abilita il controllo ortografico del browser nell'editor. Le modifiche potrebbero richiedere il ricaricamento della pagina.",
+ fontFamily: "Carattere dell'editor",
+ fontSize: "Dimensione carattere dell'editor",
section: 'Editor',
simplifiedMobileView: 'Vista mobile semplificata',
- simplifiedMobileViewDesc: 'Abilita una vista semplificata dell\'editor su dispositivi mobili per una migliore usabilità.',
- subtitle: 'Gestisci le tue preferenze dell\'editor.',
+ simplifiedMobileViewDesc: "Abilita una vista semplificata dell'editor su dispositivi mobili per una migliore usabilità.",
+ subtitle: "Gestisci le tue preferenze dell'editor.",
title: 'Preferenze editor',
},
@@ -176,7 +180,7 @@ export default {
developerMode: 'Modalità sviluppatore',
developerModeDesc: 'Abilita funzionalità di debug extra come "Copia ID" nei menu contestuali.',
otherSection: 'Altro',
- subtitle: 'Gestisci altre impostazioni generali dell\'applicazione.',
+ subtitle: "Gestisci altre impostazioni generali dell'applicazione.",
title: 'Altro',
uploads: 'Caricamenti',
},
@@ -207,7 +211,7 @@ export default {
lastname: 'Cognome',
lastUpdate: 'Ultimo aggiornamento',
notifications: {
- error: 'Errore durante l\'aggiornamento',
+ error: "Errore durante l'aggiornamento",
updated: 'Profilo aggiornato',
},
subtitle: 'Gestisci le impostazioni e le preferenze del tuo profilo.',
@@ -219,7 +223,7 @@ export default {
activeSessions: 'Sessioni attive',
activeSessionsDesc: 'Ecco i dispositivi attualmente connessi al tuo account.',
backupHint: 'Esporta i tuoi dati prima di eliminare il tuo account.',
- changePassword: 'Cambia password',
+ changePassword: 'Cambia password',
confirmPassword: 'Conferma password',
connected: 'Connesso',
connectedAccounts: 'Account collegati',
@@ -248,18 +252,19 @@ export default {
notConnected: 'Non connesso',
notifications: {
accountUnlinked: 'Account {provider} scollegato',
- linkError: 'Impossibile avviare il collegamento dell\'account',
+ linkError: "Impossibile avviare il collegamento dell'account",
passwordChanged: 'Password modificata con successo',
passwordError: 'Errore durante il salvataggio della password',
- unlinkError: 'Impossibile scollegare l\'account',
+ unlinkError: "Impossibile scollegare l'account",
},
password: 'Password',
passwordNotMatch: 'Le password non corrispondono!',
- subtitle: 'Gestisci le tue impostazioni di sicurezza e monitora l\'attività dell\'account.',
+ subtitle: "Gestisci le tue impostazioni di sicurezza e monitora l'attività dell'account.",
title: 'Sicurezza',
unlink: 'Scollega',
unrecognizedSession: 'Sessione non riconosciuta?',
- unrecognizedSessionDesc: 'Se vedi una sessione che non riconosci, cambia immediatamente la tua password e clicca su "Disconnetti da tutti i dispositivi" qui sotto.',
+ unrecognizedSessionDesc:
+ 'Se vedi una sessione che non riconosci, cambia immediatamente la tua password e clicca su "Disconnetti da tutti i dispositivi" qui sotto.',
},
shortcuts: {
@@ -285,16 +290,16 @@ export default {
prevDocument: 'Documento precedente',
prevResult: 'Risultato precedente',
printPage: 'Stampa pagina',
- redo: 'Ripeti l\'ultima azione',
+ redo: "Ripeti l'ultima azione",
reloadPage: 'Ricarica pagina',
saveDocument: 'Salva documento',
savePage: 'Salva pagina corrente',
togglePreview: 'Attiva/disattiva anteprima',
underline: 'Testo sottolineato',
- undo: 'Annulla l\'ultima azione',
+ undo: "Annulla l'ultima azione",
},
documentPage: 'Pagina del documento',
- editorPage: 'Pagina dell\'editor',
+ editorPage: "Pagina dell'editor",
general: 'Generale',
searchPage: 'Pagina di ricerca',
subtitle: 'Ecco le scorciatoie per le diverse pagine della dashboard.',
@@ -328,20 +333,20 @@ export default {
},
restore: 'Ripristina',
shortcut: 'Scorciatoia',
- subtitle: 'Gestisci le scorciatoie markdown. Usale nell\'editor per scrivere.',
+ subtitle: "Gestisci le scorciatoie markdown. Usale nell'editor per scrivere.",
textDictionary: 'Dizionario di testo',
title: 'Snippet',
},
styles: {
- appStyles: 'Stili dell\'app',
- appStylesDesc: 'CSS applicato globalmente all\'intera applicazione (layout, barra laterale, barra di navigazione, ecc.)',
+ appStyles: "Stili dell'app",
+ appStylesDesc: "CSS applicato globalmente all'intera applicazione (layout, barra laterale, barra di navigazione, ecc.)",
customStyles: 'Stili personalizzati',
documentStyles: 'Stili del documento',
documentStylesDesc: 'CSS applicato al contenuto del documento (anteprime markdown, tipografia, blocchi di codice, ecc.)',
enableInjection: 'Abilita iniezione di stile personalizzato',
- enableInjectionDesc: 'Inietta il tuo CSS per personalizzare i temi dell\'app e dei documenti. Le modifiche si applicano in tempo reale.',
- subtitle: 'Eredita e personalizza gli stili dell\'app e del documento.',
+ enableInjectionDesc: "Inietta il tuo CSS per personalizzare i temi dell'app e dei documenti. Le modifiche si applicano in tempo reale.",
+ subtitle: "Eredita e personalizza gli stili dell'app e del documento.",
title: 'Iniezione di stile',
},
};
diff --git a/frontend/i18n/locales/ko/settings.ts b/frontend/i18n/locales/ko/settings.ts
index 4c1f529e..d57121f0 100644
--- a/frontend/i18n/locales/ko/settings.ts
+++ b/frontend/i18n/locales/ko/settings.ts
@@ -112,13 +112,14 @@ export default {
defaultLineHeight: '기본 줄 간격',
defaultLineHeightDesc: '모든 문서에 사용할 기본 줄 간격을 설정합니다.',
documentSize: '문서 크기',
+ documentTitlesNumbering: '문서 제목 번호 매기기',
+ documentTitlesNumberingDesc: '문서 제목(H1, H2, H3 등)의 자동 번호 매기기를 활성화합니다.',
documentShowAttachments: '첨부 파일 표시',
documentShowAttachmentsDesc: '문서 끝에 첨부된 리소스(이미지, PDF 등)를 표시합니다.',
documentDefaultThumbnail: '기본 썸네일',
documentDefaultThumbnailDesc: '썸네일이 없는 문서에 표준 문서 아이콘을 사용한 기본 썸네일을 표시합니다.',
documentUseParentThumbnail: '상위 썸네일 사용',
- documentUseParentThumbnailDesc:
- '자체 썸네일이 없는 문서에 상위 문서의 썸네일을 표시합니다. 상위 문서에도 썸네일이 없으면 기본 썸네일을 표시합니다.',
+ documentUseParentThumbnailDesc: '자체 썸네일이 없는 문서에 상위 문서의 썸네일을 표시합니다. 상위 문서에도 썸네일이 없으면 기본 썸네일을 표시합니다.',
enablePrintMode: '인쇄 모드 활성화',
enablePrintModeDesc: '인쇄 시 문서 헤더를 단순화합니다 (썸네일, 태그, 설명 제거)',
hideTOC: '목차 숨기기',
diff --git a/frontend/i18n/locales/uk/settings.ts b/frontend/i18n/locales/uk/settings.ts
index b72887df..39b6f971 100644
--- a/frontend/i18n/locales/uk/settings.ts
+++ b/frontend/i18n/locales/uk/settings.ts
@@ -112,6 +112,8 @@ export default {
defaultLineHeight: 'Міжрядковий інтервал за замовчуванням',
defaultLineHeightDesc: 'Встановити міжрядковий інтервал за замовчуванням для всіх документів.',
documentSize: 'Розмір документа',
+ documentTitlesNumbering: 'Нумерація заголовків документів',
+ documentTitlesNumberingDesc: 'Увімкнути автоматичну нумерацію заголовків документів (H1, H2, H3...).',
documentShowAttachments: 'Показувати вкладення',
documentShowAttachmentsDesc: 'Показувати прикріплені ресурси (зображення, PDF тощо) в кінці документа.',
documentDefaultThumbnail: 'Мініатюра за замовчуванням',