From 46ada3c1781364a31c98515bb62f8c16bf6b11c2 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 22 Aug 2026 22:33:03 -0400 Subject: [PATCH 01/85] feat: Advertise markdown representation of shared documents (#13527) Shared links return markdown when the client asks for it, but there was no way to discover this short of guessing the .md suffix. - Vary on Accept so shared caches key the two representations correctly - Send a Link rel="alternate" header, discoverable with a HEAD request - Emit a matching link tag alongside the canonical in the head - Apply the same cache directives to markdown as the HTML response --- server/routes/app.ts | 31 ++++++++++++++++++++++ server/routes/index.test.ts | 53 +++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/server/routes/app.ts b/server/routes/app.ts index 2a9eace684..468ac67ef1 100644 --- a/server/routes/app.ts +++ b/server/routes/app.ts @@ -85,6 +85,7 @@ export const renderApp = async ( shortcutIcon?: string; rootShareId?: string; isShare?: boolean; + markdownUrl?: string; analytics?: Integration[]; allowIndexing?: boolean; } = {} @@ -133,9 +134,14 @@ export const renderApp = async ( `; + const alternateTag = options.markdownUrl + ? `` + : ""; + let headTags = ` + ${alternateTag} ; rel="alternate"; type="text/markdown"` + ); + } + // Ensure no caching is performed ctx.response.set("Cache-Control", "no-cache, must-revalidate"); ctx.response.set("Expires", "-1"); @@ -203,6 +218,9 @@ export const renderShare = async (ctx: Context, next: Next) => { const collectionSlug = ctx.params.collectionSlug; const documentSlug = ctx.params.documentSlug; + // The response depends on the Accept header, caches must key on it. + ctx.vary("Accept"); + // Find the share record if published so that the document title can be returned // in the server-rendered HTML. This allows it to appear in unfurls more reliably. let share, collection, document, team; @@ -250,6 +268,16 @@ export const renderShare = async (ctx: Context, next: Next) => { ctx.status = 404; } + // The markdown representation lives at the same path with a .md suffix, only + // on the routes that accept a format suffix. + const markdownPath = ctx.params.shareId + ? `/s/${ctx.params.shareId}${documentSlug ? `/doc/${documentSlug}` : ""}` + : undefined; + const markdownUrl = + markdownPath && markdownPath === ctx.request.path + ? `${ctx.request.URL.origin}${markdownPath}.md` + : undefined; + // If the client explicitly requests markdown and prefers it over HTML, // or the URL path ends with .md, return the document as markdown. This is // useful for LLMs and API clients. @@ -282,6 +310,8 @@ export const renderShare = async (ctx: Context, next: Next) => { } ctx.type = "text/markdown"; + ctx.response.set("Cache-Control", "no-cache, must-revalidate"); + ctx.response.set("Expires", "-1"); ctx.body = markdown; return; } @@ -341,5 +371,6 @@ export const renderShare = async (ctx: Context, next: Next) => { rootShareId, canonical: canonicalUrl, allowIndexing: share?.allowIndexing, + markdownUrl: document || collection ? markdownUrl : undefined, }); }; diff --git a/server/routes/index.test.ts b/server/routes/index.test.ts index 8ca29c9dee..904d47e0fb 100644 --- a/server/routes/index.test.ts +++ b/server/routes/index.test.ts @@ -109,6 +109,59 @@ describe("/s/:id", () => { expect(body).toContain(`${document.title}`); }); + it("should vary on Accept and advertise the markdown alternate in html", async () => { + const document = await buildDocument(); + const share = await buildShare({ + documentId: document.id, + teamId: document.teamId, + }); + const res = await server.get(`/s/${share.id}`); + const body = await res.text(); + expect(res.status).toEqual(200); + expect(res.headers.get("vary")).toContain("Accept"); + const origin = new URL(res.url).origin; + expect(res.headers.get("link")).toEqual( + `<${origin}/s/${share.id}.md>; rel="alternate"; type="text/markdown"` + ); + expect(body).toContain( + `` + ); + }); + + it("should advertise the markdown alternate for a nested document", async () => { + const document = await buildDocument(); + const share = await buildShare({ + documentId: document.id, + teamId: document.teamId, + }); + const res = await server.get(`/s/${share.id}/doc/${document.urlId}`); + expect(res.status).toEqual(200); + const origin = new URL(res.url).origin; + expect(res.headers.get("link")).toEqual( + `<${origin}/s/${share.id}/doc/${document.urlId}.md>; rel="alternate"; type="text/markdown"` + ); + }); + + it("should not advertise the markdown alternate when share is not found", async () => { + const res = await server.get(`/s/junk`); + expect(res.status).toEqual(404); + expect(res.headers.get("link")).toEqual(null); + }); + + it("should vary on Accept and prevent caching of markdown", async () => { + const document = await buildDocument(); + const share = await buildShare({ + documentId: document.id, + teamId: document.teamId, + }); + const res = await server.get(`/s/${share.id}.md`); + expect(res.status).toEqual(200); + expect(res.headers.get("vary")).toContain("Accept"); + expect(res.headers.get("cache-control")).toEqual( + "no-cache, must-revalidate" + ); + }); + it("should include child documents list in markdown when includeChildDocuments is true", async () => { const parent = await buildDocument(); const child1 = await buildDocument({ From 310463994579ecc313a855780a7d829e663e72e5 Mon Sep 17 00:00:00 2001 From: Translate-O-Tron <75237327+outline-translations@users.noreply.github.com> Date: Sat, 22 Aug 2026 22:35:19 -0400 Subject: [PATCH 02/85] New Crowdin updates (#13322) * fix: New German translations * fix: New Italian translations * fix: New Japanese translations * fix: New Polish translations * fix: New Swedish translations * fix: New Turkish translations * fix: New Ukrainian translations * fix: New Vietnamese translations * fix: New Dutch translations * fix: New Dutch translations * fix: New Thai translations * fix: New Spanish translations * fix: New Catalan translations * fix: New Czech translations * fix: New Danish translations * fix: New German translations * fix: New Hebrew translations * fix: New Hungarian translations * fix: New Italian translations * fix: New Japanese translations * fix: New Korean translations * fix: New Dutch translations * fix: New Polish translations * fix: New Portuguese translations * fix: New Swedish translations * fix: New Turkish translations * fix: New Ukrainian translations * fix: New Chinese Simplified translations * fix: New Chinese Traditional translations * fix: New Vietnamese translations * fix: New Portuguese, Brazilian translations * fix: New Indonesian translations * fix: New Persian translations * fix: New Thai translations * fix: New English, United Kingdom translations * fix: New Norwegian Bokmal translations * fix: New French translations * fix: New Spanish translations * fix: New Czech translations * fix: New Danish translations * fix: New German translations * fix: New Hebrew translations * fix: New Hungarian translations * fix: New Italian translations * fix: New Japanese translations * fix: New Korean translations * fix: New Polish translations * fix: New Portuguese translations * fix: New Swedish translations * fix: New Turkish translations * fix: New Ukrainian translations * fix: New Vietnamese translations * fix: New Portuguese, Brazilian translations * fix: New Indonesian translations * fix: New Persian translations * fix: New Thai translations * fix: New Norwegian Bokmal translations * fix: New Spanish translations * fix: New Catalan translations * fix: New Czech translations * fix: New Danish translations * fix: New German translations * fix: New Hebrew translations * fix: New Hungarian translations * fix: New Italian translations * fix: New Japanese translations * fix: New Korean translations * fix: New Dutch translations * fix: New Polish translations * fix: New Portuguese translations * fix: New Swedish translations * fix: New Turkish translations * fix: New Ukrainian translations * fix: New Chinese Simplified translations * fix: New Chinese Traditional translations * fix: New Vietnamese translations * fix: New Portuguese, Brazilian translations * fix: New Indonesian translations * fix: New Persian translations * fix: New Thai translations * fix: New English, United Kingdom translations * fix: New Norwegian Bokmal translations * fix: New French translations * fix: New Spanish translations * fix: New Catalan translations * fix: New Czech translations * fix: New Danish translations * fix: New German translations * fix: New Hebrew translations * fix: New Hungarian translations * fix: New Italian translations * fix: New Japanese translations * fix: New Korean translations * fix: New Dutch translations * fix: New Polish translations * fix: New Portuguese translations * fix: New Swedish translations * fix: New Turkish translations * fix: New Ukrainian translations * fix: New Chinese Simplified translations * fix: New Chinese Traditional translations * fix: New Vietnamese translations * fix: New Portuguese, Brazilian translations * fix: New Indonesian translations * fix: New Persian translations * fix: New Thai translations * fix: New Norwegian Bokmal translations * fix: New French translations * fix: New Spanish translations * fix: New Catalan translations * fix: New Czech translations * fix: New Danish translations * fix: New German translations * fix: New Hebrew translations * fix: New Hungarian translations * fix: New Italian translations * fix: New Japanese translations * fix: New Korean translations * fix: New Dutch translations * fix: New Polish translations * fix: New Portuguese translations * fix: New Swedish translations * fix: New Turkish translations * fix: New Ukrainian translations * fix: New Chinese Simplified translations * fix: New Chinese Traditional translations * fix: New Vietnamese translations * fix: New Portuguese, Brazilian translations * fix: New Indonesian translations * fix: New Persian translations * fix: New Thai translations * fix: New English, United Kingdom translations * fix: New Norwegian Bokmal translations * fix: New French translations * fix: New Spanish translations * fix: New Catalan translations * fix: New Czech translations * fix: New Danish translations * fix: New German translations * fix: New Hebrew translations * fix: New Hungarian translations * fix: New Italian translations * fix: New Japanese translations * fix: New Korean translations * fix: New Dutch translations * fix: New Polish translations * fix: New Portuguese translations * fix: New Swedish translations * fix: New Turkish translations * fix: New Ukrainian translations * fix: New Chinese Simplified translations * fix: New Chinese Traditional translations * fix: New Vietnamese translations * fix: New Portuguese, Brazilian translations * fix: New Indonesian translations * fix: New Persian translations * fix: New Thai translations * fix: New English, United Kingdom translations * fix: New Norwegian Bokmal translations * fix: New French translations * fix: New Polish translations * fix: New Spanish translations * fix: New Catalan translations * fix: New Czech translations * fix: New Danish translations * fix: New German translations * fix: New Hebrew translations * fix: New Hungarian translations * fix: New Italian translations * fix: New Japanese translations * fix: New Korean translations * fix: New Dutch translations * fix: New Polish translations * fix: New Portuguese translations * fix: New Swedish translations * fix: New Turkish translations * fix: New Ukrainian translations * fix: New Chinese Simplified translations * fix: New Chinese Traditional translations * fix: New Vietnamese translations * fix: New Portuguese, Brazilian translations * fix: New Indonesian translations * fix: New Persian translations * fix: New Thai translations * fix: New English, United Kingdom translations * fix: New Norwegian Bokmal translations * fix: New French translations * fix: New Spanish translations * fix: New Danish translations * fix: New German translations * fix: New Hebrew translations * fix: New Hungarian translations * fix: New Italian translations * fix: New Japanese translations * fix: New Korean translations * fix: New Polish translations * fix: New Portuguese translations * fix: New Swedish translations * fix: New Turkish translations * fix: New Ukrainian translations * fix: New Vietnamese translations * fix: New Portuguese, Brazilian translations * fix: New Thai translations * fix: New Swedish translations * fix: New Portuguese translations * fix: New Ukrainian translations * fix: New Vietnamese translations * fix: New Persian translations * fix: New Spanish translations * fix: New Catalan translations * fix: New Czech translations * fix: New Danish translations * fix: New German translations * fix: New Hebrew translations * fix: New Hungarian translations * fix: New Italian translations * fix: New Japanese translations * fix: New Korean translations * fix: New Dutch translations * fix: New Polish translations * fix: New Portuguese translations * fix: New Swedish translations * fix: New Turkish translations * fix: New Ukrainian translations * fix: New Chinese Simplified translations * fix: New Chinese Traditional translations * fix: New Vietnamese translations * fix: New Portuguese, Brazilian translations * fix: New Indonesian translations * fix: New Persian translations * fix: New Thai translations * fix: New English, United Kingdom translations * fix: New Norwegian Bokmal translations * fix: New French translations * fix: New Spanish translations * fix: New Danish translations * fix: New German translations * fix: New Hebrew translations * fix: New Hungarian translations * fix: New Italian translations * fix: New Japanese translations * fix: New Korean translations * fix: New Polish translations * fix: New Portuguese translations * fix: New Swedish translations * fix: New Turkish translations * fix: New Ukrainian translations * fix: New Vietnamese translations * fix: New Portuguese, Brazilian translations * fix: New Thai translations --- shared/i18n/locales/ca_ES/translation.json | 106 ++- shared/i18n/locales/cs_CZ/translation.json | 106 ++- shared/i18n/locales/da_DK/translation.json | 106 ++- shared/i18n/locales/de_DE/translation.json | 106 ++- shared/i18n/locales/en_GB/translation.json | 106 ++- shared/i18n/locales/es_ES/translation.json | 106 ++- shared/i18n/locales/fa_IR/translation.json | 108 ++- shared/i18n/locales/fr_FR/translation.json | 106 ++- shared/i18n/locales/he_IL/translation.json | 106 ++- shared/i18n/locales/hu_HU/translation.json | 106 ++- shared/i18n/locales/id_ID/translation.json | 106 ++- shared/i18n/locales/it_IT/translation.json | 106 ++- shared/i18n/locales/ja_JP/translation.json | 106 ++- shared/i18n/locales/ko_KR/translation.json | 106 ++- shared/i18n/locales/nb_NO/translation.json | 106 ++- shared/i18n/locales/nl_NL/translation.json | 128 +-- shared/i18n/locales/pl_PL/translation.json | 108 ++- shared/i18n/locales/pt_BR/translation.json | 106 ++- shared/i18n/locales/pt_PT/translation.json | 110 ++- shared/i18n/locales/sv_SE/translation.json | 194 +++-- shared/i18n/locales/th_TH/translation.json | 138 ++-- shared/i18n/locales/tr_TR/translation.json | 866 +++++++++++---------- shared/i18n/locales/uk_UA/translation.json | 108 ++- shared/i18n/locales/vi_VN/translation.json | 110 ++- shared/i18n/locales/zh_CN/translation.json | 106 ++- shared/i18n/locales/zh_TW/translation.json | 106 ++- 26 files changed, 2226 insertions(+), 1446 deletions(-) diff --git a/shared/i18n/locales/ca_ES/translation.json b/shared/i18n/locales/ca_ES/translation.json index f6bcac9d3d..2498cbd1c8 100644 --- a/shared/i18n/locales/ca_ES/translation.json +++ b/shared/i18n/locales/ca_ES/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} documents despublicats", "Subscription inherited from collection": "Subscripció heretada des de la col·lecció", "Share document": "Comparteix el document", - "Download": "Descarrega", - "Download document": "Descarrega el document", + "Markdown": "Markdown", "Download as Markdown": "Descarrega com a Markdown", + "HTML": "HTML", "Download as HTML": "Descarrega com a HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "Baixa com a TextBundle", + "PDF": "PDF", "Download as PDF": "Descarrega com a PDF", "Copy as Markdown": "Copiar com Markdown", "Markdown copied to clipboard": "Markdown copiat al porta-retalls", @@ -103,6 +105,7 @@ "Search in document": "Cerca al document", "Print": "Imprimir", "Print document": "Imprimeix el document", + "Export document": "Exportar document", "Open in desktop app": "Obre en una aplicació d'escriptori", "Present": "Presentar", "Present document": "Presentar document", @@ -138,6 +141,12 @@ "Comments": "Comentaris", "History": "Història", "Insights": "Coneixements", + "Show editing stats": "Mostra les estadístiques d'edició", + "None": "Cap", + "Multi-level decimal": "Decimal multinivell", + "Alphanumeric": "Alfanumèric", + "Harvard": "Harvard", + "Heading numbering": "Numeració d'encapçalaments", "Leave document": "Deixa el document", "You have left the shared document": "Has abandonat el document compartit", "Could not leave document": "No s'ha pogut abandonar el document", @@ -195,11 +204,8 @@ "New Application": "Nova aplicació", "Delete app": "Elimina l'aplicació", "This version of the document was deleted": "Aquesta versió del document s'ha suprimit", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "S'està exportant", - "Markdown": "Markdown", - "Download revision": "Descarrega revisió", + "Export revision": "Exportar revisió", "Dark": "Fosc", "Light": "Clar", "Toggle theme": "Commuta el tema", @@ -212,19 +218,37 @@ "Go to document": "Ves al document", "Revoke link": "Anul·la l'enllaç", "Share link revoked": "S'ha anul·lat l'enllaç compartit", + "{{ count }} share link revoked": "S'ha anul·lat {{ count }} enllaç compartit", + "{{ count }} share link revoked_plural": "S'han anul·lat {{ count }} enllaços compartits", + "Could not revoke {{ count }} share link": "No s'ha pogut anul·lar {{ count }} enllaç compartit", + "Could not revoke {{ count }} share link_plural": "No s'han pogut anul·lar {{ count }} enllaços compartits", "Switch workspace": "Canvia l'espai de treball", "Select a workspace": "Selecciona un espai de treball", "New workspace": "Nou espai de treball", "Create a workspace": "Crea un espai de treball", "Login to workspace": "Inicia sessió a un espai de treball", - "template": "plantilla", + "Delete template": "Suprimeix la plantilla", + "Delete {{ count }} template": "Suprimeix {{ count }} plantilla", + "Delete {{ count }} template_plural": "Suprimeix {{ count }} plantilles", "Template deleted": "S'ha eliminat la plantilla", + "{{ count }} template deleted": "S'ha suprimit {{ count }} plantilla", + "{{ count }} template deleted_plural": "S'han suprimit {{ count }} plantilles", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Esteu segur sobre això? Eliminar la plantilla {{ templateName }} és permanent.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "N'esteu segur? La supressió de {{ count }} plantilla és permanent.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "N'esteu segur? La supressió de {{ count }} plantilles és permanent.", + "A template must have content": "Una plantilla ha de tenir contingut", + "Template published": "S'ha publicat la plantilla", + "{{ count }} template published": "S'ha publicat {{ count }} plantilla", + "{{ count }} template published_plural": "S'han publicat {{ count }} plantilles", + "Could not publish {{ count }} template": "No s'ha pogut publicar {{ count }} plantilla", + "Could not publish {{ count }} template_plural": "No s'han pogut publicar {{ count }} plantilles", "Move to workspace": "Mou a l'espai de treball", "Template moved": "S'ha mogut la plantilla", "Couldn't move the template, try again?": "No s'ha pogut moure la plantilla, provar de nou?", "Move to collection": "Mou a la col·lecció", "Move template": "Mou la plantilla", + "{{ count }} template duplicated": "S'ha duplicat {{ count }} plantilla", + "{{ count }} template duplicated_plural": "S'han duplicat {{ count }} plantilles", "Print template": "Plantilla d'impressió", "Invite people": "Convida a persones", "Invite to workspace": "Convida a l'espai de treball", @@ -267,6 +291,7 @@ "People": "Persones", "Share": "Comparteix", "Workspace": "Espai de treball", + "Recent searches": "Cerques recents", "currently editing": "s'està editant", "currently viewing": "s'està visualitzant", "previously edited": "s'ha editat anteriorment", @@ -389,13 +414,8 @@ "our engineers have been notified": "els nostres enginyers han estat notificats", "Clear cache + reload": "Neteja la memòria cau + recàrrega", "Show detail": "Mostra el detall", - "Export started": "Exportació iniciada", - "A link to your file will be sent through email soon": "Aviat s'enviarà un enllaç al teu correu electrònic", - "Preparing your download": "Preparant la teva descàrrega", - "Include child documents": "Inclou documents fills", - "When selected, exporting the document will take extra time.": "Si se selecciona, l'exportació del document trigarà més temps.", - "You will receive an email when it's complete.": "Rebreu un correu electrònic quan estigui complet.", "Exporting the collection may take some time.": "L'exportació de la col·lecció pot trigar una estona.", + "You will receive an email when it's complete.": "Rebreu un correu electrònic quan estigui complet.", "Include attachments": "Inclou els adjunts", "Including uploaded images and files in the exported data": "Incloent imatges i fitxers penjats a les dades exportades", "Include private collections": "Inclou col·leccions privades", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "Visualitza, navega o descarrega imatges en el document", "Zoom in": "Amplia", "Zoom out": "Redueix", + "Download": "Descarrega", "Edit diagram": "Edita el diagrama", "Close": "Tanca", "Previous": "Anterior", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}h {{ minutes }}m llegits", "{{ hours }}h read": "{{ hours }}h llegides", "{{ minutes }}m read": "{{ minutes }}m llegits", + "Archived": "Arxivats", "All members": "Tots els membres", "Everyone in the workspace": "Tothom a l'espai de treball", "{{ count }} member": "{{ count }} membre", @@ -529,11 +551,12 @@ "Switch to dark": "Canvia al mode fosc", "Switch to light": "Canvia al mode clar", "Subscribe to updates": "Subscriu-te a les actualitzacions", + "Display settings": "Configuració de pantalla", + "Edit {{noun}}": "Editar {{noun}}", "Logo": "Logo", "Add": "Afegeix", "Add or invite": "Afegeix o convida", "Sharing settings updated": "Les preferències d'ús compartit s'han actualitzat", - "Display settings": "Configuració de pantalla", "Customize how the published document is displayed": "Personalitza com es mostra el document publicat", "Image options": "Opcions de la imatge", "Upload": "Penjar", @@ -589,16 +612,16 @@ "New nested document": "Nou document imbricat", "No collections": "Cap col·lecció", "Hide": "Amaga", + "Starred": "Destacats", + "Shared with me": "Compartit amb mi", "Import files": "Importar fitxers", "Recent": "Recent", "Go back": "Torna enrere", "Go forward": "Anar endavant", "Could not load shared documents": "No s'han pogut carregar els documents compartits", - "Shared with me": "Compartit amb mi", "Show more": "Mostra'n més", "Link options": "Opcions de l'enllaç", "Could not load starred documents": "No s'han pogut carregar els documents destacats", - "Starred": "Destacats", "Up to date": "Actualitzat", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} versió enrere", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} versions enrere", @@ -615,6 +638,8 @@ "Star document": "Destaca el document", "Select a color": "Seleccioneu un color", "Select all": "Seleccioneu-ho tot", + "Columns": "Columnes", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "No s'han pogut desar els canvis.\nSegur que voleu sortir?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Ressalta algun text i utilitza el control <1> per afegir camps que es poden omplir en crear documents nous", "You’re editing a template": "Esteu editant una plantilla", "Template created, go ahead and customize it": "Plantilla creada, procedeix a personalitzada", @@ -675,8 +700,6 @@ "Paste a link": "Enganxa un enllaç", "Delete embed": "Elimina l'incrustació", "Delete image": "Elimina la imatge", - "Create a new doc": "Crea un document", - "Create a nested doc": "Crea un document niat", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} no serà notificat, ja que no te accés a aquest document", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Es notificaran els membres de \"{{ groupName }}\" que tinguin accés a aquest document", "Keep as link": "Manté com un enllaç", @@ -726,7 +749,6 @@ "Italic": "Cursiva", "Strikethrough": "Ratllat", "Background color": "Color de fons", - "None": "Cap", "Highlight": "Ressalta", "Code": "Codi", "Heading": "Capçalera", @@ -743,6 +765,8 @@ "Full width": "Amplada completa", "Download image": "Descarrega la imatge", "Edit image URL": "Edita l'URL de la imatge", + "Create a new doc": "Crea un document", + "Create a nested doc": "Crea un document niat", "Default width": "Amplada predeterminada", "Distribute columns": "Distribueix les columnes", "Export as CSV": "Exporta com a CSV", @@ -893,14 +917,23 @@ "only you": "només tu", "person": "persona", "people": "persones", + "{{ number }} words selected": "{{ number }} paraula seleccionada", + "{{ number }} words selected_plural": "{{ number }} paraules seleccionades", + "{{ number }} characters selected": "{{ number }} caràcter seleccionat", + "{{ number }} characters selected_plural": "{{ number }} caràcters seleccionats", + "{{ number }} words": "{{ number }} paraula", + "{{ number }} words_plural": "{{ number }} paraules", + "{{ number }} characters": "{{ number }} caràcter", + "{{ number }} characters_plural": "{{ number }} caràcters", + "{{ number }} paragraphs": "{{ number }} paràgraf", + "{{ number }} paragraphs_plural": "{{ number }} paràgrafs", + "{{ number }} minute read": "{{ number }} minut de lectura", "Document title": "Títol del document", "Last updated": "Darrera actualització", "Type '/' to insert, or start writing…": "Escriu '/' per inserir, o comença a escriure…", "Hide contents": "Amaga els continguts", "Show contents": "Mostra els continguts", "available when headings are added": "disponible quan s'afegeixin encapçalaments", - "Edit {{noun}}": "Editar {{noun}}", - "Archived": "Arxivats", "Save draft": "Desa l'esborrany", "Restore version": "Restaurar versió", "{{userName}} archived": "{{userName}} arxivat", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} ha publicat", "{{userName}} unpublished": "{{userName}} ha despublicat", "{{userName}} moved": "{{userName}} ha mogut", - "via {{ authType }}": "mitjançant {{ authType }}", "Previous version": "Versió anterior", "Highlight changes": "Ressalta els canvis", "Compare to": "Compara amb", @@ -920,23 +952,12 @@ "Revision deleted": "S'ha eliminat la revisió", "Current version": "Versió actual", "{{userName}} edited": "{{userName}} ha editat", + "via {{ authType }}": "mitjançant {{ authType }}", "{{count}} people": "{{count}} persona", "{{count}} people_plural": "{{count}} persones", "Source": "Origen", "Created": "Creat", "Imported from {{ source }}": "Importat des de {{ source }}", - "Stats": "Estadístiques", - "{{ number }} minute read": "{{ number }} minut de lectura", - "{{ number }} words": "{{ number }} paraula", - "{{ number }} words_plural": "{{ number }} paraules", - "{{ number }} characters": "{{ number }} caràcter", - "{{ number }} characters_plural": "{{ number }} caràcters", - "{{ number }} emoji": "{{ number }} emoticones", - "No text selected": "No s'ha seleccionat cap text", - "{{ number }} words selected": "{{ number }} paraula seleccionada", - "{{ number }} words selected_plural": "{{ number }} paraules seleccionades", - "{{ number }} characters selected": "{{ number }} caràcter seleccionat", - "{{ number }} characters selected_plural": "{{ number }} caràcters seleccionats", "Contributors": "Contribuïdors", "Creator": "Creador", "Last edited": "Darrera edició", @@ -986,11 +1007,11 @@ "Warning Sign": "Senyal d'advertència", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "Un administrador de l'espai de treball ({{ suspendedContactEmail }}) ha suspès el vostre compte. Per reactivar el compte, contacteu-hi directament.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "S'ha produït un error desconegut en carregar la pàgina. Torneu-ho a provar o contacteu amb el suport tècnic si el problema persisteix.", + "Documents you’ve recently viewed will be here for easy access": "Els documents que hagis vist recentment estaran aquí per a un fàcil accés", "Created by me": "Creat per mi", "Weird, this shouldn't ever be empty": "Estrany, això no hauria d'estar mai buit", "Documents with recent activity will appear here": "Els documents amb activitat recent apareixeran aquí", "You haven’t created any documents yet": "Encara no heu creat cap document", - "Documents you’ve recently viewed will be here for easy access": "Els documents que hagis vist recentment estaran aquí per a un fàcil accés", "{{ count }} invites sent": "{{ count }} invitació enviada", "{{ count }} invites sent_plural": "{{ count }} invitacions enviades", "Those email addresses are already invited": "Aquestes adreces de correu electrònic ja estan convidades", @@ -1014,6 +1035,7 @@ "Open document history": "Obre l'historial del document", "Jump to search": "Ves a la cerca", "Jump to home": "Ves a l'inici", + "Toggle statistics": "Activa o desactiva les estadístiques", "Focus search input": "Enfoca el camp de cerca", "Open this guide": "Obre aquesta guia", "Publish document and exit": "Publica el document i surt", @@ -1151,7 +1173,6 @@ "Any time": "En qualsevol moment", "Remove document filter": "Elimina el filtre de document", "Any status": "Qualsevol estat", - "Recent searches": "Cerques recents", "Remove search": "Elimina la cerca", "Relevance": "Rellevància", "Newest": "Més nous", @@ -1324,6 +1345,8 @@ "All roles": "Tots els rols", "Admins": "Administradors", "Editors": "Editors", + "Invited by": "Convidat per", + "Joined": "S'ha unit", "All status": "Tots els estats", "Active": "Actiu", "Could not load emojis": "No s'han pogut carregar els emojis", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Mostra els números de línia als blocs de codi als documents.", "Show comment marker": "Mostra l'indicador de comentari", "Display a marker beside lines in the editor that contain comments.": "Mostra un indicador al costat de les línies de l'editor que contenen comentaris.", + "Display live word, character, and paragraph counts while editing.": "Mostra en temps real els recomptes de paraules, caràcters i paràgrafs mentre editeu.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "Quan està activat, els documents tenen un mode d'edició separat. Quan està desactivat, els documents sempre es poden editar quan teniu permís.", "Remember previous location": "Recorda la ubicació anterior", "Automatically return to the document you were last viewing when the app is re-opened.": "Torna automàticament al document que vas veure per última vegada quan es torni a obrir l'aplicació.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "La compartició està desactivada.", "You can globally enable and disable public document sharing in the security settings.": "Podeu activar i desactivar globalment la compartició de documents públics a la configuració de seguretat .", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Els documents que s'han compartit s'enumeren a continuació. Qualsevol persona que tingui l'enllaç públic pot accedir a una versió de només lectura del document fins que l'enllaç hagi estat revocat.", - "A template must have content": "Una plantilla ha de tenir contingut", + "Couldn’t create the template, try again?": "No s'ha pogut crear la plantilla, torneu-ho a provar?", "Could not load templates": "No s'han pogut carregar les plantilles", "Templates help your team create consistent and accurate documentation.": "Les plantilles ajuden al vostre equip a crear una documentació coherent i precisa.", "No templates have been created yet": "Encara no s'ha creat cap plantilla", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "Per a crear un espai de treball sota un altre correu electrònic, registreu-vos des de la pàgina d'inici", "Trash emptied": "Paperera buidada", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Esteu segur que voleu eliminar permanentment tots els documents a la paperera? Aquesta acció és immediata i no es pot desfer.", - "Recently deleted": "Eliminats recentment", + "You’ve not deleted any documents.": "No heu suprimit cap document.", + "This user has not deleted any documents.": "Aquest usuari no ha suprimit cap document.", "Trash is empty at the moment.": "La paperera està buida en aquest moment.", + "Recently deleted": "Eliminats recentment", + "Deleted by anyone": "Suprimit per qualsevol persona", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "S'ha enviat un codi de confirmació a la vostra adreça de correu electrònic. Si us plau, introduïu el codi de sota per eliminar permanentment el vostre compte.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "N'esteu segur? Suprimir el vostre compte destruirà les dades identificatives associades amb el vostre usuari i no es pot desfer. Se us tancarà la sessió immediatament {{appName}} i es revocaran tots els vostres API tokens.", "Delete my account": "Elimina el meu compte", + "Export started": "Exportació iniciada", + "A link to your file will be sent through email soon": "Aviat s'enviarà un enllaç al teu correu electrònic", + "Preparing your download": "Preparant la teva descàrrega", "Today": "Avui", "Yesterday": "Ahir", "Last week": "La darrera setmana", diff --git a/shared/i18n/locales/cs_CZ/translation.json b/shared/i18n/locales/cs_CZ/translation.json index ed79b3edda..0568bf2a9e 100644 --- a/shared/i18n/locales/cs_CZ/translation.json +++ b/shared/i18n/locales/cs_CZ/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} dokumentů zrušeno z publikování", "Subscription inherited from collection": "Odběr zděděn z kolekce", "Share document": "Share document", - "Download": "Stáhnout", - "Download document": "Stáhnout dokument", + "Markdown": "Markdown", "Download as Markdown": "Stáhnout jako Markdown", + "HTML": "HTML", "Download as HTML": "Stáhnout jako HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "Stáhnout jako TextBundle", + "PDF": "PDF", "Download as PDF": "Stáhnout jako PDF", "Copy as Markdown": "Kopírovat jako Markdown", "Markdown copied to clipboard": "Markdown byl zkopírován do schránky", @@ -103,6 +105,7 @@ "Search in document": "Hledat v dokumentu", "Print": "Tisk", "Print document": "Vytisknout dokument", + "Export document": "Exportovat dokument", "Open in desktop app": "Otevřít v aplikaci pro počítač", "Present": "Prezentovat", "Present document": "Prezentovat dokument", @@ -138,6 +141,12 @@ "Comments": "Komentáře", "History": "Historie", "Insights": "Analytika", + "Show editing stats": "Zobrazit statistiky úprav", + "None": "Žádné", + "Multi-level decimal": "Víceúrovňové desetinné číslo", + "Alphanumeric": "Alfanumerické", + "Harvard": "Harvard", + "Heading numbering": "Číslování nadpisů", "Leave document": "Opustit dokument", "You have left the shared document": "Sdílený dokument byl opuštěn", "Could not leave document": "Dokument se nepodařilo opustit", @@ -195,11 +204,8 @@ "New Application": "Nová aplikace", "Delete app": "Odstranit aplikaci", "This version of the document was deleted": "Verze dokumentu byla odstraněna", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Exportování…", - "Markdown": "Markdown", - "Download revision": "Stáhnout revizi", + "Export revision": "Exportovat revizi", "Dark": "Tmavý", "Light": "Světlý", "Toggle theme": "Přepnout motiv", @@ -212,19 +218,37 @@ "Go to document": "Přejít do dokumentu", "Revoke link": "Zrušit odkaz", "Share link revoked": "Odkaz ke sdílení byl zrušen", + "{{ count }} share link revoked": "{{ count }} odkaz ke sdílení byl zrušen", + "{{ count }} share link revoked_plural": "{{ count }} odkazů ke sdílení bylo zrušeno", + "Could not revoke {{ count }} share link": "Nepodařilo se zrušit {{ count }} odkaz ke sdílení", + "Could not revoke {{ count }} share link_plural": "Nepodařilo se zrušit {{ count }} odkazů ke sdílení", "Switch workspace": "Přepnout pracovní prostor", "Select a workspace": "Vybrat pracovní prostor", "New workspace": "Nový pracovní prostor", "Create a workspace": "Vytvořit pracovní prostor", "Login to workspace": "Přihlásit se do pracovního prostoru", - "template": "šablona", + "Delete template": "Odstranit šablonu", + "Delete {{ count }} template": "Odstranit {{ count }} šablonu", + "Delete {{ count }} template_plural": "Odstranit {{ count }} šablon", "Template deleted": "Šablona byla odstraněna", + "{{ count }} template deleted": "{{ count }} šablona byla odstraněna", + "{{ count }} template deleted_plural": "{{ count }} šablon bylo odstraněno", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Jste si jisti? Smazání šablony {{ templateName }} je trvalé.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Opravdu to chcete udělat? Odstranění {{ count }} šablony je trvalé.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Opravdu to chcete udělat? Odstranění {{ count }} šablon je trvalé.", + "A template must have content": "Šablona musí mít obsah", + "Template published": "Šablona byla zveřejněna", + "{{ count }} template published": "{{ count }} šablona byla zveřejněna", + "{{ count }} template published_plural": "{{ count }} šablon bylo publikováno", + "Could not publish {{ count }} template": "{{ count }} šablonu se nepodařilo publikovat", + "Could not publish {{ count }} template_plural": "{{ count }} šablon se nepodařilo publikovat", "Move to workspace": "Přesunout do pracovního prostoru", "Template moved": "Šablona byla přesunuta", "Couldn't move the template, try again?": "Šablonu se nepodařilo přesunout. Zkusit znovu?", "Move to collection": "Přesunout do kolekce", "Move template": "Přesunout šablonu", + "{{ count }} template duplicated": "{{ count }} šablona byla zduplikována", + "{{ count }} template duplicated_plural": "{{ count }} šablon bylo zduplikováno", "Print template": "Vytisknout šablonu", "Invite people": "Pozvat uživatele", "Invite to workspace": "Pozvat do pracovního prostoru", @@ -267,6 +291,7 @@ "People": "Lidé", "Share": "Sdílet", "Workspace": "Pracovní prostor", + "Recent searches": "Nedávná hledání", "currently editing": "právě upravuje", "currently viewing": "právě prohlíží", "previously edited": "dříve upraveno", @@ -389,13 +414,8 @@ "our engineers have been notified": "technici byli o chybě informováni", "Clear cache + reload": "Vymazat mezipaměť a obnovit", "Show detail": "Zobrazit podrobnosti", - "Export started": "Export byl zahájen", - "A link to your file will be sent through email soon": "Odkaz na soubor bude brzy odeslán e-mailem.", - "Preparing your download": "Připravuje se stahování…", - "Include child documents": "Zahrnout podřazené dokumenty", - "When selected, exporting the document will take extra time.": "Při výběru bude export dokumentu trvat déle.", - "You will receive an email when it's complete.": "Po dokončení obdržíte e-mail.", "Exporting the collection may take some time.": "Export kolekce může chvíli trvat.", + "You will receive an email when it's complete.": "Po dokončení obdržíte e-mail.", "Include attachments": "Zahrnout přílohy", "Including uploaded images and files in the exported data": "Zahrnout nahrané obrázky a soubory do exportovaných dat", "Include private collections": "Zahrnout soukromé kolekce", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "Zobrazit, procházet nebo stahovat obrázky v dokumentu", "Zoom in": "Přiblížit", "Zoom out": "Oddálit", + "Download": "Stáhnout", "Edit diagram": "Upravit diagram", "Close": "Zavřít", "Previous": "Předchozí", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "Doba čtení: {{ hours }} h {{ minutes }} min", "{{ hours }}h read": "Doba čtení: {{ hours }} h", "{{ minutes }}m read": "Doba čtení: {{ minutes }} min", + "Archived": "Archivováno", "All members": "Všichni členové", "Everyone in the workspace": "Všichni v pracovním prostoru", "{{ count }} member": "{{ count }} člen", @@ -529,11 +551,12 @@ "Switch to dark": "Přepnout na tmavý režim", "Switch to light": "Přepnout na světlý režim", "Subscribe to updates": "Přihlásit se k odběru aktualizací", + "Display settings": "Nastavení zobrazení", + "Edit {{noun}}": "Upravit {{noun}}", "Logo": "Logo", "Add": "Přidat", "Add or invite": "Přidat nebo pozvat", "Sharing settings updated": "Nastavení sdílení bylo aktualizováno", - "Display settings": "Nastavení zobrazení", "Customize how the published document is displayed": "Přizpůsobit zobrazení zveřejněného dokumentu", "Image options": "Možnosti obrázku", "Upload": "Nahrát", @@ -589,16 +612,16 @@ "New nested document": "Nový vnořený dokument", "No collections": "Žádné kolekce", "Hide": "Skrýt", + "Starred": "Oblíbené", + "Shared with me": "Sdíleno se mnou", "Import files": "Importovat soubory", "Recent": "Nedávné", "Go back": "Zpět", "Go forward": "Vpřed", "Could not load shared documents": "Sdílené dokumenty se nepodařilo načíst", - "Shared with me": "Sdíleno se mnou", "Show more": "Zobrazit více", "Link options": "Možnosti odkazu", "Could not load starred documents": "Oblíbené dokumenty se nepodařilo načíst", - "Starred": "Oblíbené", "Up to date": "Aktuální", "{{ releasesBehind }} versions behind": "Zpoždění o {{ releasesBehind }} verze", "{{ releasesBehind }} versions behind_plural": "Zpoždění o {{ releasesBehind }} verzí", @@ -615,6 +638,8 @@ "Star document": "Přidat dokument k oblíbeným", "Select a color": "Vybrat barvu", "Select all": "Vybrat vše", + "Columns": "Sloupce", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "Vaše změny se nepodařilo uložit.\nOpravdu chcete odejít?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Zvýrazněte text a pomocí prvku <1> přidejte zástupné symboly, které lze vyplnit při vytváření nových dokumentů.", "You’re editing a template": "Upravujete šablonu", "Template created, go ahead and customize it": "Šablona byla vytvořena, nyní ji můžete upravit.", @@ -675,8 +700,6 @@ "Paste a link": "Vložit odkaz", "Delete embed": "Odstranit vložený prvek", "Delete image": "Odstranit obrázek", - "Create a new doc": "Vytvořit nový dokument", - "Create a nested doc": "Vytvořit zanořený dokument", "{{ userName }} won't be notified, as they do not have access to this document": "Uživatel {{ userName }} nebude upozorněn, protože nemá k dokumentu přístup.", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Členové skupiny „{{ groupName }}“, kteří mají k dokumentu přístup, budou upozorněni.", "Keep as link": "Ponechat jako odkaz", @@ -726,7 +749,6 @@ "Italic": "Kurzíva", "Strikethrough": "Přeškrtnuté", "Background color": "Barva pozadí", - "None": "Žádné", "Highlight": "Zvýraznění", "Code": "Kód", "Heading": "Nadpis", @@ -743,6 +765,8 @@ "Full width": "Plná šířka", "Download image": "Stáhnout obrázek", "Edit image URL": "Upravit URL obrázku", + "Create a new doc": "Vytvořit nový dokument", + "Create a nested doc": "Vytvořit zanořený dokument", "Default width": "Výchozí šířka", "Distribute columns": "Rozložit sloupce", "Export as CSV": "Exportovat do CSV", @@ -893,14 +917,23 @@ "only you": "pouze vámi", "person": "osoba", "people": "lidé", + "{{ number }} words selected": "Vybrána slova: {{ number }}", + "{{ number }} words selected_plural": "Vybrána slova: {{ number }}", + "{{ number }} characters selected": "Vybrány znaky: {{ number }}", + "{{ number }} characters selected_plural": "Vybrány znaky: {{ number }}", + "{{ number }} words": "Slova: {{ number }}", + "{{ number }} words_plural": "Slova: {{ number }}", + "{{ number }} characters": "Znaky: {{ number }}", + "{{ number }} characters_plural": "Znaky: {{ number }}", + "{{ number }} paragraphs": "{{ number }} odstavec", + "{{ number }} paragraphs_plural": "{{ number }} odstavce", + "{{ number }} minute read": "Doba čtení: {{ number }} min", "Document title": "Název dokumentu", "Last updated": "Poslední aktualizace", "Type '/' to insert, or start writing…": "Pro vložení stiskněte „/“ nebo začněte psát…", "Hide contents": "Skrýt obsah", "Show contents": "Zobrazit obsah", "available when headings are added": "k dispozici po přidání nadpisů", - "Edit {{noun}}": "Upravit {{noun}}", - "Archived": "Archivováno", "Save draft": "Uložit koncept", "Restore version": "Obnovit verzi", "{{userName}} archived": "{{userName}} archivoval", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} zveřejnil", "{{userName}} unpublished": "Uživatel {{userName}} zrušil zveřejnění", "{{userName}} moved": "{{userName}} přesunul", - "via {{ authType }}": "prostřednictvím {{ authType }}", "Previous version": "Předchozí verze", "Highlight changes": "Zvýraznit změny", "Compare to": "Porovnat s", @@ -920,23 +952,12 @@ "Revision deleted": "Revize byla odstraněna", "Current version": "Aktuální verze", "{{userName}} edited": "{{userName}} upravil", + "via {{ authType }}": "prostřednictvím {{ authType }}", "{{count}} people": "{{count}} osoba", "{{count}} people_plural": "{{count}} osob", "Source": "Zdroj", "Created": "Vytvořeno", "Imported from {{ source }}": "Importováno z {{ source }}", - "Stats": "Statistiky", - "{{ number }} minute read": "Doba čtení: {{ number }} min", - "{{ number }} words": "Slova: {{ number }}", - "{{ number }} words_plural": "Slova: {{ number }}", - "{{ number }} characters": "Znaky: {{ number }}", - "{{ number }} characters_plural": "Znaky: {{ number }}", - "{{ number }} emoji": "Emoji: {{ number }}", - "No text selected": "Není vybrán žádný text", - "{{ number }} words selected": "Vybrána slova: {{ number }}", - "{{ number }} words selected_plural": "Vybrána slova: {{ number }}", - "{{ number }} characters selected": "Vybrány znaky: {{ number }}", - "{{ number }} characters selected_plural": "Vybrány znaky: {{ number }}", "Contributors": "Přispěvatelé", "Creator": "Tvůrce", "Last edited": "Naposledy upraveno", @@ -986,11 +1007,11 @@ "Warning Sign": "Varování", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "Správce pracovního prostoru ({{ suspendedContactEmail }}) pozastavil účet. Pro reaktivaci jej prosím kontaktujte přímo.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Při načítání stránky došlo k neznámé chybě. Zkuste to znovu, nebo v případě přetrvávajících potíží kontaktujte podporu.", + "Documents you’ve recently viewed will be here for easy access": "Zde najdete nedávno prohlížené dokumenty.", "Created by me": "Vytvořeno mnou", "Weird, this shouldn't ever be empty": "Pole by nemělo být prázdné.", "Documents with recent activity will appear here": "Zde se zobrazí dokumenty s nedávnou aktivitou.", "You haven’t created any documents yet": "Zatím jste nevytvořili žádné dokumenty.", - "Documents you’ve recently viewed will be here for easy access": "Zde najdete nedávno prohlížené dokumenty.", "{{ count }} invites sent": "{{ count }} invite sent", "{{ count }} invites sent_plural": "Odeslané pozvánky: {{ count }}", "Those email addresses are already invited": "Na tyto e-mailové adresy již pozvánka byla odeslána.", @@ -1014,6 +1035,7 @@ "Open document history": "Otevřít historii dokumentu", "Jump to search": "Přejít na hledání", "Jump to home": "Přejít domů", + "Toggle statistics": "Přepnout statistiky", "Focus search input": "Aktivovat pole vyhledávání", "Open this guide": "Otevřít tohoto průvodce", "Publish document and exit": "Zveřejnit dokument a zavřít", @@ -1151,7 +1173,6 @@ "Any time": "Kdykoli", "Remove document filter": "Odebrat filtr dokumentů", "Any status": "Jakýkoliv stav", - "Recent searches": "Nedávná hledání", "Remove search": "Zrušit vyhledávání", "Relevance": "Význam", "Newest": "Nejnovější", @@ -1324,6 +1345,8 @@ "All roles": "Všechny role", "Admins": "Správci", "Editors": "Editoři", + "Invited by": "Pozván uživatelem", + "Joined": "Připojeno", "All status": "Všechny stavy", "Active": "Aktivní", "Could not load emojis": "Emoji se nepodařilo načíst", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Zobrazovat čísla řádků v blocích kódu.", "Show comment marker": "Show comment marker", "Display a marker beside lines in the editor that contain comments.": "Display a marker beside lines in the editor that contain comments.", + "Display live word, character, and paragraph counts while editing.": "Během úprav zobrazovat aktuální počty slov, znaků a odstavců.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "Je-li povoleno, dokumenty mají samostatný režim úprav. V opačném případě jsou přímo upravitelné (pokud máte oprávnění).", "Remember previous location": "Zapamatovat si poslední umístění", "Automatically return to the document you were last viewing when the app is re-opened.": "Při otevření aplikace se automaticky vrátit k naposledy zobrazenému dokumentu.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "Sdílení je momentálně zakázáno.", "You can globally enable and disable public document sharing in the security settings.": "Veřejné sdílení dokumentů můžete zapnout nebo vypnout v nastavení zabezpečení.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Níže je seznam sdílených dokumentů. Ke verzi pro čtení má přístup kdokoli s odkazem, dokud jej neodeberete.", - "A template must have content": "Šablona musí mít obsah", + "Couldn’t create the template, try again?": "Šablonu se nepodařilo vytvořit. Zkusit znovu?", "Could not load templates": "Šablony se nepodařilo načíst", "Templates help your team create consistent and accurate documentation.": "Díky šablonám bude dokumentace vašeho týmu jednotná a přesná.", "No templates have been created yet": "Zatím nebyly vytvořeny žádné šablony", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "Chcete-li vytvořit pracovní prostor pod jiným e-mailem, zaregistrujte se na domovské stránce.", "Trash emptied": "Koš byl vysypán", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Opravdu chcete trvale odstranit všechny dokumenty v koši? Tuto akci nelze vzít zpět.", - "Recently deleted": "Nedávno odstraněné", + "You’ve not deleted any documents.": "Neodstranili jste žádné dokumenty.", + "This user has not deleted any documents.": "Tento uživatel neodstranil žádné dokumenty.", "Trash is empty at the moment.": "Koš je momentálně prázdný.", + "Recently deleted": "Nedávno odstraněné", + "Deleted by anyone": "Odstraněno kýmkoli", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "Na e-mail byl odeslán potvrzovací kód. Zadejte jej níže pro trvalé odstranění účtu.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Opravdu chcete pokračovat? Odstraněním účtu smažete veškeré identifikační údaje uživatele. Akci nelze vrátit zpět. Budete odhlášeni z {{appName}} a platnost všech API tokenů bude zrušena.", "Delete my account": "Odstranit můj účet", + "Export started": "Export byl zahájen", + "A link to your file will be sent through email soon": "Odkaz na soubor bude brzy odeslán e-mailem.", + "Preparing your download": "Připravuje se stahování…", "Today": "Dnes", "Yesterday": "Včera", "Last week": "Minulý týden", diff --git a/shared/i18n/locales/da_DK/translation.json b/shared/i18n/locales/da_DK/translation.json index 16b0cd98f8..5d1a542404 100644 --- a/shared/i18n/locales/da_DK/translation.json +++ b/shared/i18n/locales/da_DK/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} dokumenter upublicerede", "Subscription inherited from collection": "Abonnement arvet fra samling", "Share document": "Del dokument", - "Download": "Hent", - "Download document": "Hent dokument", + "Markdown": "Markdown", "Download as Markdown": "Download som Markdown", + "HTML": "HTML", "Download as HTML": "Download som HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "Download som TextBundle", + "PDF": "PDF", "Download as PDF": "Download som PDF", "Copy as Markdown": "Kopiér som Markdown", "Markdown copied to clipboard": "Markdown kopieret til udklipsholder", @@ -103,6 +105,7 @@ "Search in document": "Søg i dokumentet", "Print": "Udskriv", "Print document": "Udskriv dokument", + "Export document": "Eksporter dokument", "Open in desktop app": "Åben i desktop app", "Present": "Til stede", "Present document": "Nuværende dokument", @@ -138,6 +141,12 @@ "Comments": "Kommentarer", "History": "Historie", "Insights": "Indsigt", + "Show editing stats": "Vis redigeringsstatistik", + "None": "Ingen", + "Multi-level decimal": "Decimalnummerering på flere niveauer", + "Alphanumeric": "Alfanumerisk", + "Harvard": "Harvard", + "Heading numbering": "Overskriftsnummerering", "Leave document": "Forlad dokument", "You have left the shared document": "Du har forladt det delte dokument", "Could not leave document": "Kunne ikke forlade dokumentet", @@ -195,11 +204,8 @@ "New Application": "Ny Applikation", "Delete app": "Slet app", "This version of the document was deleted": "Denne version af dokumentet er blevet slettet", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Eksporterer", - "Markdown": "Markdown", - "Download revision": "Download revision", + "Export revision": "Eksporter revision", "Dark": "Mørk", "Light": "Lys", "Toggle theme": "Skift tema", @@ -212,19 +218,37 @@ "Go to document": "Gå til dokument", "Revoke link": "Ophæv link", "Share link revoked": "Delelink ophævet", + "{{ count }} share link revoked": "{{ count }} delelink ophævet", + "{{ count }} share link revoked_plural": "{{ count }} delelinks ophævet", + "Could not revoke {{ count }} share link": "Kunne ikke ophæve {{ count }} delelink", + "Could not revoke {{ count }} share link_plural": "Kunne ikke ophæve {{ count }} delelinks", "Switch workspace": "Skift arbejdsområde", "Select a workspace": "Vælg et arbejdsområde", "New workspace": "Nyt arbejdsområde", "Create a workspace": "Opret et arbejdsområde", "Login to workspace": "Log ind på arbejdsområdet", - "template": "skabelon", + "Delete template": "Slet skabelon", + "Delete {{ count }} template": "Slet {{ count }} skabelon", + "Delete {{ count }} template_plural": "Slet {{ count }} skabeloner", "Template deleted": "Skabelon slettet", + "{{ count }} template deleted": "{{ count }} skabelon slettet", + "{{ count }} template deleted_plural": "{{ count }} skabeloner slettet", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Er du sikker på det? Sletning af {{ templateName }} skabelonen er permanent.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Er du sikker på det? Sletning af {{ count }} skabelon er permanent.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Er du sikker på det? Sletning af {{ count }} skabeloner er permanent.", + "A template must have content": "En skabelon skal have indhold", + "Template published": "Skabelon udgivet", + "{{ count }} template published": "{{ count }} skabelon udgivet", + "{{ count }} template published_plural": "{{ count }} skabeloner er udgivet", + "Could not publish {{ count }} template": "Kunne ikke udgive {{ count }} skabelon", + "Could not publish {{ count }} template_plural": "Kunne ikke udgive {{ count }} skabeloner", "Move to workspace": "Flyt til arbejdsområde", "Template moved": "Skabelon flyttet", "Couldn't move the template, try again?": "Kunne ikke flytte skabelonen, prøv igen?", "Move to collection": "Flyt til samling", "Move template": "Flyt skabelon", + "{{ count }} template duplicated": "{{ count }} skabelon er duplikeret", + "{{ count }} template duplicated_plural": "{{ count }} skabeloner er duplikeret", "Print template": "Print skabelon", "Invite people": "Invitér personer", "Invite to workspace": "Inviter til arbejdsområde", @@ -267,6 +291,7 @@ "People": "Personer", "Share": "Del", "Workspace": "Arbejdsområde", + "Recent searches": "Seneste søgninger", "currently editing": "redigerer nu", "currently viewing": "viser i øjeblikket", "previously edited": "tidligere redigeret", @@ -389,13 +414,8 @@ "our engineers have been notified": "vores ingeniører er blevet underrettet", "Clear cache + reload": "Ryd cache + genindlæs", "Show detail": "Vis detaljer", - "Export started": "Eksport påbegyndt", - "A link to your file will be sent through email soon": "Et link til din fil sendes snart via e-mail", - "Preparing your download": "Forbereder din download", - "Include child documents": "Inkludér underordnede dokumenter", - "When selected, exporting the document will take extra time.": "Når denne indstilling er valgt, tager eksporten af dokumentet længere tid.", - "You will receive an email when it's complete.": "Du vil modtage en e-mail, når det er færdiggjort.", "Exporting the collection may take some time.": "Eksport af samlingen kan tage lidt tid.", + "You will receive an email when it's complete.": "Du vil modtage en e-mail, når det er færdiggjort.", "Include attachments": "Inkludér vedhæftede filer", "Including uploaded images and files in the exported data": "Inklusiv uploadede billeder og filer i de eksporterede data", "Include private collections": "Inkludér private samlinger", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "Se, navigere eller downloade billeder i dokumentet", "Zoom in": "Zoom ind", "Zoom out": "Zoom ud", + "Download": "Hent", "Edit diagram": "Redigér diagram", "Close": "Luk", "Previous": "Forrige", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}h {{ minutes }}m læst", "{{ hours }}h read": "{{ hours }}h læst", "{{ minutes }}m read": "{{ minutes }}m læst", + "Archived": "Arkiveret", "All members": "Alle medlemmer", "Everyone in the workspace": "Alle i arbejdsområdet", "{{ count }} member": "{{ count }} medlem", @@ -529,11 +551,12 @@ "Switch to dark": "Skift til mørk", "Switch to light": "Skift til lys", "Subscribe to updates": "Abonnér på opdateringer", + "Display settings": "Visningsindstillinger", + "Edit {{noun}}": "Rediger {{noun}}", "Logo": "Logo", "Add": "Tilføj", "Add or invite": "Tilføj eller invitér", "Sharing settings updated": "Delingsindstillinger opdateret", - "Display settings": "Visningsindstillinger", "Customize how the published document is displayed": "Tilpas, hvordan det udgivne dokument vises", "Image options": "Billedindstillinger", "Upload": "Overfør", @@ -589,16 +612,16 @@ "New nested document": "Nyt indlejret dokument", "No collections": "Ingen samlinger", "Hide": "Skjul", + "Starred": "Stjernemarkeret", + "Shared with me": "Delt med mig", "Import files": "Importér filer", "Recent": "Seneste", "Go back": "Gå tilbage", "Go forward": "Gå fremad", "Could not load shared documents": "Kunne ikke indlæse delte dokumenter", - "Shared with me": "Delt med mig", "Show more": "Vis mere", "Link options": "Link indstillinger", "Could not load starred documents": "Kunne ikke indlæse stjernemarkerede dokumenter", - "Starred": "Stjernemarkeret", "Up to date": "Opdateret", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} version bagud", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} versioner bagud", @@ -615,6 +638,8 @@ "Star document": "Giv dokument stjerne", "Select a color": "Vælg en farve", "Select all": "Vælg alle", + "Columns": "Kolonner", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "Dine ændringer kunne ikke gemmes.\nEr du sikker på, at du vil forlade siden?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Fremhæv noget tekst, og brug <1>-kontrolelementet til at tilføje pladsholdere, der kan udfyldes, når du opretter nye dokumenter", "You’re editing a template": "Du redigerer en skabelon", "Template created, go ahead and customize it": "Skabelon oprettet. Gør med den hvad du vil", @@ -675,8 +700,6 @@ "Paste a link": "Indsæt et link", "Delete embed": "Slet indlejring", "Delete image": "Slet billede", - "Create a new doc": "Opret et nyt dokument", - "Create a nested doc": "Opret et indlejret dokument", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} bliver ikke underrettet, da de ikke har adgang til dette dokument", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Medlemmer af \"{{ groupName }}\" som har adgang til dette dokument vil blive underrettet", "Keep as link": "Behold som link", @@ -726,7 +749,6 @@ "Italic": "Kursiv", "Strikethrough": "Overstrejning", "Background color": "Baggrundsfarve", - "None": "Ingen", "Highlight": "Fremhæv", "Code": "Kode", "Heading": "Overskrift", @@ -743,6 +765,8 @@ "Full width": "Fuld bredde", "Download image": "Download billede", "Edit image URL": "Redigér billede URL", + "Create a new doc": "Opret et nyt dokument", + "Create a nested doc": "Opret et indlejret dokument", "Default width": "Standardbredde", "Distribute columns": "Fordel kolonner", "Export as CSV": "Eksportér som CSV", @@ -893,14 +917,23 @@ "only you": "kun dig", "person": "person", "people": "personer", + "{{ number }} words selected": "{{ number }} ord valgt", + "{{ number }} words selected_plural": "{{ number }} ord valgt", + "{{ number }} characters selected": "{{ number }} tegn valgt", + "{{ number }} characters selected_plural": "{{ number }} tegn valgt", + "{{ number }} words": "{{ number }} ord", + "{{ number }} words_plural": "{{ number }} ord", + "{{ number }} characters": "{{ number }} tegn", + "{{ number }} characters_plural": "{{ number }} tegn", + "{{ number }} paragraphs": "{{ number }} afsnit", + "{{ number }} paragraphs_plural": "{{ number }} afsnit", + "{{ number }} minute read": "{{ number }} minutters læsning", "Document title": "Dokumenttitel", "Last updated": "Senest opdateret", "Type '/' to insert, or start writing…": "Skriv '/' for at indsætte, eller begynd at skrive…", "Hide contents": "Skjul indhold", "Show contents": "Vis indhold", "available when headings are added": "tilgængelig, når der er tilføjet overskrifter", - "Edit {{noun}}": "Rediger {{noun}}", - "Archived": "Arkiveret", "Save draft": "Gem kladde", "Restore version": "Gendan version", "{{userName}} archived": "{{userName}} arkiveret", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} publicerede", "{{userName}} unpublished": "{{userName}} afpublicerede", "{{userName}} moved": "{{userName}} flyttede", - "via {{ authType }}": "via {{ authType }}", "Previous version": "Forrige version", "Highlight changes": "Fremhæv ændringer", "Compare to": "Sammenlign med", @@ -920,23 +952,12 @@ "Revision deleted": "Revision slettet", "Current version": "Aktuelle version", "{{userName}} edited": "{{userName}} redigerede", + "via {{ authType }}": "via {{ authType }}", "{{count}} people": "{{count}} person", "{{count}} people_plural": "{{count}} personer", "Source": "Kilde", "Created": "Oprettet", "Imported from {{ source }}": "Importeret fra {{ source }}", - "Stats": "Statistik", - "{{ number }} minute read": "{{ number }} minutters læsning", - "{{ number }} words": "{{ number }} ord", - "{{ number }} words_plural": "{{ number }} ord", - "{{ number }} characters": "{{ number }} tegn", - "{{ number }} characters_plural": "{{ number }} tegn", - "{{ number }} emoji": "{{ number }} emoji-ikon", - "No text selected": "Ingen tekst valgt", - "{{ number }} words selected": "{{ number }} ord valgt", - "{{ number }} words selected_plural": "{{ number }} ord valgt", - "{{ number }} characters selected": "{{ number }} tegn valgt", - "{{ number }} characters selected_plural": "{{ number }} tegn valgt", "Contributors": "Bidragydere", "Creator": "Opretter", "Last edited": "Senest redigeret", @@ -986,11 +1007,11 @@ "Warning Sign": "Advarselstegn", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "En administrator for arbejdsområdet ({{ suspendedContactEmail }}) har suspenderet din konto. Kontakt dem direkte for at genaktivere din konto.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Beklager, der opstod en ukendt fejl under indlæsning af siden. Prøv igen, eller kontakt support, hvis problemet fortsætter.", + "Documents you’ve recently viewed will be here for easy access": "Dokumenter, du for nylig har set, vises her for nem adgang", "Created by me": "Oprettet af mig", "Weird, this shouldn't ever be empty": "Mærkeligt, dette burde aldrig være tomt", "Documents with recent activity will appear here": "Dokumenter med nylig aktivitet vises her", "You haven’t created any documents yet": "Du har endnu ikke oprettet nogen dokumenter", - "Documents you’ve recently viewed will be here for easy access": "Dokumenter, du for nylig har set, vises her for nem adgang", "{{ count }} invites sent": "{{ count }} invitation sendt", "{{ count }} invites sent_plural": "{{ count }} invitationer sendt", "Those email addresses are already invited": "Disse e-mailadresser er allerede inviteret", @@ -1014,6 +1035,7 @@ "Open document history": "Åbn dokumenthistorik", "Jump to search": "Gå til søgning", "Jump to home": "Gå til forsiden", + "Toggle statistics": "Slå statistik til/fra", "Focus search input": "Fokusér søgefelt", "Open this guide": "Åbn denne vejledning", "Publish document and exit": "Udgiv dokument og afslut", @@ -1151,7 +1173,6 @@ "Any time": "Når som helst", "Remove document filter": "Fjern dokumentfilter", "Any status": "Enhver status", - "Recent searches": "Seneste søgninger", "Remove search": "Fjern søgning", "Relevance": "Relevans", "Newest": "Nyeste", @@ -1324,6 +1345,8 @@ "All roles": "Alle roller", "Admins": "Administratorer", "Editors": "Redaktører", + "Invited by": "Inviteret af", + "Joined": "Tilmeldt", "All status": "Al status", "Active": "Aktiv", "Could not load emojis": "Kunne ikke indlæse emoji", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Vis linjenumre på kodeblokke i dokumenter.", "Show comment marker": "Vis kommentarmarkør", "Display a marker beside lines in the editor that contain comments.": "Vis en markør ved siden af linjer i redigeringsprogrammet, der indeholder kommentarer.", + "Display live word, character, and paragraph counts while editing.": "Vis løbende antal ord, tegn og afsnit under redigering.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "Når aktiveret, har dokumenter en separat redigeringstilstand. Når deaktiveret, kan dokumenter altid redigeres, når du har tilladelse.", "Remember previous location": "Husk tidligere placering", "Automatically return to the document you were last viewing when the app is re-opened.": "Returnér automatisk til det dokument, du sidst har set, når appen er genåbnet.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "Delinger er i øjeblikket deaktiveret", "You can globally enable and disable public document sharing in the security settings.": "Du kan globalt aktivere og deaktivere offentlig dokumentdeling i sikkerhedsindstillinger.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Dokumenter, der er blevet delt, er vist nedenfor. Enhver, der har det offentlige link, kan få adgang til en skrivebeskyttet version af dokumentet, indtil linket er blevet tilbagekaldt.", - "A template must have content": "En skabelon skal have indhold", + "Couldn’t create the template, try again?": "Kunne ikke oprette skabelonen, prøv igen?", "Could not load templates": "Kunne ikke indlæse skabeloner", "Templates help your team create consistent and accurate documentation.": "Skabeloner hjælper dit team med at skabe ensartet og præcis dokumentation.", "No templates have been created yet": "Der er endnu ikke oprettet nogen skabeloner", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "For at oprette et arbejdsområde med en anden e-mail skal du tilmelde dig fra startsiden", "Trash emptied": "Papirkurv tømt", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Er du sikker på, at du vil slette alle dokumenter i papirkurven? Denne handling er øjeblikkelig og kan ikke fortrydes.", - "Recently deleted": "Nyligt slettet", + "You’ve not deleted any documents.": "Du har ikke slettet nogen dokumenter.", + "This user has not deleted any documents.": "Denne bruger har ikke slettet nogen dokumenter.", "Trash is empty at the moment.": "Papirkurven er tom i øjeblikket.", + "Recently deleted": "Nyligt slettet", + "Deleted by anyone": "Slettet af hvem som helst", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "En bekræftelseskode er blevet sendt til din e-mailadresse, angiv koden nedenfor for at lukke din konto permanent.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Er du sikker? Sletning af din konto vil ødelægge identificerende data, der er knyttet til din bruger, og kan ikke fortrydes. Du vil straks blive logget ud af {{appName}} og alle dine API nøgler vil blive slettet.", "Delete my account": "Slet min konto", + "Export started": "Eksport påbegyndt", + "A link to your file will be sent through email soon": "Et link til din fil sendes snart via e-mail", + "Preparing your download": "Forbereder din download", "Today": "I dag", "Yesterday": "I går", "Last week": "Sidste uge", diff --git a/shared/i18n/locales/de_DE/translation.json b/shared/i18n/locales/de_DE/translation.json index 821ea58a59..d24f40d560 100644 --- a/shared/i18n/locales/de_DE/translation.json +++ b/shared/i18n/locales/de_DE/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} Dokumente unveröffentlicht", "Subscription inherited from collection": "Abonnement aus der Sammlung vererbt", "Share document": "Dokument teilen", - "Download": "Herunterladen", - "Download document": "Dokument herunterladen", + "Markdown": "Markdown", "Download as Markdown": "Als Markdown herunterladen", + "HTML": "HTML", "Download as HTML": "Als HTML herunterladen", + "TextBundle": "TextBundle", "Download as TextBundle": "Als TextBundle herunterladen", + "PDF": "PDF", "Download as PDF": "Als PDF herunterladen", "Copy as Markdown": "Als Markdown kopieren", "Markdown copied to clipboard": "Markdown in Zwischenablage kopiert", @@ -103,6 +105,7 @@ "Search in document": "Im Dokument suchen", "Print": "Drucken", "Print document": "Dokument drucken", + "Export document": "Dokument exportieren", "Open in desktop app": "In Desktop-App öffnen", "Present": "Präsentieren", "Present document": "Aktuelles Dokument", @@ -138,6 +141,12 @@ "Comments": "Kommentare", "History": "Verlauf", "Insights": "Statistiken", + "Show editing stats": "Bearbeitungsstatistiken anzeigen", + "None": "Keine", + "Multi-level decimal": "Mehrstufige Dezimalgliederung", + "Alphanumeric": "Alphanumerisch", + "Harvard": "Harvard", + "Heading numbering": "Überschriftennummerierung", "Leave document": "Dokument verlassen", "You have left the shared document": "Sie haben das geteilte Dokument verlassen", "Could not leave document": "Dokument konnte nicht verlassen werden", @@ -195,11 +204,8 @@ "New Application": "Neue Anwendung", "Delete app": "Anwendung löschen", "This version of the document was deleted": "Diese Version des Dokuments wurde gelöscht", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Wird exportiert", - "Markdown": "Markdown", - "Download revision": "Version herunterladen", + "Export revision": "Version exportieren", "Dark": "Dunkel", "Light": "Hell", "Toggle theme": "Design umschalten", @@ -212,19 +218,37 @@ "Go to document": "Zum Dokument gehen", "Revoke link": "Link widerrufen", "Share link revoked": "Freigabelink widerrufen", + "{{ count }} share link revoked": "{{ count }} Freigabelink widerrufen", + "{{ count }} share link revoked_plural": "{{ count }} Freigabelinks widerrufen", + "Could not revoke {{ count }} share link": "{{ count }} Freigabelink konnte nicht widerrufen werden", + "Could not revoke {{ count }} share link_plural": "{{ count }} Freigabelinks konnten nicht widerrufen werden", "Switch workspace": "Arbeitsbereich wechseln", "Select a workspace": "Wähle einen Arbeitsbereich", "New workspace": "Neuer Arbeitsbereich", "Create a workspace": "Arbeitsbereich erstellen", "Login to workspace": "Im Arbeitsbereich anmelden", - "template": "Vorlage", + "Delete template": "Vorlage löschen", + "Delete {{ count }} template": "{{ count }} Vorlage löschen", + "Delete {{ count }} template_plural": "{{ count }} Vorlagen löschen", "Template deleted": "Vorlage gelöscht", + "{{ count }} template deleted": "{{ count }} Vorlage gelöscht", + "{{ count }} template deleted_plural": "{{ count }} Vorlagen gelöscht", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Sind Sie sicher? Die {{ templateName }} Vorlage wird dauerhaft gelöscht.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Sind Sie sicher? Die {{ count }} Vorlage wird dauerhaft gelöscht.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Sind Sie sicher? Die {{ count }} Vorlagen werden dauerhaft gelöscht.", + "A template must have content": "Eine Vorlage muss Inhalte enthalten", + "Template published": "Vorlage veröffentlicht", + "{{ count }} template published": "{{ count }} Vorlage veröffentlicht", + "{{ count }} template published_plural": "{{ count }} Vorlagen veröffentlicht", + "Could not publish {{ count }} template": "{{ count }} Vorlage konnte nicht veröffentlicht werden", + "Could not publish {{ count }} template_plural": "{{ count }} Vorlagen konnten nicht veröffentlicht werden", "Move to workspace": "In Arbeitsbereich verschieben", "Template moved": "Vorlage verschoben", "Couldn't move the template, try again?": "Das Dokument konnte nicht verschoben werden. Erneut versuchen?", "Move to collection": "Zu Sammlung verschieben", "Move template": "Vorlage verschieben", + "{{ count }} template duplicated": "{{ count }} Vorlage dupliziert", + "{{ count }} template duplicated_plural": "{{ count }} Vorlagen dupliziert", "Print template": "Vorlage drucken", "Invite people": "Personen einladen", "Invite to workspace": "In den Arbeitsbereich einladen", @@ -267,6 +291,7 @@ "People": "Personen", "Share": "Teilen", "Workspace": "Arbeitsbereich", + "Recent searches": "Letzte Suchanfragen", "currently editing": "derzeit in Bearbeitung", "currently viewing": "gerade angezeigt", "previously edited": "zuvor bearbeitet", @@ -389,13 +414,8 @@ "our engineers have been notified": "unsere Entwickler wurden benachrichtigt", "Clear cache + reload": "Cache leeren + neu laden", "Show detail": "Details anzeigen", - "Export started": "Export gestartet", - "A link to your file will be sent through email soon": "Ein Link zu Ihrer Datei wird in Kürze per E-Mail gesendet", - "Preparing your download": "Download wird vorbereitet", - "Include child documents": "Unterdokumente einschließen", - "When selected, exporting the document will take extra time.": "Wenn diese Option ausgewählt ist, dauert der Export des Dokuments länger.", - "You will receive an email when it's complete.": "Du erhältst eine E-Mail, sobald der Vorgang abgeschlossen ist.", "Exporting the collection may take some time.": "Der Export der Sammlung kann einige Zeit in Anspruch nehmen.", + "You will receive an email when it's complete.": "Du erhältst eine E-Mail, sobald der Vorgang abgeschlossen ist.", "Include attachments": "Anhänge beifügen", "Including uploaded images and files in the exported data": "Einbeziehung hochgeladener Bilder und Dateien in die exportierten Daten", "Include private collections": "Private Sammlungen einbeziehen", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "Bilder im Dokument anzeigen, navigieren oder herunterladen", "Zoom in": "Vergrößern", "Zoom out": "Verkleinern", + "Download": "Herunterladen", "Edit diagram": "Diagramm bearbeiten", "Close": "Schließen", "Previous": "Zurück", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }} Stunden {{ minutes }} Minuten gelesen", "{{ hours }}h read": "{{ hours }} Stunden gelesen", "{{ minutes }}m read": "{{ minutes }}m gelesen", + "Archived": "Archiviert", "All members": "Alle Mitglieder", "Everyone in the workspace": "Alle im Arbeitsbereich", "{{ count }} member": "{{ count }} Mitglied", @@ -529,11 +551,12 @@ "Switch to dark": "Wechsel zum Dark-Mode", "Switch to light": "Wechsel zum Light-Mode", "Subscribe to updates": "Aktualisierungen abonnieren", + "Display settings": "Anzeigeeinstellungen", + "Edit {{noun}}": "{{noun}} bearbeiten", "Logo": "Logo", "Add": "Hinzufügen", "Add or invite": "Hinzufügen oder einladen", "Sharing settings updated": "Freigabeeinstellungen aktualisiert", - "Display settings": "Anzeigeeinstellungen", "Customize how the published document is displayed": "Anpassen, wie das veröffentlichte Dokument angezeigt wird", "Image options": "Bildoptionen", "Upload": "Upload", @@ -589,16 +612,16 @@ "New nested document": "Neues Unterdokument", "No collections": "Keine Sammlungen", "Hide": "Ausblenden", + "Starred": "Favoriten", + "Shared with me": "Mit mir geteilt", "Import files": "Dateien importieren", "Recent": "Aktuell", "Go back": "Zurück", "Go forward": "Vor", "Could not load shared documents": "Konnte geteilte Dokumente nicht laden", - "Shared with me": "Mit mir geteilt", "Show more": "Mehr anzeigen", "Link options": "Linkoptionen", "Could not load starred documents": "Favorisiertes Dokumente konnten nicht geladen werden", - "Starred": "Favoriten", "Up to date": "Auf dem neuesten Stand", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} Versionen veraltet", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} Versionen veraltet", @@ -615,6 +638,8 @@ "Star document": "Dokument zu Favoriten hinzufügen", "Select a color": "Wähle eine Farbe", "Select all": "Alle auswählen", + "Columns": "Spalten", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "Ihre Änderungen konnten nicht gespeichert werden.\nMöchten Sie die Seite wirklich verlassen?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Markiere eine Textstelle und nutze das <1>-Werkzeug, um Platzhalter hinzuzufügen, die beim Erstellen neuer Dokumente ausgefüllt werden können", "You’re editing a template": "Du bearbeitest eine Vorlage", "Template created, go ahead and customize it": "Vorlage erstellt, fortfahren und anpassen", @@ -675,8 +700,6 @@ "Paste a link": "Link einfügen", "Delete embed": "Einbindung löschen", "Delete image": "Bild löschen", - "Create a new doc": "Neues Dokument erstellen", - "Create a nested doc": "Neues untergeordnetes Dokument erstellen", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} wird nicht benachrichtigt, da sie keinen Zugriff auf dieses Dokument haben", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Mitglieder von \"{{ groupName }}\" die Zugriff auf dieses Dokument haben, werden benachrichtigt", "Keep as link": "Als Link beibehalten", @@ -726,7 +749,6 @@ "Italic": "Kursiv", "Strikethrough": "Durchstreichen", "Background color": "Hintergrundfarbe", - "None": "Keine", "Highlight": "Hervorheben", "Code": "Code", "Heading": "Überschrift", @@ -743,6 +765,8 @@ "Full width": "Volle Breite", "Download image": "Bild herunterladen", "Edit image URL": "Bild-URL bearbeiten", + "Create a new doc": "Neues Dokument erstellen", + "Create a nested doc": "Neues untergeordnetes Dokument erstellen", "Default width": "Standardbreite", "Distribute columns": "Spalten teilen", "Export as CSV": "Exportiere als CSV", @@ -893,14 +917,23 @@ "only you": "Dir", "person": "Person", "people": "Personen", + "{{ number }} words selected": "{{ number }} Wort ausgewählt", + "{{ number }} words selected_plural": "{{ number }} Wörter ausgewählt", + "{{ number }} characters selected": "{{ number }} Zeichen ausgewählt", + "{{ number }} characters selected_plural": "{{ number }} Zeichen ausgewählt", + "{{ number }} words": "{{ number }} Wort", + "{{ number }} words_plural": "{{ number }} Wörter", + "{{ number }} characters": "{{ number }} Zeichen", + "{{ number }} characters_plural": "{{ number }} Zeichen", + "{{ number }} paragraphs": "{{ number }} Absatz", + "{{ number }} paragraphs_plural": "{{ number }} Absätze", + "{{ number }} minute read": "{{ number }} Minuten Lesezeit", "Document title": "Dokumenttitel", "Last updated": "Zuletzt aktualisiert", "Type '/' to insert, or start writing…": "Tippe '/' zum Einfügen, oder beginne mit dem Schreiben…", "Hide contents": "Inhalt ausblenden", "Show contents": "Inhalt anzeigen", "available when headings are added": "verfügbar, wenn Überschriften hinzugefügt werden", - "Edit {{noun}}": "{{noun}} bearbeiten", - "Archived": "Archiviert", "Save draft": "Entwurf speichern", "Restore version": "Version wiederherstellen", "{{userName}} archived": "{{userName}} archivierte", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} veröffentlichte", "{{userName}} unpublished": "{{userName}} nicht veröffentlicht", "{{userName}} moved": "{{userName}} verschob", - "via {{ authType }}": "über {{ authType }}", "Previous version": "Vorgängerversion", "Highlight changes": "Änderungen hervorheben", "Compare to": "Vergleichen mit", @@ -920,23 +952,12 @@ "Revision deleted": "Überarbeitung gelöscht", "Current version": "Aktuelle Version", "{{userName}} edited": "{{userName}} bearbeitete", + "via {{ authType }}": "über {{ authType }}", "{{count}} people": "{{count}} Person", "{{count}} people_plural": "{{count}} Personen", "Source": "Quelle", "Created": "Erstellt", "Imported from {{ source }}": "Importiert von {{ source }}", - "Stats": "Statistiken", - "{{ number }} minute read": "{{ number }} Minuten Lesezeit", - "{{ number }} words": "{{ number }} Wort", - "{{ number }} words_plural": "{{ number }} Wörter", - "{{ number }} characters": "{{ number }} Zeichen", - "{{ number }} characters_plural": "{{ number }} Zeichen", - "{{ number }} emoji": "{{ number }} Emojis", - "No text selected": "Kein Text ausgewählt", - "{{ number }} words selected": "{{ number }} Wort ausgewählt", - "{{ number }} words selected_plural": "{{ number }} Wörter ausgewählt", - "{{ number }} characters selected": "{{ number }} Zeichen ausgewählt", - "{{ number }} characters selected_plural": "{{ number }} Zeichen ausgewählt", "Contributors": "Mitwirkende", "Creator": "Ersteller", "Last edited": "Zuletzt bearbeitet", @@ -986,11 +1007,11 @@ "Warning Sign": "Warnzeichen", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "Ein Arbeitsbereich-Administrator ({{ suspendedContactEmail }}) hat Ihr Konto gesperrt. Um Ihr Konto wieder zu aktivieren, wenden Sie sich bitte direkt an diesen.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Entschuldigung, beim Laden der Seite ist ein unbekannter Fehler aufgetreten. Bitte versuchen Sie es erneut oder kontaktieren Sie den Support, falls das Problem weiterhin besteht.", + "Documents you’ve recently viewed will be here for easy access": "Dokumente, die du dir kürzlich angesehen hast, sind hier für einen einfachen Zugriff verfügbar", "Created by me": "Von mir erstellt", "Weird, this shouldn't ever be empty": "Seltsam, das sollte niemals leer sein", "Documents with recent activity will appear here": "Dokumente mit kürzlicher Aktivität werden hier angezeigt", "You haven’t created any documents yet": "Du hast noch keine Dokumente erstellt", - "Documents you’ve recently viewed will be here for easy access": "Dokumente, die du dir kürzlich angesehen hast, sind hier für einen einfachen Zugriff verfügbar", "{{ count }} invites sent": "{{ count }} Einladung gesendet", "{{ count }} invites sent_plural": "{{ count }} Einladungen versendet", "Those email addresses are already invited": "Diese E-Mail-Adressen sind bereits eingeladen", @@ -1014,6 +1035,7 @@ "Open document history": "Dokumentenverlauf öffnen", "Jump to search": "Zur Suche springen", "Jump to home": "Zurück zum Dashboard", + "Toggle statistics": "Statistiken ein-/ausblenden", "Focus search input": "Fokussiere Suchergebnis", "Open this guide": "Diese Anleitung öffnen", "Publish document and exit": "Dokument veröffentlichen & schließen", @@ -1151,7 +1173,6 @@ "Any time": "Jederzeit", "Remove document filter": "Dokumenten-Filter entfernen", "Any status": "Jeder Status", - "Recent searches": "Letzte Suchanfragen", "Remove search": "Suche entfernen", "Relevance": "Relevanz", "Newest": "Neueste", @@ -1324,6 +1345,8 @@ "All roles": "Alle Rollen", "Admins": "Admins", "Editors": "Redakteure", + "Invited by": "Eingeladen von", + "Joined": "Beigetreten", "All status": "Jeder Status", "Active": "Aktiv", "Could not load emojis": "Emojis konnten nicht geladen werden", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Zeilennummern bei Code-Blöcken in Dokumenten anzeigen.", "Show comment marker": "Kommentarmarkierung anzeigen", "Display a marker beside lines in the editor that contain comments.": "Eine Markierung neben den Zeilen im Editor anzeigen, die Kommentare enthalten.", + "Display live word, character, and paragraph counts while editing.": "Zeigt während der Bearbeitung die Anzahl der Wörter, Zeichen und Absätze in Echtzeit an.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "Wenn diese Option aktiviert ist, haben Dokumente einen separaten Bearbeitungsmodus. Wenn sie deaktiviert ist, können Dokumente immer bearbeitet werden, wenn du die Berechtigungen dazu hast.", "Remember previous location": "Vorherige Position der Oberfläche merken", "Automatically return to the document you were last viewing when the app is re-opened.": "Automatisch zum zuletzt angezeigten Dokument zurückkehren, wenn die App wieder geöffnet wird.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "Das Teilen ist momentan deaktiviert.", "You can globally enable and disable public document sharing in the security settings.": "Sie können die Freigabe öffentlicher Dokumente in den Sicherheitseinstellungen ein- und ausschalten.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Freigegebene Dokumente sind unten aufgeführt. Jeder, der über den öffentlichen Link verfügt, kann auf eine schreibgeschützte Version des Dokuments zugreifen, bis der Link widerrufen wurde.", - "A template must have content": "Eine Vorlage muss Inhalte enthalten", + "Couldn’t create the template, try again?": "Die Vorlage konnte nicht erstellt werden. Erneut versuchen?", "Could not load templates": "Templates konnten nicht geladen werden", "Templates help your team create consistent and accurate documentation.": "Vorlagen helfen Ihrem Team dabei, eine konsistente und genaue Dokumentation zu erstellen.", "No templates have been created yet": "Es wurden noch keine Vorlagen erstellt", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "Um einen Arbeitsbereich unter einer anderen E-Mail-Adresse zu erstellen, melden dich bitte auf der Homepage an", "Trash emptied": "Papierkorb geleert", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Sind Sie sicher, dass Sie alle Dokumente im Papierkorb dauerhaft löschen möchten? Diese Aktion ist sofort und kann nicht rückgängig gemacht werden.", - "Recently deleted": "Zuletzt gelöscht", + "You’ve not deleted any documents.": "Sie haben keine Dokumente gelöscht.", + "This user has not deleted any documents.": "Dieser Benutzer hat keine Dokumente gelöscht.", "Trash is empty at the moment.": "Der Papierkorb ist im Moment leer.", + "Recently deleted": "Zuletzt gelöscht", + "Deleted by anyone": "Von beliebigen Personen gelöscht", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "Ein Bestätigungscode wurde an deine E-Mail-Adresse gesendet. Bitte gebe den Code unten ein, um dein Konto endgültig zu löschen.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Bist du sicher? Das Löschen deines Kontos zerstört die Identifikationsdaten deines Benutzers und kann nicht rückgängig gemacht werden. Du wirst sofort von {{appName}} abgemeldet und alle deine API-Token werden widerrufen.", "Delete my account": "Mein Konto löschen", + "Export started": "Export gestartet", + "A link to your file will be sent through email soon": "Ein Link zu Ihrer Datei wird in Kürze per E-Mail gesendet", + "Preparing your download": "Download wird vorbereitet", "Today": "Heute", "Yesterday": "Gestern", "Last week": "Letzte Woche", diff --git a/shared/i18n/locales/en_GB/translation.json b/shared/i18n/locales/en_GB/translation.json index f0d5c39809..cdae86cbcd 100644 --- a/shared/i18n/locales/en_GB/translation.json +++ b/shared/i18n/locales/en_GB/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} documents unpublished", "Subscription inherited from collection": "Subscription inherited from collection", "Share document": "Share document", - "Download": "Download", - "Download document": "Download document", + "Markdown": "Markdown", "Download as Markdown": "Download as Markdown", + "HTML": "HTML", "Download as HTML": "Download as HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "Download as TextBundle", + "PDF": "PDF", "Download as PDF": "Download as PDF", "Copy as Markdown": "Copy as Markdown", "Markdown copied to clipboard": "Markdown copied to clipboard", @@ -103,6 +105,7 @@ "Search in document": "Search in document", "Print": "Print", "Print document": "Print document", + "Export document": "Export document", "Open in desktop app": "Open in desktop app", "Present": "Present", "Present document": "Present document", @@ -138,6 +141,12 @@ "Comments": "Comments", "History": "History", "Insights": "Insights", + "Show editing stats": "Show editing stats", + "None": "None", + "Multi-level decimal": "Multi-level decimal", + "Alphanumeric": "Alphanumeric", + "Harvard": "Harvard", + "Heading numbering": "Heading numbering", "Leave document": "Leave document", "You have left the shared document": "You have left the shared document", "Could not leave document": "Could not leave document", @@ -195,11 +204,8 @@ "New Application": "New Application", "Delete app": "Delete app", "This version of the document was deleted": "This version of the document was deleted", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Exporting", - "Markdown": "Markdown", - "Download revision": "Download revision", + "Export revision": "Export revision", "Dark": "Dark", "Light": "Light", "Toggle theme": "Toggle theme", @@ -212,19 +218,37 @@ "Go to document": "Go to document", "Revoke link": "Revoke link", "Share link revoked": "Share link revoked", + "{{ count }} share link revoked": "{{ count }} share link revoked", + "{{ count }} share link revoked_plural": "{{ count }} share links revoked", + "Could not revoke {{ count }} share link": "Could not revoke {{ count }} share link", + "Could not revoke {{ count }} share link_plural": "Could not revoke {{ count }} share links", "Switch workspace": "Switch workspace", "Select a workspace": "Select a workspace", "New workspace": "New workspace", "Create a workspace": "Create a workspace", "Login to workspace": "Login to workspace", - "template": "template", + "Delete template": "Delete template", + "Delete {{ count }} template": "Delete {{ count }} template", + "Delete {{ count }} template_plural": "Delete {{ count }} templates", "Template deleted": "Template deleted", + "{{ count }} template deleted": "{{ count }} template deleted", + "{{ count }} template deleted_plural": "{{ count }} templates deleted", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Are you sure about that? Deleting the {{ templateName }} template is permanent.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Are you sure about that? Deleting {{ count }} template is permanent.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Are you sure about that? Deleting {{ count }} templates is permanent.", + "A template must have content": "A template must have content", + "Template published": "Template published", + "{{ count }} template published": "{{ count }} template published", + "{{ count }} template published_plural": "{{ count }} templates published", + "Could not publish {{ count }} template": "Could not publish {{ count }} template", + "Could not publish {{ count }} template_plural": "Could not publish {{ count }} templates", "Move to workspace": "Move to workspace", "Template moved": "Template moved", "Couldn't move the template, try again?": "Couldn't move the template, try again?", "Move to collection": "Move to collection", "Move template": "Move template", + "{{ count }} template duplicated": "{{ count }} template duplicated", + "{{ count }} template duplicated_plural": "{{ count }} templates duplicated", "Print template": "Print template", "Invite people": "Invite people", "Invite to workspace": "Invite to workspace", @@ -267,6 +291,7 @@ "People": "People", "Share": "Share", "Workspace": "Workspace", + "Recent searches": "Recent searches", "currently editing": "currently editing", "currently viewing": "currently viewing", "previously edited": "previously edited", @@ -389,13 +414,8 @@ "our engineers have been notified": "our engineers have been notified", "Clear cache + reload": "Clear cache + reload", "Show detail": "Show detail", - "Export started": "Export started", - "A link to your file will be sent through email soon": "A link to your file will be sent through email soon", - "Preparing your download": "Preparing your download", - "Include child documents": "Include child documents", - "When selected, exporting the document will take extra time.": "When selected, exporting the document will take extra time.", - "You will receive an email when it's complete.": "You will receive an email when it's complete.", "Exporting the collection may take some time.": "Exporting the collection may take some time.", + "You will receive an email when it's complete.": "You will receive an email when it's complete.", "Include attachments": "Include attachments", "Including uploaded images and files in the exported data": "Including uploaded images and files in the exported data", "Include private collections": "Include private collections", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "View, navigate, or download images in the document", "Zoom in": "Zoom in", "Zoom out": "Zoom out", + "Download": "Download", "Edit diagram": "Edit diagram", "Close": "Close", "Previous": "Previous", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}h {{ minutes }}m read", "{{ hours }}h read": "{{ hours }}h read", "{{ minutes }}m read": "{{ minutes }}m read", + "Archived": "Archived", "All members": "All members", "Everyone in the workspace": "Everyone in the workspace", "{{ count }} member": "{{ count }} member", @@ -529,11 +551,12 @@ "Switch to dark": "Switch to dark", "Switch to light": "Switch to light", "Subscribe to updates": "Subscribe to updates", + "Display settings": "Display settings", + "Edit {{noun}}": "Edit {{noun}}", "Logo": "Logo", "Add": "Add", "Add or invite": "Add or invite", "Sharing settings updated": "Sharing settings updated", - "Display settings": "Display settings", "Customize how the published document is displayed": "Customize how the published document is displayed", "Image options": "Image options", "Upload": "Upload", @@ -589,16 +612,16 @@ "New nested document": "New nested document", "No collections": "No collections", "Hide": "Hide", + "Starred": "Starred", + "Shared with me": "Shared with me", "Import files": "Import files", "Recent": "Recent", "Go back": "Go back", "Go forward": "Go forward", "Could not load shared documents": "Could not load shared documents", - "Shared with me": "Shared with me", "Show more": "Show more", "Link options": "Link options", "Could not load starred documents": "Could not load starred documents", - "Starred": "Starred", "Up to date": "Up to date", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} version behind", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} versions behind", @@ -615,6 +638,8 @@ "Star document": "Star document", "Select a color": "Select a colour", "Select all": "Select all", + "Columns": "Columns", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "Your changes couldn’t be saved.\nAre you sure you want to leave?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents", "You’re editing a template": "You’re editing a template", "Template created, go ahead and customize it": "Template created, go ahead and customise it", @@ -675,8 +700,6 @@ "Paste a link": "Paste a link", "Delete embed": "Delete embed", "Delete image": "Delete image", - "Create a new doc": "Create a new doc", - "Create a nested doc": "Create a nested doc", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} won't be notified, as they do not have access to this document", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Members of \"{{ groupName }}\" that have access to this document will be notified", "Keep as link": "Keep as link", @@ -726,7 +749,6 @@ "Italic": "Italic", "Strikethrough": "Strikethrough", "Background color": "Background color", - "None": "None", "Highlight": "Highlight", "Code": "Code", "Heading": "Heading", @@ -743,6 +765,8 @@ "Full width": "Full width", "Download image": "Download image", "Edit image URL": "Edit image URL", + "Create a new doc": "Create a new doc", + "Create a nested doc": "Create a nested doc", "Default width": "Default width", "Distribute columns": "Distribute columns", "Export as CSV": "Export as CSV", @@ -893,14 +917,23 @@ "only you": "only you", "person": "person", "people": "people", + "{{ number }} words selected": "{{ number }} word selected", + "{{ number }} words selected_plural": "{{ number }} words selected", + "{{ number }} characters selected": "{{ number }} character selected", + "{{ number }} characters selected_plural": "{{ number }} characters selected", + "{{ number }} words": "{{ number }} word", + "{{ number }} words_plural": "{{ number }} words", + "{{ number }} characters": "{{ number }} character", + "{{ number }} characters_plural": "{{ number }} characters", + "{{ number }} paragraphs": "{{ number }} paragraph", + "{{ number }} paragraphs_plural": "{{ number }} paragraphs", + "{{ number }} minute read": "{{ number }} minute read", "Document title": "Document title", "Last updated": "Last updated", "Type '/' to insert, or start writing…": "Type '/' to insert, or start writing…", "Hide contents": "Hide contents", "Show contents": "Show contents", "available when headings are added": "available when headings are added", - "Edit {{noun}}": "Edit {{noun}}", - "Archived": "Archived", "Save draft": "Save draft", "Restore version": "Restore version", "{{userName}} archived": "{{userName}} archived", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} published", "{{userName}} unpublished": "{{userName}} unpublished", "{{userName}} moved": "{{userName}} moved", - "via {{ authType }}": "via {{ authType }}", "Previous version": "Previous version", "Highlight changes": "Highlight changes", "Compare to": "Compare to", @@ -920,23 +952,12 @@ "Revision deleted": "Revision deleted", "Current version": "Current version", "{{userName}} edited": "{{userName}} edited", + "via {{ authType }}": "via {{ authType }}", "{{count}} people": "{{count}} person", "{{count}} people_plural": "{{count}} people", "Source": "Source", "Created": "Created", "Imported from {{ source }}": "Imported from {{ source }}", - "Stats": "Stats", - "{{ number }} minute read": "{{ number }} minute read", - "{{ number }} words": "{{ number }} word", - "{{ number }} words_plural": "{{ number }} words", - "{{ number }} characters": "{{ number }} character", - "{{ number }} characters_plural": "{{ number }} characters", - "{{ number }} emoji": "{{ number }} emoji", - "No text selected": "No text selected", - "{{ number }} words selected": "{{ number }} word selected", - "{{ number }} words selected_plural": "{{ number }} words selected", - "{{ number }} characters selected": "{{ number }} character selected", - "{{ number }} characters selected_plural": "{{ number }} characters selected", "Contributors": "Contributors", "Creator": "Creator", "Last edited": "Last edited", @@ -986,11 +1007,11 @@ "Warning Sign": "Warning Sign", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To reactivate your account, please reach out to them directly.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Sorry, an unknown error occurred while loading the page. Please try again, or contact support if the issue persists.", + "Documents you’ve recently viewed will be here for easy access": "Documents you’ve recently viewed will be here for easy access", "Created by me": "Created by me", "Weird, this shouldn't ever be empty": "Weird, this shouldn't ever be empty", "Documents with recent activity will appear here": "Documents with recent activity will appear here", "You haven’t created any documents yet": "You haven’t created any documents yet", - "Documents you’ve recently viewed will be here for easy access": "Documents you’ve recently viewed will be here for easy access", "{{ count }} invites sent": "{{ count }} invite sent", "{{ count }} invites sent_plural": "{{ count }} invites sent", "Those email addresses are already invited": "Those email addresses are already invited", @@ -1014,6 +1035,7 @@ "Open document history": "Open document history", "Jump to search": "Jump to search", "Jump to home": "Jump to home", + "Toggle statistics": "Toggle statistics", "Focus search input": "Focus search input", "Open this guide": "Open this guide", "Publish document and exit": "Publish document and exit", @@ -1151,7 +1173,6 @@ "Any time": "Any time", "Remove document filter": "Remove document filter", "Any status": "Any status", - "Recent searches": "Recent searches", "Remove search": "Remove search", "Relevance": "Relevance", "Newest": "Newest", @@ -1324,6 +1345,8 @@ "All roles": "All roles", "Admins": "Admins", "Editors": "Editors", + "Invited by": "Invited by", + "Joined": "Joined", "All status": "All status", "Active": "Active", "Could not load emojis": "Could not load emojis", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Show line numbers on code blocks in documents.", "Show comment marker": "Show comment marker", "Display a marker beside lines in the editor that contain comments.": "Display a marker beside lines in the editor that contain comments.", + "Display live word, character, and paragraph counts while editing.": "Display live word, character, and paragraph counts while editing.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.", "Remember previous location": "Remember previous location", "Automatically return to the document you were last viewing when the app is re-opened.": "Automatically return to the document you were last viewing when the app is re-opened.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "Sharing is currently disabled.", "You can globally enable and disable public document sharing in the security settings.": "You can globally enable and disable public document sharing in the security settings.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.", - "A template must have content": "A template must have content", + "Couldn’t create the template, try again?": "Couldn’t create the template, try again?", "Could not load templates": "Could not load templates", "Templates help your team create consistent and accurate documentation.": "Templates help your team create consistent and accurate documentation.", "No templates have been created yet": "No templates have been created yet", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "To create a workspace under another email please sign up from the homepage", "Trash emptied": "Bin emptied", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Are you sure you want to permanently delete all the documents in the Bin? This action is immediate and cannot be undone.", - "Recently deleted": "Recently deleted", + "You’ve not deleted any documents.": "You’ve not deleted any documents.", + "This user has not deleted any documents.": "This user has not deleted any documents.", "Trash is empty at the moment.": "The bin is empty at the moment.", + "Recently deleted": "Recently deleted", + "Deleted by anyone": "Deleted by anyone", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "A confirmation code has been sent to your email address; please enter the code below to permanently destroy your account.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.", "Delete my account": "Delete my account", + "Export started": "Export started", + "A link to your file will be sent through email soon": "A link to your file will be sent through email soon", + "Preparing your download": "Preparing your download", "Today": "Today", "Yesterday": "Yesterday", "Last week": "Last week", diff --git a/shared/i18n/locales/es_ES/translation.json b/shared/i18n/locales/es_ES/translation.json index 0a90955af8..879d485032 100644 --- a/shared/i18n/locales/es_ES/translation.json +++ b/shared/i18n/locales/es_ES/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} documentos sin publicar", "Subscription inherited from collection": "Suscripción heredada de la colección", "Share document": "Compartir documento", - "Download": "Descargar", - "Download document": "Descargar documento", + "Markdown": "Markdown", "Download as Markdown": "Descargar como Markdown", + "HTML": "HTML", "Download as HTML": "Descargar como HTML", + "TextBundle": "Paquete de texto", "Download as TextBundle": "Descargar como TextBundle", + "PDF": "PDF", "Download as PDF": "Descargar como PDF", "Copy as Markdown": "Copiar como Markdown", "Markdown copied to clipboard": "Markdown copiado al portapapeles", @@ -103,6 +105,7 @@ "Search in document": "Buscar en el documento", "Print": "Imprimir", "Print document": "Imprimir documento", + "Export document": "Exportar documento", "Open in desktop app": "Abrir en la aplicación de escritorio", "Present": "Presentar", "Present document": "Presentar documento", @@ -138,6 +141,12 @@ "Comments": "Comentarios", "History": "Historial", "Insights": "Estadísticas", + "Show editing stats": "Mostrar estadísticas de edición", + "None": "Nada", + "Multi-level decimal": "Decimal multinivel", + "Alphanumeric": "Alfanumérico", + "Harvard": "Harvard", + "Heading numbering": "Numeración de encabezados", "Leave document": "Abandonar documento", "You have left the shared document": "Has abandonado el documento compartido", "Could not leave document": "No se pudo abandonar el documento", @@ -195,11 +204,8 @@ "New Application": "Nueva solicitud", "Delete app": "Eliminar aplicación", "This version of the document was deleted": "Esta versión del documento ha sido eliminada", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Exportando", - "Markdown": "Markdown", - "Download revision": "Descargar revisión", + "Export revision": "Exportar revisión", "Dark": "Oscuro", "Light": "Claro", "Toggle theme": "Alternar tema", @@ -212,19 +218,37 @@ "Go to document": "Ir al documento", "Revoke link": "Revocar enlace", "Share link revoked": "Enlace para compartir revocado", + "{{ count }} share link revoked": "{{ count }} enlace para compartir revocado", + "{{ count }} share link revoked_plural": "{{ count }} enlaces para compartir revocados", + "Could not revoke {{ count }} share link": "No se pudo revocar {{ count }} enlace para compartir", + "Could not revoke {{ count }} share link_plural": "No se pudieron revocar {{ count }} enlaces para compartir", "Switch workspace": "Cambiar espacio de trabajo", "Select a workspace": "Seleccionar un espacio de trabajo", "New workspace": "Nuevo espacio de trabajo", "Create a workspace": "Crear un espacio de trabajo", "Login to workspace": "Iniciar sesión al espacio de trabajo", - "template": "plantilla", + "Delete template": "Eliminar plantilla", + "Delete {{ count }} template": "Eliminar {{ count }} plantilla", + "Delete {{ count }} template_plural": "Eliminar {{ count }} plantillas", "Template deleted": "Plantilla eliminada", + "{{ count }} template deleted": "{{ count }} plantilla eliminada", + "{{ count }} template deleted_plural": "{{ count }} plantillas eliminadas", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "¿Estás seguro de eso? Eliminar la plantilla {{ templateName }} es permanente.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "¿Estás seguro de eso? Eliminar {{ count }} plantilla es permanente.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "¿Estás seguro de eso? Eliminar {{ count }} plantillas es permanente.", + "A template must have content": "Una plantilla debe tener contenido", + "Template published": "Plantilla publicada", + "{{ count }} template published": "{{ count }} plantilla publicada", + "{{ count }} template published_plural": "{{ count }} plantillas publicadas", + "Could not publish {{ count }} template": "No se pudo publicar {{ count }} plantilla", + "Could not publish {{ count }} template_plural": "No se pudieron publicar {{ count }} plantillas", "Move to workspace": "Mover al espacio de trabajo", "Template moved": "Plantilla movida", "Couldn't move the template, try again?": "No se pudo mover la plantilla, ¿intentarlo de nuevo?", "Move to collection": "Mover a la colección", "Move template": "Mover plantilla", + "{{ count }} template duplicated": "{{ count }} plantilla duplicada", + "{{ count }} template duplicated_plural": "{{ count }} plantillas duplicadas", "Print template": "Imprimir plantilla", "Invite people": "Invitar personas", "Invite to workspace": "Invitar al espacio de trabajo", @@ -267,6 +291,7 @@ "People": "Personas", "Share": "Compartir", "Workspace": "Espacio de trabajo", + "Recent searches": "Búsquedas recientes", "currently editing": "editando actualmente", "currently viewing": "visualizando actualmente", "previously edited": "ha editado previamente", @@ -389,13 +414,8 @@ "our engineers have been notified": "nuestros ingenieros han sido notificados", "Clear cache + reload": "Limpiar caché + recargar", "Show detail": "Mostrar detalle", - "Export started": "Exportación iniciada", - "A link to your file will be sent through email soon": "Un enlace a su archivo será enviado por correo electrónico pronto", - "Preparing your download": "Preparando tu descarga...", - "Include child documents": "Incluye documentos hijos", - "When selected, exporting the document will take extra time.": "Al seleccionarlo, la exportación del documento tardará más tiempo.", - "You will receive an email when it's complete.": "Recibirás un correo electrónico cuando esté completado.", "Exporting the collection may take some time.": "La exportación de la colección შეიძლება tardar algún tiempo.", + "You will receive an email when it's complete.": "Recibirás un correo electrónico cuando esté completado.", "Include attachments": "Incluir archivos adjuntos", "Including uploaded images and files in the exported data": "Incluyendo imágenes y archivos subidos en los datos exportados", "Include private collections": "Incluye colecciones privadas", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "Ver, navegar o descargar imágenes en el documento", "Zoom in": "Ampliar Zoom", "Zoom out": "Alejar Zoom", + "Download": "Descargar", "Edit diagram": "Editar diagrama", "Close": "Cerrar", "Previous": "Anterior", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}h {{ minutes }}m leído", "{{ hours }}h read": "{{ hours }}h leído", "{{ minutes }}m read": "Lectura de {{ minutes }}m", + "Archived": "Archivado", "All members": "Todos los miembros", "Everyone in the workspace": "Todos en el espacio de trabajo", "{{ count }} member": "{{ count }} miembro", @@ -529,11 +551,12 @@ "Switch to dark": "Cambiar al modo oscuro", "Switch to light": "Cambiar al modo claro", "Subscribe to updates": "Suscribirse a actualizaciones", + "Display settings": "Ajustes de pantalla", + "Edit {{noun}}": "Editar {{noun}}", "Logo": "Logo", "Add": "Agregar", "Add or invite": "Añadir o invitar", "Sharing settings updated": "Ajustes de uso compartido actualizados", - "Display settings": "Ajustes de pantalla", "Customize how the published document is displayed": "Personalizar cómo se muestra el documento publicado", "Image options": "Opciones de imagen", "Upload": "Subir", @@ -589,16 +612,16 @@ "New nested document": "Nuevo documento anidado", "No collections": "Sin colecciones", "Hide": "Ocultar", + "Starred": "Favoritos", + "Shared with me": "Compartido conmigo", "Import files": "Importar archivos", "Recent": "Reciente", "Go back": "Volver", "Go forward": "Avanzar", "Could not load shared documents": "No se pudo cargar los documentos compartidos", - "Shared with me": "Compartido conmigo", "Show more": "Mostrar más", "Link options": "Opciones del enlace", "Could not load starred documents": "No se pudo cargar los documentos favoritos", - "Starred": "Favoritos", "Up to date": "Al día", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} versión atrás", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} versiones atrás", @@ -615,6 +638,8 @@ "Star document": "Marcar documento como favorito", "Select a color": "Selecciona un color", "Select all": "Seleccionar todo", + "Columns": "Columnas", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "No se pudieron guardar los cambios.\n¿Seguro que quieres salir?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Resalta algo de texto y usa el control <1> para añadir campos que se pueden llenar al crear nuevos documentos", "You’re editing a template": "Estás editando una plantilla", "Template created, go ahead and customize it": "Plantilla creada, procede a personalizarla", @@ -675,8 +700,6 @@ "Paste a link": "Pegar un enlace", "Delete embed": "Eliminar incrustado", "Delete image": "Eliminar imagen", - "Create a new doc": "Crea un nuevo documento", - "Create a nested doc": "Crear un documento anidado", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} no será notificado, ya que no tiene acceso a este documento", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Los miembros de \"{{ groupName }}\" que tengan acceso a este documento serán notificados", "Keep as link": "Mantener como enlace", @@ -726,7 +749,6 @@ "Italic": "Cursiva", "Strikethrough": "Tachado", "Background color": "Color de fondo", - "None": "Nada", "Highlight": "Resaltar", "Code": "Código", "Heading": "Encabezado", @@ -743,6 +765,8 @@ "Full width": "Ancho total", "Download image": "Descargar imagen", "Edit image URL": "Editar URL de la imagen", + "Create a new doc": "Crea un nuevo documento", + "Create a nested doc": "Crear un documento anidado", "Default width": "Ancho predeterminado", "Distribute columns": "Distribuir columnas", "Export as CSV": "Exportar como CSV", @@ -893,14 +917,23 @@ "only you": "solo tú", "person": "persona", "people": "personas", + "{{ number }} words selected": "{{ number }} palabra seleccionada", + "{{ number }} words selected_plural": "{{ number }} palabras seleccionadas", + "{{ number }} characters selected": "{{ number }} carácter seleccionado", + "{{ number }} characters selected_plural": "{{ number }} caracteres seleccionados", + "{{ number }} words": "{{ number }} palabra", + "{{ number }} words_plural": "{{ number }} palabras", + "{{ number }} characters": "{{ number }} carácter", + "{{ number }} characters_plural": "{{ number }} caracteres", + "{{ number }} paragraphs": "{{ number }} párrafo", + "{{ number }} paragraphs_plural": "{{ number }} párrafos", + "{{ number }} minute read": "{{ number }} minuto de lectura", "Document title": "Título del documento", "Last updated": "Última actualización", "Type '/' to insert, or start writing…": "Escribe '/' para insertar, o empieza a escribir…", "Hide contents": "Ocultar contenidos", "Show contents": "Mostrar contenidos", "available when headings are added": "disponible cuando se añadan encabezados", - "Edit {{noun}}": "Editar {{noun}}", - "Archived": "Archivado", "Save draft": "Guardar borrador", "Restore version": "Restaurar versión", "{{userName}} archived": "{{userName}} ha archivado", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} ha publicado", "{{userName}} unpublished": "{{userName}} ha despublicado", "{{userName}} moved": "{{userName}} ha movido", - "via {{ authType }}": "a través de {{ authType }}", "Previous version": "Versión anterior", "Highlight changes": "Resaltar cambios", "Compare to": "Comparar con", @@ -920,23 +952,12 @@ "Revision deleted": "Revisión eliminada", "Current version": "Versión actual", "{{userName}} edited": "{{userName}} ha editado", + "via {{ authType }}": "a través de {{ authType }}", "{{count}} people": "{{count}} persona", "{{count}} people_plural": "{{count}} personas", "Source": "Fuente", "Created": "Creado", "Imported from {{ source }}": "Importado desde {{ source }}", - "Stats": "Estadísticas", - "{{ number }} minute read": "{{ number }} minuto de lectura", - "{{ number }} words": "{{ number }} palabra", - "{{ number }} words_plural": "{{ number }} palabras", - "{{ number }} characters": "{{ number }} carácter", - "{{ number }} characters_plural": "{{ number }} caracteres", - "{{ number }} emoji": "{{ number }} emoji", - "No text selected": "Ningún texto seleccionado", - "{{ number }} words selected": "{{ number }} palabra seleccionada", - "{{ number }} words selected_plural": "{{ number }} palabras seleccionadas", - "{{ number }} characters selected": "{{ number }} carácter seleccionado", - "{{ number }} characters selected_plural": "{{ number }} caracteres seleccionados", "Contributors": "Colaboradores", "Creator": "Creador", "Last edited": "Última edición", @@ -986,11 +1007,11 @@ "Warning Sign": "Señal de Advertencia", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "Un administrador del espacio de trabajo ({{ suspendedContactEmail }}) ha suspendido tu cuenta. Para reactivarla, por favor contáctalo directamente.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Lo sentimos, se ha producido un error desconocido al cargar la página. Por favor, inténtelo de nuevo o póngase en contacto con el soporte técnico si el problema persiste.", + "Documents you’ve recently viewed will be here for easy access": "Los documentos que hayas visto recientemente estarán aquí para fácil acceso", "Created by me": "Creado por mí", "Weird, this shouldn't ever be empty": "Que raro, esto nunca debería estar vacío", "Documents with recent activity will appear here": "Los documentos con actividad reciente aparecerán aquí", "You haven’t created any documents yet": "Aún no has creado ningún documento", - "Documents you’ve recently viewed will be here for easy access": "Los documentos que hayas visto recientemente estarán aquí para fácil acceso", "{{ count }} invites sent": "{{ count }} invitación enviada", "{{ count }} invites sent_plural": "{{ count }} invitaciones enviadas", "Those email addresses are already invited": "Esas direcciones de correo electrónico ya están invitadas", @@ -1014,6 +1035,7 @@ "Open document history": "Abrir historial del documento", "Jump to search": "Ir a la búsqueda", "Jump to home": "Volver al inicio", + "Toggle statistics": "Alternar estadísticas", "Focus search input": "Enfocar el campo de búsqueda", "Open this guide": "Abrir esta guía", "Publish document and exit": "Publicar documento y salir", @@ -1151,7 +1173,6 @@ "Any time": "Cualquier momento", "Remove document filter": "Eliminar filtro de documentos", "Any status": "Cualquier estado", - "Recent searches": "Búsquedas recientes", "Remove search": "Eliminar búsqueda", "Relevance": "Relevancia", "Newest": "Más reciente", @@ -1324,6 +1345,8 @@ "All roles": "Todos los roles", "Admins": "Administradores", "Editors": "Editores", + "Invited by": "Invitado por", + "Joined": "Unido", "All status": "Todos los estados", "Active": "Activo", "Could not load emojis": "No se pudieron cargar los emojis", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Mostrar números de línea en los bloques de código de los documentos.", "Show comment marker": "Mostrar marcador de comentarios", "Display a marker beside lines in the editor that contain comments.": "Muestra un marcador junto a las líneas del editor que contienen comentarios.", + "Display live word, character, and paragraph counts while editing.": "Muestra los recuentos de palabras, caracteres y párrafos en tiempo real mientras editas.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "Cuando está activada, los documentos tienen un modo de edición separada. Cuando está desactivada, los documentos son siempre editables si tienes permiso de edición.", "Remember previous location": "Recordar ubicación anterior", "Automatically return to the document you were last viewing when the app is re-opened.": "Volver automáticamente al documento que estabas viendo cuando la aplicación se vuelva a abrir.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "Compartir está deshabilitado actualmente.", "You can globally enable and disable public document sharing in the security settings.": "Puedes activar y desactivar globalmente el uso de documentos compartidos públicamente en la configuración de seguridad.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Los documentos que se han compartido se enumeran a continuación. Cualquiera que tenga el enlace público podrá acceder a una versión de solo lectura del documento hasta que se revoque el enlace.", - "A template must have content": "Una plantilla debe tener contenido", + "Couldn’t create the template, try again?": "No se pudo crear la plantilla, ¿intentarlo de nuevo?", "Could not load templates": "No se pudieron cargar las plantillas", "Templates help your team create consistent and accurate documentation.": "Puedes crear plantillas para ayudar a tu equipo a crear documentación coherente y precisa.", "No templates have been created yet": "Aún no se han creado plantillas", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "Para crear un espacio de trabajo bajo otro correo electrónico, por favor regístrate desde la página de inicio", "Trash emptied": "Papelera vaciada", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "¿Estás seguro de que quieres eliminar permanentemente los documentos en la papelera? Esta acción es inmediata y no se puede deshacer.", - "Recently deleted": "Eliminados recientemente", + "You’ve not deleted any documents.": "No has eliminado ningún documento.", + "This user has not deleted any documents.": "Este usuario no ha eliminado ningún documento.", "Trash is empty at the moment.": "La papelera está vacía en este momento.", + "Recently deleted": "Eliminados recientemente", + "Deleted by anyone": "Eliminado por cualquiera", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "Un código de confirmación ha sido enviado a tu dirección de correo electrónico, por favor ingresa el código a continuación para eliminar permanentemente tu cuenta.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "¿Estás seguro? Eliminar tu cuenta destruirá los datos de identificación asociados con tu usuario y no se puede deshacer. Se cerrará inmediatamente tu sesión de {{appName}} y se revocarán todos tus tokens de API.", "Delete my account": "Eliminar mi cuenta", + "Export started": "Exportación iniciada", + "A link to your file will be sent through email soon": "Un enlace a su archivo será enviado por correo electrónico pronto", + "Preparing your download": "Preparando tu descarga...", "Today": "Hoy", "Yesterday": "Ayer", "Last week": "La semana pasada", diff --git a/shared/i18n/locales/fa_IR/translation.json b/shared/i18n/locales/fa_IR/translation.json index dba6fd4ddb..4af6f2c15a 100644 --- a/shared/i18n/locales/fa_IR/translation.json +++ b/shared/i18n/locales/fa_IR/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} سند از حالت انتشار خارج شدند", "Subscription inherited from collection": "اشتراک از مجموعه ارث‌بری شد", "Share document": "Share document", - "Download": "دانلود", - "Download document": "دانلود سند", + "Markdown": "MarkDown", "Download as Markdown": "بارگیری در قالب Markdown", + "HTML": "HTML", "Download as HTML": "بارگیری در قالب HTML", + "TextBundle": "بستهٔ متن", "Download as TextBundle": "دانلود به‌صورت TextBundle", + "PDF": "PDF", "Download as PDF": "بارگیری در قالب PDF", "Copy as Markdown": "کپی به صورت Markdown", "Markdown copied to clipboard": "Markdown در کلیپ‌بورد کپی شد", @@ -103,6 +105,7 @@ "Search in document": "جستجو در مستندات", "Print": "چاپ", "Print document": "چاپ سند", + "Export document": "صادر کردن سند", "Open in desktop app": "بارکردن در برنامه دسکتاپ", "Present": "Present", "Present document": "Present document", @@ -138,6 +141,12 @@ "Comments": "نظرات", "History": "تاریخچه", "Insights": "بینش ها", + "Show editing stats": "نمایش آمار ویرایش", + "None": "هیچ‌کدام", + "Multi-level decimal": "اعشاری چندسطحی", + "Alphanumeric": "الفبایی‌عددی", + "Harvard": "هاروارد", + "Heading numbering": "شماره‌گذاری عنوان‌ها", "Leave document": "ذخیره سند", "You have left the shared document": "شما از سند مشترک خارج شده‌اید", "Could not leave document": "امکان خروج از سند وجود ندارد", @@ -195,11 +204,8 @@ "New Application": "برنامه جدید", "Delete app": "حذف اپلیکیشن", "This version of the document was deleted": "این نسخه از سند حذف شده است", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "در حال خروجی گرفتن", - "Markdown": "MarkDown", - "Download revision": "بارگیری نسخه", + "Export revision": "صادر کردن نسخه", "Dark": "تیره", "Light": "روشن", "Toggle theme": "تغییر تم", @@ -212,19 +218,37 @@ "Go to document": "رفتن به سند", "Revoke link": "حذف لینک", "Share link revoked": "لینک اشتراک‌گذاری حذف شد", + "{{ count }} share link revoked": "{{ count }} share link revoked", + "{{ count }} share link revoked_plural": "{{ count }} share links revoked", + "Could not revoke {{ count }} share link": "Could not revoke {{ count }} share link", + "Could not revoke {{ count }} share link_plural": "Could not revoke {{ count }} share links", "Switch workspace": "تغییر مجموعه", "Select a workspace": "انتخاب مجموعه", "New workspace": "مجموعه جدید", "Create a workspace": "مجموعه ایجاد کنید", "Login to workspace": "وارد شدن به workspace", - "template": "قالب", + "Delete template": "حذف قالب", + "Delete {{ count }} template": "حذف {{ count }} قالب", + "Delete {{ count }} template_plural": "حذف {{ count }} قالب", "Template deleted": "قالب حذف شد", + "{{ count }} template deleted": "{{ count }} قالب حذف شد", + "{{ count }} template deleted_plural": "{{ count }} قالب حذف شد", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Are you sure about that? Deleting the {{ templateName }} template is permanent.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "آیا مطمئن هستید؟ حذف {{ count }} قالب دائمی است.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "آیا مطمئن هستید؟ حذف {{ count }} قالب دائمی است.", + "A template must have content": "A template must have content", + "Template published": "قالب منتشر شد", + "{{ count }} template published": "{{ count }} قالب منتشر شد", + "{{ count }} template published_plural": "{{ count }} قالب منتشر شد", + "Could not publish {{ count }} template": "انتشار {{ count }} قالب انجام نشد", + "Could not publish {{ count }} template_plural": "انتشار {{ count }} قالب انجام نشد", "Move to workspace": "وارد شدن به workspace", "Template moved": "قالب منتقل شد", "Couldn't move the template, try again?": "انتقال قالب انجام نشد. دوباره تلاش می‌کنید؟", "Move to collection": "سنجاق کردن به مجموعه", "Move template": "انتقال قالب", + "{{ count }} template duplicated": "{{ count }} قالب تکثیر شد", + "{{ count }} template duplicated_plural": "{{ count }} قالب تکثیر شد", "Print template": "چاپ قالب", "Invite people": "دعوت از افراد", "Invite to workspace": "وارد شدن به workspace", @@ -267,6 +291,7 @@ "People": "افراد", "Share": "اشتراک‌گذاری", "Workspace": "مجموعه", + "Recent searches": "جستجوهای اخیر", "currently editing": "در حال ویرایش", "currently viewing": "در حال مشاهده", "previously edited": "قبلاً ویرایش شده", @@ -389,13 +414,8 @@ "our engineers have been notified": "به مهندسان ما اطلاع‌رسانی شد", "Clear cache + reload": "پاک‌کردن کش و بارگذاری مجدد", "Show detail": "نمایش جزئیات", - "Export started": "فرآیند خروجی گرفتن آغاز شد", - "A link to your file will be sent through email soon": "یک پیوند به فایل شما به زودی از طریق ایمیل ارسال خواهد شد", - "Preparing your download": "در حال آماده‌سازی بارگیری", - "Include child documents": "Include child documents", - "When selected, exporting the document will take extra time.": "در صورت انتخاب، صادر کردن سند زمان بیشتری می‌برد.", - "You will receive an email when it's complete.": "پس از اتمام، ایمیلی دریافت خواهید کرد", "Exporting the collection may take some time.": "صادر کردن مجموعه ممکن است مدتی طول بکشد.", + "You will receive an email when it's complete.": "پس از اتمام، ایمیلی دریافت خواهید کرد", "Include attachments": "ضمیمه‌ها را شامل کن", "Including uploaded images and files in the exported data": "شامل تصاویر و فایل‌های بارگذاری‌شده در داده‌های خروجی", "Include private collections": "مجموعه‌های خصوصی را شامل کن", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "مشاهده، مرور یا دانلود تصاویر سند", "Zoom in": "بزرگ‌نمایی", "Zoom out": "کوچک‌نمایی", + "Download": "دانلود", "Edit diagram": "Edit diagram", "Close": "بستن", "Previous": "قبلی", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}h {{ minutes }}m read", "{{ hours }}h read": "{{ hours }}h read", "{{ minutes }}m read": "{{ minutes }} دقیقه مطالعه", + "Archived": "بایگانی شده", "All members": "همه اعضا", "Everyone in the workspace": "همه اعضای فضای کار", "{{ count }} member": "{{ count }} عضو", @@ -529,11 +551,12 @@ "Switch to dark": "تغییر به تیره", "Switch to light": "تغییر به روشن", "Subscribe to updates": "Subscribe to updates", + "Display settings": "Display settings", + "Edit {{noun}}": "ویرایش {{noun}}", "Logo": "لوگو", "Add": "افزودن", "Add or invite": "افزودن یا دعوت", "Sharing settings updated": "Sharing settings updated", - "Display settings": "Display settings", "Customize how the published document is displayed": "Customize how the published document is displayed", "Image options": "Image options", "Upload": "بارگذاری", @@ -589,18 +612,18 @@ "New nested document": "ایجاد زیرسند جدید", "No collections": "هیچ مجموعه‌ای وجود ندارد", "Hide": "پنهان کردن", + "Starred": "ستاره‌دار", + "Shared with me": "به اشتراک گذاشته شده با من", "Import files": "افزودن فایل‌ها", "Recent": "Recent", "Go back": "بازگشت", "Go forward": "رفتن به جلو", "Could not load shared documents": "امکان بارگذاری اسناد به اشتراک گذاشته شده وجود ندارد", - "Shared with me": "به اشتراک گذاشته شده با من", "Show more": "اطلاعات بیشتر", "Link options": "گزینه‌های لینک", "Could not load starred documents": "امکان بارگذاری اسناد ستاره‌دار وجود ندارد", - "Starred": "ستاره‌دار", "Up to date": "به روز", - "{{ releasesBehind }} versions behind": "یک نسخه عقب است", + "{{ releasesBehind }} versions behind": "{{ releasesBehind }} نسخه عقب است", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} نسخه عقب است", "Change permissions?": "تغییر مجوز ها؟", "{{ documentName }} cannot be moved within {{ parentDocumentName }}": "{{ documentName }} قابل جابجایی در {{ parentDocumentName }} نیست", @@ -615,6 +638,8 @@ "Star document": "ستاره‌دار کردن سند", "Select a color": "یک رنگ را انتخاب کنید", "Select all": "انتخاب همه", + "Columns": "ستون‌ها", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "تغییرات شما ذخیره نشد.\nمطمئنید که می‌خواهید خارج شوید؟", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "متنی را هایلایت کنید و از کنترل <1> برای افزودن جایگزین‌هایی استفاده کنید که می‌توانند هنگام ایجاد اسناد جدید پر شوند", "You’re editing a template": "شما در حال ویرایش قالب هستید", "Template created, go ahead and customize it": "الگو ایجاد شد، پیش بروید و آن را سفارشی کنید", @@ -675,8 +700,6 @@ "Paste a link": "جایگذاری لینک", "Delete embed": "حذف جاسازی", "Delete image": "حذف تصویر", - "Create a new doc": "ایجاد سند جدید", - "Create a nested doc": "Create a nested doc", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} مطلع نخواهد شد، زیرا به این سند دسترسی ندارد", "Members of \"{{ groupName }}\" that have access to this document will be notified": "اعضای «{{ groupName }}» که به این سند دسترسی دارند، مطلع خواهند شد", "Keep as link": "حفظ به‌عنوان لینک", @@ -726,7 +749,6 @@ "Italic": "مورب", "Strikethrough": "خط خورده", "Background color": "Background color", - "None": "هیچ‌کدام", "Highlight": "هایلایت", "Code": "کد", "Heading": "عنوان", @@ -743,6 +765,8 @@ "Full width": "عرض کامل", "Download image": "دانلود تصویر", "Edit image URL": "ویرایش آدرس تصویر", + "Create a new doc": "ایجاد سند جدید", + "Create a nested doc": "Create a nested doc", "Default width": "عرض پیش‌فرض", "Distribute columns": "Distribute columns", "Export as CSV": "خروجی به CSV", @@ -893,14 +917,23 @@ "only you": "فقط شما", "person": "نفر", "people": "نفر", + "{{ number }} words selected": "{{ number }} کلمه انتخاب شده", + "{{ number }} words selected_plural": "{{ number }} کلمه انتخاب شده", + "{{ number }} characters selected": "{{ number }} کاراکتر انتخاب شده", + "{{ number }} characters selected_plural": "{{ number }} کاراکتر انتخاب شده", + "{{ number }} words": "{{ number }} کلمه", + "{{ number }} words_plural": "{{ number }} کلمه", + "{{ number }} characters": "{{ number }} کاراکتر", + "{{ number }} characters_plural": "{{ number }} کاراکتر", + "{{ number }} paragraphs": "{{ number }} پاراگراف", + "{{ number }} paragraphs_plural": "{{ number }} پاراگراف", + "{{ number }} minute read": "زمان مطالعه {{ number }} دقیقه", "Document title": "عنوان سند", "Last updated": "آخرین به‌روزرسانی", "Type '/' to insert, or start writing…": "برای درج، '/' را تایپ کنید یا شروع به نوشتن کنید…", "Hide contents": "مخفی کردن محتوا", "Show contents": "نمایش محتوا", "available when headings are added": "زمانی که عنوان‌ها اضافه شوند فعال می‌شود", - "Edit {{noun}}": "ویرایش {{noun}}", - "Archived": "بایگانی شده", "Save draft": "ذخیره پیش‌نویس", "Restore version": "بازیابی نسخه", "{{userName}} archived": "{{userName}} آرشیو شد", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} منتشر شد", "{{userName}} unpublished": "{{userName}} منتشر نشده", "{{userName}} moved": "{{userName}} منتقل شد", - "via {{ authType }}": "از طریق {{ authType }}", "Previous version": "Previous version", "Highlight changes": "Highlight changes", "Compare to": "Compare to", @@ -920,23 +952,12 @@ "Revision deleted": "نسخه حذف شد", "Current version": "نسخه فعلی", "{{userName}} edited": "{{userName}} ویرایش شد", + "via {{ authType }}": "از طریق {{ authType }}", "{{count}} people": "{{count}} person", "{{count}} people_plural": "{{count}} people", "Source": "منبع", "Created": "ایجاد شده", "Imported from {{ source }}": "وارد شده از {{ source }}", - "Stats": "آمار", - "{{ number }} minute read": "زمان مطالعه {{ number }} دقیقه", - "{{ number }} words": "{{ number }} کلمه", - "{{ number }} words_plural": "{{ number }} کلمه", - "{{ number }} characters": "{{ number }} کاراکتر", - "{{ number }} characters_plural": "{{ number }} کاراکتر", - "{{ number }} emoji": "{{ number }} ایموجی", - "No text selected": "متنی انتخاب نشده است", - "{{ number }} words selected": "{{ number }} کلمه انتخاب شده", - "{{ number }} words selected_plural": "{{ number }} کلمه انتخاب شده", - "{{ number }} characters selected": "{{ number }} کاراکتر انتخاب شده", - "{{ number }} characters selected_plural": "{{ number }} کاراکتر انتخاب شده", "Contributors": "فعالان", "Creator": "ایجادکننده", "Last edited": "آخرین ویرایش", @@ -986,11 +1007,11 @@ "Warning Sign": "علامت هشدار", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "یک مدیر فضای کاری ({{ suspendedContactEmail }}) حساب شما را معلق کرده است. برای فعال‌سازی مجدد حساب خود، لطفاً مستقیماً با آنها تماس بگیرید.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "متأسفانه، خطای ناشناخته‌ای در بارگذاری صفحه رخ داده است. لطفاً دوباره تلاش کنید یا در صورت ادامه مشکل، با پشتیبانی تماس بگیرید.", + "Documents you’ve recently viewed will be here for easy access": "اسنادی که اخیراً مشاهده کرده اید برای دسترسی آسان در اینجا خواهند بود", "Created by me": "ایجاد شده توسط من", "Weird, this shouldn't ever be empty": "Weird, this shouldn't ever be empty", "Documents with recent activity will appear here": "Documents with recent activity will appear here", "You haven’t created any documents yet": "شما هنوز هیچ سندی ایجاد نکرده‌اید", - "Documents you’ve recently viewed will be here for easy access": "اسنادی که اخیراً مشاهده کرده اید برای دسترسی آسان در اینجا خواهند بود", "{{ count }} invites sent": "{{ count }} invite sent", "{{ count }} invites sent_plural": "{{ count }} دعوت‌نامه ارسال شد", "Those email addresses are already invited": "این نشانی‌های ایمیل قبلاً دعوت شده‌اند", @@ -1014,6 +1035,7 @@ "Open document history": "باز کردن تاریخچه سند", "Jump to search": "رفتن به جستجو", "Jump to home": "رفتن به خانه", + "Toggle statistics": "تغییر وضعیت آمار", "Focus search input": "انتخاب ورودی جستجو", "Open this guide": "باز کردن این راهنما", "Publish document and exit": "انتشار سند و خروج", @@ -1151,7 +1173,6 @@ "Any time": "هر زمانی", "Remove document filter": "حذف فیلتر سند", "Any status": "هر وضعیتی", - "Recent searches": "جستجوهای اخیر", "Remove search": "جستجو را حذف کن", "Relevance": "Relevance", "Newest": "Newest", @@ -1324,6 +1345,8 @@ "All roles": "همه نقش‌ها", "Admins": "مدیران", "Editors": "ویرایشگران", + "Invited by": "دعوت‌شده توسط", + "Joined": "پیوست", "All status": "همه وضعیت‌ها", "Active": "فعال", "Could not load emojis": "Could not load emojis", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "نمایش شماره خطوط بر روی بلوک‌های کد در اسناد.", "Show comment marker": "Show comment marker", "Display a marker beside lines in the editor that contain comments.": "Display a marker beside lines in the editor that contain comments.", + "Display live word, character, and paragraph counts while editing.": "نمایش تعداد لحظه‌ای واژه‌ها، نویسه‌ها و پاراگراف‌ها هنگام ویرایش.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "هنگامی که فعال باشد، اسناد دارای حالت ویرایش جداگانه‌ای هستند. هنگامی که غیرفعال باشد، اسناد همیشه قابل ویرایش هستند زمانی که شما اجازه دارید.", "Remember previous location": "به خاطر سپردن مکان قبلی", "Automatically return to the document you were last viewing when the app is re-opened.": "به طور خودکار به سندی که آخرین بار مشاهده می‌کردید بازگردید زمانی که برنامه دوباره باز شود.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "اشتراک‌گذاری در حال حاضر غیرفعال است.", "You can globally enable and disable public document sharing in the security settings.": "از تنظیمات امنیتی می‌توانید امکان اشتراک‌گذاری عمومی سندها را در سطح کل سیستم فعال و غیرفعال کنید.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "سندهای اشتراک‌گذاری شده در اینجا فهرست شده‌اند. هر فردی با لینک عمومی تا پیش از حذف لینک می‌تواند به صورت فقط خواندنی به سند مربوطه دسترسی داشته باشد.", - "A template must have content": "A template must have content", + "Couldn’t create the template, try again?": "ایجاد قالب انجام نشد. دوباره تلاش می‌کنید؟", "Could not load templates": "Could not load templates", "Templates help your team create consistent and accurate documentation.": "Templates help your team create consistent and accurate documentation.", "No templates have been created yet": "No templates have been created yet", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "برای ایجاد فضای کاری با ایمیل دیگر، لطفاً از صفحه اصلی ثبت‌نام کنید.", "Trash emptied": "سطل زباله خالی شد.", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "آیا از حذف دائمی همه اسناد موجود در سطل زباله اطمینان دارید؟ این اقدام بلافاصله انجام می‌شود و قابل بازگشت نیست.", - "Recently deleted": "حذف‌شده‌های اخیر", + "You’ve not deleted any documents.": "شما هیچ سندی را حذف نکرده‌اید.", + "This user has not deleted any documents.": "این کاربر هیچ سندی را حذف نکرده است.", "Trash is empty at the moment.": "سطل زباله در حال حاضر خالی است.", + "Recently deleted": "حذف‌شده‌های اخیر", + "Deleted by anyone": "حذف‌شده توسط هر کسی", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "کد تأیید به ایمیل شما ارسال شد. لطفاً آن را در کادر زیر وارد کنید تا حساب کاربری شما برای همیشه حذف شود.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "آیا مطمئن هستید؟ حذف حساب کاربری باعث از بین رفتن تمام داده‌های شناسایی مرتبط با شما می‌شود و قابل بازگشت نیست. بلافاصله از {{appName}} خارج خواهید شد و همه توکن‌های API شما لغو خواهند شد.", "Delete my account": "حساب مرا حذف کن", + "Export started": "فرآیند خروجی گرفتن آغاز شد", + "A link to your file will be sent through email soon": "یک پیوند به فایل شما به زودی از طریق ایمیل ارسال خواهد شد", + "Preparing your download": "در حال آماده‌سازی بارگیری", "Today": "امروز", "Yesterday": "دیروز", "Last week": "هفته قبل", diff --git a/shared/i18n/locales/fr_FR/translation.json b/shared/i18n/locales/fr_FR/translation.json index 521341401a..0f8e591fa6 100644 --- a/shared/i18n/locales/fr_FR/translation.json +++ b/shared/i18n/locales/fr_FR/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} documents non publiés", "Subscription inherited from collection": "Abonnement hérité de la collection", "Share document": "Partager le document", - "Download": "Télécharger", - "Download document": "Télécharger le document", + "Markdown": "Markdown", "Download as Markdown": "Télécharger en Markdown", + "HTML": "HTML", "Download as HTML": "Télécharger en format HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "Télécharger au format TextBundle", + "PDF": "PDF", "Download as PDF": "Télécharger en format PDF", "Copy as Markdown": "Copier en tant que Markdown", "Markdown copied to clipboard": "Markdown copié dans le presse-papier", @@ -103,6 +105,7 @@ "Search in document": "Rechercher dans le document", "Print": "Imprimer", "Print document": "Imprimer le document", + "Export document": "Exporter un document", "Open in desktop app": "Ouvrir dans l'application bureau", "Present": "Présent", "Present document": "Document présent", @@ -138,6 +141,12 @@ "Comments": "Commentaires", "History": "Historique", "Insights": "Analyses", + "Show editing stats": "Afficher les statistiques de modification", + "None": "Abc", + "Multi-level decimal": "Décimale à plusieurs niveaux", + "Alphanumeric": "Alphanumérique", + "Harvard": "Harvard", + "Heading numbering": "Numérotation des titres", "Leave document": "Quitter le document", "You have left the shared document": "Vous avez quitté le document partagé", "Could not leave document": "Impossible de quitter le document", @@ -195,11 +204,8 @@ "New Application": "Nouvelle application", "Delete app": "Supprimer l'application", "This version of the document was deleted": "Cette version du document a été supprimée", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Exportation en cours", - "Markdown": "Markdown", - "Download revision": "Télécharger la révision", + "Export revision": "Exporter cette version", "Dark": "Sombre", "Light": "Clair", "Toggle theme": "Changer le thème", @@ -212,19 +218,37 @@ "Go to document": "Accéder au document", "Revoke link": "Révoquer le lien", "Share link revoked": "Lien de partage révoqué", + "{{ count }} share link revoked": "{{ count }} lien de partage révoqué", + "{{ count }} share link revoked_plural": "{{ count }} liens de partage révoqués", + "Could not revoke {{ count }} share link": "Impossible de révoquer {{ count }} lien de partage", + "Could not revoke {{ count }} share link_plural": "Impossible de révoquer {{ count }} liens de partage", "Switch workspace": "Changer d'espace de travail", "Select a workspace": "Sélectionner un espace de travail", "New workspace": "Nouvel espace de travail", "Create a workspace": "Créer un espace de travail", "Login to workspace": "Connexion à l'espace de travail", - "template": "modèle", + "Delete template": "Supprimer le modèle", + "Delete {{ count }} template": "Supprimer {{ count }} modèle", + "Delete {{ count }} template_plural": "Supprimer {{ count }} modèles", "Template deleted": "Modèle supprimé", + "{{ count }} template deleted": "{{ count }} modèle supprimé", + "{{ count }} template deleted_plural": "{{ count }} modèles supprimés", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Êtes-vous sûr ? La suppression du modèle {{ templateName }} est permanente.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Êtes-vous sûr ? La suppression de {{ count }} modèle est définitive.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Êtes-vous sûr ? La suppression de {{ count }} modèles est définitive.", + "A template must have content": "Un modèle doit contenir du contenu", + "Template published": "Modèle publié", + "{{ count }} template published": "{{ count }} modèle publié", + "{{ count }} template published_plural": "{{ count }} modèles publiés", + "Could not publish {{ count }} template": "Impossible de publier {{ count }} modèle", + "Could not publish {{ count }} template_plural": "Impossible de publier {{ count }} modèles", "Move to workspace": "Déplacer vers l'espace de travail", "Template moved": "Modèle déplacé", "Couldn't move the template, try again?": "Impossible de déplacer le modèle, essayez de nouveau ?", "Move to collection": "Déplacer vers la collection", "Move template": "Déplacer le modèle", + "{{ count }} template duplicated": "{{ count }} modèle dupliqué", + "{{ count }} template duplicated_plural": "{{ count }} modèles dupliqués", "Print template": "Modèles d'impression", "Invite people": "Inviter des personnes", "Invite to workspace": "Inviter à l'espace de travail", @@ -267,6 +291,7 @@ "People": "Personnes", "Share": "Partager", "Workspace": "Espace de travail", + "Recent searches": "Recherches récentes", "currently editing": "en cours d'édition", "currently viewing": "en train de consulter", "previously edited": "modifié précédemment", @@ -389,13 +414,8 @@ "our engineers have been notified": "nos ingénieurs ont été notifiés", "Clear cache + reload": "Vider le cache et recharger", "Show detail": "Afficher détail", - "Export started": "Export démarré", - "A link to your file will be sent through email soon": "Un lien vers votre fichier sera bientôt envoyé par e-mail", - "Preparing your download": "Préparation de votre téléchargement", - "Include child documents": "Inclure les documents imbriqués", - "When selected, exporting the document will take extra time.": "Lorsqu'elle est sélectionnée, l'exportation du document prendra plus de temps.", - "You will receive an email when it's complete.": "Vous recevrez un email lorsque cela sera terminé.", "Exporting the collection may take some time.": "L'exportation de la collection peut prendre un certain temps.", + "You will receive an email when it's complete.": "Vous recevrez un email lorsque cela sera terminé.", "Include attachments": "Inclure les pièces jointes", "Including uploaded images and files in the exported data": "Inclure les images et fichiers transférés dans les données exportées", "Include private collections": "Inclure les collections privées", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "Afficher, naviguer ou télécharger des images dans le document", "Zoom in": "Zoom avant", "Zoom out": "Zoom arrière", + "Download": "Télécharger", "Edit diagram": "Modifier le diagramme", "Close": "Fermer", "Previous": "Précédent", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}h {{ minutes }}m de lecture", "{{ hours }}h read": "{{ hours }}h de lecture", "{{ minutes }}m read": "{{ minutes }}m de lecture", + "Archived": "Archivé", "All members": "Tous les membres", "Everyone in the workspace": "Tout le monde dans l'espace de travail", "{{ count }} member": "{{ count }} membre", @@ -529,11 +551,12 @@ "Switch to dark": "Passer en mode sombre", "Switch to light": "Passer en mode clair", "Subscribe to updates": "S'abonner aux mises à jour", + "Display settings": "Paramètres d'affichage", + "Edit {{noun}}": "Éditer {{noun}}", "Logo": "Logo", "Add": "Ajouter", "Add or invite": "Ajouter ou inviter", "Sharing settings updated": "Paramètres de partage mis à jour", - "Display settings": "Paramètres d'affichage", "Customize how the published document is displayed": "Personnalisez l’affichage du document publié", "Image options": "Options d'image", "Upload": "Téléverser", @@ -589,16 +612,16 @@ "New nested document": "Nouveau document imbriqué", "No collections": "Aucune collection", "Hide": "Masquer", + "Starred": "Favoris", + "Shared with me": "Partagés avec moi", "Import files": "Importer des fichiers", "Recent": "Récent", "Go back": "Revenir en arrière", "Go forward": "Continuer", "Could not load shared documents": "Impossible de charger les documents partagés", - "Shared with me": "Partagés avec moi", "Show more": "Afficher plus", "Link options": "Options du lien", "Could not load starred documents": "Impossible de charger les documents favoris", - "Starred": "Favoris", "Up to date": "À jour", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} version de retard", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} versions de retard", @@ -615,6 +638,8 @@ "Star document": "Mettre en favoris le document", "Select a color": "Sélectionnez une couleur", "Select all": "Tout sélectionner", + "Columns": "Colonnes", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "Vos modifications n’ont pas pu être enregistrées.\nVoulez-vous vraiment quitter ?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Sélectionnez du texte et utilisez le contrôle <1> pour ajouter des espaces réservés qui peuvent être remplis lors de la création de nouveaux documents", "You’re editing a template": "Vous modifiez un modèle", "Template created, go ahead and customize it": "Le modèle a été créé, vous pouvez maintenant le personnaliser", @@ -675,8 +700,6 @@ "Paste a link": "Coller un lien", "Delete embed": "Supprimer l'intégration", "Delete image": "Supprimer l'image", - "Create a new doc": "Créer un nouveau doc", - "Create a nested doc": "Créer un document imbriqué", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} ne sera pas notifié, car il n'a pas accès à ce document", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Les membres de «{{ groupName }}» qui ont accès à ce document seront notifiés", "Keep as link": "Garder comme lien", @@ -726,7 +749,6 @@ "Italic": "Italique", "Strikethrough": "Barré", "Background color": "Couleur d'arrière-plan", - "None": "Abc", "Highlight": "Surligné", "Code": "Code", "Heading": "Titre", @@ -743,6 +765,8 @@ "Full width": "Largeur totale", "Download image": "Télécharger l’image", "Edit image URL": "Modifier l'URL de l'image", + "Create a new doc": "Créer un nouveau doc", + "Create a nested doc": "Créer un document imbriqué", "Default width": "Largeur par défaut", "Distribute columns": "Répartir les colonnes", "Export as CSV": "Exporter en CSV", @@ -893,14 +917,23 @@ "only you": "moi uniquement", "person": "personne", "people": "personnes", + "{{ number }} words selected": "{{ number }} mot sélectionné", + "{{ number }} words selected_plural": "{{ number }} mots sélectionnés", + "{{ number }} characters selected": "{{ number }} caractère sélectionné", + "{{ number }} characters selected_plural": "{{ number }} caractères sélectionnés", + "{{ number }} words": "{{ number }} mot", + "{{ number }} words_plural": "{{ number }} mots", + "{{ number }} characters": "{{ number }} caractère", + "{{ number }} characters_plural": "{{ number }} caractères", + "{{ number }} paragraphs": "{{ number }} paragraphe", + "{{ number }} paragraphs_plural": "{{ number }} paragraphes", + "{{ number }} minute read": "Durée de lecture de {{ number }} minutes", "Document title": "Titre du document", "Last updated": "Dernière mise à jour", "Type '/' to insert, or start writing…": "Tapez '/' pour insérer, ou commencez à écrire…", "Hide contents": "Masquer le contenu", "Show contents": "Afficher le contenu", "available when headings are added": "disponible lorsque les en-têtes sont ajoutés", - "Edit {{noun}}": "Éditer {{noun}}", - "Archived": "Archivé", "Save draft": "Enregistrer le brouillon", "Restore version": "Restaurer cette version", "{{userName}} archived": "{{userName}} a archivé", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} a publié", "{{userName}} unpublished": "{{userName}} a annulé la publication", "{{userName}} moved": "{{userName}} a déplacé", - "via {{ authType }}": "via {{ authType }}", "Previous version": "Version précédente", "Highlight changes": "Surligner les changements", "Compare to": "Comparer à", @@ -920,23 +952,12 @@ "Revision deleted": "Révision supprimée", "Current version": "Version actuelle", "{{userName}} edited": "{{userName}} à modifié", + "via {{ authType }}": "via {{ authType }}", "{{count}} people": "{{count}} personne", "{{count}} people_plural": "{{count}} personnes", "Source": "Source", "Created": "Créé", "Imported from {{ source }}": "Importé depuis {{ source }}", - "Stats": "Statistiques", - "{{ number }} minute read": "Durée de lecture de {{ number }} minutes", - "{{ number }} words": "{{ number }} mot", - "{{ number }} words_plural": "{{ number }} mots", - "{{ number }} characters": "{{ number }} caractère", - "{{ number }} characters_plural": "{{ number }} caractères", - "{{ number }} emoji": "{{ number }} emoji", - "No text selected": "Aucun texte sélectionné", - "{{ number }} words selected": "{{ number }} mot sélectionné", - "{{ number }} words selected_plural": "{{ number }} mots sélectionnés", - "{{ number }} characters selected": "{{ number }} caractère sélectionné", - "{{ number }} characters selected_plural": "{{ number }} caractères sélectionnés", "Contributors": "Contributeurs", "Creator": "Créateur", "Last edited": "Dernière modification", @@ -986,11 +1007,11 @@ "Warning Sign": "Signe d'avertissement", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "Un administrateur de l'espace de travail ({{ suspendedContactEmail }}) a suspendu votre compte. Pour réactiver votre compte, veuillez les contacter directement.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Désolé ! Une erreur inconnue s'est produite lors du chargement de la page. Merci de réessayer ou de contacter l'assistance si l'erreur perdure.", + "Documents you’ve recently viewed will be here for easy access": "Les documents que vous avez récemment consultés seront facilement accessibles ici", "Created by me": "Créé par moi", "Weird, this shouldn't ever be empty": "Étrange, cela ne devrait jamais être vide", "Documents with recent activity will appear here": "Les documents ayant une activité récente apparaîtront ici", "You haven’t created any documents yet": "Vous n'avez pas encore créé de documents", - "Documents you’ve recently viewed will be here for easy access": "Les documents que vous avez récemment consultés seront facilement accessibles ici", "{{ count }} invites sent": "{{ count }} invitation envoyée", "{{ count }} invites sent_plural": "{{ count }} invitations envoyées", "Those email addresses are already invited": "Un lien d'invitation a déjà été envoyé à ces adresses email", @@ -1014,6 +1035,7 @@ "Open document history": "Afficher l'historique du document", "Jump to search": "Aller à la recherche", "Jump to home": "Retour à la page d'accueil", + "Toggle statistics": "Activer/désactiver les statistiques", "Focus search input": "Saisie de recherche précise", "Open this guide": "Ouvrir ce guide", "Publish document and exit": "Publier le document et quitter", @@ -1151,7 +1173,6 @@ "Any time": "N'importe quand", "Remove document filter": "Supprimer le filtre du document", "Any status": "Tous les statuts", - "Recent searches": "Recherches récentes", "Remove search": "Supprimer la recherche", "Relevance": "Pertinence", "Newest": "Le plus récent", @@ -1324,6 +1345,8 @@ "All roles": "Tous les rôles", "Admins": "Administrateurs", "Editors": "Éditeurs", + "Invited by": "Invité par", + "Joined": "Rejoint", "All status": "Tous les statuts", "Active": "Actif", "Could not load emojis": "Impossible de charger les émoticônes.", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Afficher les numéros de ligne dans les blocs de code au sein des documents.", "Show comment marker": "Afficher le marqueur de commentaire", "Display a marker beside lines in the editor that contain comments.": "Afficher un marqueur à côté des lignes de l’éditeur qui contiennent des commentaires.", + "Display live word, character, and paragraph counts while editing.": "Affiche le nombre de mots, de caractères et de paragraphes en temps réel pendant la modification.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "Lorsque cette option est activée, les documents ont un mode d'édition séparé. Lorsqu'elle est désactivée, les documents restent modifiables en permanence si vous en avez la permission.", "Remember previous location": "Se souvenir de l'emplacement précédent", "Automatically return to the document you were last viewing when the app is re-opened.": "Revenir automatiquement au document consulté en dernier lors de la réouverture de l'application.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "Le partage est actuellement désactivé.", "You can globally enable and disable public document sharing in the security settings.": "Vous pouvez complètement activer et désactiver le partage de documents publics dans les paramètres de sécurité.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Les documents partagés sont listés ci-dessous. Les personnes possédant le lien public peuvent accéder à une version en lecture seule du document jusqu'à ce que le lien soit révoqué.", - "A template must have content": "Un modèle doit contenir du contenu", + "Couldn’t create the template, try again?": "Impossible de créer le modèle, essayez de nouveau ?", "Could not load templates": "Impossible de charger les modèles", "Templates help your team create consistent and accurate documentation.": "Les modèles aident votre équipe à créer une documentation cohérente et précise.", "No templates have been created yet": "Aucun modèle n’a encore été créé", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "Pour créer un espace de travail sous une autre adresse e-mail, veuillez vous inscrire sur la page d'accueil", "Trash emptied": "Corbeille vidée", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Êtes-vous sûr de vouloir supprimer définitivement tous les documents de la corbeille ? Cette action est immédiate et ne peut pas être annulée.", - "Recently deleted": "Récemment supprimé", + "You’ve not deleted any documents.": "Vous n’avez supprimé aucun document.", + "This user has not deleted any documents.": "Cet utilisateur n’a supprimé aucun document.", "Trash is empty at the moment.": "La corbeille est vide pour le moment.", + "Recently deleted": "Récemment supprimé", + "Deleted by anyone": "Supprimé par n’importe qui", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "Un code de confirmation a été envoyé à votre adresse e-mail, veuillez saisir le code ci-dessous pour supprimer définitivement votre compte.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Êtes-vous sûr ? La suppression de votre compte détruira les données d'identification associées à votre utilisateur et ne pourra pas être annulé. Vous serez immédiatement déconnecté de {{appName}} et tous vos jetons API seront révoqués.", "Delete my account": "Supprimer mon compte", + "Export started": "Export démarré", + "A link to your file will be sent through email soon": "Un lien vers votre fichier sera bientôt envoyé par e-mail", + "Preparing your download": "Préparation de votre téléchargement", "Today": "Aujourd’hui", "Yesterday": "Hier", "Last week": "La semaine dernière", diff --git a/shared/i18n/locales/he_IL/translation.json b/shared/i18n/locales/he_IL/translation.json index 58fa7ee424..b1713d2c0a 100644 --- a/shared/i18n/locales/he_IL/translation.json +++ b/shared/i18n/locales/he_IL/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} מסמכים הוסרו מפרסום", "Subscription inherited from collection": "מנוי עבר בירושה מהאוסף", "Share document": "Share document", - "Download": "הורדה", - "Download document": "הורדת מסמך", + "Markdown": "פורמט Markdown", "Download as Markdown": "הורד בתור Markdown", + "HTML": "HTML", "Download as HTML": "הורד כ-HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "הורדה כ־TextBundle", + "PDF": "PDF", "Download as PDF": "הורד כ-PDF", "Copy as Markdown": "העתק בפורמט Markdown", "Markdown copied to clipboard": "Markdown הועתק ללוח העריכה", @@ -103,6 +105,7 @@ "Search in document": "חפש בתוך המסמך", "Print": "הדפסה", "Print document": "הדפסת מסמך", + "Export document": "ייצוא מסמך", "Open in desktop app": "פתח באפליקציית שולחן העבודה", "Present": "לְהַצִיג", "Present document": "הצג מסמך", @@ -138,6 +141,12 @@ "Comments": "תגובות", "History": "היסטורייה", "Insights": "תובנות", + "Show editing stats": "הצגת סטטיסטיקות עריכה", + "None": "אַף לֹא אֶחָד", + "Multi-level decimal": "עשרוני רב-רמתי", + "Alphanumeric": "אלפאנומרי", + "Harvard": "הרווארד", + "Heading numbering": "מספור כותרות", "Leave document": "מסמך חדש", "You have left the shared document": "עזבת את המסמך המשותף", "Could not leave document": "לא ניתן להשאיר את המסמך", @@ -195,11 +204,8 @@ "New Application": "אפליקציה חדשה", "Delete app": "מחק אפליקציה", "This version of the document was deleted": "גרסה זו של המסמך נמחקה", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "מייצא", - "Markdown": "פורמט Markdown", - "Download revision": "הורד גרסה", + "Export revision": "ייצוא גרסה", "Dark": "כֵּהֶה", "Light": "בהיר", "Toggle theme": "החלף נושא", @@ -212,19 +218,37 @@ "Go to document": "עבור למסמך", "Revoke link": "בטל קישור", "Share link revoked": "קישור השיתוף בוטל", + "{{ count }} share link revoked": "{{ count }} קישור שיתוף בוטל", + "{{ count }} share link revoked_plural": "{{ count }} קישורי שיתוף בוטלו", + "Could not revoke {{ count }} share link": "לא ניתן היה לבטל את {{ count }} קישור השיתוף", + "Could not revoke {{ count }} share link_plural": "לא ניתן היה לבטל את {{ count }} קישורי שיתוף", "Switch workspace": "החלף סביבת עבודה", "Select a workspace": "בחר סביבת עבודה", "New workspace": "מרחב עבודה חדש", "Create a workspace": "יצירת סביבת עבודה", "Login to workspace": "העבר לעזור העבודה", - "template": "template", + "Delete template": "מחק תבנית", + "Delete {{ count }} template": "מחק {{ count }} תבנית", + "Delete {{ count }} template_plural": "מחק {{ count }} תבניות", "Template deleted": "התבנית נמחקה", + "{{ count }} template deleted": "{{ count }} תבנית נמחקה", + "{{ count }} template deleted_plural": "{{ count }} תבניות נמחקו", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "אתה בטוח בזה? מחיקת התבנית {{ templateName }} היא לצמיתות.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "האם אתה בטוח? מחיקת {{ count }} תבנית היא בלתי הפיכה.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "האם אתה בטוח? מחיקת {{ count }} תבניות היא בלתי הפיכה.", + "A template must have content": "תבנית חייבת לכלול תוכן", + "Template published": "התבנית פורסמה", + "{{ count }} template published": "{{ count }} תבנית פורסמה", + "{{ count }} template published_plural": "פורסמו {{ count }} תבניות", + "Could not publish {{ count }} template": "לא ניתן היה לפרסם {{ count }} תבנית", + "Could not publish {{ count }} template_plural": "לא ניתן היה לפרסם {{ count }} תבניות", "Move to workspace": "העבר לעזור העבודה", "Template moved": "התבנית הועברה", "Couldn't move the template, try again?": "לא הצלחנו להעביר את התבנית. לנסות שוב?", "Move to collection": "העבר לאוסף", "Move template": "העבר תבנית", + "{{ count }} template duplicated": "{{ count }} תבנית שוכפלה", + "{{ count }} template duplicated_plural": "{{ count }} תבניות שוכפלו", "Print template": "תבנית הדפסה", "Invite people": "הזמן אנשים", "Invite to workspace": "הזמן למרחב העבודה", @@ -267,6 +291,7 @@ "People": "משתתפים", "Share": "שיתוף", "Workspace": "סביבות עבודה", + "Recent searches": "חיפושים אחרונים", "currently editing": "כרגע בעריכה", "currently viewing": "צופה כעת", "previously edited": "נערך בעבר", @@ -389,13 +414,8 @@ "our engineers have been notified": "המהנדסים שלנו קיבלו הודעה", "Clear cache + reload": "נקה מטמון + טען מחדש", "Show detail": "הצג פרטים", - "Export started": "הייצוא החל", - "A link to your file will be sent through email soon": "קישור לקובץ שלך יישלח בדוא\"ל בקרוב", - "Preparing your download": "מכין את ההורדה שלך", - "Include child documents": "כלול מסמכי ילדים", - "When selected, exporting the document will take extra time.": "כאשר אפשרות זו נבחרת, ייצוא המסמך יימשך זמן רב יותר.", - "You will receive an email when it's complete.": "תקבל אימייל כשזה יושלם.", "Exporting the collection may take some time.": "ייצוא האוסף עשוי להימשך זמן מה.", + "You will receive an email when it's complete.": "תקבל אימייל כשזה יושלם.", "Include attachments": "כלול קבצים מצורפים", "Including uploaded images and files in the exported data": "כולל תמונות וקבצים שהועלו בנתונים המיוצאים", "Include private collections": "כלול אוספים פרטיים", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "הצג, נווט או הורד תמונות במסמך", "Zoom in": "לְהִתְמַקֵד", "Zoom out": "זום החוצה", + "Download": "הורדה", "Edit diagram": "ערוך תרשים", "Close": "לִסְגוֹר", "Previous": "קוֹדֵם", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}h {{ minutes }}m קריאה", "{{ hours }}h read": "{{ hours }} שעות קריאה", "{{ minutes }}m read": "{{ דקות }} קראתי", + "Archived": "בארכיון", "All members": "כל החברים", "Everyone in the workspace": "כולם בסביבת העבודה", "{{ count }} member": "חבר {{ count }}", @@ -529,11 +551,12 @@ "Switch to dark": "עוברים לחושך", "Switch to light": "עוברים לאור", "Subscribe to updates": "הירשם לעדכונים", + "Display settings": "Display settings", + "Edit {{noun}}": "ערוך {{noun}}", "Logo": "סֵמֶל", "Add": "לְהוֹסִיף", "Add or invite": "הוסף או הזמן", "Sharing settings updated": "Sharing settings updated", - "Display settings": "Display settings", "Customize how the published document is displayed": "Customize how the published document is displayed", "Image options": "Image options", "Upload": "Upload", @@ -589,16 +612,16 @@ "New nested document": "מסמך מקונן חדש", "No collections": "אין אוספים", "Hide": "הסתר", + "Starred": "מסומן בכוכב", + "Shared with me": "שיתף אותי", "Import files": "ייבוא ​​קבצים", "Recent": "Recent", "Go back": "לַחֲזוֹר", "Go forward": "קדימה", "Could not load shared documents": "לא ניתן לטעון מסמכים משותפים", - "Shared with me": "שיתף אותי", "Show more": "הצג עוד", "Link options": "אפשרויות קישור", "Could not load starred documents": "לא ניתן לטעון מסמכים מסומנים בכוכב", - "Starred": "מסומן בכוכב", "Up to date": "מעודכן", "{{ releasesBehind }} versions behind": "גרסה {{ releasesBehind }} מאחור", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} גרסאות מאחור", @@ -615,6 +638,8 @@ "Star document": "מסמך כוכב", "Select a color": "בחר צבע", "Select all": "בחר הכול", + "Columns": "עמודות", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "לא ניתן היה לשמור את השינויים שלך.\nהאם ברצונך לעזוב?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "הדגש חלק מהטקסט והשתמש בפקד <1> כדי להוסיף מצייני מיקום שניתן למלא בעת יצירת מסמכים חדשים", "You’re editing a template": "אתה עורך תבנית", "Template created, go ahead and customize it": "התבנית נוצרה, קדימה והתאם אותה אישית", @@ -675,8 +700,6 @@ "Paste a link": "הדבק קישור", "Delete embed": "מחק הטמעה", "Delete image": "מחק תמונה", - "Create a new doc": "צור מסמך חדש", - "Create a nested doc": "צור מסמך מקונן", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} לא יקבלו הודעה, מכיוון שאין להם גישה למסמך זה", "Members of \"{{ groupName }}\" that have access to this document will be notified": "חברי \"{{ groupName }}\" שיש להם גישה למסמך זה יקבלו הודעה", "Keep as link": "שמור כקישור", @@ -726,7 +749,6 @@ "Italic": "נטוי", "Strikethrough": "חוצה", "Background color": "צבע רקע", - "None": "אַף לֹא אֶחָד", "Highlight": "שִׂיא", "Code": "קוד", "Heading": "כּוֹתֶרֶת", @@ -743,6 +765,8 @@ "Full width": "רוחב מלא", "Download image": "הורד תמונה", "Edit image URL": "ערוך את כתובת האתר של התמונה", + "Create a new doc": "צור מסמך חדש", + "Create a nested doc": "צור מסמך מקונן", "Default width": "רוחב ברירת מחדל", "Distribute columns": "חלוקת עמודות", "Export as CSV": "ייצא כ-CSV", @@ -893,14 +917,23 @@ "only you": "רק אתה", "person": "אָדָם", "people": "אֲנָשִׁים", + "{{ number }} words selected": "נבחרה מילה {{ number }}", + "{{ number }} words selected_plural": "נבחרו {{ number }} מילים", + "{{ number }} characters selected": "נבחר תו {{ number }}", + "{{ number }} characters selected_plural": "נבחרו {{ number }} תווים", + "{{ number }} words": "מילה {{ number }}", + "{{ number }} words_plural": "{{ number }} מילים", + "{{ number }} characters": "תו {{ number }}", + "{{ number }} characters_plural": "{{ number }} תווים", + "{{ number }} paragraphs": "{{ number }} פסקה", + "{{ number }} paragraphs_plural": "{{ number }} פסקאות", + "{{ number }} minute read": "{{ number }} דקות קריאה", "Document title": "כותרת המסמך", "Last updated": "עודכן לאחרונה", "Type '/' to insert, or start writing…": "הקלד '/' כדי להוסיף, או התחל לכתוב...", "Hide contents": "הסתר תוכן", "Show contents": "הצג תוכן", "available when headings are added": "זמין כאשר מוסיפים כותרות", - "Edit {{noun}}": "ערוך {{noun}}", - "Archived": "בארכיון", "Save draft": "שמור טיוטה", "Restore version": "שחזר גרסה", "{{userName}} archived": "{{userName}} הועבר לארכיון", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} פורסם", "{{userName}} unpublished": "{{userName}} לא פורסם", "{{userName}} moved": "{{userName}} הועבר", - "via {{ authType }}": "באמצעות {{ authType }}", "Previous version": "Previous version", "Highlight changes": "הדגש שינויים", "Compare to": "Compare to", @@ -920,23 +952,12 @@ "Revision deleted": "הגרסה נמחקה", "Current version": "גרסה נוכחית", "{{userName}} edited": "{{userName}} נערך", + "via {{ authType }}": "באמצעות {{ authType }}", "{{count}} people": "{{count}} אדם", "{{count}} people_plural": "{{count}} אנשים", "Source": "מָקוֹר", "Created": "נוצר", "Imported from {{ source }}": "יובא מ-{{ source }}", - "Stats": "סטטיסטיקות", - "{{ number }} minute read": "{{ number }} דקות קריאה", - "{{ number }} words": "מילה {{ number }}", - "{{ number }} words_plural": "{{ number }} מילים", - "{{ number }} characters": "תו {{ number }}", - "{{ number }} characters_plural": "{{ number }} תווים", - "{{ number }} emoji": "{{ number }} אמוג'י", - "No text selected": "לא נבחר טקסט", - "{{ number }} words selected": "נבחרה מילה {{ number }}", - "{{ number }} words selected_plural": "נבחרו {{ number }} מילים", - "{{ number }} characters selected": "נבחר תו {{ number }}", - "{{ number }} characters selected_plural": "נבחרו {{ number }} תווים", "Contributors": "תורמים", "Creator": "יוֹצֵר", "Last edited": "נערך לאחרונה", @@ -986,11 +1007,11 @@ "Warning Sign": "סימן אזהרה", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "מנהל סביבת עבודה ({{ suspendedContactEmail }}) השעה את חשבונך. כדי להפעיל מחדש את חשבונך, אנא פנה אליהם ישירות.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "מצטערים, אירעה שגיאה לא ידועה בטעינת הדף. אנא נסה שוב או פנה לתמיכה אם הבעיה נמשכת.", + "Documents you’ve recently viewed will be here for easy access": "מסמכים שצפיתם לאחרונה יהיו כאן לגישה נוחה", "Created by me": "נוצר על ידי", "Weird, this shouldn't ever be empty": "מוזר, זה לעולם לא צריך להיות ריק", "Documents with recent activity will appear here": "מסמכים עם פעילות אחרונה יופיעו כאן", "You haven’t created any documents yet": "עדיין לא יצרת מסמכים", - "Documents you’ve recently viewed will be here for easy access": "מסמכים שצפיתם לאחרונה יהיו כאן לגישה נוחה", "{{ count }} invites sent": "{{ count }} invite sent", "{{ count }} invites sent_plural": "{{ count }} הזמנות נשלחו", "Those email addresses are already invited": "כתובות האימייל האלה כבר מוזמנות", @@ -1014,6 +1035,7 @@ "Open document history": "פתח את היסטוריית המסמכים", "Jump to search": "קפוץ לחיפוש", "Jump to home": "קפוץ לבית", + "Toggle statistics": "החלפת מצב סטטיסטיקות", "Focus search input": "מיקוד קלט חיפוש", "Open this guide": "פתח את המדריך הזה", "Publish document and exit": "פרסם מסמך וצא", @@ -1151,7 +1173,6 @@ "Any time": "בכל זמן", "Remove document filter": "הסר מסנן מסמכים", "Any status": "כל סטטוס", - "Recent searches": "חיפושים אחרונים", "Remove search": "הסר את החיפוש", "Relevance": "רלוונטיות", "Newest": "הכי חדש", @@ -1324,6 +1345,8 @@ "All roles": "כל התפקידים", "Admins": "מנהלי מערכת", "Editors": "עורכים", + "Invited by": "הוזמן על ידי", + "Joined": "הצטרף", "All status": "כל הסטטוס", "Active": "פָּעִיל", "Could not load emojis": "לא ניתן לטעון אמוג'י", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "הצג מספרי שורות על בלוקי קוד במסמכים.", "Show comment marker": "Show comment marker", "Display a marker beside lines in the editor that contain comments.": "Display a marker beside lines in the editor that contain comments.", + "Display live word, character, and paragraph counts while editing.": "הצגת ספירה חיה של מילים, תווים ופסקאות במהלך העריכה.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "כאשר מופעל, למסמכים יש מצב עריכה נפרד. כאשר מושבת, מסמכים תמיד ניתנים לעריכה כאשר יש לך הרשאה.", "Remember previous location": "זכור את המיקום הקודם", "Automatically return to the document you were last viewing when the app is re-opened.": "חזור אוטומטית למסמך שבו צפית לאחרונה כאשר האפליקציה נפתחת מחדש.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "השיתוף מושבת כעת.", "You can globally enable and disable public document sharing in the security settings.": "אתה יכול להפעיל ולהשבית את שיתוף המסמכים הציבורי באופן גלובלי ב-הגדרות האבטחה.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "מסמכים ששותפו מפורטים להלן. כל מי שיש לו את הקישור הציבורי יכול לגשת לגרסה לקריאה בלבד של המסמך עד לביטול הקישור.", - "A template must have content": "תבנית חייבת לכלול תוכן", + "Couldn’t create the template, try again?": "לא ניתן היה ליצור את התבנית, לנסות שוב?", "Could not load templates": "לא ניתן היה לטעון תבניות", "Templates help your team create consistent and accurate documentation.": "תבניות עוזרות לצוות שלך ליצור תיעוד עקבי ומדויק.", "No templates have been created yet": "עדיין לא נוצרו תבניות", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "כדי ליצור סביבת עבודה תחת דוא\"ל אחר, הירשם מדף הבית", "Trash emptied": "האשפה התרוקנה", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "האם אתה בטוח שברצונך למחוק לצמיתות את כל המסמכים באשפה? פעולה זו היא מיידית ולא ניתן לבטלה.", - "Recently deleted": "נמחק לאחרונה", + "You’ve not deleted any documents.": "לא מחקת מסמכים.", + "This user has not deleted any documents.": "משתמש זה לא מחק מסמכים.", "Trash is empty at the moment.": "האשפה ריקה כרגע.", + "Recently deleted": "נמחק לאחרונה", + "Deleted by anyone": "נמחק על ידי כל אחד", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "קוד אישור נשלח לכתובת הדוא\"ל שלך, אנא הזן את הקוד למטה כדי להרוס לצמיתות את חשבונך.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "אתה בטוח? מחיקת החשבון שלך תהרוס נתונים מזהים המשויכים למשתמש שלך ולא ניתן לבטלה. תנתק מיד מ{{appName}} וכל אסימוני ה-API שלך יבוטלו.", "Delete my account": "מחק את החשבון שלי", + "Export started": "הייצוא החל", + "A link to your file will be sent through email soon": "קישור לקובץ שלך יישלח בדוא\"ל בקרוב", + "Preparing your download": "מכין את ההורדה שלך", "Today": "הַיוֹם", "Yesterday": "אֶתמוֹל", "Last week": "שבוע שעבר", diff --git a/shared/i18n/locales/hu_HU/translation.json b/shared/i18n/locales/hu_HU/translation.json index 52e083cc42..a2f20ca0ab 100644 --- a/shared/i18n/locales/hu_HU/translation.json +++ b/shared/i18n/locales/hu_HU/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} dokumentum közzététele visszavonva", "Subscription inherited from collection": "A feliratkozás a gyűjteményből öröklődött", "Share document": "Share document", - "Download": "Letöltés", - "Download document": "Dokumentum letöltése", + "Markdown": "Markdown", "Download as Markdown": "Download as Markdown", + "HTML": "HTML", "Download as HTML": "Download as HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "Letöltés TextBundle-ként", + "PDF": "PDF", "Download as PDF": "Download as PDF", "Copy as Markdown": "Másolás Markdown szövegként", "Markdown copied to clipboard": "Markdown vágólapra másolva", @@ -103,6 +105,7 @@ "Search in document": "Keresés a dokumentumban", "Print": "Nyomtatás", "Print document": "Dokumentum nyomtatása", + "Export document": "Dokumentum exportálása", "Open in desktop app": "Open in desktop app", "Present": "Present", "Present document": "Present document", @@ -138,6 +141,12 @@ "Comments": "Hozzászólások", "History": "Előzmények", "Insights": "Részletek", + "Show editing stats": "Szerkesztési statisztikák megjelenítése", + "None": "Nincs", + "Multi-level decimal": "Többszintű decimális", + "Alphanumeric": "Alfanumerikus", + "Harvard": "Harvard", + "Heading numbering": "Címsorszámozás", "Leave document": "Dokumentum mentése", "You have left the shared document": "Elhagytad a megosztott dokumentumot", "Could not leave document": "Nem lehet menteni a dokumentumot", @@ -195,11 +204,8 @@ "New Application": "Új alkalmazás", "Delete app": "Delete app", "This version of the document was deleted": "A dokumetnum ezen verziója törölve lett", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Exportálás", - "Markdown": "Markdown", - "Download revision": "Download revision", + "Export revision": "Revízió exportálása", "Dark": "Sötét", "Light": "Világos", "Toggle theme": "Toggle theme", @@ -212,19 +218,37 @@ "Go to document": "Tovább a dokumentumhoz", "Revoke link": "Hivatkozás visszavonása", "Share link revoked": "Hivatkozás megosztás visszavonva", + "{{ count }} share link revoked": "{{ count }} megosztási hivatkozás visszavonva", + "{{ count }} share link revoked_plural": "{{ count }} megosztási hivatkozás visszavonva", + "Could not revoke {{ count }} share link": "Nem sikerült visszavonni {{ count }} megosztási hivatkozást", + "Could not revoke {{ count }} share link_plural": "Nem sikerült visszavonni {{ count }} megosztási hivatkozást", "Switch workspace": "Munkaterület váltása", "Select a workspace": "Válasszon munkaterületet", "New workspace": "Új munkaterület", "Create a workspace": "Munkaterület létrehozása", "Login to workspace": "Bejelentkezés a munkaterületbe", - "template": "sablon", + "Delete template": "Sablon törlése", + "Delete {{ count }} template": "{{ count }} sablon törlése", + "Delete {{ count }} template_plural": "{{ count }} sablon törlése", "Template deleted": "Template deleted", + "{{ count }} template deleted": "{{ count }} sablon törölve", + "{{ count }} template deleted_plural": "{{ count }} sablon törölve", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Are you sure about that? Deleting the {{ templateName }} template is permanent.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Biztos benne? {{ count }} sablon törlése végleges.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Biztos benne? {{ count }} sablon törlése végleges.", + "A template must have content": "A template must have content", + "Template published": "Sablon közzétéve", + "{{ count }} template published": "{{ count }} sablon közzétéve", + "{{ count }} template published_plural": "{{ count }} sablon közzétéve", + "Could not publish {{ count }} template": "Nem sikerült közzétenni {{ count }} sablont", + "Could not publish {{ count }} template_plural": "Nem sikerült közzétenni {{ count }} sablont", "Move to workspace": "Áthelyezés a munkaterületre", "Template moved": "Template moved", "Couldn't move the template, try again?": "Couldn't move the template, try again?", "Move to collection": "Mozgatás a kollekcióba", "Move template": "Move template", + "{{ count }} template duplicated": "{{ count }} sablon megkettőzve", + "{{ count }} template duplicated_plural": "{{ count }} sablon megkettőzve", "Print template": "Print template", "Invite people": "Mások meghívása", "Invite to workspace": "Meghívása a munkaterületbe", @@ -267,6 +291,7 @@ "People": "Emberek", "Share": "Megosztás", "Workspace": "Munkaterület", + "Recent searches": "Legutóbbi keresések", "currently editing": "jelenleg szerkeszti", "currently viewing": "jelenleg megtekinti", "previously edited": "előzőleg szerkesztette", @@ -389,13 +414,8 @@ "our engineers have been notified": "a mérnökeinket éretsítettük", "Clear cache + reload": "Cache törlése és újratöltés", "Show detail": "Részletek mutatása", - "Export started": "Az exportálás elindult", - "A link to your file will be sent through email soon": "A link to your file will be sent through email soon", - "Preparing your download": "Preparing your download", - "Include child documents": "Include child documents", - "When selected, exporting the document will take extra time.": "Ha be van jelölve, a dokumentum exportálása több időt vesz igénybe.", - "You will receive an email when it's complete.": "Egy e-mail-t fog kapni, mikor elkészült.", "Exporting the collection may take some time.": "A gyűjtemény exportálása eltarthat egy ideig.", + "You will receive an email when it's complete.": "Egy e-mail-t fog kapni, mikor elkészült.", "Include attachments": "Csatolmányokkal együtt", "Including uploaded images and files in the exported data": "A feltöltött képek és fájlok is exportálva lesznek", "Include private collections": "Include private collections", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "View, navigate, or download images in the document", "Zoom in": "Nagyítás", "Zoom out": "Kicsinyítés", + "Download": "Letöltés", "Edit diagram": "Edit diagram", "Close": "Bezár", "Previous": "Előző", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}h {{ minutes }}m read", "{{ hours }}h read": "{{ hours }}h read", "{{ minutes }}m read": "{{ minutes }} perccel ezelőtt olvasta", + "Archived": "Archiválva", "All members": "Összes tag", "Everyone in the workspace": "Mindenki a munkaterületen", "{{ count }} member": "{{ count }} tag", @@ -529,11 +551,12 @@ "Switch to dark": "Váltás sötét módra", "Switch to light": "Váltás világos módra", "Subscribe to updates": "Subscribe to updates", + "Display settings": "Display settings", + "Edit {{noun}}": "Edit {{noun}}", "Logo": "Logó", "Add": "Hozzáadás", "Add or invite": "Hozzáadás vagy meghívás", "Sharing settings updated": "Sharing settings updated", - "Display settings": "Display settings", "Customize how the published document is displayed": "Customize how the published document is displayed", "Image options": "Image options", "Upload": "Feltöltés", @@ -589,16 +612,16 @@ "New nested document": "Új beágyazott dokumentum", "No collections": "No collections", "Hide": "Elrejtés", + "Starred": "Csillagozott", + "Shared with me": "Velem megosztva", "Import files": "Import files", "Recent": "Recent", "Go back": "Ugrás vissza", "Go forward": "Előrelépés", "Could not load shared documents": "Nem lehet menteni a dokumentumot", - "Shared with me": "Velem megosztva", "Show more": "Mutass többet", "Link options": "Link options", "Could not load starred documents": "Nem lehet menteni a dokumentumot", - "Starred": "Csillagozott", "Up to date": "Naprakész", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} verzióval régebbi", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} verzióval régebbi", @@ -615,6 +638,8 @@ "Star document": "Dokumentum csillagozása", "Select a color": "Válasszon egy színt", "Select all": "Összes kijelölése", + "Columns": "Oszlopok", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "A módosításaidat nem sikerült menteni.\nBiztosan ki szeretnél lépni?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Jelöljön ki valamilyen szöveget, és használja a <1> vezérlőt olyan helykitöltők hozzáadásához, amelyek kitöltésre kerülhetnek új dokumentumok létrehozásakor", "You’re editing a template": "Ön egy sablont szerkeszt", "Template created, go ahead and customize it": "A sablon elkészült, fogjon bele a testreszabásba", @@ -675,8 +700,6 @@ "Paste a link": "Szúrjon be egy hivatkozást", "Delete embed": "Delete embed", "Delete image": "Kép törlése", - "Create a new doc": "Új doku létrehozása", - "Create a nested doc": "Create a nested doc", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} won't be notified, as they do not have access to this document", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Members of \"{{ groupName }}\" that have access to this document will be notified", "Keep as link": "Keep as link", @@ -726,7 +749,6 @@ "Italic": "Dőlt", "Strikethrough": "Áthúzott", "Background color": "Background color", - "None": "Nincs", "Highlight": "Kiemelés", "Code": "Kód", "Heading": "Címsor", @@ -743,6 +765,8 @@ "Full width": "Teljes szélesség", "Download image": "Kép letöltése", "Edit image URL": "Edit image URL", + "Create a new doc": "Új doku létrehozása", + "Create a nested doc": "Create a nested doc", "Default width": "Alapértelmezett szélesség", "Distribute columns": "Distribute columns", "Export as CSV": "CSV exportálás", @@ -893,14 +917,23 @@ "only you": "csak általad", "person": "személy", "people": "személyek", + "{{ number }} words selected": "{{ number }} word selected", + "{{ number }} words selected_plural": "{{ number }} words selected", + "{{ number }} characters selected": "{{ number }} character selected", + "{{ number }} characters selected_plural": "{{ number }} characters selected", + "{{ number }} words": "{{ number }} word", + "{{ number }} words_plural": "{{ number }} words", + "{{ number }} characters": "{{ number }} character", + "{{ number }} characters_plural": "{{ number }} characters", + "{{ number }} paragraphs": "{{ number }} bekezdés", + "{{ number }} paragraphs_plural": "{{ number }} bekezdés", + "{{ number }} minute read": "{{ number }} minute read", "Document title": "Document title", "Last updated": "Utolsó frissítés", "Type '/' to insert, or start writing…": "Gépeljen be egy „/” karaktert a beszúráshoz, vagy kezdjen el írni…", "Hide contents": "Tartalomjegyzék elrejtése", "Show contents": "Tartalomjegyzék megjelenítése", "available when headings are added": "available when headings are added", - "Edit {{noun}}": "Edit {{noun}}", - "Archived": "Archiválva", "Save draft": "Piszkozat mentése", "Restore version": "Verzió visszaállítása", "{{userName}} archived": "{{userName}} archiválta", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} publikálta", "{{userName}} unpublished": "{{userName}} visszavonta", "{{userName}} moved": "{{userName}} áthelyezte", - "via {{ authType }}": "{{ authType }} használatával", "Previous version": "Previous version", "Highlight changes": "Highlight changes", "Compare to": "Compare to", @@ -920,23 +952,12 @@ "Revision deleted": "A módosítás törölve lett", "Current version": "Jelenlegi verzió", "{{userName}} edited": "{{userName}} módosította", + "via {{ authType }}": "{{ authType }} használatával", "{{count}} people": "{{count}} person", "{{count}} people_plural": "{{count}} people", "Source": "Forrás", "Created": "Létrehozva", "Imported from {{ source }}": "Imported from {{ source }}", - "Stats": "Statisztikák", - "{{ number }} minute read": "{{ number }} minute read", - "{{ number }} words": "{{ number }} word", - "{{ number }} words_plural": "{{ number }} words", - "{{ number }} characters": "{{ number }} character", - "{{ number }} characters_plural": "{{ number }} characters", - "{{ number }} emoji": "{{ number }} emoji", - "No text selected": "Nincs szöveg kijelölve", - "{{ number }} words selected": "{{ number }} word selected", - "{{ number }} words selected_plural": "{{ number }} words selected", - "{{ number }} characters selected": "{{ number }} character selected", - "{{ number }} characters selected_plural": "{{ number }} characters selected", "Contributors": "Közreműködők", "Creator": "Létrehozó", "Last edited": "Utoljára szerkesztve", @@ -986,11 +1007,11 @@ "Warning Sign": "Warning Sign", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.", + "Documents you’ve recently viewed will be here for easy access": "Documents you’ve recently viewed will be here for easy access", "Created by me": "Általam létrehozva", "Weird, this shouldn't ever be empty": "Weird, this shouldn't ever be empty", "Documents with recent activity will appear here": "Documents with recent activity will appear here", "You haven’t created any documents yet": "You haven’t created any documents yet", - "Documents you’ve recently viewed will be here for easy access": "Documents you’ve recently viewed will be here for easy access", "{{ count }} invites sent": "{{ count }} invite sent", "{{ count }} invites sent_plural": "{{ count }} invites sent", "Those email addresses are already invited": "Those email addresses are already invited", @@ -1014,6 +1035,7 @@ "Open document history": "Open document history", "Jump to search": "Jump to search", "Jump to home": "Jump to home", + "Toggle statistics": "Statisztikák be-/kikapcsolása", "Focus search input": "Focus search input", "Open this guide": "Open this guide", "Publish document and exit": "Publish document and exit", @@ -1151,7 +1173,6 @@ "Any time": "Bármikor", "Remove document filter": "Remove document filter", "Any status": "Bármilyen állapot", - "Recent searches": "Legutóbbi keresések", "Remove search": "Remove search", "Relevance": "Relevance", "Newest": "Newest", @@ -1324,6 +1345,8 @@ "All roles": "Összes szerep", "Admins": "Adminisztrátorok", "Editors": "Szerkesztők", + "Invited by": "Meghívta", + "Joined": "Csatlakozott", "All status": "Összes állapot", "Active": "Aktív", "Could not load emojis": "Could not load emojis", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Sorszámok megjelenítése a dokumentumokban lévő kódblokkokban.", "Show comment marker": "Show comment marker", "Display a marker beside lines in the editor that contain comments.": "Display a marker beside lines in the editor that contain comments.", + "Display live word, character, and paragraph counts while editing.": "Szerkesztés közben élő szó-, karakter- és bekezdésszám megjelenítése.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "Ha engedélyezve van, akkor a dokumentumok külön szerkesztési móddal rendelkeznek. Ha le van tiltva, akkor a dokumentumok mindig szerkeszthetők, ha van jogosultsága.", "Remember previous location": "Emlékezés az előző helyre", "Automatically return to the document you were last viewing when the app is re-opened.": "Automatikus visszatérés az utoljára megtekintett dokumentumhoz az alkalmazás újbóli megnyitásakor.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "Sharing is currently disabled.", "You can globally enable and disable public document sharing in the security settings.": "You can globally enable and disable public document sharing in the security settings.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.", - "A template must have content": "A template must have content", + "Couldn’t create the template, try again?": "Nem sikerült létrehozni a sablont. Újrapróbálod?", "Could not load templates": "Could not load templates", "Templates help your team create consistent and accurate documentation.": "Templates help your team create consistent and accurate documentation.", "No templates have been created yet": "No templates have been created yet", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "To create a workspace under another email please sign up from the homepage", "Trash emptied": "Trash emptied", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Biztos vagy benne, hogy véglegesen szeretnéd törölni a Kukában lévő összes dokumentumot? A törlés azonnal megtörténik és nem lehet visszavonni.", - "Recently deleted": "Nemrég törölve", + "You’ve not deleted any documents.": "Nem töröltél egyetlen dokumentumot sem.", + "This user has not deleted any documents.": "Ez a felhasználó nem törölt egyetlen dokumentumot sem.", "Trash is empty at the moment.": "Trash is empty at the moment.", + "Recently deleted": "Nemrég törölve", + "Deleted by anyone": "Bárki által törölve", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.", "Delete my account": "Delete my account", + "Export started": "Az exportálás elindult", + "A link to your file will be sent through email soon": "A link to your file will be sent through email soon", + "Preparing your download": "Preparing your download", "Today": "Ma", "Yesterday": "Tegnap", "Last week": "Előző hét", diff --git a/shared/i18n/locales/id_ID/translation.json b/shared/i18n/locales/id_ID/translation.json index 87a278f6ba..928a1f4fcf 100644 --- a/shared/i18n/locales/id_ID/translation.json +++ b/shared/i18n/locales/id_ID/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} dokumen dibatalkan penerbitannya", "Subscription inherited from collection": "Subscription inherited from collection", "Share document": "Share document", - "Download": "Unduh", - "Download document": "Unduh dokumen", + "Markdown": "Markdown", "Download as Markdown": "Unduh dengan format Markdown", + "HTML": "HTML", "Download as HTML": "Unduh dengan format HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "Unduh sebagai TextBundle", + "PDF": "PDF", "Download as PDF": "Unduh dengan format PDF", "Copy as Markdown": "Salin sebagai Markdown", "Markdown copied to clipboard": "Markdown copied to clipboard", @@ -103,6 +105,7 @@ "Search in document": "Cari dalam dokumen", "Print": "Cetak", "Print document": "Cetak dokumen", + "Export document": "Ekspor dokumen", "Open in desktop app": "Open in desktop app", "Present": "Present", "Present document": "Present document", @@ -138,6 +141,12 @@ "Comments": "Komentar", "History": "Riwayat", "Insights": "Wawasan", + "Show editing stats": "Tampilkan statistik penyuntingan", + "None": "None", + "Multi-level decimal": "Desimal bertingkat", + "Alphanumeric": "Alfanumerik", + "Harvard": "Harvard", + "Heading numbering": "Penomoran judul", "Leave document": "Leave document", "You have left the shared document": "You have left the shared document", "Could not leave document": "Could not leave document", @@ -195,11 +204,8 @@ "New Application": "New Application", "Delete app": "Delete app", "This version of the document was deleted": "This version of the document was deleted", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Mengekspor", - "Markdown": "Markdown", - "Download revision": "Unduh Revisi", + "Export revision": "Ekspor revisi", "Dark": "Gelap", "Light": "Cerah", "Toggle theme": "Toggle theme", @@ -212,19 +218,37 @@ "Go to document": "Menuju ke dokumen", "Revoke link": "Lepas tautan", "Share link revoked": "Tautan berbagi dicabut", + "{{ count }} share link revoked": "{{ count }} tautan berbagi dicabut", + "{{ count }} share link revoked_plural": "{{ count }} tautan berbagi dicabut", + "Could not revoke {{ count }} share link": "Tidak dapat mencabut {{ count }} tautan berbagi", + "Could not revoke {{ count }} share link_plural": "Tidak dapat mencabut {{ count }} tautan berbagi", "Switch workspace": "Beralih ruang kerja", "Select a workspace": "Pilih ruang kerja", "New workspace": "Ruang kerja baru", "Create a workspace": "Buat ruang kerja", "Login to workspace": "Login to workspace", - "template": "template", + "Delete template": "Hapus templat", + "Delete {{ count }} template": "Hapus {{ count }} templat", + "Delete {{ count }} template_plural": "Hapus {{ count }} templat", "Template deleted": "Template deleted", + "{{ count }} template deleted": "{{ count }} templat dihapus", + "{{ count }} template deleted_plural": "{{ count }} templat dihapus", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Are you sure about that? Deleting the {{ templateName }} template is permanent.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Apakah Anda yakin? Menghapus {{ count }} templat bersifat permanen.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Apakah Anda yakin? Menghapus {{ count }} templat bersifat permanen.", + "A template must have content": "A template must have content", + "Template published": "Templat diterbitkan", + "{{ count }} template published": "{{ count }} templat diterbitkan", + "{{ count }} template published_plural": "{{ count }} templat diterbitkan", + "Could not publish {{ count }} template": "Tidak dapat menerbitkan {{ count }} templat", + "Could not publish {{ count }} template_plural": "Tidak dapat menerbitkan {{ count }} templat", "Move to workspace": "Move to workspace", "Template moved": "Template moved", "Couldn't move the template, try again?": "Couldn't move the template, try again?", "Move to collection": "Pindah ke koleksi", "Move template": "Move template", + "{{ count }} template duplicated": "{{ count }} templat diduplikasi", + "{{ count }} template duplicated_plural": "{{ count }} templat diduplikasi", "Print template": "Cetak template", "Invite people": "Undang orang", "Invite to workspace": "Undang ke dalam workspace", @@ -267,6 +291,7 @@ "People": "Orang", "Share": "Bagikan", "Workspace": "Ruang Kerja", + "Recent searches": "Penelusuran terbaru", "currently editing": "sedang menyunting", "currently viewing": "sedang melihat", "previously edited": "sebelumnya menyunting", @@ -389,13 +414,8 @@ "our engineers have been notified": "teknisi kami telah diberitahu", "Clear cache + reload": "Clear cache + reload", "Show detail": "Show detail", - "Export started": "Ekspor dimulai", - "A link to your file will be sent through email soon": "A link to your file will be sent through email soon", - "Preparing your download": "Preparing your download", - "Include child documents": "Include child documents", - "When selected, exporting the document will take extra time.": "Jika dipilih, mengekspor dokumen akan memerlukan waktu tambahan.", - "You will receive an email when it's complete.": "Anda akan menerima surel jika sudah selesai.", "Exporting the collection may take some time.": "Mengekspor koleksi mungkin memerlukan waktu.", + "You will receive an email when it's complete.": "Anda akan menerima surel jika sudah selesai.", "Include attachments": "Include attachments", "Including uploaded images and files in the exported data": "Including uploaded images and files in the exported data", "Include private collections": "Include private collections", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "View, navigate, or download images in the document", "Zoom in": "Zoom in", "Zoom out": "Zoom out", + "Download": "Unduh", "Edit diagram": "Edit diagram", "Close": "Menutup", "Previous": "Previous", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}h {{ minutes }}m read", "{{ hours }}h read": "{{ hours }}h read", "{{ minutes }}m read": "{{ minutes }}m read", + "Archived": "Diarsipkan", "All members": "All members", "Everyone in the workspace": "Everyone in the workspace", "{{ count }} member": "{{ count }} anggota", @@ -529,11 +551,12 @@ "Switch to dark": "Beralih ke gelap", "Switch to light": "Beralih ke cerah", "Subscribe to updates": "Subscribe to updates", + "Display settings": "Display settings", + "Edit {{noun}}": "Sunting {{noun}}", "Logo": "Logo", "Add": "Tambahkan", "Add or invite": "Add or invite", "Sharing settings updated": "Sharing settings updated", - "Display settings": "Display settings", "Customize how the published document is displayed": "Customize how the published document is displayed", "Image options": "Image options", "Upload": "Unggah", @@ -589,16 +612,16 @@ "New nested document": "Buat dokumen bercabang", "No collections": "No collections", "Hide": "Sembunyikan", + "Starred": "Berbintang", + "Shared with me": "Shared with me", "Import files": "Import files", "Recent": "Recent", "Go back": "Kembali", "Go forward": "Ke berikutnya", "Could not load shared documents": "Could not load shared documents", - "Shared with me": "Shared with me", "Show more": "Selengkapnya", "Link options": "Link options", "Could not load starred documents": "Could not load starred documents", - "Starred": "Berbintang", "Up to date": "Mutakhir", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} versi di belakang", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} versi di belakang", @@ -615,6 +638,8 @@ "Star document": "Star document", "Select a color": "Pilih warna", "Select all": "Pilih semua", + "Columns": "Kolom", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "Perubahan Anda tidak dapat disimpan.\nApakah Anda yakin ingin keluar?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Sorot beberapa teks dan gunakan <1> kontrol untuk menambahkan placeholder yang dapat diisi saat membuat dokumen baru", "You’re editing a template": "Anda sedang mengedit template", "Template created, go ahead and customize it": "Template telah dibuat, silakan disesuaikan", @@ -675,8 +700,6 @@ "Paste a link": "Tempel tautan", "Delete embed": "Delete embed", "Delete image": "Hapus gambar", - "Create a new doc": "Buat dokumen baru", - "Create a nested doc": "Create a nested doc", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} won't be notified, as they do not have access to this document", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Members of \"{{ groupName }}\" that have access to this document will be notified", "Keep as link": "Keep as link", @@ -726,7 +749,6 @@ "Italic": "Miring", "Strikethrough": "Dicoret", "Background color": "Background color", - "None": "None", "Highlight": "Sorot", "Code": "Kode", "Heading": "Judul", @@ -743,6 +765,8 @@ "Full width": "Full width", "Download image": "Unduh gambar", "Edit image URL": "Edit image URL", + "Create a new doc": "Buat dokumen baru", + "Create a nested doc": "Create a nested doc", "Default width": "Default width", "Distribute columns": "Distribute columns", "Export as CSV": "Export as CSV", @@ -893,14 +917,23 @@ "only you": "hanya Anda", "person": "orang", "people": "orang", + "{{ number }} words selected": "{{ number }} word selected", + "{{ number }} words selected_plural": "{{ number }} words selected", + "{{ number }} characters selected": "{{ number }} character selected", + "{{ number }} characters selected_plural": "{{ number }} characters selected", + "{{ number }} words": "{{ number }} word", + "{{ number }} words_plural": "{{ number }} words", + "{{ number }} characters": "{{ number }} character", + "{{ number }} characters_plural": "{{ number }} characters", + "{{ number }} paragraphs": "{{ number }} paragraf", + "{{ number }} paragraphs_plural": "{{ number }} paragraf", + "{{ number }} minute read": "{{ number }} minute read", "Document title": "Document title", "Last updated": "Terakhir diperbarui", "Type '/' to insert, or start writing…": "Ketik '/' untuk menyisipkan, atau mulai menulis…", "Hide contents": "Sembunyikan isi", "Show contents": "Tampilkan isi", "available when headings are added": "available when headings are added", - "Edit {{noun}}": "Sunting {{noun}}", - "Archived": "Diarsipkan", "Save draft": "Simpan draf", "Restore version": "Pulihkan versi", "{{userName}} archived": "{{userName}} mengarsipkan", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} menerbitkan", "{{userName}} unpublished": "{{userName}} tidak menerbitkan", "{{userName}} moved": "{{userName}} memindahkan", - "via {{ authType }}": "melalui {{ authType }}", "Previous version": "Previous version", "Highlight changes": "Highlight changes", "Compare to": "Compare to", @@ -920,23 +952,12 @@ "Revision deleted": "Revision deleted", "Current version": "Current version", "{{userName}} edited": "{{userName}} menyunting", + "via {{ authType }}": "melalui {{ authType }}", "{{count}} people": "{{count}} person", "{{count}} people_plural": "{{count}} people", "Source": "Source", "Created": "Dibuat", "Imported from {{ source }}": "Imported from {{ source }}", - "Stats": "Statistik", - "{{ number }} minute read": "{{ number }} minute read", - "{{ number }} words": "{{ number }} word", - "{{ number }} words_plural": "{{ number }} words", - "{{ number }} characters": "{{ number }} character", - "{{ number }} characters_plural": "{{ number }} characters", - "{{ number }} emoji": "{{ number }} emoji", - "No text selected": "Tidak ada teks yang dipilih", - "{{ number }} words selected": "{{ number }} word selected", - "{{ number }} words selected_plural": "{{ number }} words selected", - "{{ number }} characters selected": "{{ number }} character selected", - "{{ number }} characters selected_plural": "{{ number }} characters selected", "Contributors": "Kontributor", "Creator": "Pembuat", "Last edited": "Terakhir disunting", @@ -986,11 +1007,11 @@ "Warning Sign": "Tanda peringatan", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.", + "Documents you’ve recently viewed will be here for easy access": "Dokumen yang baru saja Anda lihat akan ada di sini agar mudah diakses", "Created by me": "Dibuat oleh saya", "Weird, this shouldn't ever be empty": "Weird, this shouldn't ever be empty", "Documents with recent activity will appear here": "Documents with recent activity will appear here", "You haven’t created any documents yet": "Anda belum membuat dokumen apa pun", - "Documents you’ve recently viewed will be here for easy access": "Dokumen yang baru saja Anda lihat akan ada di sini agar mudah diakses", "{{ count }} invites sent": "{{ count }} invite sent", "{{ count }} invites sent_plural": "{{ count }} invites sent", "Those email addresses are already invited": "Alamat email tersebut sudah diundang", @@ -1014,6 +1035,7 @@ "Open document history": "Buka riwayat dokumen", "Jump to search": "Menuju ke pencarian", "Jump to home": "Menuju ke home", + "Toggle statistics": "Alihkan statistik", "Focus search input": "Pencarian fokus", "Open this guide": "Buka panduan ini", "Publish document and exit": "Publikasikan dokumen dan keluar", @@ -1151,7 +1173,6 @@ "Any time": "Kapan pun", "Remove document filter": "Remove document filter", "Any status": "Any status", - "Recent searches": "Penelusuran terbaru", "Remove search": "Hapus pencarian", "Relevance": "Relevance", "Newest": "Newest", @@ -1324,6 +1345,8 @@ "All roles": "All roles", "Admins": "Admin", "Editors": "Editors", + "Invited by": "Diundang oleh", + "Joined": "Bergabung", "All status": "All status", "Active": "Aktif", "Could not load emojis": "Could not load emojis", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Tampilkan nomor baris pada blok kode di dokumen.", "Show comment marker": "Show comment marker", "Display a marker beside lines in the editor that contain comments.": "Display a marker beside lines in the editor that contain comments.", + "Display live word, character, and paragraph counts while editing.": "Tampilkan jumlah kata, karakter, dan paragraf secara langsung saat menyunting.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "Apabila aktif, dokumen akan memiliki mode penyuntingan terpisah. Jika nonaktif, dokumen selalu dapat disunting jika Anda memiliki izinnya.", "Remember previous location": "Ingat lokasi sebelumnya", "Automatically return to the document you were last viewing when the app is re-opened.": "Secara otomatis kembali ke dokumen yang terakhir Anda lihat saat aplikasi dibuka kembali.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "Berbagi saat ini dinonaktifkan.", "You can globally enable and disable public document sharing in the security settings.": "Anda dapat mengaktifkan dan menonaktifkan berbagi dokumen publik secara global di pengaturan keamanan.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Dokumen yang telah dibagikan tercantum di bawah ini. Siapa pun yang memiliki tautan publik dapat mengakses dokumen dalam versi read-only hingga tautan dicabut.", - "A template must have content": "A template must have content", + "Couldn’t create the template, try again?": "Tidak dapat membuat templat, coba lagi?", "Could not load templates": "Could not load templates", "Templates help your team create consistent and accurate documentation.": "Templates help your team create consistent and accurate documentation.", "No templates have been created yet": "No templates have been created yet", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "Untuk membuat workspace dengan email berbeda silakan daftar melalui halaman beranda", "Trash emptied": "Trash emptied", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.", - "Recently deleted": "Recently deleted", + "You’ve not deleted any documents.": "Anda belum menghapus dokumen apa pun.", + "This user has not deleted any documents.": "Pengguna ini belum menghapus dokumen apa pun.", "Trash is empty at the moment.": "Sampah kosong saat ini.", + "Recently deleted": "Recently deleted", + "Deleted by anyone": "Dihapus oleh siapa pun", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Anda yakin? Menghapus akun Anda akan menghancurkan data pengidentifikasi yang terkait dengan pengguna Anda dan tidak dapat dibatalkan. Anda akan segera keluar dari {{appName}} dan semua token API Anda akan dicabut.", "Delete my account": "Hapus akun saya", + "Export started": "Ekspor dimulai", + "A link to your file will be sent through email soon": "A link to your file will be sent through email soon", + "Preparing your download": "Preparing your download", "Today": "Hari ini", "Yesterday": "Kemarin", "Last week": "Minggu lalu", diff --git a/shared/i18n/locales/it_IT/translation.json b/shared/i18n/locales/it_IT/translation.json index 50fd26f8cd..d22332813b 100644 --- a/shared/i18n/locales/it_IT/translation.json +++ b/shared/i18n/locales/it_IT/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} documenti non pubblicati", "Subscription inherited from collection": "Iscrizione ereditata dalla raccolta", "Share document": "Condividi documento", - "Download": "Download", - "Download document": "Scarica documento", + "Markdown": "Markdown", "Download as Markdown": "Scarica come Markdown", + "HTML": "HTML", "Download as HTML": "Scarica come HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "Scarica come TextBundle", + "PDF": "PDF", "Download as PDF": "Scarica come PDF", "Copy as Markdown": "Copia come Markdown", "Markdown copied to clipboard": "Markdown copiato negli appunti", @@ -103,6 +105,7 @@ "Search in document": "Cerca nel documento", "Print": "Stampa", "Print document": "Stampa documento", + "Export document": "Esporta documento", "Open in desktop app": "Apri nell'applicazione desktop", "Present": "Presente", "Present document": "Documento presente", @@ -138,6 +141,12 @@ "Comments": "Commenti", "History": "Cronologia", "Insights": "Statistiche", + "Show editing stats": "Mostra le statistiche di modifica", + "None": "Nessuno", + "Multi-level decimal": "Decimale multilivello", + "Alphanumeric": "Alfanumerico", + "Harvard": "Harvard", + "Heading numbering": "Numerazione dei titoli", "Leave document": "Lascia il documento", "You have left the shared document": "Hai lasciato il documento condiviso", "Could not leave document": "Impossibile lasciare il documento", @@ -195,11 +204,8 @@ "New Application": "Nuova Applicazione", "Delete app": "Elimina app", "This version of the document was deleted": "Questa versione del documento è stata eliminata", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Esportazione in corso", - "Markdown": "Markdown", - "Download revision": "Scarica revisione", + "Export revision": "Esporta revisione", "Dark": "Scuro", "Light": "Chiaro", "Toggle theme": "Attiva tema", @@ -212,19 +218,37 @@ "Go to document": "Vai al documento", "Revoke link": "Revoca il link", "Share link revoked": "Link condivisione revocato", + "{{ count }} share link revoked": "{{ count }} link di condivisione revocato", + "{{ count }} share link revoked_plural": "{{ count }} link di condivisione revocati", + "Could not revoke {{ count }} share link": "Impossibile revocare {{ count }} link di condivisione", + "Could not revoke {{ count }} share link_plural": "Impossibile revocare {{ count }} link di condivisione", "Switch workspace": "Cambia area di lavoro", "Select a workspace": "Seleziona un'area di lavoro", "New workspace": "Nuova area di lavoro", "Create a workspace": "Crea area di lavoro", "Login to workspace": "Accedi allo spazio di lavoro", - "template": "modello", + "Delete template": "Elimina modello", + "Delete {{ count }} template": "Elimina {{ count }} modello", + "Delete {{ count }} template_plural": "Elimina {{ count }} modelli", "Template deleted": "Modello eliminato", + "{{ count }} template deleted": "{{ count }} modello eliminato", + "{{ count }} template deleted_plural": "{{ count }} modelli eliminati", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Ne sei sicuro? L'eliminazione del modello {{ templateName }} è definitiva.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Ne sei sicuro? L'eliminazione di {{ count }} modello è definitiva.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Ne sei sicuro? L'eliminazione di {{ count }} modelli è definitiva.", + "A template must have content": "Un modello deve avere un contenuto", + "Template published": "Modello pubblicato", + "{{ count }} template published": "{{ count }} modello pubblicato", + "{{ count }} template published_plural": "{{ count }} modelli pubblicati", + "Could not publish {{ count }} template": "Impossibile pubblicare {{ count }} modello", + "Could not publish {{ count }} template_plural": "Impossibile pubblicare {{ count }} modelli", "Move to workspace": "Sposta nello spazio di lavoro", "Template moved": "Modello spostato", "Couldn't move the template, try again?": "Impossibile spostare il modello. Riprovare?", "Move to collection": "Sposta nella raccolta", "Move template": "Sposta modello", + "{{ count }} template duplicated": "{{ count }} modello duplicato", + "{{ count }} template duplicated_plural": "{{ count }} modelli duplicati", "Print template": "Modello di stampa", "Invite people": "Invita persone", "Invite to workspace": "Invita allo spazio di lavoro", @@ -267,6 +291,7 @@ "People": "Persone", "Share": "Condividi", "Workspace": "Area di lavoro", + "Recent searches": "Ricerche recenti", "currently editing": "attualmente in modifica", "currently viewing": "attualmente visualizzato", "previously edited": "precedentemente modificato", @@ -389,13 +414,8 @@ "our engineers have been notified": "i nostri ingegneri sono stati informati", "Clear cache + reload": "Pulisci la cache e aggiorna", "Show detail": "Mostra dettagli", - "Export started": "Esportazione avviata", - "A link to your file will be sent through email soon": "Un link al tuo file verrà inviato via email a breve", - "Preparing your download": "Preparazione del download", - "Include child documents": "Includi documenti figli", - "When selected, exporting the document will take extra time.": "Se selezionato, l'esportazione del documento richiederà più tempo.", - "You will receive an email when it's complete.": "Riceverai un'email quando sarà completata.", "Exporting the collection may take some time.": "L'esportazione della raccolta potrebbe richiedere del tempo.", + "You will receive an email when it's complete.": "Riceverai un'email quando sarà completata.", "Include attachments": "Includi allegati", "Including uploaded images and files in the exported data": "Includere immagini e file caricati nei dati esportati", "Include private collections": "Includi collezioni private", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "Visualizza, naviga, o scarica immagini nel documento", "Zoom in": "Ingrandisci", "Zoom out": "Rimpicciolisci", + "Download": "Download", "Edit diagram": "Modifica diagramma", "Close": "Chiudi", "Previous": "Precedente", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}h {{ minutes }}m letto", "{{ hours }}h read": "{{ hours }}h letto", "{{ minutes }}m read": "{{ minutes }} minuti di lettura", + "Archived": "Archiviati", "All members": "Tutti i membri", "Everyone in the workspace": "Tutti nel workspace", "{{ count }} member": "{{ count }} membro", @@ -529,11 +551,12 @@ "Switch to dark": "Passa al tema scuro", "Switch to light": "Passa al tema chiaro", "Subscribe to updates": "Iscriviti per ricevere aggiornamenti", + "Display settings": "Impostazioni di visualizzazione", + "Edit {{noun}}": "Modifica {{noun}}", "Logo": "Logo", "Add": "Aggiungi", "Add or invite": "Aggiungi o invita", "Sharing settings updated": "Impostazioni di condivisione aggiornate", - "Display settings": "Impostazioni di visualizzazione", "Customize how the published document is displayed": "Personalizza come viene visualizzato il documento pubblicato", "Image options": "Opzioni dell'immagine", "Upload": "Carica", @@ -589,16 +612,16 @@ "New nested document": "Nuovo sottodocumento", "No collections": "Nessuna collezione", "Hide": "Nascondi", + "Starred": "Preferiti", + "Shared with me": "Condiviso con me", "Import files": "Importa file", "Recent": "Recente", "Go back": "Torna indietro", "Go forward": "Vai avanti", "Could not load shared documents": "Impossibile caricare i documenti condivisi", - "Shared with me": "Condiviso con me", "Show more": "Mostra altro", "Link options": "Opzioni link", "Could not load starred documents": "Impossibile caricare i documenti contrassegnati con stelle", - "Starred": "Preferiti", "Up to date": "Aggiornato", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} versione indietro", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} versioni indietro", @@ -615,6 +638,8 @@ "Star document": "Condividi documento", "Select a color": "Seleziona un colore", "Select all": "Seleziona tutto", + "Columns": "Colonne", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "Non è stato possibile salvare le modifiche.\nVuoi davvero uscire?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Evidenzia del testo e usa il comando <1> per aggiungere dei segnaposto che possono essere compilati nella creazione di nuovi documenti", "You’re editing a template": "Stai modificando un modello", "Template created, go ahead and customize it": "Modello creato, procedi e personalizzalo", @@ -675,8 +700,6 @@ "Paste a link": "Incolla un link", "Delete embed": "Elimina incorporamento", "Delete image": "Elimina immagine", - "Create a new doc": "Crea un nuovo documento", - "Create a nested doc": "Crea un documento annidato", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} Non verrà notificato, in quanto Non", "Members of \"{{ groupName }}\" that have access to this document will be notified": "I membri di \"{{ groupName }}\" che hanno accesso a questo documento verranno avvisati", "Keep as link": "Mantieni come link", @@ -726,7 +749,6 @@ "Italic": "Corsivo", "Strikethrough": "Testo barrato", "Background color": "Colore di sfondo", - "None": "Nessuno", "Highlight": "In evidenza", "Code": "Codice", "Heading": "Titolo", @@ -743,6 +765,8 @@ "Full width": "Larghezza massima", "Download image": "Scarica immagine", "Edit image URL": "Modifica URL immagine", + "Create a new doc": "Crea un nuovo documento", + "Create a nested doc": "Crea un documento annidato", "Default width": "Larghezza default", "Distribute columns": "Distribuisci colonne", "Export as CSV": "Esporta in CSV", @@ -893,14 +917,23 @@ "only you": "solo tu", "person": "persona", "people": "persone", + "{{ number }} words selected": "{{ number }} parola selezionata", + "{{ number }} words selected_plural": "{{ number }} parole selezionate", + "{{ number }} characters selected": "{{ number }} carattere selezionato", + "{{ number }} characters selected_plural": "{{ number }} caratteri selezionati", + "{{ number }} words": "{{ number }} parola", + "{{ number }} words_plural": "{{ number }} parole", + "{{ number }} characters": "{{ number }} carattere", + "{{ number }} characters_plural": "{{ number }} caratteri", + "{{ number }} paragraphs": "{{ number }} paragrafo", + "{{ number }} paragraphs_plural": "{{ number }} paragrafi", + "{{ number }} minute read": "{{ number }} minuto di lettura", "Document title": "Titolo del documento", "Last updated": "Ultimo aggiornamento", "Type '/' to insert, or start writing…": "Digita '/' per inserire, o inizia a scrivere…", "Hide contents": "Nascondi contenuti", "Show contents": "Mostra contenuti", "available when headings are added": "disponibile quando vengono aggiunte le intestazioni", - "Edit {{noun}}": "Modifica {{noun}}", - "Archived": "Archiviati", "Save draft": "Salva bozza", "Restore version": "Ripristina versione", "{{userName}} archived": "{{userName}} archiviato", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} pubblicato", "{{userName}} unpublished": "{{userName}} ha annullato la pubblicazione", "{{userName}} moved": "{{userName}} ha spostato", - "via {{ authType }}": "tramite {{ authType }}", "Previous version": "Versione precedente", "Highlight changes": "Evidenzia modifiche", "Compare to": "Confronta con", @@ -920,23 +952,12 @@ "Revision deleted": "Revisione eliminata", "Current version": "Versione corrente", "{{userName}} edited": "{{userName}} modificato", + "via {{ authType }}": "tramite {{ authType }}", "{{count}} people": "{{count}} persona", "{{count}} people_plural": "{{count}} persone", "Source": "Origine", "Created": "Creato", "Imported from {{ source }}": "Importato da {{ source }}", - "Stats": "Statistiche", - "{{ number }} minute read": "{{ number }} minuto di lettura", - "{{ number }} words": "{{ number }} parola", - "{{ number }} words_plural": "{{ number }} parole", - "{{ number }} characters": "{{ number }} carattere", - "{{ number }} characters_plural": "{{ number }} caratteri", - "{{ number }} emoji": "{{ number }} emoji", - "No text selected": "Nessun testo selezionato", - "{{ number }} words selected": "{{ number }} parola selezionata", - "{{ number }} words selected_plural": "{{ number }} parole selezionate", - "{{ number }} characters selected": "{{ number }} carattere selezionato", - "{{ number }} characters selected_plural": "{{ number }} caratteri selezionati", "Contributors": "Contributori", "Creator": "Autore", "Last edited": "Ultima modifica", @@ -986,11 +1007,11 @@ "Warning Sign": "Simbolo di avvertenza", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "Un amministratore dello spazio di lavoro ({{ suspendedContactEmail }}) ha sospeso il tuo account. Contattalo per farlo riattivare.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Si è verificato un errore sconosciuto durante il caricamento della pagina. Riprova o contatta il supporto se il problema persiste.", + "Documents you’ve recently viewed will be here for easy access": "I documenti che hai recentemente visualizzato compariranno qui per facilitarne l'accesso", "Created by me": "Creato da me", "Weird, this shouldn't ever be empty": "Strano, questo non dovrebbe mai essere vuoto", "Documents with recent activity will appear here": "I documenti con attività recente appariranno qui", "You haven’t created any documents yet": "Non hai ancora creato alcun documento", - "Documents you’ve recently viewed will be here for easy access": "I documenti che hai recentemente visualizzato compariranno qui per facilitarne l'accesso", "{{ count }} invites sent": "{{ count }} invito inviato", "{{ count }} invites sent_plural": "{{ count }} inviti inviati", "Those email addresses are already invited": "Agli indirizzi email è stato già inviato un invito", @@ -1014,6 +1035,7 @@ "Open document history": "Apri cronologia del documento", "Jump to search": "Vai alla ricerca", "Jump to home": "Vai alla home", + "Toggle statistics": "Attiva/disattiva le statistiche", "Focus search input": "Focus input di ricerca", "Open this guide": "Apri questa guida", "Publish document and exit": "Pubblica documento ed esci", @@ -1151,7 +1173,6 @@ "Any time": "Qualsiasi momento", "Remove document filter": "Rimuovi filtro documento", "Any status": "Qualsiasi stato", - "Recent searches": "Ricerche recenti", "Remove search": "Rimuovi ricerca", "Relevance": "Rilevanza", "Newest": "Il più recente", @@ -1324,6 +1345,8 @@ "All roles": "Tutti i ruoli", "Admins": "Amministratori", "Editors": "Editor", + "Invited by": "Invitato da", + "Joined": "Iscritto", "All status": "Tutti gli stati", "Active": "Attivo", "Could not load emojis": "Impossibile caricare le emoji", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Visualizza i numeri di riga sui blocchi di codice nei documenti.", "Show comment marker": "Mostra indicatore dei commenti", "Display a marker beside lines in the editor that contain comments.": "Visualizza un indicatore accanto alle righe nell'editor che contengono commenti.", + "Display live word, character, and paragraph counts while editing.": "Visualizza il conteggio in tempo reale di parole, caratteri e paragrafi durante la modifica.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "Se abilitata, i documenti hanno una modalità di modifica separata. Se disabilitata, i documenti sono sempre modificabili se si dispone dell'autorizzazione.", "Remember previous location": "Ricorda l'ultima posizione", "Automatically return to the document you were last viewing when the app is re-opened.": "Torna automaticamente all'ultimo documento che stavi visualizzando quando l'app viene riaperta.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "La condivisione è attualmente disabilitata.", "You can globally enable and disable public document sharing in the security settings.": "Puoi abilitare e disabilitare globalmente la condivisione di documenti pubblici nelle impostazioni di sicurezza.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "I documenti che sono stati condivisi sono elencati di seguito. Chiunque disponga del collegamento pubblico può accedere a una versione di sola lettura del documento finché il collegamento non viene revocato.", - "A template must have content": "Un modello deve avere un contenuto", + "Couldn’t create the template, try again?": "Impossibile creare il modello, riprovare?", "Could not load templates": "Impossibile caricare modelli", "Templates help your team create consistent and accurate documentation.": "I modelli aiutano il tuo team a creare una documentazione coerente e accurata.", "No templates have been created yet": "Non sono stati creati modelli", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "Per creare uno spazio di lavoro con un'altra email, registrati dalla homepage", "Trash emptied": "Cestino svuotato", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Vuoi davvero eliminare definitivamente tutti i documenti nel Cestino? Questa azione è immediata e non può essere annullata.", - "Recently deleted": "Eliminato di recente", + "You’ve not deleted any documents.": "Non hai eliminato alcun documento.", + "This user has not deleted any documents.": "Questo utente non ha eliminato alcun documento.", "Trash is empty at the moment.": "Al momento il cestino è vuoto.", + "Recently deleted": "Eliminato di recente", + "Deleted by anyone": "Eliminato da chiunque", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "Un codice di conferma è stato inviato al tuo indirizzo email. Inserisci il codice qui sotto per eliminare definitivamente il tuo account.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Sei sicuro? L'eliminazione del tuo account distruggerà i dati identificativi associati al tuo utente e non può essere annullata. Verrai immediatamente disconnesso da {{appName}} e tutti i tuoi token API verranno revocati.", "Delete my account": "Elimina il mio account", + "Export started": "Esportazione avviata", + "A link to your file will be sent through email soon": "Un link al tuo file verrà inviato via email a breve", + "Preparing your download": "Preparazione del download", "Today": "Oggi", "Yesterday": "Ieri", "Last week": "Settimana scorsa", diff --git a/shared/i18n/locales/ja_JP/translation.json b/shared/i18n/locales/ja_JP/translation.json index 748472025f..176034abd2 100644 --- a/shared/i18n/locales/ja_JP/translation.json +++ b/shared/i18n/locales/ja_JP/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} 件のドキュメントを非公開にしました", "Subscription inherited from collection": "コレクションから継承されたサブスクリプション", "Share document": "共有文書", - "Download": "ダウンロード", - "Download document": "ドキュメントをダウンロード", + "Markdown": "Markdown", "Download as Markdown": "Markdownとしてダウンロード", + "HTML": "HTML", "Download as HTML": "HTMLとしてダウンロード", + "TextBundle": "TextBundle", "Download as TextBundle": "TextBundleとしてダウンロード", + "PDF": "PDF", "Download as PDF": "PDFとしてダウンロード", "Copy as Markdown": "Markdown 形式でコピー", "Markdown copied to clipboard": "Markdown をクリップボードにコピーしました", @@ -103,6 +105,7 @@ "Search in document": "ドキュメント内を検索", "Print": "プリント", "Print document": "ドキュメントを印刷する", + "Export document": "ドキュメントをエクスポート", "Open in desktop app": "デスクトップアプリで開く", "Present": "プレゼンテーション", "Present document": "ドキュメントをプレゼンテーション", @@ -138,6 +141,12 @@ "Comments": "コメント", "History": "変更履歴", "Insights": "分析", + "Show editing stats": "編集統計を表示", + "None": "なし", + "Multi-level decimal": "複数レベルの小数", + "Alphanumeric": "英数字", + "Harvard": "ハーバード", + "Heading numbering": "見出し番号", "Leave document": "ドキュメントから退出する", "You have left the shared document": "共有ドキュメントから退出しました", "Could not leave document": "ドキュメントから退出することができませんでした", @@ -195,11 +204,8 @@ "New Application": "アプリケーションを新規作成", "Delete app": "アプリを削除", "This version of the document was deleted": "このバージョンのドキュメントは削除されました", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "エクスポート中", - "Markdown": "Markdown", - "Download revision": "リビジョンをダウンロード", + "Export revision": "リビジョンをエクスポート", "Dark": "ダークモード", "Light": "ライトモード", "Toggle theme": "テーマを切り替え", @@ -212,19 +218,37 @@ "Go to document": "ドキュメントに移動", "Revoke link": "リンクを無効化", "Share link revoked": "共有リンクを無効にしました", + "{{ count }} share link revoked": "{{ count }} 件の共有リンクを取り消しました", + "{{ count }} share link revoked_plural": "{{ count }} 件の共有リンクを取り消しました", + "Could not revoke {{ count }} share link": "{{ count }} 件の共有リンクを取り消せませんでした", + "Could not revoke {{ count }} share link_plural": "{{ count }} 件の共有リンクを取り消せませんでした", "Switch workspace": "ワークスペースを切り替える", "Select a workspace": "ワークスペースを選択", "New workspace": "新しいワークスペース", "Create a workspace": "ワークスペースを作成", "Login to workspace": "ワークスペースにログイン", - "template": "テンプレート", + "Delete template": "テンプレートを削除", + "Delete {{ count }} template": "{{ count }} 件のテンプレートを削除", + "Delete {{ count }} template_plural": "{{ count }} 件のテンプレートを削除", "Template deleted": "テンプレートが削除されました", + "{{ count }} template deleted": "{{ count }} 件のテンプレートを削除しました", + "{{ count }} template deleted_plural": "{{ count }} 件のテンプレートを削除しました", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "本当によろしいですか?{{ templateName }} テンプレートを削除すると元に戻せません。", + "Are you sure about that? Deleting {{ count }} template is permanent.": "本当に実行しますか?{{ count }} 件のテンプレートを削除すると元に戻せません。", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "本当に実行しますか?{{ count }} 件のテンプレートを削除すると元に戻せません。", + "A template must have content": "テンプレートにはコンテンツが必要です", + "Template published": "テンプレートを公開しました", + "{{ count }} template published": "{{ count }} 件のテンプレートを公開しました", + "{{ count }} template published_plural": "{{ count }} 個のテンプレートを公開しました", + "Could not publish {{ count }} template": "{{ count }} 個のテンプレートを公開できませんでした", + "Could not publish {{ count }} template_plural": "{{ count }} 個のテンプレートを公開できませんでした", "Move to workspace": "ワークスペースに移動", "Template moved": "テンプレートを移動しました", "Couldn't move the template, try again?": "テンプレートを移動できませんでした。もう一度お試しください。", "Move to collection": "コレクションに移動", "Move template": "テンプレートを移動", + "{{ count }} template duplicated": "{{ count }} 個のテンプレートを複製しました", + "{{ count }} template duplicated_plural": "{{ count }} 個のテンプレートを複製しました", "Print template": "テンプレートを印刷", "Invite people": "ユーザーを招待", "Invite to workspace": "ワークスペースに招待", @@ -267,6 +291,7 @@ "People": "メンバー", "Share": "共有", "Workspace": "ワークスペース", + "Recent searches": "検索履歴", "currently editing": "編集中", "currently viewing": "閲覧中", "previously edited": "編集済み", @@ -389,13 +414,8 @@ "our engineers have been notified": "開発者に通知されました", "Clear cache + reload": "キャッシュをクリアしてリロードする", "Show detail": "詳細を表示", - "Export started": "エクスポートを開始しました", - "A link to your file will be sent through email soon": "ファイルへのリンクは間もなくメールで送信されます", - "Preparing your download": "ダウンロードを準備中", - "Include child documents": "子ドキュメントを含める", - "When selected, exporting the document will take extra time.": "選択すると、ドキュメントのエクスポートに時間がかかります。", - "You will receive an email when it's complete.": "完了するとメールが届きます", "Exporting the collection may take some time.": "コレクションのエクスポートには時間がかかる場合があります。", + "You will receive an email when it's complete.": "完了するとメールが届きます", "Include attachments": "添付ファイルを含める", "Including uploaded images and files in the exported data": "エクスポートデータにアップロードされた画像とファイルを含む", "Include private collections": "プライベートコレクションを含める", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "ドキュメント内の画像を表示、閲覧、またはダウンロード", "Zoom in": "拡大", "Zoom out": "縮小", + "Download": "ダウンロード", "Edit diagram": "ダイアグラムを編集", "Close": "閉じる", "Previous": "前", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}時間{{ minutes }}分で読めます", "{{ hours }}h read": "{{ hours }}時間で読めます", "{{ minutes }}m read": "{{ minutes }} ", + "Archived": "アーカイブ", "All members": "全員", "Everyone in the workspace": "ワークスペースにいる全ての人", "{{ count }} member": "{{ count }} 人のメンバー", @@ -529,11 +551,12 @@ "Switch to dark": "ダークテーマに切り替え", "Switch to light": "ライトテーマに切り替え", "Subscribe to updates": "更新を購読", + "Display settings": "表示設定", + "Edit {{noun}}": "{{noun}} を編集", "Logo": "ロゴ", "Add": "追加", "Add or invite": "追加または招待", "Sharing settings updated": "共有設定を更新しました", - "Display settings": "表示設定", "Customize how the published document is displayed": "公開したドキュメントの表示方法をカスタマイズ", "Image options": "画像オプション", "Upload": "アップロード", @@ -589,16 +612,16 @@ "New nested document": "このページにドキュメントを作成", "No collections": "コレクションがありません", "Hide": "非表示", + "Starred": "お気に入り", + "Shared with me": "共有アイテム", "Import files": "ファイルをインポート", "Recent": "最近", "Go back": "戻る", "Go forward": "進む", "Could not load shared documents": "共有済みのドキュメントを読み込めませんでした", - "Shared with me": "共有アイテム", "Show more": "さらに表示", "Link options": "リンクオプション", "Could not load starred documents": "お気に入りのドキュメントを読み込めませんでした", - "Starred": "お気に入り", "Up to date": "最新の状態", "{{ releasesBehind }} versions behind": "最新版から {{ releasesBehind }} バージョン遅れています", "{{ releasesBehind }} versions behind_plural": "最新版から {{ releasesBehind }} バージョン遅れています", @@ -615,6 +638,8 @@ "Star document": "お気に入りに追加", "Select a color": "色を選択", "Select all": "すべて選択", + "Columns": "列", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "変更を保存できませんでした。\nこのページを離れてもよろしいですか?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "このテンプレートを使用して新しいドキュメントを作成する際に埋められる要素を追加するには、<1> キーを使用してください。", "You’re editing a template": "テンプレートを編集しています", "Template created, go ahead and customize it": "テンプレートが作成されました", @@ -675,8 +700,6 @@ "Paste a link": "リンクを貼り付け", "Delete embed": "埋め込みを削除", "Delete image": "画像を削除", - "Create a new doc": "ドキュメントを作成", - "Create a nested doc": "ネストされたドキュメントを作成", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} はこのドキュメントへのアクセス権限がないため、通知されません", "Members of \"{{ groupName }}\" that have access to this document will be notified": "このドキュメントにアクセスできる「{{ groupName }}」のメンバーに通知されます", "Keep as link": "リンクとして保持", @@ -726,7 +749,6 @@ "Italic": "斜体", "Strikethrough": "取り消し線", "Background color": "背景色", - "None": "なし", "Highlight": "ハイライト", "Code": "コード", "Heading": "見出し", @@ -743,6 +765,8 @@ "Full width": "左右の余白を縮小", "Download image": "画像をダウンロード", "Edit image URL": "画像のURLを編集", + "Create a new doc": "ドキュメントを作成", + "Create a nested doc": "ネストされたドキュメントを作成", "Default width": "デフォルトの幅", "Distribute columns": "列を均等に配置", "Export as CSV": "CSV 形式でエクスポート", @@ -893,14 +917,23 @@ "only you": "自分のみ", "person": "個人", "people": "メンバー", + "{{ number }} words selected": "{{ number }} 語選択", + "{{ number }} words selected_plural": "{{ number }} 語選択", + "{{ number }} characters selected": "{{ number }} 文字選択", + "{{ number }} characters selected_plural": "{{ number }} 文字選択", + "{{ number }} words": "{{ number }} 単語", + "{{ number }} words_plural": "{{ number }} 単語", + "{{ number }} characters": "{{ number }} 文字", + "{{ number }} characters_plural": "{{ number }} 文字", + "{{ number }} paragraphs": "{{ number }} 段落", + "{{ number }} paragraphs_plural": "{{ number }} 段落", + "{{ number }} minute read": "{{ number }} 分で読めます", "Document title": "ドキュメントタイトル", "Last updated": "最終更新", "Type '/' to insert, or start writing…": "「/」で挿入、または書き込みを開始…", "Hide contents": "コンテンツを非表示", "Show contents": "コンテンツを表示", "available when headings are added": "見出しが追加されると利用可能です", - "Edit {{noun}}": "{{noun}} を編集", - "Archived": "アーカイブ", "Save draft": "下書きを保存", "Restore version": "復元", "{{userName}} archived": "{{userName}} がアーカイブしました", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} が公開しました", "{{userName}} unpublished": "{{userName}} が非公開にしました", "{{userName}} moved": "{{userName}} が移動しました", - "via {{ authType }}": "{{ authType }} 経由", "Previous version": "前のバージョン", "Highlight changes": "変更点を強調", "Compare to": "比較対象", @@ -920,23 +952,12 @@ "Revision deleted": "リビジョンを削除しました", "Current version": "現在のバージョン", "{{userName}} edited": "{{userName}} が編集しました", + "via {{ authType }}": "{{ authType }} 経由", "{{count}} people": "{{count}}人", "{{count}} people_plural": "{{count}}人", "Source": "ソース", "Created": "作成日時", "Imported from {{ source }}": "{{ source }} からインポートされました", - "Stats": "統計", - "{{ number }} minute read": "{{ number }} 分で読めます", - "{{ number }} words": "{{ number }} 単語", - "{{ number }} words_plural": "{{ number }} 単語", - "{{ number }} characters": "{{ number }} 文字", - "{{ number }} characters_plural": "{{ number }} 文字", - "{{ number }} emoji": "{{ number }} 個の絵文字", - "No text selected": "テキストが選択されていません", - "{{ number }} words selected": "{{ number }} 語選択", - "{{ number }} words selected_plural": "{{ number }} 語選択", - "{{ number }} characters selected": "{{ number }} 文字選択", - "{{ number }} characters selected_plural": "{{ number }} 文字選択", "Contributors": "編集者", "Creator": "作成者", "Last edited": "最終更新", @@ -986,11 +1007,11 @@ "Warning Sign": "警告", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "ワークスペース管理者 ({{ suspendedContactEmail }}) はあなたのアカウントを凍結しました。\nアカウントを再度有効化するには、管理者に直接連絡してください。", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "申し訳ありませんが、ページの読み込み中に不明なエラーが発生しました。問題が解決しない場合は、もう一度やり直すか、サポートにお問い合わせください。", + "Documents you’ve recently viewed will be here for easy access": "最近閲覧したドキュメントがここに表示されます", "Created by me": "自分が作成", "Weird, this shouldn't ever be empty": "ここは空ではないはずです", "Documents with recent activity will appear here": "最近のアクティビティを含むドキュメントがここに表示されます", "You haven’t created any documents yet": "ここにはまだドキュメントがありません", - "Documents you’ve recently viewed will be here for easy access": "最近閲覧したドキュメントがここに表示されます", "{{ count }} invites sent": "{{ count }}件の招待を送信しました", "{{ count }} invites sent_plural": "{{ count }}件の招待を送信しました", "Those email addresses are already invited": "これらのメールアドレスは、すでに招待されています。", @@ -1014,6 +1035,7 @@ "Open document history": "ドキュメント履歴を開く", "Jump to search": "検索へ移動", "Jump to home": "ホームへ移動", + "Toggle statistics": "統計を切り替え", "Focus search input": "検索窓にフォーカスする", "Open this guide": "ガイドを開く", "Publish document and exit": "ドキュメントを公開して終了", @@ -1151,7 +1173,6 @@ "Any time": "全期間", "Remove document filter": "フィルターを解除する", "Any status": "全てのステータス", - "Recent searches": "検索履歴", "Remove search": "検索履歴を削除", "Relevance": "関連性", "Newest": "新しい順", @@ -1324,6 +1345,8 @@ "All roles": "全てのロール", "Admins": "管理者", "Editors": "編集者", + "Invited by": "招待者", + "Joined": "参加しました", "All status": "全てのステータス", "Active": "アクティブ", "Could not load emojis": "絵文字を読み込めませんでした", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "ドキュメント内のコードブロックに行番号を表示します。", "Show comment marker": "コメントマーカーを表示", "Display a marker beside lines in the editor that contain comments.": "コメントが含まれるエディター内の行の横にマーカーを表示します。", + "Display live word, character, and paragraph counts while editing.": "編集中に単語数、文字数、段落数をリアルタイムで表示します。", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "有効にすると、ドキュメントは編集のできない閲覧モードで開かれます。編集をするには、画面上部の編集ボタンを押す必要があります。\n無効にすると、許可がある場合は常に編集できる状態で開かれます。", "Remember previous location": "前回開いていた場所を記憶する", "Automatically return to the document you were last viewing when the app is re-opened.": "アプリを再度開いたときに、最後に表示していたドキュメントを自動的に表示します。", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "共有は現在無効になっています", "You can globally enable and disable public document sharing in the security settings.": "セキュリティ設定 で公開ドキュメントの共有をグローバルに有効/無効にすることができます。", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "共有済みのドキュメントは以下のとおりです。\n公開リンクを知っている人は誰でも、リンクが無効になるまでドキュメントの読み取り専用バージョンにアクセスできます。", - "A template must have content": "テンプレートにはコンテンツが必要です", + "Couldn’t create the template, try again?": "テンプレートを作成できませんでした。もう一度お試しください。", "Could not load templates": "テンプレートを読み込めませんでした", "Templates help your team create consistent and accurate documentation.": "テンプレートにより、チームは一貫性のある正確なドキュメントを作成できます。", "No templates have been created yet": "テンプレートがまだ作成されていません", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "別のメールアドレスでワークスペースを作成するには、ホームページからアカウントを作成してください", "Trash emptied": "ごみ箱を空にしました", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "ゴミ箱にある全てのドキュメントを完全に削除してもよろしいですか?\nこの操作を元に戻すことはできません", - "Recently deleted": "最近削除したドキュメント", + "You’ve not deleted any documents.": "あなたは文書を削除していません。", + "This user has not deleted any documents.": "このユーザーは文書を削除していません。", "Trash is empty at the moment.": "ゴミ箱は空です", + "Recently deleted": "最近削除したドキュメント", + "Deleted by anyone": "誰でも削除可能", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "認証用のコードがメールアドレスに送信されました。認証コードを入力してアカウントを削除してください。", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "アカウントを削除すると、あなたのユーザーに関連付けられている識別データが破壊され、元に戻すことはできません。すぐに {{appName}} からログアウトされ、全てのAPIトークンが無効になります。よろしいですか?", "Delete my account": "アカウントを削除", + "Export started": "エクスポートを開始しました", + "A link to your file will be sent through email soon": "ファイルへのリンクは間もなくメールで送信されます", + "Preparing your download": "ダウンロードを準備中", "Today": "今日", "Yesterday": "昨日", "Last week": "先週", diff --git a/shared/i18n/locales/ko_KR/translation.json b/shared/i18n/locales/ko_KR/translation.json index 06da7f1767..776ab9324f 100644 --- a/shared/i18n/locales/ko_KR/translation.json +++ b/shared/i18n/locales/ko_KR/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "문서 {{ count }}개 게시 취소함", "Subscription inherited from collection": "컬렉션으로부터 상속된 구독", "Share document": "문서 공유하기", - "Download": "다운로드", - "Download document": "문서 다운로드", + "Markdown": "마크다운", "Download as Markdown": "마크다운 파일로 다운로드", + "HTML": "HTML", "Download as HTML": "HTML로 다운로드", + "TextBundle": "TextBundle", "Download as TextBundle": "TextBundle로 다운로드", + "PDF": "PDF", "Download as PDF": "PDF로 다운로드", "Copy as Markdown": "마크다운으로 복사", "Markdown copied to clipboard": "마크다운이 클립보드에 복사됨", @@ -103,6 +105,7 @@ "Search in document": "문서 검색", "Print": "인쇄", "Print document": "문서 인쇄", + "Export document": "문서 내보내기", "Open in desktop app": "데스크톱 앱에서 열기", "Present": "프레젠테이션", "Present document": "제시 문서", @@ -138,6 +141,12 @@ "Comments": "댓글", "History": "히스토리", "Insights": "문서 정보", + "Show editing stats": "편집 통계 표시", + "None": "없음", + "Multi-level decimal": "다단계 십진수", + "Alphanumeric": "영숫자", + "Harvard": "하버드", + "Heading numbering": "제목 번호 매기기", "Leave document": "문서 나가기", "You have left the shared document": "공유 문서 나갔습니다", "Could not leave document": "문서를 나갈 수 없습니다", @@ -195,11 +204,8 @@ "New Application": "새 애플리케이션", "Delete app": "앱 삭제", "This version of the document was deleted": "이 문서의 버전은 삭제됨", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "내보내는 중", - "Markdown": "마크다운", - "Download revision": "수정본 다운로드", + "Export revision": "리비전 내보내기", "Dark": "어둡게 보기", "Light": "밝게 보기", "Toggle theme": "테마 전환", @@ -212,19 +218,37 @@ "Go to document": "문서로 이동", "Revoke link": "링크 폐기", "Share link revoked": "링크 공유가 취소되었습니다.", + "{{ count }} share link revoked": "{{ count }}개의 공유 링크가 취소됨", + "{{ count }} share link revoked_plural": "{{ count }}개의 공유 링크가 취소됨", + "Could not revoke {{ count }} share link": "{{ count }}개의 공유 링크를 취소할 수 없음", + "Could not revoke {{ count }} share link_plural": "{{ count }}개의 공유 링크를 취소할 수 없음", "Switch workspace": "워크스페이스 전환", "Select a workspace": "워크스페이스 선택", "New workspace": "새 워크스페이스", "Create a workspace": "워크스페이스 만들기", "Login to workspace": "워크스페이스에 로그인", - "template": "템플릿", + "Delete template": "템플릿 삭제", + "Delete {{ count }} template": "{{ count }}개 템플릿 삭제", + "Delete {{ count }} template_plural": "{{ count }}개 템플릿 삭제", "Template deleted": "템플릿이 삭제됨", + "{{ count }} template deleted": "{{ count }}개 템플릿이 삭제됨", + "{{ count }} template deleted_plural": "{{ count }}개 템플릿이 삭제됨", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "정말로 진행할까요? {{ templateName }} 템플릿을 삭제하면 되돌릴 수 없습니다.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "정말로 진행할까요? {{ count }}개 템플릿을 삭제하면 되돌릴 수 없습니다.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "정말로 진행할까요? {{ count }}개 템플릿을 삭제하면 되돌릴 수 없습니다.", + "A template must have content": "템플릿에는 콘텐츠가 있어야함", + "Template published": "템플릿이 게시됨", + "{{ count }} template published": "{{ count }}개 템플릿이 게시됨", + "{{ count }} template published_plural": "{{ count }}개의 템플릿이 게시됨", + "Could not publish {{ count }} template": "{{ count }}개의 템플릿을 게시할 수 없음", + "Could not publish {{ count }} template_plural": "{{ count }}개의 템플릿을 게시할 수 없음", "Move to workspace": "워크스페이스로 이동", "Template moved": "템플릿이 이동됨", "Couldn't move the template, try again?": "템플릿을 이동 할 수 없습니다. 다시 시도할까요?", "Move to collection": "컬렉션으로 이동", "Move template": "템플릿 이동", + "{{ count }} template duplicated": "{{ count }}개의 템플릿이 복제됨", + "{{ count }} template duplicated_plural": "{{ count }}개의 템플릿이 복제됨", "Print template": "템플릿 인쇄", "Invite people": "초대하기", "Invite to workspace": "워크스페이스에 초대", @@ -267,6 +291,7 @@ "People": "사용자", "Share": "공유하기", "Workspace": "워크스페이스", + "Recent searches": "최근 검색", "currently editing": "현재 수정 중", "currently viewing": "현재 보는 중", "previously edited": "이전에 수정됨", @@ -389,13 +414,8 @@ "our engineers have been notified": "저희 엔지니어들에게 전달되었습니다", "Clear cache + reload": "캐시 지우기 + 새로고침", "Show detail": "자세히 보기", - "Export started": "내보내기 시작됨", - "A link to your file will be sent through email soon": "파일 링크는 곧 이메일로 발송될 예정입니다", - "Preparing your download": "다운로드 준비중", - "Include child documents": "하위 문서를 포함하세요", - "When selected, exporting the document will take extra time.": "이 옵션을 선택하면 문서를 내보내는 데 시간이 더 걸립니다.", - "You will receive an email when it's complete.": "완료 시점에 메일을 수신받게 됩니다.", "Exporting the collection may take some time.": "컬렉션을 내보내는 데 시간이 걸릴 수 있습니다.", + "You will receive an email when it's complete.": "완료 시점에 메일을 수신받게 됩니다.", "Include attachments": "첨부파일 포함", "Including uploaded images and files in the exported data": "내보낼 데이터에 업로드된 이미지 및 파일 포함", "Include private collections": "개인 컬렉션을 포함하세요", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "문서에서 이미지 보기, 탐색 또는 다운로드", "Zoom in": "확대", "Zoom out": "축소", + "Download": "다운로드", "Edit diagram": "다이어그램 편집", "Close": "닫기", "Previous": "이전", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "읽는 데 {{ hours }}시간 {{ minutes }}분", "{{ hours }}h read": "{{ hours }}시 읽음", "{{ minutes }}m read": "{{ minutes }}분 전에 읽음", + "Archived": "보관됨", "All members": "모든 구성원", "Everyone in the workspace": "워크스페이스의 모든 구성원", "{{ count }} member": "{{ count }}명", @@ -529,11 +551,12 @@ "Switch to dark": "어두운테마로 변경", "Switch to light": "밝은테마로 변경", "Subscribe to updates": "새로운 소식 구독하기", + "Display settings": "표시 설정", + "Edit {{noun}}": "{{noun}} 수정하기", "Logo": "로고", "Add": "추가", "Add or invite": "추가 또는 초대", "Sharing settings updated": "공유 설정이 업데이트되었습니다", - "Display settings": "표시 설정", "Customize how the published document is displayed": "게시된 문서의 표시 방식을 사용자 지정합니다", "Image options": "이미지 옵션", "Upload": "업로드", @@ -589,16 +612,16 @@ "New nested document": "새 하위 문서", "No collections": "컬렉션 없음", "Hide": "숨기기", + "Starred": "중요 문서", + "Shared with me": "나에게 공유함", "Import files": "파일 가져오기", "Recent": "최근", "Go back": "돌아가기", "Go forward": "앞으로 가기", "Could not load shared documents": "공유 문서를 불러올 수 없습니다.", - "Shared with me": "나에게 공유함", "Show more": "더 보기", "Link options": "링크 옵션", "Could not load starred documents": "별표 표시한 문서를 불러올 수 없습니다", - "Starred": "중요 문서", "Up to date": "최신 상태", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} 이전 버전", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} 이전 버전", @@ -615,6 +638,8 @@ "Star document": "문서 별표 표시", "Select a color": "색상 선택", "Select all": "모두 선택", + "Columns": "열", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "변경 사항을 저장할 수 없습니다.\n정말 나가시겠습니까?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "일부 텍스트를 강조 표시하고 <1> 컨트롤을 사용하여 새 문서를 만들 때 채울 수 있는 자리 표시자를 추가합니다.", "You’re editing a template": "템플릿을 수정 중입니다.", "Template created, go ahead and customize it": "템플릿이 생성되었습니다. 커스터마이징이 가능합니다.", @@ -675,8 +700,6 @@ "Paste a link": "링크 붙여 넣기", "Delete embed": "임베드 삭제", "Delete image": "이미지 삭제", - "Create a new doc": "새 문서 만들기", - "Create a nested doc": "하위 문서 생성", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} 은(는) 이 문서에 대한 액세스 권한이 없으므로 알림을 받지 않습니다.", "Members of \"{{ groupName }}\" that have access to this document will be notified": "이 문서에 접근 권한이 있는 \"{{ groupName }}\" 그룹의 구성원에게 알림이 전송됩니다", "Keep as link": "링크로 유지", @@ -726,7 +749,6 @@ "Italic": "이탤릭체", "Strikethrough": "취소선", "Background color": "배경색", - "None": "없음", "Highlight": "강조", "Code": "코드", "Heading": "제목", @@ -743,6 +765,8 @@ "Full width": "전체 너비", "Download image": "이미지 다운로드", "Edit image URL": "이미지 URL 수정", + "Create a new doc": "새 문서 만들기", + "Create a nested doc": "하위 문서 생성", "Default width": "기본 너비", "Distribute columns": "열 배분", "Export as CSV": "CSV로 내보내기", @@ -893,14 +917,23 @@ "only you": "나만", "person": "개인", "people": "명", + "{{ number }} words selected": "{{ number }}개 단어 선택됨", + "{{ number }} words selected_plural": "{{ number }}개 단어 선택됨", + "{{ number }} characters selected": "{{ number }}개 문자 선택됨", + "{{ number }} characters selected_plural": "{{ number }}개 문자 선택됨", + "{{ number }} words": "{{ number }}개 단어", + "{{ number }} words_plural": "{{ number }}개 단어", + "{{ number }} characters": "{{ number }}개 문자", + "{{ number }} characters_plural": "{{ number }}개 문자", + "{{ number }} paragraphs": "{{ number }}개 단락", + "{{ number }} paragraphs_plural": "{{ number }}개 단락", + "{{ number }} minute read": "{{ number }}분 읽기", "Document title": "문서 제목", "Last updated": "마지막 업데이트", "Type '/' to insert, or start writing…": "'/'를 입력하여 삽입하거나 쓰기 시작...", "Hide contents": "내용 숨기기", "Show contents": "내용 보기", "available when headings are added": "제목 추가 후 사용 가능", - "Edit {{noun}}": "{{noun}} 수정하기", - "Archived": "보관됨", "Save draft": "임시 저장", "Restore version": "버전 복원", "{{userName}} archived": "{{userName}}님이 보관함", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}}님이 게시함", "{{userName}} unpublished": "{{userName}}님이 게시 취소함", "{{userName}} moved": "{{userName}}님이 이동함", - "via {{ authType }}": "{{ authType }}을 통해", "Previous version": "이전 버전", "Highlight changes": "하이라이트 변경", "Compare to": "비교 대상", @@ -920,23 +952,12 @@ "Revision deleted": "수정본 삭제됨", "Current version": "현재 버전", "{{userName}} edited": "{{userName}}님이 수정함", + "via {{ authType }}": "{{ authType }}을 통해", "{{count}} people": "{{count}} 명", "{{count}} people_plural": "{{count}} 명", "Source": "원본", "Created": "생성됨", "Imported from {{ source }}": "{{ source }} 로부터 불러옴", - "Stats": "통계", - "{{ number }} minute read": "{{ number }}분 읽기", - "{{ number }} words": "{{ number }}개 단어", - "{{ number }} words_plural": "{{ number }}개 단어", - "{{ number }} characters": "{{ number }}개 문자", - "{{ number }} characters_plural": "{{ number }}개 문자", - "{{ number }} emoji": "{{ number }} 이모티콘", - "No text selected": "선택된 텍스트 없음", - "{{ number }} words selected": "{{ number }}개 단어 선택됨", - "{{ number }} words selected_plural": "{{ number }}개 단어 선택됨", - "{{ number }} characters selected": "{{ number }}개 문자 선택됨", - "{{ number }} characters selected_plural": "{{ number }}개 문자 선택됨", "Contributors": "기여자", "Creator": "생성자", "Last edited": "마지막으로 수정됨", @@ -986,11 +1007,11 @@ "Warning Sign": "경고 표시", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "워크스페이스 관리자 ({{ suspendedContactEmail }}) (이)가 귀하의 계정 사용을 중지시켰습니다. 계정을 다시 활성화하려면 해당 관리자에게 직접 문의하십시오.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "죄송합니다. 페이지를 로드하는 중에 알 수 없는 오류가 발생했습니다. 다시 시도하거나 문제가 지속되면 지원팀에 문의하세요.", + "Documents you’ve recently viewed will be here for easy access": "쉽게 액세스할 수 있도록 최근에 본 문서가 여기에 표시됩니다.", "Created by me": "내가 생성함", "Weird, this shouldn't ever be empty": "이상합니다. 이 값은 비어 있을 수 없습니다", "Documents with recent activity will appear here": "최근 활동이 있는 문서가 여기에 표시됩니다", "You haven’t created any documents yet": "아직 문서를 만들지 않았습니다.", - "Documents you’ve recently viewed will be here for easy access": "쉽게 액세스할 수 있도록 최근에 본 문서가 여기에 표시됩니다.", "{{ count }} invites sent": "초대 {{ count }}개 전송됨", "{{ count }} invites sent_plural": "{{ count }} 개 초대 발송", "Those email addresses are already invited": "해당 이메일 주소는 이미 초대되어 있습니다.", @@ -1014,6 +1035,7 @@ "Open document history": "문서 히스토리 열기", "Jump to search": "검색으로 이동", "Jump to home": "홈으로 이동", + "Toggle statistics": "통계 전환", "Focus search input": "검색창에 포커스", "Open this guide": "이 가이드 열기", "Publish document and exit": "문서를 저장하고 나가기", @@ -1151,7 +1173,6 @@ "Any time": "모든 시간", "Remove document filter": "문서 검색 필터 제거", "Any status": "모든 상태", - "Recent searches": "최근 검색", "Remove search": "검색 기록 제거", "Relevance": "관련성", "Newest": "최신순", @@ -1324,6 +1345,8 @@ "All roles": "모든 역할", "Admins": "관리자", "Editors": "에디터", + "Invited by": "초대한 사람", + "Joined": "참여함", "All status": "모든 상태", "Active": "활성", "Could not load emojis": "이모지를 불러올 수 없습니다", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "문서의 코드 블록에 줄 번호를 표시합니다.", "Show comment marker": "댓글 표시기 표시", "Display a marker beside lines in the editor that contain comments.": "댓글이 포함된 편집기의 줄 옆에 표시기를 표시합니다.", + "Display live word, character, and paragraph counts while editing.": "편집하는 동안 단어, 문자 및 단락 수를 실시간으로 표시합니다.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "이 기능을 활성화하면, 문서에서 분할 편집 모드를 사용할 수 있습니다. 활성화하지 않으면 권한이 있을 경우에만 문서를 편집할 수 있습니다.", "Remember previous location": "이전 위치 기억", "Automatically return to the document you were last viewing when the app is re-opened.": "앱이 다시 열렸을때 마지막으로 보고 있던 문서로 돌아갑니다.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "공유는 현재 비활성화되어 있습니다", "You can globally enable and disable public document sharing in the security settings.": "보안 설정에서 인터넷 공유를 전역적으로 활성화 및 비활성화할 수 있습니다.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "공유된 문서는 다음과 같습니다. 공개 링크가 있는 사람은 링크가 삭제될 때까지 문서의 읽기 전용 버전에 액세스할 수 있습니다.", - "A template must have content": "템플릿에는 콘텐츠가 있어야함", + "Couldn’t create the template, try again?": "템플릿을 만들 수 없습니다. 다시 시도하시겠습니까?", "Could not load templates": "템플릿을 불러올 수 없음", "Templates help your team create consistent and accurate documentation.": "템플릿을 사용하면 팀이 일관되고 정확한 문서를 작성하는 데 도움이 됩니다.", "No templates have been created yet": "아직 생성 된 템플릿이 없습니다", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "다른 이메일로 워크스페이스를 생성하려면 홈페이지에서 가입을 시도하세요", "Trash emptied": "휴지통을 비웠습니다", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "휴지통의 모든 문서를 완전히 삭제하시겠습니까? 이 동작은 바로 실행하며 되돌릴 수 없습니다.", - "Recently deleted": "최근 삭제됨", + "You’ve not deleted any documents.": "삭제한 문서가 없어요.", + "This user has not deleted any documents.": "이 사용자가 삭제한 문서가 없습니다.", "Trash is empty at the moment.": "현재 휴지통이 비어 있습니다.", + "Recently deleted": "최근 삭제됨", + "Deleted by anyone": "누구나 삭제함", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "귀하의 이메일 주소로 확인 코드가 전송되었습니다. 계정을 영구적으로 파기하려면 아래 코드를 입력하십시오.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "정말 계정을 삭제하시겠습니까? 계정을 삭제하면 계정과 연관된 식별 데이터가 삭제되며 되돌려질 수 없습니다. 계속할 경우 {{appName}} 에서 즉시 로그아웃되며 발급된 모든 API 토큰은 삭제됩니다.", "Delete my account": "계정 삭제", + "Export started": "내보내기 시작됨", + "A link to your file will be sent through email soon": "파일 링크는 곧 이메일로 발송될 예정입니다", + "Preparing your download": "다운로드 준비중", "Today": "오늘", "Yesterday": "어제", "Last week": "지난 주", diff --git a/shared/i18n/locales/nb_NO/translation.json b/shared/i18n/locales/nb_NO/translation.json index 8466276fa2..e1f3269206 100644 --- a/shared/i18n/locales/nb_NO/translation.json +++ b/shared/i18n/locales/nb_NO/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} dokumenter avpublisert", "Subscription inherited from collection": "Abonnement arvet fra samling", "Share document": "Share document", - "Download": "Last ned", - "Download document": "Last ned dokument", + "Markdown": "Markdown", "Download as Markdown": "Last ned som Markdown", + "HTML": "HTML", "Download as HTML": "Last ned som HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "Last ned som TextBundle", + "PDF": "PDF", "Download as PDF": "Last ned som PDF", "Copy as Markdown": "Kopier som Markdown", "Markdown copied to clipboard": "Markdown kopiert til utklippstavlen", @@ -103,6 +105,7 @@ "Search in document": "Søk i dokumentet", "Print": "Skriv ut", "Print document": "Skriv ut dokument", + "Export document": "Eksporter dokument", "Open in desktop app": "Åpne i skrivebordsapp", "Present": "Present", "Present document": "Present document", @@ -138,6 +141,12 @@ "Comments": "Kommentarer", "History": "Historikk", "Insights": "Innsikt", + "Show editing stats": "Vis redigeringsstatistikk", + "None": "Ingen", + "Multi-level decimal": "Desimaltall på flere nivåer", + "Alphanumeric": "Alfanumerisk", + "Harvard": "Harvard", + "Heading numbering": "Overskriftsnummerering", "Leave document": "Forlat dokument", "You have left the shared document": "Du har forlatt det delte dokumentet", "Could not leave document": "Kunne ikke forlate dokument", @@ -195,11 +204,8 @@ "New Application": "Ny applikasjon", "Delete app": "Slett app", "This version of the document was deleted": "Denne versjonen av dokumentet har blitt slettet", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Eksporterer", - "Markdown": "Markdown", - "Download revision": "Download revision", + "Export revision": "Eksporter revisjon", "Dark": "Mørk", "Light": "Lys", "Toggle theme": "Toggle theme", @@ -212,19 +218,37 @@ "Go to document": "Gå til dokument", "Revoke link": "Opphev lenke", "Share link revoked": "Delingslenke opphevet", + "{{ count }} share link revoked": "{{ count }} share link revoked", + "{{ count }} share link revoked_plural": "{{ count }} share links revoked", + "Could not revoke {{ count }} share link": "Could not revoke {{ count }} share link", + "Could not revoke {{ count }} share link_plural": "Could not revoke {{ count }} share links", "Switch workspace": "Bytt arbeidsområde", "Select a workspace": "Velg et arbeidsområde", "New workspace": "Nytt arbeidsområde", "Create a workspace": "Opprett et arbeidsområde", "Login to workspace": "Logg inn i arbeidsområdet", - "template": "mal", + "Delete template": "Slett mal", + "Delete {{ count }} template": "Slett {{ count }} mal", + "Delete {{ count }} template_plural": "Slett {{ count }} maler", "Template deleted": "Mal slettet", + "{{ count }} template deleted": "{{ count }} mal slettet", + "{{ count }} template deleted_plural": "{{ count }} maler slettet", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Er du sikker på det? Sletting av {{ templateName }} malen er permanent.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Er du sikker på det? Sletting av {{ count }} mal er permanent.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Er du sikker på det? Sletting av {{ count }} maler er permanent.", + "A template must have content": "A template must have content", + "Template published": "Mal publisert", + "{{ count }} template published": "{{ count }} mal publisert", + "{{ count }} template published_plural": "{{ count }} maler publisert", + "Could not publish {{ count }} template": "Kunne ikke publisere {{ count }} mal", + "Could not publish {{ count }} template_plural": "Kunne ikke publisere {{ count }} maler", "Move to workspace": "Flytt til arbeidsområde", "Template moved": "Mal flyttet", "Couldn't move the template, try again?": "Kunne ikke flytte malen, prøv igjen?", "Move to collection": "Flytt til samling", "Move template": "Flytt mal", + "{{ count }} template duplicated": "{{ count }} mal duplisert", + "{{ count }} template duplicated_plural": "{{ count }} maler duplisert", "Print template": "Print template", "Invite people": "Inviter personer", "Invite to workspace": "Inviter til arbeidsområdet", @@ -267,6 +291,7 @@ "People": "Personer", "Share": "Del", "Workspace": "Arbeidsområde", + "Recent searches": "Nylige søk", "currently editing": "redigerer nå", "currently viewing": "ser nå", "previously edited": "tidligere redigert", @@ -389,13 +414,8 @@ "our engineers have been notified": "våre teknologer har blitt varslet", "Clear cache + reload": "Tøm cache + last på nytt", "Show detail": "Vis detaljer", - "Export started": "Eksport startet", - "A link to your file will be sent through email soon": "A link to your file will be sent through email soon", - "Preparing your download": "Preparing your download", - "Include child documents": "Include child documents", - "When selected, exporting the document will take extra time.": "Når dette er valgt, vil eksport av dokumentet ta ekstra tid.", - "You will receive an email when it's complete.": "Du vil motta en e-post når det er ferdig.", "Exporting the collection may take some time.": "Eksport av samlingen kan ta litt tid.", + "You will receive an email when it's complete.": "Du vil motta en e-post når det er ferdig.", "Include attachments": "Inkluder vedlegg", "Including uploaded images and files in the exported data": "Inkludere opplastede bilder og filer i de eksporterte dataene", "Include private collections": "Include private collections", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "Vis, naviger, eller last ned bilder i dokumentet", "Zoom in": "Zoom inn", "Zoom out": "Zoom ut", + "Download": "Last ned", "Edit diagram": "Rediger diagram", "Close": "Lukk", "Previous": "Forrige", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}t {{ minutes }}m lest", "{{ hours }}h read": "{{ hours }}t lest", "{{ minutes }}m read": "{{ minutes }} min. lesetid", + "Archived": "Arkivert", "All members": "Alle medlemmer", "Everyone in the workspace": "Alle i arbeidsområdet", "{{ count }} member": "{{ count }} medlem", @@ -529,11 +551,12 @@ "Switch to dark": "Bytt til mørkt", "Switch to light": "Bytt til lyst", "Subscribe to updates": "Subscribe to updates", + "Display settings": "Display settings", + "Edit {{noun}}": "Rediger {{noun}}", "Logo": "Logo", "Add": "Legg til", "Add or invite": "Legg til eller inviter", "Sharing settings updated": "Sharing settings updated", - "Display settings": "Display settings", "Customize how the published document is displayed": "Customize how the published document is displayed", "Image options": "Image options", "Upload": "Last opp", @@ -589,16 +612,16 @@ "New nested document": "Nytt underdokument", "No collections": "Ingen samlinger", "Hide": "Skjul", + "Starred": "Stjernemerket", + "Shared with me": "Delt med meg", "Import files": "Importer filer", "Recent": "Recent", "Go back": "Gå tilbake", "Go forward": "Gå frem", "Could not load shared documents": "Kunne ikke laste delte dokumenter", - "Shared with me": "Delt med meg", "Show more": "Vis mer", "Link options": "Link options", "Could not load starred documents": "Kunne ikke laste inn stjernemerkede dokumenter", - "Starred": "Stjernemerket", "Up to date": "Oppdatert", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} ny versjon tilgjengelig", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} nye versjoner tilgjengelig", @@ -615,6 +638,8 @@ "Star document": "Stjernemarker dokument", "Select a color": "Velg en farge", "Select all": "Velg alle", + "Columns": "Kolonner", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "Endringene dine kunne ikke lagres.\nEr du sikker på at du vil forlate siden?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Marker noe tekst og bruk <1>-kontrollen for å legge til plassholdere som kan fylles ut ved opprettelse av nye dokumenter", "You’re editing a template": "Du redigerer en mal", "Template created, go ahead and customize it": "Mal opprettet, gå videre og tilpass den", @@ -675,8 +700,6 @@ "Paste a link": "Lim inn en lenke", "Delete embed": "Slett embed", "Delete image": "Slett bilde", - "Create a new doc": "Lag et nytt dokument", - "Create a nested doc": "Lag et nytt underdokument", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} vil ikke bli varslet, da de ikke har tilgang til dette dokumentet", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Members of \"{{ groupName }}\" that have access to this document will be notified", "Keep as link": "Behold som lenke", @@ -726,7 +749,6 @@ "Italic": "Kursiv", "Strikethrough": "Gjennomstreking", "Background color": "Background color", - "None": "Ingen", "Highlight": "Uthev", "Code": "Kode", "Heading": "Overskrift", @@ -743,6 +765,8 @@ "Full width": "Full bredde", "Download image": "Last ned bilde", "Edit image URL": "Edit image URL", + "Create a new doc": "Lag et nytt dokument", + "Create a nested doc": "Lag et nytt underdokument", "Default width": "Standardbredde", "Distribute columns": "Distribute columns", "Export as CSV": "Eksporter som CSV", @@ -893,14 +917,23 @@ "only you": "kun deg", "person": "person", "people": "personer", + "{{ number }} words selected": "{{ number }} ord valgt", + "{{ number }} words selected_plural": "{{ number }} ord valgt", + "{{ number }} characters selected": "{{ number }} tegn valgt", + "{{ number }} characters selected_plural": "{{ number }} tegn valgt", + "{{ number }} words": "{{ number }} ord", + "{{ number }} words_plural": "{{ number }} ord", + "{{ number }} characters": "{{ number }} tegn", + "{{ number }} characters_plural": "{{ number }} tegn", + "{{ number }} paragraphs": "{{ number }} avsnitt", + "{{ number }} paragraphs_plural": "{{ number }} avsnitt", + "{{ number }} minute read": "{{ number }} minutts lesning", "Document title": "Dokumenttittel", "Last updated": "Sist oppdatert", "Type '/' to insert, or start writing…": "Skriv '/' for å sette inn, eller begynn å skrive…", "Hide contents": "Skjul innhold", "Show contents": "Vis innhold", "available when headings are added": "tilgjengelig når overskrifter legges til", - "Edit {{noun}}": "Rediger {{noun}}", - "Archived": "Arkivert", "Save draft": "Lagre utkast", "Restore version": "Gjenopprett versjon", "{{userName}} archived": "{{userName}} arkiverte", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} publiserte", "{{userName}} unpublished": "{{userName}} avpubliserte", "{{userName}} moved": "{{userName}} flyttet", - "via {{ authType }}": "via {{ authType }}", "Previous version": "Previous version", "Highlight changes": "Highlight changes", "Compare to": "Compare to", @@ -920,23 +952,12 @@ "Revision deleted": "Revisjon slettet", "Current version": "Nåværende versjon", "{{userName}} edited": "{{userName}} redigerte", + "via {{ authType }}": "via {{ authType }}", "{{count}} people": "{{count}} person", "{{count}} people_plural": "{{count}} people", "Source": "Kilde", "Created": "Opprettet", "Imported from {{ source }}": "Importert fra {{ source }}", - "Stats": "Statistikk", - "{{ number }} minute read": "{{ number }} minutts lesning", - "{{ number }} words": "{{ number }} ord", - "{{ number }} words_plural": "{{ number }} ord", - "{{ number }} characters": "{{ number }} tegn", - "{{ number }} characters_plural": "{{ number }} tegn", - "{{ number }} emoji": "{{ number }} emoji", - "No text selected": "Ingen tekst valgt", - "{{ number }} words selected": "{{ number }} ord valgt", - "{{ number }} words selected_plural": "{{ number }} ord valgt", - "{{ number }} characters selected": "{{ number }} tegn valgt", - "{{ number }} characters selected_plural": "{{ number }} tegn valgt", "Contributors": "Bidragsytere", "Creator": "Oppretter", "Last edited": "Sist redigert", @@ -986,11 +1007,11 @@ "Warning Sign": "Advarselsskilt", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "En arbeidsområdeadministrator ({{ suspendedContactEmail }}) har suspendert kontoen din. For å reaktivere kontoen din, vennligst kontakt dem direkte.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Beklager, en ukjent feil oppstod under lasting av siden. Prøv igjen, eller kontakt brukerstøtte hvis problemet vedvarer.", + "Documents you’ve recently viewed will be here for easy access": "Dokumenter du nylig har sett vil være her for enkel tilgang", "Created by me": "Opprettet av meg", "Weird, this shouldn't ever be empty": "Weird, this shouldn't ever be empty", "Documents with recent activity will appear here": "Documents with recent activity will appear here", "You haven’t created any documents yet": "Du har ikke opprettet noen dokumenter ennå", - "Documents you’ve recently viewed will be here for easy access": "Dokumenter du nylig har sett vil være her for enkel tilgang", "{{ count }} invites sent": "{{ count }} invite sent", "{{ count }} invites sent_plural": "{{ count }} invites sent", "Those email addresses are already invited": "De e-postadressene er allerede invitert", @@ -1014,6 +1035,7 @@ "Open document history": "Åpne dokumenthistorikk", "Jump to search": "Gå til søk", "Jump to home": "Gå til hjem", + "Toggle statistics": "Vis/skjul statistikk", "Focus search input": "Fokuser søkeinput", "Open this guide": "Åpne denne guiden", "Publish document and exit": "Publiser dokument og avslutt", @@ -1151,7 +1173,6 @@ "Any time": "Når som helst", "Remove document filter": "Fjern dokumentfilter", "Any status": "Valgfri status", - "Recent searches": "Nylige søk", "Remove search": "Fjern søk", "Relevance": "Relevance", "Newest": "Newest", @@ -1324,6 +1345,8 @@ "All roles": "Alle roller", "Admins": "Administratorer", "Editors": "Redaktører", + "Invited by": "Invitert av", + "Joined": "Ble med", "All status": "Alle statuser", "Active": "Aktiv", "Could not load emojis": "Could not load emojis", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Vis linjenumre på kodeblokker i dokumenter.", "Show comment marker": "Show comment marker", "Display a marker beside lines in the editor that contain comments.": "Display a marker beside lines in the editor that contain comments.", + "Display live word, character, and paragraph counts while editing.": "Vis antall ord, tegn og avsnitt i sanntid mens du redigerer.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "Når aktivert, har dokumenter en separat redigeringsmodus. Når deaktivert, er dokumenter alltid redigerbare når du har tillatelse.", "Remember previous location": "Husk tidligere plassering", "Automatically return to the document you were last viewing when the app is re-opened.": "Gå automatisk tilbake til dokumentet du sist så på når appen åpnes på nytt.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "Deling er for øyeblikket deaktivert.", "You can globally enable and disable public document sharing in the security settings.": "Du kan globalt aktivere og deaktivere offentlig deling av dokumenter i sikkerhetsinnstillingene.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Dokumenter som har blitt delt er listet nedenfor. Alle som har den offentlige lenken kan få tilgang til en skrivebeskyttet versjon av dokumentet til lenken blir tilbakekalt.", - "A template must have content": "A template must have content", + "Couldn’t create the template, try again?": "Kunne ikke opprette malen, prøv igjen?", "Could not load templates": "Could not load templates", "Templates help your team create consistent and accurate documentation.": "Templates help your team create consistent and accurate documentation.", "No templates have been created yet": "No templates have been created yet", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "For å opprette et arbeidsområde under en annen e-post, vennligst registrer deg fra hjemmesiden", "Trash emptied": "Papirkurven er tømt", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Er du sikker på at du vil slette alle dokumentene i papirkurven permanent? Handlingen er umiddelbar og kan ikke angres.", - "Recently deleted": "Nylig slettet", + "You’ve not deleted any documents.": "Du har ikke slettet noen dokumenter.", + "This user has not deleted any documents.": "Denne brukeren har ikke slettet noen dokumenter.", "Trash is empty at the moment.": "Søppelkassen er tom for øyeblikket.", + "Recently deleted": "Nylig slettet", + "Deleted by anyone": "Slettet av hvem som helst", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "En bekreftelseskode har blitt sendt til din e-postadresse, vennligst skriv inn koden nedenfor for å permanent ødelegge kontoen din.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Er du sikker? Sletting av kontoen din vil ødelegge identifiserende data knyttet til brukeren din og kan ikke angres. Du vil umiddelbart bli logget ut av {{appName}}, og alle API-tokenene dine vil bli tilbakekalt.", "Delete my account": "Slett kontoen min", + "Export started": "Eksport startet", + "A link to your file will be sent through email soon": "A link to your file will be sent through email soon", + "Preparing your download": "Preparing your download", "Today": "I dag", "Yesterday": "I går", "Last week": "Forrige uke", diff --git a/shared/i18n/locales/nl_NL/translation.json b/shared/i18n/locales/nl_NL/translation.json index 11d5bbe01c..9014076b4a 100644 --- a/shared/i18n/locales/nl_NL/translation.json +++ b/shared/i18n/locales/nl_NL/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} documenten niet gepubliceerd", "Subscription inherited from collection": "Abonnement overgenomen van collectie", "Share document": "Document delen", - "Download": "Download", - "Download document": "Document downloaden", + "Markdown": "Markdown", "Download as Markdown": "Downloaden als Markdown", + "HTML": "HTML", "Download as HTML": "Download als HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "Downloaden als TextBundle", + "PDF": "PDF", "Download as PDF": "Download als PDF", "Copy as Markdown": "Kopiëren als Markdown", "Markdown copied to clipboard": "Markdown gekopieerd naar klembord", @@ -103,6 +105,7 @@ "Search in document": "Zoeken in document", "Print": "Afdrukken", "Print document": "Document afdrukken", + "Export document": "Document exporteren", "Open in desktop app": "Openen in desktop-app", "Present": "Presenteren", "Present document": "Document presenteren", @@ -118,8 +121,8 @@ "Document archived": "Document gearchiveerd", "{{ count }} documents archived": "{{ count }} document gearchiveerd", "{{ count }} documents archived_plural": "{{ count }} documenten gearchiveerd", - "Archiving this document will remove it from the collection and search results.": "Het archiveren van dit document zal het verwijderen uit de collectie en zoekresultaten.", - "Archiving these documents will remove them from their collections and search results.": "Door deze documenten te archiveren, worden ze uit hun collecties en zoekresultaten verwijderd.", + "Archiving this document will remove it from the collection and search results.": "Het archiveren van dit document verwijdert het uit de collectie en zoekresultaten.", + "Archiving these documents will remove them from their collections and search results.": "Het archiveren van deze documenten verwijdert ze uit de collecties en zoekresultaten.", "{{ documentName }} restored": "{{ documentName }} hersteld", "{{ count }} documents restored": "{{ count }} document hersteld", "{{ count }} documents restored_plural": "{{ count }} documenten hersteld", @@ -138,6 +141,12 @@ "Comments": "Opmerkingen", "History": "Geschiedenis", "Insights": "Inzichten", + "Show editing stats": "Bewerkingsstatistieken weergeven", + "None": "Geen", + "Multi-level decimal": "Decimaal op meerdere niveaus", + "Alphanumeric": "Alfanumeriek", + "Harvard": "Harvard", + "Heading numbering": "Kopnummering", "Leave document": "Document verlaten", "You have left the shared document": "Je hebt het gedeelde document verlaten", "Could not leave document": "Kon document niet verlaten", @@ -195,11 +204,8 @@ "New Application": "Nieuwe applicatie", "Delete app": "App verwijderen", "This version of the document was deleted": "Deze versie van het document is verwijderd", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Exporteren", - "Markdown": "Markdown", - "Download revision": "Download revisie", + "Export revision": "Revisie exporteren", "Dark": "Donker", "Light": "Licht", "Toggle theme": "Thema wisselen", @@ -212,26 +218,44 @@ "Go to document": "Ga naar document", "Revoke link": "Link intrekken", "Share link revoked": "Deel-link ingetrokken", + "{{ count }} share link revoked": "{{ count }} gedeelde link ingetrokken", + "{{ count }} share link revoked_plural": "{{ count }} gedeelde links ingetrokken", + "Could not revoke {{ count }} share link": "{{ count }} gedeelde link kon niet worden ingetrokken", + "Could not revoke {{ count }} share link_plural": "{{ count }} gedeelde links konden niet worden ingetrokken", "Switch workspace": "Werkruimte wisselen", "Select a workspace": "Selecteer een werkruimte", "New workspace": "Nieuwe werkruimte", "Create a workspace": "Werkruimte aanmaken", "Login to workspace": "Inloggen op werkruimte", - "template": "sjabloon", + "Delete template": "Sjabloon verwijderen", + "Delete {{ count }} template": "Verwijder {{ count }} sjabloon", + "Delete {{ count }} template_plural": "Verwijder {{ count }} sjablonen", "Template deleted": "Sjabloon verwijderd", + "{{ count }} template deleted": "{{ count }} sjabloon verwijderd", + "{{ count }} template deleted_plural": "{{ count }} sjablonen verwijderd", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Weet je het zeker? Het verwijderen van het sjabloon {{ templateName }} is definitief.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Weet je het zeker? Het verwijderen van {{ count }} sjabloon is definitief.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Weet je het zeker? Het verwijderen van {{ count }} sjablonen is definitief.", + "A template must have content": "Een sjabloon moet inhoud bevatten", + "Template published": "Sjabloon gepubliceerd", + "{{ count }} template published": "{{ count }} sjabloon gepubliceerd", + "{{ count }} template published_plural": "{{ count }} sjablonen gepubliceerd", + "Could not publish {{ count }} template": "Kan {{ count }} sjabloon niet publiceren", + "Could not publish {{ count }} template_plural": "Kan {{ count }} sjablonen niet publiceren", "Move to workspace": "Verplaatsen naar werkruimte", "Template moved": "Sjabloon verplaatst", "Couldn't move the template, try again?": "Kan sjabloon niet verplaatsen. Opnieuw proberen?", "Move to collection": "Verplaatsen naar collectie", "Move template": "Sjabloon verplaatsen", + "{{ count }} template duplicated": "{{ count }} sjabloon gedupliceerd", + "{{ count }} template duplicated_plural": "{{ count }} sjablonen gedupliceerd", "Print template": "Sjabloon afdrukken", "Invite people": "Personen uitnodigen", "Invite to workspace": "Uitnodigen voor werkruimte", "Update role": "Werk rol bij", "Change profile picture": "Profielfoto wijzigen", "Change name": "Naam wijzigen", - "Change email": "Wijzig e-mail", + "Change email": "Wijzig e-mailadres", "Suspend user": "Blokkeer gebruiker", "Suspend {{ count }} user": "{{ count }} gebruiker opschorten", "Suspend {{ count }} user_plural": "{{ count }} gebruikers opschorten", @@ -267,6 +291,7 @@ "People": "Personen", "Share": "Delen", "Workspace": "Werkruimte", + "Recent searches": "Recente zoekopdrachten", "currently editing": "momenteel aan het bewerken", "currently viewing": "momenteel aan het bekijken", "previously edited": "eerder bewerkt", @@ -279,7 +304,7 @@ "Public document sharing": "Openbaar documenten delen", "Allow documents within this collection to be shared publicly on the internet.": "Toestaan dat documenten uit deze collectie openbaar gedeeld kunnen worden op het internet.", "Commenting": "Reageren", - "Allow commenting on documents within this collection.": "Reacties op documenten in deze collectie toestaan", + "Allow commenting on documents within this collection.": "Reacties op documenten in deze collectie toestaan.", "Collections are used to group documents and choose permissions": "Collecties worden gebruikt om documenten te groeperen en machtigingen te kiezen", "Name": "Naam", "The default access for workspace members, you can share with more users or groups later.": "De standaard toegang voor werkruimte-leden, je kunt later met meer gebruikers of groepen delen.", @@ -290,7 +315,7 @@ "Create": "Maak", "Collection deleted": "Collectie verwijderd", "I’m sure – Delete": "Dat weet ik zeker – Verwijder", - "Are you sure about that? Deleting the {{collectionName}} collection is permanent and cannot be restored, however all published documents within will be moved to the trash.": "Weet je dat zeker? Het verwijderen van de collectie {{collectionName}} is definitief en kan niet worden hersteld. Alle gepubliceerde documenten in deze collectie worden echter verplaatst naar de prullenbak.", + "Are you sure about that? Deleting the {{collectionName}} collection is permanent and cannot be restored, however all published documents within will be moved to the trash.": "Weet je het zeker? Het verwijderen van de collectie {{collectionName}} is definitief en kan niet worden hersteld, hoewel alle gepubliceerde documenten in deze collectie worden verplaatst naar de prullenbak.", "Also, {{collectionName}} is being used as the start view – deleting it will reset the start view to the Home page.": "Ook wordt {{collectionName}} gebruikt als de startweergave. Als je deze verwijdert, wordt de startweergave teruggezet naar het startscherm.", "Duplicating collection": "Collectie dupliceren", "A copy of the collection and the documents within it will be created.": "Er wordt een kopie gemaakt van de collectie en de documenten daarin.", @@ -389,13 +414,8 @@ "our engineers have been notified": "onze technici zijn op de hoogte gebracht", "Clear cache + reload": "Cache wissen + herladen", "Show detail": "Toon detail", - "Export started": "Exporteren is begonnen", - "A link to your file will be sent through email soon": "Een link naar je bestand wordt spoedig via e-mail verzonden", - "Preparing your download": "Download voorbereiden", - "Include child documents": "Inclusief onderliggende documenten", - "When selected, exporting the document will take extra time.": "Wanneer geselecteerd, duurt het exporteren van het document langer.", - "You will receive an email when it's complete.": "Je ontvangt een e-mail als het voltooid is.", "Exporting the collection may take some time.": "Het exporteren van de collectie kan enige tijd duren.", + "You will receive an email when it's complete.": "Je ontvangt een e-mail als het voltooid is.", "Include attachments": "Bijlagen toevoegen", "Including uploaded images and files in the exported data": "Geüploade afbeeldingen en bestanden worden aan de geëxporteerde data toegevoegd", "Include private collections": "Inclusief privécollecties", @@ -435,7 +455,7 @@ "Custom": "Aangepast", "Word": "Word", "Plain text": "Platte tekst", - "Email": "E-mail", + "Email": "E-mailadres", "This file type is not supported": "Dit bestandstype wordt niet ondersteund", "Drag and drop files here, or click to choose from your computer": "Sleep bestanden hierheen of klik om bestanden vanaf uw computer te kiezen", "Supported formats": "Ondersteunde formaten", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "Bekijk, navigeer of download afbeeldingen in het document", "Zoom in": "Inzoomen", "Zoom out": "Uitzoomen", + "Download": "Download", "Edit diagram": "Diagram bewerken", "Close": "Sluiten", "Previous": "Vorige", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}u {{ minutes }}m gelezen", "{{ hours }}h read": "{{ hours }}u gelezen", "{{ minutes }}m read": "{{ minutes }}m gelezen", + "Archived": "Gearchiveerd", "All members": "Alle leden", "Everyone in the workspace": "Iedereen in de werkruimte", "{{ count }} member": "{{ count }} lid", @@ -529,11 +551,12 @@ "Switch to dark": "Wissel naar donker thema", "Switch to light": "Wissel naar licht thema", "Subscribe to updates": "Abonneren op updates", + "Display settings": "Weergave-instellingen", + "Edit {{noun}}": "Wijzig {{noun}}", "Logo": "Logo", "Add": "Toevoegen", "Add or invite": "Toevoegen of uitnodigen", "Sharing settings updated": "Deelinstellingen bijgewerkt", - "Display settings": "Weergave-instellingen", "Customize how the published document is displayed": "Pas aan hoe het gepubliceerde document wordt weergegeven", "Image options": "Afbeeldingsopties", "Upload": "Upload", @@ -589,16 +612,16 @@ "New nested document": "Nieuw genest document", "No collections": "Geen collecties", "Hide": "Verbergen", + "Starred": "Favorieten", + "Shared with me": "Gedeeld met mij", "Import files": "Bestanden importeren", "Recent": "Recentelijk", "Go back": "Vorige", "Go forward": "Volgende", "Could not load shared documents": "Kan gedeelde documenten niet laden", - "Shared with me": "Gedeeld met mij", "Show more": "Meer weergeven", "Link options": "Link-opties", "Could not load starred documents": "Kan favoriete documenten niet laden", - "Starred": "Favorieten", "Up to date": "Bijgewerkt", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} versie achter", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} versies achter", @@ -615,6 +638,8 @@ "Star document": "Document toevoegen aan favorieten", "Select a color": "Selecteer een kleur", "Select all": "Alles selecteren", + "Columns": "Kolommen", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "Je wijzigingen konden niet worden opgeslagen.\nWeet je zeker dat je wilt vertrekken?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Markeer wat tekst en gebruik het <1> hulpmiddel om tijdelijke aanduidingen toe te voegen die kunnen worden ingevuld bij het maken van nieuwe documenten", "You’re editing a template": "Je bewerkt een sjabloon", "Template created, go ahead and customize it": "Sjabloon gemaakt, ga aan de gang en pas het aan", @@ -675,8 +700,6 @@ "Paste a link": "Plak een link", "Delete embed": "Insluiting verwijderen", "Delete image": "Afbeelding verwijderen", - "Create a new doc": "Maak een nieuw document", - "Create a nested doc": "Een geneste doc aanmaken", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} wordt niet verwittigd omdat ze geen toegang hebben tot dit document", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Leden van \"{{ groupName }}\" die toegang hebben tot dit document worden op de hoogte gebracht", "Keep as link": "Behoud als link", @@ -726,7 +749,6 @@ "Italic": "Cursief", "Strikethrough": "Doorstrepen", "Background color": "Achtergrondkleur", - "None": "Geen", "Highlight": "Markeer", "Code": "Code", "Heading": "Kop", @@ -743,6 +765,8 @@ "Full width": "Volledige breedte", "Download image": "Afbeelding downloaden", "Edit image URL": "Afbeeldingslink bewerken", + "Create a new doc": "Maak een nieuw document", + "Create a nested doc": "Een geneste doc aanmaken", "Default width": "Standaardbreedte", "Distribute columns": "Kolommen verdelen", "Export as CSV": "Exporteren als CSV", @@ -893,14 +917,23 @@ "only you": "alleen jij", "person": "persoon", "people": "personen", + "{{ number }} words selected": "{{ number }} woord geselecteerd", + "{{ number }} words selected_plural": "{{ number }} woorden geselecteerd", + "{{ number }} characters selected": "{{ number }} teken geselecteerd", + "{{ number }} characters selected_plural": "{{ number }} tekens geselecteerd", + "{{ number }} words": "{{ number }} woord", + "{{ number }} words_plural": "{{ number }} woorden", + "{{ number }} characters": "{{ number }} teken", + "{{ number }} characters_plural": "{{ number }} tekens", + "{{ number }} paragraphs": "{{ number }} alinea", + "{{ number }} paragraphs_plural": "{{ number }} alinea's", + "{{ number }} minute read": "{{ number }} minuten leestijd", "Document title": "Documenttitel", "Last updated": "Laatst bijgewerkt", "Type '/' to insert, or start writing…": "Typ '/' om in te voegen of begin met schrijven…", "Hide contents": "Inhoud verbergen", "Show contents": "Inhoud weergeven", "available when headings are added": "beschikbaar wanneer rubrieken worden toegevoegd", - "Edit {{noun}}": "Wijzig {{noun}}", - "Archived": "Gearchiveerd", "Save draft": "Bewaar concept", "Restore version": "Versie herstellen", "{{userName}} archived": "{{userName}} gearchiveerd", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} gepubliceerd", "{{userName}} unpublished": "{{userName}} gedepubliceerd", "{{userName}} moved": "{{userName}} verplaatst", - "via {{ authType }}": "via {{ authType }}", "Previous version": "Vorige versie", "Highlight changes": "Wijzigingen markeren", "Compare to": "Vergelijken met", @@ -920,23 +952,12 @@ "Revision deleted": "Revisie verwijderd", "Current version": "Huidige versie", "{{userName}} edited": "{{userName}} bewerkte", + "via {{ authType }}": "via {{ authType }}", "{{count}} people": "{{count}} persoon", "{{count}} people_plural": "{{count}} personen", "Source": "Bron", "Created": "Aangemaakt", "Imported from {{ source }}": "Geïmporteerd van {{ source }}", - "Stats": "Stats", - "{{ number }} minute read": "{{ number }} minuten leestijd", - "{{ number }} words": "{{ number }} woord", - "{{ number }} words_plural": "{{ number }} woorden", - "{{ number }} characters": "{{ number }} teken", - "{{ number }} characters_plural": "{{ number }} tekens", - "{{ number }} emoji": "{{ number }} emoji", - "No text selected": "Geen tekst geselecteerd", - "{{ number }} words selected": "{{ number }} woord geselecteerd", - "{{ number }} words selected_plural": "{{ number }} woorden geselecteerd", - "{{ number }} characters selected": "{{ number }} teken geselecteerd", - "{{ number }} characters selected_plural": "{{ number }} tekens geselecteerd", "Contributors": "Bijdragers", "Creator": "Maker", "Last edited": "Laatst gewijzigd", @@ -986,11 +1007,11 @@ "Warning Sign": "Waarschuwingsteken", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "Een werkruimtebeheerder ({{ suspendedContactEmail }}) heeft je account opgeschort. Neem direct contact op om je account opnieuw te activeren.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Sorry, er is een onbekende fout opgetreden bij het laden van de pagina. Probeer het opnieuw of neem contact op met ondersteuning als het probleem zich blijft voordoen.", + "Documents you’ve recently viewed will be here for easy access": "Documenten die je onlangs hebt bekeken zullen hier voor eenvoudige toegang zijn", "Created by me": "Door mij aangemaakt", "Weird, this shouldn't ever be empty": "Vreemd, dit zou nooit leeg moeten zijn", "Documents with recent activity will appear here": "Documenten met recente activiteit verschijnen hier", "You haven’t created any documents yet": "Je hebt nog geen documenten aangemaakt", - "Documents you’ve recently viewed will be here for easy access": "Documenten die je onlangs hebt bekeken zullen hier voor eenvoudige toegang zijn", "{{ count }} invites sent": "{{ count }} uitnodiging verzonden", "{{ count }} invites sent_plural": "{{ count }} uitnodigingen verzonden", "Those email addresses are already invited": "Deze e-mailadressen zijn al uitgenodigd", @@ -1014,6 +1035,7 @@ "Open document history": "Documentgeschiedenis weergeven", "Jump to search": "Ga naar zoeken", "Jump to home": "Ga naar startscherm", + "Toggle statistics": "Statistieken in-/uitschakelen", "Focus search input": "Focus op zoekinvoer", "Open this guide": "Open deze gids", "Publish document and exit": "Document publiceren en verlaten", @@ -1101,7 +1123,7 @@ "This login method requires choosing your workspace to continue": "Deze inlogmethode vereist dat je je werkruimte kiest om verder te gaan", "Check your email": "Controleer je e-mail", "Enter the sign-in code sent to the email {{ emailLinkSentTo }}": "Voer de inlogcode in die is verzonden naar het e-mailadres {{ emailLinkSentTo }}", - "A magic sign-in link has been sent to the email {{ emailLinkSentTo }} if an account exists.": "Er is een magische aanmeldlink verzonden naar de e-mail {{ emailLinkSentTo }} als er een account bestaat.", + "A magic sign-in link has been sent to the email {{ emailLinkSentTo }} if an account exists.": "Een magische aanmeldlink is verzonden naar het e-mailadres {{ emailLinkSentTo }} als er een account bestaat.", "Back to login": "Terug naar inloggen", "Get started by choosing a sign-in method for your new workspace below…": "Ga aan de slag door hieronder een inlogmethode te kiezen voor je nieuwe werkruimte…", "Login to {{ authProviderName }}": "Inloggen bij {{ authProviderName }}", @@ -1151,7 +1173,6 @@ "Any time": "Elke tijd", "Remove document filter": "Verwijder documentfilter", "Any status": "Elke status", - "Recent searches": "Recente zoekopdrachten", "Remove search": "Zoekopdracht verwijderen", "Relevance": "Relevantie", "Newest": "Nieuwste", @@ -1324,6 +1345,8 @@ "All roles": "Alle rollen", "Admins": "Beheerders", "Editors": "Redacteurs", + "Invited by": "Uitgenodigd door", + "Joined": "Lid geworden", "All status": "Alle statussen", "Active": "Actief", "Could not load emojis": "Kon emoji's niet laden", @@ -1362,7 +1385,7 @@ "Enabled providers will appear in the editor slash menu and embed automatically when a compatible link is pasted. Existing embeds in documents will continue to display regardless of these settings.": "Ingeschakelde providers verschijnen in het editor slash menu en worden automatisch ingebed wanneer een compatibele link is geplakt. Bestaande embeds in documenten blijven weergeven, ongeacht deze instellingen.", "All providers": "Alle aanbieders", "Export data": "Exporteer gegevens", - "A full export might take some time, consider exporting a single document or collection. You may leave this page once the export has started – if you have notifications enabled, we will email a link to {{ userEmail }} when it’s complete.": "Een volledige export kan even duren, overweeg om één document of collectie te exporteren. Je kunt deze pagina verlaten zodra de export is gestart - als je meldingen hebt ingeschakeld ontvang je een link naar {{ userEmail }} als het voltooid is.", + "A full export might take some time, consider exporting a single document or collection. You may leave this page once the export has started – if you have notifications enabled, we will email a link to {{ userEmail }} when it’s complete.": "Een volledige export kan even duren, overweeg om één document of collectie te exporteren. Je kunt deze pagina verlaten zodra de export is gestart - als je meldingen hebt ingeschakeld ontvang je een link op {{ userEmail }} als het voltooid is.", "Recent exports": "Recente exporten", "Manage AI and integration features for your workspace.": "AI en integratie functies beheren voor jouw werkruimte.", "MCP server": "MCP-server", @@ -1416,7 +1439,7 @@ "Getting started": "Aan de slag", "Tips on getting started with features and functionality": "Tips om aan de slag te gaan met de features en functionaliteit", "New features": "Nieuwe features", - "Receive an email when new features of note are added": "Ontvang een e-mail wanneer nieuwe merkwaardige functies worden toegevoegd", + "Receive an email when new features of note are added": "Ontvang een e-mail wanneer nieuwe interessante functies worden toegevoegd", "Notifications saved": "Meldingen opgeslagen", "Unsubscription successful. Your notification settings were updated": "Uitschrijven gelukt. Je instellingen voor meldingen zijn bijgewerkt", "Manage when and where you receive email notifications.": "Beheer wanneer en waar je e-mailmeldingen ontvangt.", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Toon regelnummers in code-blokken in documenten.", "Show comment marker": "Opmerkingsmarkering weergeven", "Display a marker beside lines in the editor that contain comments.": "Geef een markering weer naast regels in de editor die opmerkingen bevatten.", + "Display live word, character, and paragraph counts while editing.": "Geef tijdens het bewerken live het aantal woorden, tekens en alinea's weer.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "Indien ingeschakeld, hebben documenten een aparte bewerkingsmodus. Indien uitgeschakeld, kunnen documenten altijd worden bewerkt als je daartoe gemachtigd bent.", "Remember previous location": "Onthoud vorige locatie", "Automatically return to the document you were last viewing when the app is re-opened.": "Automatisch terugkeren naar het document dat je het laatst hebt bekeken als de app opnieuw wordt geopend.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "Delen is momenteel uitgeschakeld.", "You can globally enable and disable public document sharing in the security settings.": "Je kunt het delen van openbare documenten globaal in- en uitschakelen in de beveiligingsinstellingen.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Documenten die zijn gedeeld, staan hieronder vermeld. Iedereen die de openbare link heeft, heeft toegang tot een alleen-lezen versie van het document totdat de link is ingetrokken.", - "A template must have content": "Een sjabloon moet inhoud bevatten", + "Couldn’t create the template, try again?": "Kan het sjabloon niet maken. Opnieuw proberen?", "Could not load templates": "Kan sjablonen niet laden", "Templates help your team create consistent and accurate documentation.": "Met sjablonen kan je team consistente en nauwkeurige documentatie maken.", "No templates have been created yet": "Er zijn nog geen sjablonen aangemaakt", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "Om een werkruimte aan te maken onder een ander e-mailadres, registreer een nieuw account via de startpagina", "Trash emptied": "Prullenbak geleegd", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Weet je zeker dat je het document {} definitief wilt verwijderen? Deze actie is onmiddellijk en kan niet ongedaan worden gemaakt.", - "Recently deleted": "Recent verwijderd", + "You’ve not deleted any documents.": "Je hebt geen documenten verwijderd.", + "This user has not deleted any documents.": "Deze gebruiker heeft geen documenten verwijderd.", "Trash is empty at the moment.": "Prullenbak is momenteel leeg.", + "Recently deleted": "Recent verwijderd", + "Deleted by anyone": "Door iedereen verwijderd", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "Een bevestigingscode is naar je e-mailadres verzonden, voer de code hieronder in om je account permanent te verwijderen.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Weet je het zeker? Het verwijderen van je account zal de identificerende gegevens van je gebruiker vernietigen en kan niet ongedaan worden gemaakt. Je wordt onmiddellijk uitgelogd bij {{appName}} en al je API-tokens worden ingetrokken.", "Delete my account": "Verwijder mijn account", + "Export started": "Exporteren is begonnen", + "A link to your file will be sent through email soon": "Een link naar je bestand wordt spoedig via e-mail verzonden", + "Preparing your download": "Download voorbereiden", "Today": "Vandaag", "Yesterday": "Gisteren", "Last week": "Afgelopen week", @@ -1815,10 +1845,10 @@ "Click below to view the latest version.": "Klik hieronder om de nieuwste versie te bekijken.", "Confirm your subscription": "Bevestig je abonnement", "Confirm your subscription to receive updates when \"{{ documentTitle }}\" changes.": "Bevestig je abonnement om updates te ontvangen wanneer \"{{ documentTitle }}\" wijzigt.", - "You requested to receive email notifications when \"{{ documentTitle }}\" is updated on {{ appName }}. Please confirm your subscription by following the link below.": "Je hebt verzocht om e-mailmeldingen te ontvangen wanneer \"{{ documentTitle }}\" wordt bijgewerkt op {{ appName }}. Bevestig je abonnement door de onderstaande link te volgen.", + "You requested to receive email notifications when \"{{ documentTitle }}\" is updated on {{ appName }}. Please confirm your subscription by following the link below.": "Je hebt verzocht om e-mailmeldingen te ontvangen wanneer \"{{ documentTitle }}\" wordt bijgewerkt op {{ appName }}. Klik op onderstaande link om je abonnement te bevestigen.", "Confirm Subscription": "Abonnement bevestigen", "This link will expire in 24 hours.": "Deze link verloopt over 24 uur.", - "You requested to receive email notifications when \"{{ documentTitle }}\" is updated on {{ appName }}.": "Je hebt verzocht om e-mailmeldingen te ontvangen wanneer \"{{ documentTitle }}\" wordt bijgewerkt op {{ appName }}.", + "You requested to receive email notifications when \"{{ documentTitle }}\" is updated on {{ appName }}.": "Je hebt aangegeven e-mailmeldingen te willen ontvangen wanneer \"{{ documentTitle }}\" wordt bijgewerkt op {{ appName }}.", "Please confirm your subscription by clicking the button below.": "Bevestig je abonnement door op de onderstaande knop te klikken.", "Magic Sign-in Link": "Magische aanmeldlink", "Sign in verification code": "Verificatiecode voor aanmelden", diff --git a/shared/i18n/locales/pl_PL/translation.json b/shared/i18n/locales/pl_PL/translation.json index ca90a4f963..ce80cef2a9 100644 --- a/shared/i18n/locales/pl_PL/translation.json +++ b/shared/i18n/locales/pl_PL/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} nieopublikowanych dokumentów", "Subscription inherited from collection": "Subskrypcja odziedziczona z kolekcji", "Share document": "Share document", - "Download": "Pobierz", - "Download document": "Pobierz dokument", + "Markdown": "Markdown", "Download as Markdown": "Pobierz jako Markdown", + "HTML": "HTML", "Download as HTML": "Pobierz jako HTML", + "TextBundle": "Pakiet tekstowy", "Download as TextBundle": "Pobierz jako TextBundle", + "PDF": "PDF", "Download as PDF": "Pobierz jako PDF", "Copy as Markdown": "Kopiuj jako Markdown", "Markdown copied to clipboard": "Markdown skopiowany do schowka", @@ -103,6 +105,7 @@ "Search in document": "Szukaj w dokumencie", "Print": "Drukuj", "Print document": "Drukuj dokument", + "Export document": "Eksportuj dokument", "Open in desktop app": "Otwórz w aplikacji desktopowej", "Present": "Obecny", "Present document": "Aktualny dokument", @@ -138,6 +141,12 @@ "Comments": "Komentarze", "History": "Historia", "Insights": "Statystyki", + "Show editing stats": "Pokaż statystyki edycji", + "None": "Brak", + "Multi-level decimal": "Wielopoziomowy dziesiętny", + "Alphanumeric": "Alfanumeryczny", + "Harvard": "Harvard", + "Heading numbering": "Numeracja nagłówków", "Leave document": "Opuść dokument", "You have left the shared document": "Opuściłeś udostępniony dokument", "Could not leave document": "Nie udało się opuścić dokumentu", @@ -195,11 +204,8 @@ "New Application": "Nowa aplikacja", "Delete app": "Usuń aplikację", "This version of the document was deleted": "Ta wersja dokumentu została usunięta", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Eksportowanie", - "Markdown": "Markdown", - "Download revision": "Pobierz wersję", + "Export revision": "Eksportuj wersję", "Dark": "Ciemny", "Light": "Jasny", "Toggle theme": "Przełącz motyw", @@ -212,19 +218,37 @@ "Go to document": "Przejdź do dokumentu", "Revoke link": "Unieważnij link", "Share link revoked": "Unieważniono link udostępniania", + "{{ count }} share link revoked": "Unieważniono {{ count }} link udostępniania", + "{{ count }} share link revoked_plural": "Unieważniono {{ count }} linki udostępniania", + "Could not revoke {{ count }} share link": "Nie udało się unieważnić {{ count }} linku udostępniania", + "Could not revoke {{ count }} share link_plural": "Nie udało się unieważnić {{ count }} linków udostępniania", "Switch workspace": "Przełącz obszar roboczy", "Select a workspace": "Wybierz obszar roboczy", "New workspace": "Nowy obszar roboczy", "Create a workspace": "Stwórz obszar roboczy", "Login to workspace": "Zaloguj się do projektu", - "template": "szablon", + "Delete template": "Usuń szablon", + "Delete {{ count }} template": "Usuń {{ count }} szablon", + "Delete {{ count }} template_plural": "Usuń {{ count }} szablony", "Template deleted": "Szablon usunięty", + "{{ count }} template deleted": "{{ count }} szablon usunięty", + "{{ count }} template deleted_plural": "{{ count }} szablony usunięte", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Czy na pewno chcesz to zrobić? Usunięcie szablonu {{ templateName }} jest trwałe.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Czy na pewno chcesz to zrobić? Usunięcie {{ count }} szablonu jest trwałe.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Czy na pewno chcesz to zrobić? Usunięcie {{ count }} szablonów jest trwałe.", + "A template must have content": "A template must have content", + "Template published": "Szablon opublikowany", + "{{ count }} template published": "{{ count }} szablon opublikowany", + "{{ count }} template published_plural": "Opublikowano {{ count }} szablonów", + "Could not publish {{ count }} template": "Nie udało się opublikować {{ count }} szablonu", + "Could not publish {{ count }} template_plural": "Nie udało się opublikować {{ count }} szablonów", "Move to workspace": "Przenieś do projektu", "Template moved": "Szablon został przeniesiony", "Couldn't move the template, try again?": "Nie udało się przenieść szablonu, spróbuj ponownie?", "Move to collection": "Przenieś do kolekcji", "Move template": "Przenieś szablon", + "{{ count }} template duplicated": "{{ count }} szablon został zduplikowany", + "{{ count }} template duplicated_plural": "{{ count }} szablony zostały zduplikowane", "Print template": "Wydrukuj szablon", "Invite people": "Zaproś ludzi", "Invite to workspace": "Zaproś do projektu", @@ -267,6 +291,7 @@ "People": "Osoby", "Share": "Udostępnij", "Workspace": "Obszar roboczy", + "Recent searches": "Ostatnio wyszukane", "currently editing": "aktualnie edytujesz", "currently viewing": "obecnie wyświetlasz", "previously edited": "poprzednio edytowane", @@ -292,7 +317,7 @@ "I’m sure – Delete": "Jestem pewien – Usuń", "Are you sure about that? Deleting the {{collectionName}} collection is permanent and cannot be restored, however all published documents within will be moved to the trash.": "Czy jesteś tego pewien? Usunięcie kolekcji {{collectionName}} jest trwałe i nie można jej przywrócić, jednak wszystkie opublikowane w niej dokumenty zostaną przeniesione do kosza.", "Also, {{collectionName}} is being used as the start view – deleting it will reset the start view to the Home page.": "Ponadto widok {{collectionName}} jest używany jako widok początkowy – usunięcie go spowoduje zresetowanie widoku początkowego do strony głównej.", - "Duplicating collection": "Duplicating collection", + "Duplicating collection": "Duplikowanie kolekcji", "A copy of the collection and the documents within it will be created.": "A copy of the collection and the documents within it will be created.", "Duplicating": "Duplicating", "Type a command or search": "Wpisz komendę lub wyszukiwanie", @@ -389,13 +414,8 @@ "our engineers have been notified": "nasi inżynierowie zostali powiadomieni", "Clear cache + reload": "Wyczyść pamięć podręczną + przeładuj", "Show detail": "Pokaż szczegóły", - "Export started": "Eksport rozpoczęty", - "A link to your file will be sent through email soon": "Link do pliku zostanie wkrótce wysłany na adres e-mail", - "Preparing your download": "Przygotowywanie pobierania", - "Include child documents": "Dołącz dokumenty podrzędne", - "When selected, exporting the document will take extra time.": "Po zaznaczeniu eksportowanie dokumentu zajmie więcej czasu.", - "You will receive an email when it's complete.": "Otrzymasz wiadomość e-mail po jej zakończeniu.", "Exporting the collection may take some time.": "Eksportowanie kolekcji może zająć trochę czasu.", + "You will receive an email when it's complete.": "Otrzymasz wiadomość e-mail po jej zakończeniu.", "Include attachments": "Dołącz załączniki", "Including uploaded images and files in the exported data": "Uwzględnianie przesłanych obrazów i plików w eksportowanych danych", "Include private collections": "Dołącz prywatne kolekcje", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "Przeglądaj, nawiguj lub pobierz obrazy w dokumencie", "Zoom in": "Powiększ", "Zoom out": "Pomniejsz", + "Download": "Pobierz", "Edit diagram": "Edytuj diagram", "Close": "Zamknij", "Previous": "Poprzedni", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}h {{ minutes }}m read", "{{ hours }}h read": "{{ hours }}h read", "{{ minutes }}m read": "Przeczytanie zajmie {{ minutes }} minut", + "Archived": "Zarchiwizowano", "All members": "Wszyscy członkowie", "Everyone in the workspace": "Wszyscy w projekcie", "{{ count }} member": "{{ count }} członek", @@ -529,11 +551,12 @@ "Switch to dark": "Przełącz na tryb nocny", "Switch to light": "Przełącz na tryb dzienny", "Subscribe to updates": "Subscribe to updates", + "Display settings": "Display settings", + "Edit {{noun}}": "Edytuj {{noun}}", "Logo": "Logo", "Add": "Dodaj", "Add or invite": "Dodaj lub zaproś", "Sharing settings updated": "Sharing settings updated", - "Display settings": "Display settings", "Customize how the published document is displayed": "Customize how the published document is displayed", "Image options": "Image options", "Upload": "Prześlij", @@ -589,16 +612,16 @@ "New nested document": "Nowy zagnieżdżony dokument", "No collections": "Brak kolekcji", "Hide": "Ukryj", + "Starred": "Oznaczone gwiazdką", + "Shared with me": "Udostępnione mi", "Import files": "Importuj pliki", "Recent": "Recent", "Go back": "Wróć", "Go forward": "Idź do przodu", "Could not load shared documents": "Nie można załadować udostępnionych dokumentów", - "Shared with me": "Udostępnione mi", "Show more": "Pokaż więcej", "Link options": "Opcje linku", "Could not load starred documents": "Nie udało się załadować dokumentów oznaczonych gwiazdką", - "Starred": "Oznaczone gwiazdką", "Up to date": "Aktualne", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} wersji do aktualizacji", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} wersji do aktualizacji", @@ -615,6 +638,8 @@ "Star document": "Oznacz dokument gwiazdką", "Select a color": "Wybierz kolor", "Select all": "Zaznacz wszystko", + "Columns": "Kolumny", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "Nie udało się zapisać zmian.\nCzy na pewno chcesz wyjść?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Zaznacz jakiś tekst i użyj kontroli <1> aby dodać symbole zastępcze, które mogą być wypełnione podczas tworzenia nowych dokumentów", "You’re editing a template": "Edytujesz szablon", "Template created, go ahead and customize it": "Szablon utworzony, przejdź do przodu i dostosuj go", @@ -675,8 +700,6 @@ "Paste a link": "Wklej link", "Delete embed": "Usuń osadzenie", "Delete image": "Usuń obraz", - "Create a new doc": "Utwórz nowy dokument", - "Create a nested doc": "Create a nested doc", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} nie zostanie powiadomiony, ponieważ nie mają dostępu do tego dokumentu", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Members of \"{{ groupName }}\" that have access to this document will be notified", "Keep as link": "Zachowaj jako link", @@ -726,7 +749,6 @@ "Italic": "Kursywa", "Strikethrough": "Przekreślenie", "Background color": "Background color", - "None": "Brak", "Highlight": "Wyróżnienie", "Code": "Kod", "Heading": "Nagłówek", @@ -743,6 +765,8 @@ "Full width": "Pełna szerokość", "Download image": "Pobierz obraz", "Edit image URL": "Zmień adres obrazu", + "Create a new doc": "Utwórz nowy dokument", + "Create a nested doc": "Create a nested doc", "Default width": "Domyślna szerokość", "Distribute columns": "Distribute columns", "Export as CSV": "Eksport jako CSV", @@ -893,14 +917,23 @@ "only you": "tylko ty", "person": "osoba", "people": "osoby", + "{{ number }} words selected": "Zaznaczono {{ number }} słowa", + "{{ number }} words selected_plural": "Zaznaczono {{ number }} słów", + "{{ number }} characters selected": "Zaznaczono {{ number }} znak", + "{{ number }} characters selected_plural": "Zaznaczono {{ number }} znaków", + "{{ number }} words": "{{ number }} słowo", + "{{ number }} words_plural": "{{ number }} słów", + "{{ number }} characters": "{{ number }} znak", + "{{ number }} characters_plural": "{{ number }} znaków", + "{{ number }} paragraphs": "{{ number }} akapit", + "{{ number }} paragraphs_plural": "{{ number }} akapitów", + "{{ number }} minute read": "{{ number }} minuta czytania", "Document title": "Tytuł dokumentu", "Last updated": "Ostatnia aktualizacja", "Type '/' to insert, or start writing…": "Wpisz „/”, aby wstawić, lub zacznij pisać…", "Hide contents": "Ukryj zawartość", "Show contents": "Pokaż zawartość", "available when headings are added": "dostępne po dodaniu nagłówków", - "Edit {{noun}}": "Edytuj {{noun}}", - "Archived": "Zarchiwizowano", "Save draft": "Zapisz wersję roboczą", "Restore version": "Przywróć wersję", "{{userName}} archived": "Użytkownik {{userName}} zarchiwizował", @@ -912,7 +945,6 @@ "{{userName}} published": "Użytkownik {{userName}} opublikował", "{{userName}} unpublished": "{{userName}} nieopublikowane", "{{userName}} moved": "Użytkownik {{userName}} przeniósł", - "via {{ authType }}": "przez {{ authType }}", "Previous version": "Previous version", "Highlight changes": "Highlight changes", "Compare to": "Compare to", @@ -920,23 +952,12 @@ "Revision deleted": "Usunięto poprawkę", "Current version": "Aktualna wersja", "{{userName}} edited": "Użytkownik {{userName}} edytował", + "via {{ authType }}": "przez {{ authType }}", "{{count}} people": "{{count}} person", "{{count}} people_plural": "{{count}} people", "Source": "Źródło", "Created": "Utworzono", "Imported from {{ source }}": "Zaimportowano z {{ source }}", - "Stats": "Statystyki", - "{{ number }} minute read": "{{ number }} minuta czytania", - "{{ number }} words": "{{ number }} słowo", - "{{ number }} words_plural": "{{ number }} słów", - "{{ number }} characters": "{{ number }} znak", - "{{ number }} characters_plural": "{{ number }} znaków", - "{{ number }} emoji": "{{ number }} emoji", - "No text selected": "Nie wybrano tekstu", - "{{ number }} words selected": "Zaznaczono {{ number }} słowa", - "{{ number }} words selected_plural": "Zaznaczono {{ number }} słów", - "{{ number }} characters selected": "Zaznaczono {{ number }} znak", - "{{ number }} characters selected_plural": "Zaznaczono {{ number }} znaków", "Contributors": "Współtwórcy", "Creator": "Twórca", "Last edited": "Ostatnio edytowano", @@ -986,11 +1007,11 @@ "Warning Sign": "Znak ostrzegawczy", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "Administrator obszaru roboczego ({{ suspendedContactEmail }}) zawiesił Twoje konto. Aby ponownie aktywować konto, skontaktuj się z nim bezpośrednio.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Przepraszamy, wystąpił nieznany błąd podczas ładowania strony. Spróbuj ponownie lub skontaktuj się z pomocą techniczną, jeśli problem będzie się powtarzał.", + "Documents you’ve recently viewed will be here for easy access": "Tutaj będą dostępne dokumenty, które ostatnio przeglądałeś", "Created by me": "Utworzone przeze mnie", "Weird, this shouldn't ever be empty": "Weird, this shouldn't ever be empty", "Documents with recent activity will appear here": "Documents with recent activity will appear here", "You haven’t created any documents yet": "Nie utworzyłeś jeszcze żadnych dokumentów", - "Documents you’ve recently viewed will be here for easy access": "Tutaj będą dostępne dokumenty, które ostatnio przeglądałeś", "{{ count }} invites sent": "{{ count }} invite sent", "{{ count }} invites sent_plural": "Wysłano {{ count }} zaproszeń", "Those email addresses are already invited": "Te adresy e-mail już zostały zaproszone", @@ -1014,6 +1035,7 @@ "Open document history": "Otwórz historię dokumentu", "Jump to search": "Przejdź do wyszukiwania", "Jump to home": "Przejdź do strony głównej", + "Toggle statistics": "Przełącz statystyki", "Focus search input": "Skup się na polu wyszukiwania", "Open this guide": "Otwórz ten przewodnik", "Publish document and exit": "Opublikuj dokument i wyjdź", @@ -1151,7 +1173,6 @@ "Any time": "W dowolnym czasie", "Remove document filter": "Usuń filtr dokumentów", "Any status": "Dowolny status", - "Recent searches": "Ostatnio wyszukane", "Remove search": "Usuń wyszukiwanie", "Relevance": "Relevance", "Newest": "Newest", @@ -1324,6 +1345,8 @@ "All roles": "Wszystkie role", "Admins": "Administratorzy", "Editors": "Edytory", + "Invited by": "Zaproszony przez", + "Joined": "Dołączył", "All status": "Wszystkie statusy", "Active": "Aktywne", "Could not load emojis": "Could not load emojis", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Pokaż numery wierszy w blokach kodu w dokumentach.", "Show comment marker": "Show comment marker", "Display a marker beside lines in the editor that contain comments.": "Display a marker beside lines in the editor that contain comments.", + "Display live word, character, and paragraph counts while editing.": "Wyświetlaj na bieżąco liczbę słów, znaków i akapitów podczas edycji.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "Gdy włączone, dokumenty mają oddzielny tryb edycji. Gdy wyłączone, dokumenty są zawsze edytowalne, gdy masz uprawnienia.", "Remember previous location": "Zapamiętaj poprzednią lokalizację", "Automatically return to the document you were last viewing when the app is re-opened.": "Automatycznie wróć do ostatnio oglądanego dokumentu po ponownym otwarciu aplikacji.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "Udostępnianie jest obecnie wyłączone.", "You can globally enable and disable public document sharing in the security settings.": "Możesz globalnie włączać i wyłączać publiczne udostępnianie dokumentów w ustawieniach zabezpieczeń.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Dokumenty udostępnione są wymienione poniżej. Każdy, kto ma link publiczny, może uzyskać dostęp do wersji dokumentu tylko do odczytu do czasu cofnięcia linku.", - "A template must have content": "A template must have content", + "Couldn’t create the template, try again?": "Nie udało się utworzyć szablonu, spróbować ponownie?", "Could not load templates": "Could not load templates", "Templates help your team create consistent and accurate documentation.": "Templates help your team create consistent and accurate documentation.", "No templates have been created yet": "No templates have been created yet", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "Aby utworzyć obszar roboczy pod innym adresem e-mail, zarejestruj się ze strony głównej", "Trash emptied": "Kosz został opróżniony", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Czy na pewno chcesz trwale usunąć wszystkie dokumenty w koszu? Ta akcja jest natychmiastowa i nie może zostać cofnięta.", - "Recently deleted": "Ostatnio usunięte", + "You’ve not deleted any documents.": "Nie usunąłeś żadnych dokumentów.", + "This user has not deleted any documents.": "Ten użytkownik nie usunął żadnych dokumentów.", "Trash is empty at the moment.": "Kosz jest w tej chwili pusty.", + "Recently deleted": "Ostatnio usunięte", + "Deleted by anyone": "Usunięte przez kogokolwiek", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "Na Twój adres e-mail został wysłany kod potwierdzający, wpisz poniżej kod, aby trwale zniszczyć Twoje konto.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Jesteś pewny? Usunięcie konta spowoduje zniszczenie danych identyfikujących użytkownika i nie będzie można tego cofnąć. Zostaniesz natychmiast wylogowany z {{appName}}, a wszystkie Twoje tokeny API zostaną unieważnione.", "Delete my account": "Usuń moje konto", + "Export started": "Eksport rozpoczęty", + "A link to your file will be sent through email soon": "Link do pliku zostanie wkrótce wysłany na adres e-mail", + "Preparing your download": "Przygotowywanie pobierania", "Today": "Dzisiaj", "Yesterday": "Wczoraj", "Last week": "Ostatni tydzień", diff --git a/shared/i18n/locales/pt_BR/translation.json b/shared/i18n/locales/pt_BR/translation.json index 4e11da18a7..f3b700eff2 100644 --- a/shared/i18n/locales/pt_BR/translation.json +++ b/shared/i18n/locales/pt_BR/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} documentos não publicados", "Subscription inherited from collection": "Subscrição herdada da coleção", "Share document": "Compartilhar documento", - "Download": "Baixar", - "Download document": "Baixar documento", + "Markdown": "Markdown", "Download as Markdown": "Baixe como Markdown", + "HTML": "HTML", "Download as HTML": "Baixar como HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "Baixar como TextBundle", + "PDF": "PDF", "Download as PDF": "Baixar como PDF", "Copy as Markdown": "Copiar como Markdown", "Markdown copied to clipboard": "Markdown copiado para a área de transferência", @@ -103,6 +105,7 @@ "Search in document": "Pesquisar no documento", "Print": "Imprimir", "Print document": "Imprimir documento", + "Export document": "Exportar documento", "Open in desktop app": "Abrir no aplicativo do computador", "Present": "Presente", "Present document": "Documento atual", @@ -138,6 +141,12 @@ "Comments": "Comentários", "History": "Histórico", "Insights": "Estatísticas", + "Show editing stats": "Mostrar estatísticas de edição", + "None": "Nada", + "Multi-level decimal": "Decimal multinível", + "Alphanumeric": "Alfanumérico", + "Harvard": "Harvard", + "Heading numbering": "Numeração de títulos", "Leave document": "Sair do documento", "You have left the shared document": "Você deixou o documento compartilhado", "Could not leave document": "Não foi possível sair do documento", @@ -195,11 +204,8 @@ "New Application": "Nova Aplicação", "Delete app": "Excluir aplicativo", "This version of the document was deleted": "Esta versão do documento foi excluída", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Exportando", - "Markdown": "Markdown", - "Download revision": "Baixar revisão", + "Export revision": "Exportar revisão", "Dark": "Escuro", "Light": "Claro", "Toggle theme": "Alternar tema", @@ -212,19 +218,37 @@ "Go to document": "Ir para o documento", "Revoke link": "Revogar link", "Share link revoked": "Link de compartilhamento revogado", + "{{ count }} share link revoked": "{{ count }} link de compartilhamento revogado", + "{{ count }} share link revoked_plural": "{{ count }} links de compartilhamento revogados", + "Could not revoke {{ count }} share link": "Não foi possível revogar {{ count }} link de compartilhamento", + "Could not revoke {{ count }} share link_plural": "Não foi possível revogar {{ count }} links de compartilhamento", "Switch workspace": "Alternar espaço de trabalho", "Select a workspace": "Selecionar um espaço de trabalho", "New workspace": "Novo espaço de trabalho", "Create a workspace": "Criar um espaço de trabalho", "Login to workspace": "Conectar-se ao espaço de trabalho", - "template": "modelo", + "Delete template": "Excluir modelo", + "Delete {{ count }} template": "Excluir {{ count }} modelo", + "Delete {{ count }} template_plural": "Excluir {{ count }} modelos", "Template deleted": "Modelo excluído", + "{{ count }} template deleted": "{{ count }} modelo excluído", + "{{ count }} template deleted_plural": "{{ count }} modelos excluídos", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Você tem certeza disso? A exclusão do modelo {{ templateName }} é permanente.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Tem certeza? A exclusão de {{ count }} modelo é permanente.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Tem certeza? A exclusão de {{ count }} modelos é permanente.", + "A template must have content": "A template must have content", + "Template published": "Modelo publicado", + "{{ count }} template published": "{{ count }} modelo publicado", + "{{ count }} template published_plural": "{{ count }} modelos publicados", + "Could not publish {{ count }} template": "Não foi possível publicar {{ count }} modelo", + "Could not publish {{ count }} template_plural": "Não foi possível publicar {{ count }} modelos", "Move to workspace": "Mover para espaço de trabalho", "Template moved": "Modelo movido", "Couldn't move the template, try again?": "Não foi possível mover o documento, tentar novamente?", "Move to collection": "Mover para coleção", "Move template": "Mover modelo", + "{{ count }} template duplicated": "{{ count }} modelo duplicado", + "{{ count }} template duplicated_plural": "{{ count }} modelos duplicados", "Print template": "Imprimir template", "Invite people": "Convidar pessoas", "Invite to workspace": "Convidar ao espaço de trabalho", @@ -267,6 +291,7 @@ "People": "Pessoas", "Share": "Compartilhar", "Workspace": "Espaço de Trabalho", + "Recent searches": "Pesquisas recentes", "currently editing": "atualmente editando", "currently viewing": "atualmente visualizando", "previously edited": "editou anteriormente", @@ -389,13 +414,8 @@ "our engineers have been notified": "nossos engenheiros foram notificados", "Clear cache + reload": "Limpar cache e recarregar", "Show detail": "Exibir detalhes", - "Export started": "Exportação iniciada", - "A link to your file will be sent through email soon": "Um link para o seu arquivo será enviado por e-mail em breve", - "Preparing your download": "Preparando o seu download", - "Include child documents": "Incluir documentos filhos", - "When selected, exporting the document will take extra time.": "Quando selecionada, a exportação do documento levará mais tempo.", - "You will receive an email when it's complete.": "Você receberá um e-mail quando estiver concluído.", "Exporting the collection may take some time.": "A exportação da coleção pode levar algum tempo.", + "You will receive an email when it's complete.": "Você receberá um e-mail quando estiver concluído.", "Include attachments": "Incluir anexos", "Including uploaded images and files in the exported data": "Incluindo imagens e arquivos carregados nos dados exportados", "Include private collections": "Incluir coleções privadas", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "Exibir, navegar ou baixar imagens no documento", "Zoom in": "Aumentar Zoom", "Zoom out": "Reduzir zoom", + "Download": "Baixar", "Edit diagram": "Editar diagrama", "Close": "Fechar", "Previous": "Anterior", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}h {{ minutes }}m de leitura", "{{ hours }}h read": "{{ hours }}h de leitura", "{{ minutes }}m read": "Leitura de {{ minutes }}min", + "Archived": "Arquivado", "All members": "Todos os membros", "Everyone in the workspace": "Todos no espaço de trabalho", "{{ count }} member": "{{ count }} membro", @@ -529,11 +551,12 @@ "Switch to dark": "Alterar para escuro", "Switch to light": "Alternar para claro", "Subscribe to updates": "Subscribe to updates", + "Display settings": "Display settings", + "Edit {{noun}}": "Editar {{noun}}", "Logo": "Logotipo", "Add": "Adicionar", "Add or invite": "Adicionar ou convidar", "Sharing settings updated": "Sharing settings updated", - "Display settings": "Display settings", "Customize how the published document is displayed": "Customize how the published document is displayed", "Image options": "Image options", "Upload": "Enviar", @@ -589,16 +612,16 @@ "New nested document": "Novo documento aninhado", "No collections": "Nenhuma coleção", "Hide": "Ocultar", + "Starred": "Favoritos", + "Shared with me": "Compartilhados comigo", "Import files": "Importar arquivos", "Recent": "Recent", "Go back": "Voltar", "Go forward": "Avançar", "Could not load shared documents": "Não foi possível carregar documentos compartilhados", - "Shared with me": "Compartilhados comigo", "Show more": "Exibir mais", "Link options": "Opções do link", "Could not load starred documents": "Não foi possível carregar documentos favoritos", - "Starred": "Favoritos", "Up to date": "Atualizado", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} versão atrás", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} versões atrás", @@ -615,6 +638,8 @@ "Star document": "Favoritar documento", "Select a color": "Selecione uma cor", "Select all": "Selecionar todos", + "Columns": "Colunas", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "Não foi possível salvar suas alterações.\nTem certeza de que deseja sair?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Destaque algum texto e use o controle <1> para adicionar espaços reservados que podem ser preenchidos ao criar documentos a partir do modelo", "You’re editing a template": "Você esta editando um modelo", "Template created, go ahead and customize it": "Modelo criado, vá em frente e personalize-o", @@ -675,8 +700,6 @@ "Paste a link": "Cole um link", "Delete embed": "Deletar embed", "Delete image": "Excluir imagem", - "Create a new doc": "Criar um novo documento", - "Create a nested doc": "Create a nested doc", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} não será notificado, pois não tem acesso a este documento", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Membros de \"{{ groupName }}\" que têm acesso a este documento serão notificados", "Keep as link": "Manter como link", @@ -726,7 +749,6 @@ "Italic": "Itálico", "Strikethrough": "Riscado", "Background color": "Cor de fundo", - "None": "Nada", "Highlight": "Destaque", "Code": "Código", "Heading": "Cabeçalho", @@ -743,6 +765,8 @@ "Full width": "Largura total", "Download image": "Baixar imagem", "Edit image URL": "Editar URL da imagem", + "Create a new doc": "Criar um novo documento", + "Create a nested doc": "Create a nested doc", "Default width": "Default width", "Distribute columns": "Distribuir colunas", "Export as CSV": "Exportar como CSV", @@ -893,14 +917,23 @@ "only you": "apenas você", "person": "pessoa", "people": "pessoas", + "{{ number }} words selected": "{{ number }} palavra selecionada", + "{{ number }} words selected_plural": "{{ number }} palavras selecionadas", + "{{ number }} characters selected": "{{ number }} caractere selecionado", + "{{ number }} characters selected_plural": "{{ number }} characters selected", + "{{ number }} words": "{{ number }} palavra", + "{{ number }} words_plural": "{{ number }} palavras", + "{{ number }} characters": "{{ number }} caractere", + "{{ number }} characters_plural": "{{ number }} caracteres", + "{{ number }} paragraphs": "{{ number }} parágrafo", + "{{ number }} paragraphs_plural": "{{ number }} parágrafos", + "{{ number }} minute read": "Leitura de {{ number }} minuto", "Document title": "Título do Documento", "Last updated": "Última atualização", "Type '/' to insert, or start writing…": "Digite '/' para inserir, ou comece a escrever…", "Hide contents": "Ocultar conteúdo", "Show contents": "Exibir conteúdo", "available when headings are added": "disponível quando cabeçalhos são adicionados", - "Edit {{noun}}": "Editar {{noun}}", - "Archived": "Arquivado", "Save draft": "Salvar rascunho", "Restore version": "Restaurar versão", "{{userName}} archived": "{{userName}} arquivado", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} publicou", "{{userName}} unpublished": "{{userName}} despublicou", "{{userName}} moved": "{{userName}} moveu", - "via {{ authType }}": "via {{ authType }}", "Previous version": "Previous version", "Highlight changes": "Realçar alterações", "Compare to": "Compare to", @@ -920,23 +952,12 @@ "Revision deleted": "Revisão excluída", "Current version": "Versão atual", "{{userName}} edited": "{{userName}} editou", + "via {{ authType }}": "via {{ authType }}", "{{count}} people": "{{count}} pessoa", "{{count}} people_plural": "{{count}} pessoas", "Source": "Fonte", "Created": "Criado", "Imported from {{ source }}": "Importado de {{ source }}", - "Stats": "Estatísticas", - "{{ number }} minute read": "Leitura de {{ number }} minuto", - "{{ number }} words": "{{ number }} palavra", - "{{ number }} words_plural": "{{ number }} palavras", - "{{ number }} characters": "{{ number }} caractere", - "{{ number }} characters_plural": "{{ number }} caracteres", - "{{ number }} emoji": "{{ number }} emoticons", - "No text selected": "Nenhum texto selecionado", - "{{ number }} words selected": "{{ number }} palavra selecionada", - "{{ number }} words selected_plural": "{{ number }} palavras selecionadas", - "{{ number }} characters selected": "{{ number }} caractere selecionado", - "{{ number }} characters selected_plural": "{{ number }} characters selected", "Contributors": "Contribuidores", "Creator": "Autor", "Last edited": "Última edição", @@ -986,11 +1007,11 @@ "Warning Sign": "Aviso de Alerta", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "Um administrador da equipe ({{ suspendedContactEmail }}) suspendeu sua conta. Para reativar sua conta, por favor, entre em contato com ele diretamente.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Desculpe, ocorreu um erro desconhecido ao carregar a página. Tente novamente ou entre em contato com o suporte se o problema continuar.", + "Documents you’ve recently viewed will be here for easy access": "Os documentos que você visualizou recentemente estarão aqui para facilitar o acesso", "Created by me": "Criado por mim", "Weird, this shouldn't ever be empty": "Weird, this shouldn't ever be empty", "Documents with recent activity will appear here": "Documents with recent activity will appear here", "You haven’t created any documents yet": "Você ainda não criou nenhum documento", - "Documents you’ve recently viewed will be here for easy access": "Os documentos que você visualizou recentemente estarão aqui para facilitar o acesso", "{{ count }} invites sent": "{{ count }} invite sent", "{{ count }} invites sent_plural": "{{ count }} invites sent", "Those email addresses are already invited": "Estes endereços de e-mail já foram convidados", @@ -1014,6 +1035,7 @@ "Open document history": "Abrir histórico de documentos", "Jump to search": "Ir para pesquisa", "Jump to home": "Ir para a tela inicial", + "Toggle statistics": "Alternar estatísticas", "Focus search input": "Focar pesquisa", "Open this guide": "Abrir este guia", "Publish document and exit": "Publicar documento e sair", @@ -1151,7 +1173,6 @@ "Any time": "A qualquer momento", "Remove document filter": "Remover filtro de documento", "Any status": "Qualquer status", - "Recent searches": "Pesquisas recentes", "Remove search": "Remover pesquisa", "Relevance": "Relevance", "Newest": "Newest", @@ -1324,6 +1345,8 @@ "All roles": "Todas as funções", "Admins": "Administradores", "Editors": "Editores", + "Invited by": "Convidado por", + "Joined": "Entrou", "All status": "Todos os status", "Active": "Ativo", "Could not load emojis": "Não foi possível carregar Emojis", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Mostrar números de linha nos blocos de código em documentos.", "Show comment marker": "Show comment marker", "Display a marker beside lines in the editor that contain comments.": "Display a marker beside lines in the editor that contain comments.", + "Display live word, character, and paragraph counts while editing.": "Exiba contagens em tempo real de palavras, caracteres e parágrafos durante a edição.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "Quando habilitado, os documentos têm um modo separado de edição. Quando desabilitado, documentos são sempre editáveis quando você possui permissão.", "Remember previous location": "Lembrar localização anterior", "Automatically return to the document you were last viewing when the app is re-opened.": "Retorne automaticamente ao documento que você estava visualizando pela última vez quando o aplicativo for reaberto.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "O compartilhamento está desativado no momento.", "You can globally enable and disable public document sharing in the security settings.": "Você pode ativar e desativar globalmente o compartilhamento público de documentos nas configurações de segurança.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Os documentos que foram compartilhados estão listados abaixo. Qualquer pessoa que tenha o link público pode acessar uma versão somente leitura do documento até que o link seja revogado.", - "A template must have content": "A template must have content", + "Couldn’t create the template, try again?": "Não foi possível criar o modelo. Tentar novamente?", "Could not load templates": "Could not load templates", "Templates help your team create consistent and accurate documentation.": "Templates help your team create consistent and accurate documentation.", "No templates have been created yet": "No templates have been created yet", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "Para criar um espaço de trabalho com outro e-mail, inscreva-se na página inicial", "Trash emptied": "Lixeira esvaziada", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Tem certeza de que deseja excluir permanentemente todos os documentos na Lixeira? Esta ação é imediata e não pode ser desfeita.", - "Recently deleted": "Excluídos recentemente", + "You’ve not deleted any documents.": "Você não excluiu nenhum documento.", + "This user has not deleted any documents.": "Este usuário não excluiu nenhum documento.", "Trash is empty at the moment.": "A Lixeira está vazia no momento.", + "Recently deleted": "Excluídos recentemente", + "Deleted by anyone": "Excluído por qualquer pessoa.", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "Um código de confirmação foi enviado para seu endereço de e-mail, por favor insira o código abaixo para excluir sua conta permanentemente.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Você tem certeza? Apagar sua conta destruirá os dados de identificação associados ao seu usuário e não poderá ser desfeito. Você será imediatamente desconectado do {{appName}} e todos os seus tokens de API serão revogados.", "Delete my account": "Excluir minha conta", + "Export started": "Exportação iniciada", + "A link to your file will be sent through email soon": "Um link para o seu arquivo será enviado por e-mail em breve", + "Preparing your download": "Preparando o seu download", "Today": "Hoje", "Yesterday": "Ontem", "Last week": "Semana passada", diff --git a/shared/i18n/locales/pt_PT/translation.json b/shared/i18n/locales/pt_PT/translation.json index ba8fb453e0..3e2a8f1c49 100644 --- a/shared/i18n/locales/pt_PT/translation.json +++ b/shared/i18n/locales/pt_PT/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} documentos não publicados", "Subscription inherited from collection": "Assinatura herdada da coleção", "Share document": "Partilhar documento", - "Download": "Download", - "Download document": "Descarregar documento", + "Markdown": "Markdown", "Download as Markdown": "Download as Markdown", + "HTML": "HTML", "Download as HTML": "Download as HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "Baixar como TextBundle", + "PDF": "PDF", "Download as PDF": "Download as PDF", "Copy as Markdown": "Copiar como Markdown", "Markdown copied to clipboard": "Markdown copiado para área de transferência", @@ -103,6 +105,7 @@ "Search in document": "Procurar no documento", "Print": "Imprimir", "Print document": "Imprimir documento", + "Export document": "Exportar documento", "Open in desktop app": "Open in desktop app", "Present": "Present", "Present document": "Present document", @@ -138,6 +141,12 @@ "Comments": "Comentários", "History": "Historia", "Insights": "Estatísticas", + "Show editing stats": "Mostrar estatísticas de edição", + "None": "Nenhum", + "Multi-level decimal": "Decimal multinível", + "Alphanumeric": "Alfanumérico", + "Harvard": "Harvard", + "Heading numbering": "Numeração de títulos", "Leave document": "Sair do documento", "You have left the shared document": "Você saiu o documento compartilhado", "Could not leave document": "Não foi possível sair do documento", @@ -195,11 +204,8 @@ "New Application": "Nova aplicação", "Delete app": "Delete app", "This version of the document was deleted": "Esta versão do documento foi apagada", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Exportar", - "Markdown": "Markdown", - "Download revision": "Baixar a revisão", + "Export revision": "Exportar versão", "Dark": "Escuro", "Light": "Claro", "Toggle theme": "Toggle theme", @@ -212,19 +218,37 @@ "Go to document": "Ir para documento", "Revoke link": "Revogar link", "Share link revoked": "Link de partilha foi revogado", + "{{ count }} share link revoked": "{{ count }} link de compartilhamento revogado", + "{{ count }} share link revoked_plural": "{{ count }} links de compartilhamento revogados", + "Could not revoke {{ count }} share link": "Não foi possível revogar {{ count }} link de compartilhamento", + "Could not revoke {{ count }} share link_plural": "Não foi possível revogar {{ count }} links de compartilhamento", "Switch workspace": "Alternar área de trabalho", "Select a workspace": "Selecionar área de trabalho", "New workspace": "Nova área de trabalho", "Create a workspace": "Criar área de trabalho", "Login to workspace": "Entrar em área de trabalho", - "template": "modelo", + "Delete template": "Excluir template", + "Delete {{ count }} template": "Excluir {{ count }} template", + "Delete {{ count }} template_plural": "Excluir {{ count }} templates", "Template deleted": "Template deleted", + "{{ count }} template deleted": "{{ count }} template excluído", + "{{ count }} template deleted_plural": "{{ count }} templates excluídos", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Are you sure about that? Deleting the {{ templateName }} template is permanent.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Tem certeza? A exclusão de {{ count }} template é permanente.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Tem certeza? A exclusão de {{ count }} templates é permanente.", + "A template must have content": "A template must have content", + "Template published": "Template publicado", + "{{ count }} template published": "{{ count }} template publicado", + "{{ count }} template published_plural": "{{ count }} modelos publicados", + "Could not publish {{ count }} template": "Não foi possível publicar {{ count }} modelo", + "Could not publish {{ count }} template_plural": "Não foi possível publicar {{ count }} modelos", "Move to workspace": "Mover para área de trabalho", "Template moved": "Template moved", "Couldn't move the template, try again?": "Couldn't move the template, try again?", "Move to collection": "Mover para colecção", "Move template": "Move template", + "{{ count }} template duplicated": "{{ count }} modelo duplicado", + "{{ count }} template duplicated_plural": "{{ count }} modelos duplicados", "Print template": "Print template", "Invite people": "Convidar pessoas", "Invite to workspace": "Convidar para área de trabalho", @@ -267,6 +291,7 @@ "People": "Pessoas", "Share": "Compartilhar", "Workspace": "Área de trabalho", + "Recent searches": "Pesquisas recentes", "currently editing": "neste momento a editar", "currently viewing": "neste momento a visualizar", "previously edited": "Alterado anteriormente", @@ -389,13 +414,8 @@ "our engineers have been notified": "os nossos engenheiros foram notificados", "Clear cache + reload": "Limpar cache + recarregar", "Show detail": "Mostrar detalhe", - "Export started": "Exportação iniciada", - "A link to your file will be sent through email soon": "A link to your file will be sent through email soon", - "Preparing your download": "Preparing your download", - "Include child documents": "Include child documents", - "When selected, exporting the document will take extra time.": "Quando selecionada, a exportação do documento levará mais tempo.", - "You will receive an email when it's complete.": "Receberá um e-mail quando estiver completo.", "Exporting the collection may take some time.": "A exportação da coleção pode levar algum tempo.", + "You will receive an email when it's complete.": "Receberá um e-mail quando estiver completo.", "Include attachments": "Incluir anexos", "Including uploaded images and files in the exported data": "A incluir imagens e ficheiros nos dados a exportar", "Include private collections": "Inclua coleções privadas", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "View, navigate, or download images in the document", "Zoom in": "Aumentar zoom", "Zoom out": "Diminuir zoom", + "Download": "Download", "Edit diagram": "Editar o diagrama", "Close": "Fechar", "Previous": "Voltar", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}h {{ minutes }}m read", "{{ hours }}h read": "{{ hours }}h read", "{{ minutes }}m read": "{{ minutes }}m read", + "Archived": "Arquivado", "All members": "Todos os membros", "Everyone in the workspace": "Todos no espaço de trabalho", "{{ count }} member": "{{ count }} membro", @@ -529,11 +551,12 @@ "Switch to dark": "Alterar para escuro", "Switch to light": "Alterar para claro", "Subscribe to updates": "Subscribe to updates", + "Display settings": "Display settings", + "Edit {{noun}}": "Editar {{noun}}", "Logo": "Logótipo", "Add": "Adicionar", "Add or invite": "Adicionar ou convidar", "Sharing settings updated": "Sharing settings updated", - "Display settings": "Display settings", "Customize how the published document is displayed": "Customize how the published document is displayed", "Image options": "Image options", "Upload": "Upload", @@ -589,16 +612,16 @@ "New nested document": "Novo documento aninhado", "No collections": "No collections", "Hide": "Ocultar", + "Starred": "Favoritos", + "Shared with me": "Partilhado comigo", "Import files": "Import files", "Recent": "Recent", "Go back": "Voltar", "Go forward": "Avançar", "Could not load shared documents": "Não foi possível carregar documentos favoritos", - "Shared with me": "Partilhado comigo", "Show more": "Mostrar mais", "Link options": "Link options", "Could not load starred documents": "Não foi possível carregar documentos favoritos", - "Starred": "Favoritos", "Up to date": "Em dia", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} versão atrás", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} versões atrás", @@ -615,6 +638,8 @@ "Star document": "Documento favorito", "Select a color": "Escolha uma cor", "Select all": "Selecionar tudo", + "Columns": "Colunas", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "Não foi possível salvar suas alterações.\nTem certeza de que deseja sair?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Selecione algum texto e use o controlo <1> para adicionar espaços reservados que podem ser preenchidos ao criar novos documentos", "You’re editing a template": "Está a alterar um modelo", "Template created, go ahead and customize it": "Modelo criado, já o pode personalizar", @@ -675,8 +700,6 @@ "Paste a link": "Inserir um link", "Delete embed": "Delete embed", "Delete image": "Eliminar imagem", - "Create a new doc": "Criar um novo documento", - "Create a nested doc": "Create a nested doc", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} won't be notified, as they do not have access to this document", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Members of \"{{ groupName }}\" that have access to this document will be notified", "Keep as link": "Keep as link", @@ -726,7 +749,6 @@ "Italic": "Itálico", "Strikethrough": "Riscado", "Background color": "Background color", - "None": "Nenhum", "Highlight": "Destaque", "Code": "Código", "Heading": "Cabeçalho", @@ -743,6 +765,8 @@ "Full width": "Largura total", "Download image": "Transferir imagem", "Edit image URL": "Edit image URL", + "Create a new doc": "Criar um novo documento", + "Create a nested doc": "Create a nested doc", "Default width": "Largura padrão", "Distribute columns": "Distribute columns", "Export as CSV": "Export as CSV", @@ -839,8 +863,8 @@ "{{ usersCount }} users and a group have access_plural": "{{ usersCount }} utilizadores e um grupos com acesso", "{{ usersCount }} users with access": "{{ usersCount }} utilizador com acesso", "{{ usersCount }} users with access_plural": "{{ usersCount }} utilizadores com acesso", - "{{ groupsCount }} groups with access": "{{ usersCount }} grupo com acesso", - "{{ groupsCount }} groups with access_plural": "{{ usersCount }} grupos com acesso", + "{{ groupsCount }} groups with access": "{{ groupsCount }} grupo com acesso", + "{{ groupsCount }} groups with access_plural": "{{ groupsCount }} grupos com acesso", "Overview": "Overview", "Popular": "Popular", "Recently updated": "Atualizado recentemente", @@ -893,14 +917,23 @@ "only you": "apenas você", "person": "pessoa", "people": "pessoas", + "{{ number }} words selected": "{{ number }} word selected", + "{{ number }} words selected_plural": "{{ number }} words selected", + "{{ number }} characters selected": "{{ number }} character selected", + "{{ number }} characters selected_plural": "{{ number }} characters selected", + "{{ number }} words": "{{ number }} word", + "{{ number }} words_plural": "{{ number }} words", + "{{ number }} characters": "{{ number }} character", + "{{ number }} characters_plural": "{{ number }} characters", + "{{ number }} paragraphs": "{{ number }} parágrafo", + "{{ number }} paragraphs_plural": "{{ number }} parágrafos", + "{{ number }} minute read": "{{ number }} minute read", "Document title": "Document title", "Last updated": "Ultima atualização", "Type '/' to insert, or start writing…": "Digite '/' para inserir, ou comece a escrever…", "Hide contents": "Ocultar conteúdo", "Show contents": "Mostrar conteúdo", "available when headings are added": "disponível quando adicionar cabeçalhos", - "Edit {{noun}}": "Editar {{noun}}", - "Archived": "Arquivado", "Save draft": "Guardar rascunho", "Restore version": "Restaurar versão", "{{userName}} archived": "{{userName}} arquivado", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} publicado", "{{userName}} unpublished": "{{userName}} despublicado", "{{userName}} moved": "{{userName}} movido", - "via {{ authType }}": "via {{ authType }}", "Previous version": "Previous version", "Highlight changes": "Highlight changes", "Compare to": "Compare to", @@ -920,23 +952,12 @@ "Revision deleted": "Revision deleted", "Current version": "Versão atual", "{{userName}} edited": "{{userName}} editado", + "via {{ authType }}": "via {{ authType }}", "{{count}} people": "{{count}} person", "{{count}} people_plural": "{{count}} people", "Source": "Fonte", "Created": "Criado", "Imported from {{ source }}": "Importado do {{ source }}", - "Stats": "Estatísticas", - "{{ number }} minute read": "{{ number }} minute read", - "{{ number }} words": "{{ number }} word", - "{{ number }} words_plural": "{{ number }} words", - "{{ number }} characters": "{{ number }} character", - "{{ number }} characters_plural": "{{ number }} characters", - "{{ number }} emoji": "{{ number }} emoji", - "No text selected": "Nenhum texto selecionado", - "{{ number }} words selected": "{{ number }} word selected", - "{{ number }} words selected_plural": "{{ number }} words selected", - "{{ number }} characters selected": "{{ number }} character selected", - "{{ number }} characters selected_plural": "{{ number }} characters selected", "Contributors": "Colaboradores", "Creator": "Autor", "Last edited": "Última alteração", @@ -986,11 +1007,11 @@ "Warning Sign": "Sinal de Aviso", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "Um administrador da área de trabalho ({{ suspendedContactEmail }}) suspendeu a sua conta. Para reativar por favor, entre em contato com ele.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.", + "Documents you’ve recently viewed will be here for easy access": "Documentos que viu recentemente estarão aqui para acesso fácil", "Created by me": "Criado por mim", "Weird, this shouldn't ever be empty": "Weird, this shouldn't ever be empty", "Documents with recent activity will appear here": "Documents with recent activity will appear here", "You haven’t created any documents yet": "Ainda não criou nenhum documento", - "Documents you’ve recently viewed will be here for easy access": "Documentos que viu recentemente estarão aqui para acesso fácil", "{{ count }} invites sent": "{{ count }} invite sent", "{{ count }} invites sent_plural": "{{ count }} invites sent", "Those email addresses are already invited": "Esses endereços de e-mail já foram convidados", @@ -1014,6 +1035,7 @@ "Open document history": "Abrir histórico de documentos", "Jump to search": "Ir para a pesquisa", "Jump to home": "Ir para a início", + "Toggle statistics": "Alternar estatísticas", "Focus search input": "Focar entrada de pesquisa", "Open this guide": "Abrir este guia", "Publish document and exit": "Publicar documento e sair", @@ -1151,7 +1173,6 @@ "Any time": "A qualquer altura", "Remove document filter": "Remover filtro de documento", "Any status": "Qualquer estado", - "Recent searches": "Pesquisas recentes", "Remove search": "Excluir pesquisa", "Relevance": "Relevance", "Newest": "Newest", @@ -1324,6 +1345,8 @@ "All roles": "Todos os papéis", "Admins": "Administradores", "Editors": "Editores", + "Invited by": "Convidado por", + "Joined": "Entrou", "All status": "Todos os estados", "Active": "Activo", "Could not load emojis": "Could not load emojis", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Mostrar números de linha nos blocos de código dos documentos.", "Show comment marker": "Show comment marker", "Display a marker beside lines in the editor that contain comments.": "Display a marker beside lines in the editor that contain comments.", + "Display live word, character, and paragraph counts while editing.": "Exibir contagens em tempo real de palavras, caracteres e parágrafos durante a edição.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "Quando ativo, documentos têm um modo de edição separado. Quando inativo, documentos serão sempre alteráveis quando tiver permissões.", "Remember previous location": "Lembrar localização anterior", "Automatically return to the document you were last viewing when the app is re-opened.": "Automaticamente retornar ao último documento visualizado quando a aplicação for reaberta.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "Partilha atualmente inativa", "You can globally enable and disable public document sharing in the security settings.": "Pode ativar e desativar globalmente a partilha pública de documentos nas configurações de segurança.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Documentos partilhados estão listados abaixo. Qualquer um que tenha a ligação pública pode aceder a uma versão apenas de leitura do documento até que a ligação seja revogada.", - "A template must have content": "A template must have content", + "Couldn’t create the template, try again?": "Não foi possível criar o modelo. Tentar novamente?", "Could not load templates": "Could not load templates", "Templates help your team create consistent and accurate documentation.": "Templates help your team create consistent and accurate documentation.", "No templates have been created yet": "No templates have been created yet", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "Para criar área de trabalho através de outro e-mail, por favor registe-se a partir da página inicial", "Trash emptied": "Lixo esvaziado", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Tem certeza de que deseja excluir permanentemente todos os documentos no lixo? Esta ação é imediata e não pode ser desfeita.", - "Recently deleted": "Eliminados recentemente", + "You’ve not deleted any documents.": "Não eliminou nenhum documento.", + "This user has not deleted any documents.": "Este utilizador não eliminou nenhum documento.", "Trash is empty at the moment.": "A reciclagem encontra-se de momento vazia.", + "Recently deleted": "Eliminados recentemente", + "Deleted by anyone": "Eliminado por qualquer pessoa", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "Um código de confirmação foi enviado para o seu endereço de e-mail, por favor introduza o código em baixo para destruir a sua conta permanentemente.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Tem a certeza? Apagar a sua conta destruirá os dados de identificação associados ao seu utilizador e não poderá ser desfeito. Será imediatamente desligado do {{appName}} e todos os seus tokens de API serão revogados.", "Delete my account": "Eliminar a minha conta", + "Export started": "Exportação iniciada", + "A link to your file will be sent through email soon": "A link to your file will be sent through email soon", + "Preparing your download": "Preparing your download", "Today": "Hoje", "Yesterday": "Ontem", "Last week": "Semana passada", diff --git a/shared/i18n/locales/sv_SE/translation.json b/shared/i18n/locales/sv_SE/translation.json index 2ffa702873..9f7b70c9c6 100644 --- a/shared/i18n/locales/sv_SE/translation.json +++ b/shared/i18n/locales/sv_SE/translation.json @@ -1,7 +1,7 @@ { "New API key": "Ny API-nyckel", "Copy": "Kopiera", - "API key copied": "API key copied", + "API key copied": "API-nyckel kopierad", "Delete": "Radera", "Revoke": "Återkalla", "Revoke API key": "Återkalla API-nyckel", @@ -15,13 +15,13 @@ "Collection permissions": "Behörighet samling", "Share this collection": "Dela denna samling", "Duplicate": "Duplicera", - "Duplicate collection": "Duplicate collection", + "Duplicate collection": "Duplicera samling", "Import documents": "Importera dokument", "Sort in sidebar": "Sortera i sidofältet", "A-Z sort": "Sortera A-Ö", "Z-A sort": "Sortera Ö-A", "Manual sort": "Manuell sortering", - "Open in split view": "Open in split view", + "Open in split view": "Öppna i delad vy", "Search in collection": "Sök i samling", "Star": "Stjärna", "Unstar": "Ta bort stjärnmärkning", @@ -61,9 +61,9 @@ "Development": "Utveckling", "Open document": "Öppna dokument", "New draft": "Nytt utkast", - "Nested document": "Nested document", - "Before": "Before", - "After": "After", + "Nested document": "Inbäddat dokument", + "Before": "Före", + "After": "Efter", "{{ count }} documents starred": "{{ count }} dokument har stjärnmarkerats", "{{ count }} documents starred_plural": "{{ count }} dokument har stjärnmarkerats", "{{ count }} documents unstarred": "{{ count }} dokument har avmarkerats med stjärna", @@ -77,12 +77,14 @@ "{{ count }} documents unpublished_plural": "{{ count }} dokument har avpublicerats", "Subscription inherited from collection": "Prenumeration ärvd från samling", "Share document": "Dela dokument", - "Download": "Ladda ned", - "Download document": "Ladda ner dokument", - "Download as Markdown": "Download as Markdown", - "Download as HTML": "Download as HTML", + "Markdown": "Markdown", + "Download as Markdown": "Ladda ner som Markdown", + "HTML": "HTML", + "Download as HTML": "Ladda ner som HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "Ladda ner som TextBundle", - "Download as PDF": "Download as PDF", + "PDF": "PDF", + "Download as PDF": "Ladda ner som PDF", "Copy as Markdown": "Kopiera som markdown", "Markdown copied to clipboard": "Markdown har kopierats till urklipp", "Copy as text": "Kopiera som text", @@ -103,9 +105,10 @@ "Search in document": "Sök i dokumentet", "Print": "Skriv ut", "Print document": "Skriv ut dokumentet", - "Open in desktop app": "Open in desktop app", - "Present": "Present", - "Present document": "Present document", + "Export document": "Exportera dokument", + "Open in desktop app": "Öppna i skrivbordsapplikation", + "Present": "Presentera", + "Present document": "Presentera dokument", "Templatize": "Mallifiera", "Create template": "Skapa mall", "Open random document": "Öppna slumpvis dokument", @@ -138,6 +141,12 @@ "Comments": "Kommentarer", "History": "Historik", "Insights": "Insikter", + "Show editing stats": "Visa redigeringsstatistik", + "None": "Ingen", + "Multi-level decimal": "Decimaltal på flera nivåer", + "Alphanumeric": "Alfanumerisk", + "Harvard": "Harvard", + "Heading numbering": "Rubriknumrering", "Leave document": "Lämna dokument", "You have left the shared document": "Du har lämnat det delade dokumentet", "Could not leave document": "Kunde inte lämna dokument", @@ -146,7 +155,7 @@ "Upload emoji": "Ladda upp emoji", "Replace": "Ersätt", "Replace image": "Ersätt bild", - "Delete Emoji": "Delete Emoji", + "Delete Emoji": "Radera Emoji", "Members": "Medlemmar", "Edit group": "Redigera grupp", "Delete group": "Radera grupp", @@ -165,7 +174,7 @@ "You have left the group": "Du har lämnat gruppen", "{{userName}} was removed from the group": "{{userName}} togs bort från gruppen", "Disconnect": "Koppla från", - "Disconnect analytics": "Disconnect analytics", + "Disconnect analytics": "Koppla från analys", "Home": "Hem", "Drafts": "Utkast", "Search": "Sök", @@ -195,14 +204,11 @@ "New Application": "Ny applikation", "Delete app": "Ta bort app", "This version of the document was deleted": "Denna version av dokumentet har tagits bort", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Exporterar", - "Markdown": "Markdown", - "Download revision": "Download revision", + "Export revision": "Exportera version", "Dark": "Mörk", "Light": "Ljus", - "Toggle theme": "Toggle theme", + "Toggle theme": "Växla tema", "System": "System", "Appearance": "Utseende", "Change theme": "Ändra tema", @@ -212,24 +218,42 @@ "Go to document": "Gå till dokument", "Revoke link": "Återkalla länk", "Share link revoked": "Delningslänk återkallad", + "{{ count }} share link revoked": "{{ count }} delningslänk återkallad", + "{{ count }} share link revoked_plural": "{{ count }} delningslänkar återkallade", + "Could not revoke {{ count }} share link": "Kunde inte återkalla {{ count }} delningslänk", + "Could not revoke {{ count }} share link_plural": "Kunde inte återkalla {{ count }} delningslänkar", "Switch workspace": "Byt arbetsyta", "Select a workspace": "Välj en arbetsyta", "New workspace": "Ny arbetsyta", "Create a workspace": "Skapa arbetsyta", "Login to workspace": "Logga in till arbetsytan", - "template": "mall", - "Template deleted": "Template deleted", - "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Are you sure about that? Deleting the {{ templateName }} template is permanent.", + "Delete template": "Ta bort mall", + "Delete {{ count }} template": "Ta bort {{ count }} mall", + "Delete {{ count }} template_plural": "Ta bort {{ count }} mallar", + "Template deleted": "Mall borttagen", + "{{ count }} template deleted": "{{ count }} mall har tagits bort", + "{{ count }} template deleted_plural": "{{ count }} mallar har tagits bort", + "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Är du säker på det? Att ta bort mallen {{ templateName }} är permanent.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Är du säker på det? Att ta bort {{ count }} mall är permanent.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Är du säker på det? Att ta bort {{ count }} mallar är permanent.", + "A template must have content": "En mall måste ha innehåll", + "Template published": "Mall publicerad", + "{{ count }} template published": "{{ count }} mall publicerad", + "{{ count }} template published_plural": "{{ count }} mallar publicerade", + "Could not publish {{ count }} template": "Det gick inte att publicera {{ count }} mall", + "Could not publish {{ count }} template_plural": "Det gick inte att publicera {{ count }} mallar", "Move to workspace": "Flytta till arbetsyta", - "Template moved": "Template moved", - "Couldn't move the template, try again?": "Couldn't move the template, try again?", + "Template moved": "Mallen har flyttats", + "Couldn't move the template, try again?": "Kunde inte flytta mallen, försök igen?", "Move to collection": "Flytta till samling", - "Move template": "Move template", - "Print template": "Print template", + "Move template": "Flytta mall", + "{{ count }} template duplicated": "{{ count }} mall duplicerad", + "{{ count }} template duplicated_plural": "{{ count }} mallar duplicerade", + "Print template": "Skriv ut mall", "Invite people": "Bjud in personer", "Invite to workspace": "Bjud in till arbetsytan", "Update role": "Uppdatera roll", - "Change profile picture": "Change profile picture", + "Change profile picture": "Ändra profilbild", "Change name": "Ändra namn", "Change email": "Ändra e-post", "Suspend user": "Stäng av användaren", @@ -239,7 +263,7 @@ "{{ count }} user activated": "{{ count }} användare aktiverad", "{{ count }} user activated_plural": "{{ count }} användare aktiverade", "Resend invite": "Skicka inbjudan igen", - "Invite was resent to {{ userName }}": "Invite was resent to {{ userName }}", + "Invite was resent to {{ userName }}": "Inbjudan skickades igen till {{ userName }}", "{{ count }} invite resent": "{{ count }} inbjudan har skickats igen", "{{ count }} invite resent_plural": "{{ count }} inbjudningar har skickats igen", "Could not resend {{ count }} invite": "Kunde inte skicka {{ count }} inbjudan igen", @@ -253,9 +277,9 @@ "Collection": "Samling", "Collections": "Samlingar", "Debug": "Felsök", - "Date": "Date", + "Date": "Datum", "Document": "Dokument", - "Search results": "Search results", + "Search results": "Sökresultat", "Documents": "Dokument", "Template": "Mall", "Recently viewed": "Nyligen visade", @@ -267,6 +291,7 @@ "People": "Människor", "Share": "Dela", "Workspace": "Arbetsyta", + "Recent searches": "Senaste sökningar", "currently editing": "redigerar just nu", "currently viewing": "tittar just nu", "previously edited": "tidigare redigerad", @@ -274,8 +299,8 @@ "Avatar of {{ name }}": "Avatar för {{ name }}", "Viewers": "Tittare", "Managers": "Managers", - "Manage templates": "Manage templates", - "Choose who can create and edit templates in this collection.": "Choose who can create and edit templates in this collection.", + "Manage templates": "Hantera mallar", + "Choose who can create and edit templates in this collection.": "Välj vilka som kan skapa och redigera mallar i den här samlingen.", "Public document sharing": "Delning av offentliga dokument", "Allow documents within this collection to be shared publicly on the internet.": "Tillåt att dokument inom denna samling delas offentligt på internet.", "Commenting": "Kommenterar", @@ -283,7 +308,7 @@ "Collections are used to group documents and choose permissions": "Samlingar används för att gruppera dokument och välja behörigheter", "Name": "Namn", "The default access for workspace members, you can share with more users or groups later.": "Standardåtkomst för medlemmar i arbetsytan, du kan dela med fler användare eller grupper senare.", - "Advanced options": "Advanced options", + "Advanced options": "Avancerade inställningar", "Saving": "Sparar", "Save": "Spara", "Creating": "Skapar", @@ -292,9 +317,9 @@ "I’m sure – Delete": "Jag är säker – Radera", "Are you sure about that? Deleting the {{collectionName}} collection is permanent and cannot be restored, however all published documents within will be moved to the trash.": "Är du säker på det? Att ta bort {{collectionName}} samlingen är permanent och kan inte återställas, men alla publicerade dokument inom kommer att flyttas till papperskorgen.", "Also, {{collectionName}} is being used as the start view – deleting it will reset the start view to the Home page.": "Dessutom används {{collectionName}} som startvyn – tar bort den kommer att återställa startvyn till startsidan.", - "Duplicating collection": "Duplicating collection", - "A copy of the collection and the documents within it will be created.": "A copy of the collection and the documents within it will be created.", - "Duplicating": "Duplicating", + "Duplicating collection": "Duplicerar samling", + "A copy of the collection and the documents within it will be created.": "En kopia av samlingen och dokumenten i den kommer att skapas.", + "Duplicating": "Duplicerar", "Type a command or search": "Skriv ett kommando eller sök", "Untitled": "Utan titel", "New from template": "Ny från mall", @@ -314,22 +339,22 @@ "Start view": "Startvy", "Install now": "Installera nu", "Deleted Collection": "Raderad samling", - "Collection options": "Collection options", + "Collection options": "Samlingsalternativ", "Document options": "Dokumentalternativ", "Select a location to copy": "Välj en plats att kopiera", "Document copied": "Dokument kopierat", "Couldn’t copy the document, try again?": "Kunde inte kopiera dokumentet, försök igen?", "Include nested documents": "Inkludera nästlade dokument", "Copy to {{ location }}": "Kopiera till {{ location }}", - "Copying": "Copying", + "Copying": "Kopierar", "Search collections & documents": "Sök i samlingar och dokument", - "Search collections": "Search collections", + "Search collections": "Sök samlingar", "No results found": "Inga resultat hittades", "Select a location to move": "Välj en plats att flytta", "Document moved": "Dokument flyttat", "Couldn’t move the document, try again?": "Kunde inte flytta dokumentet, försök igen?", "Move to {{ location }}": "Flytta till {{ location }}", - "Couldn’t move the template, try again?": "Couldn’t move the template, try again?", + "Couldn’t move the template, try again?": "Kunde inte flytta mallen, försök igen?", "Select": "Välj", "New": "Ny", "Only visible to you": "Endast synlig för dig", @@ -358,15 +383,15 @@ "Currently editing": "Redigerar just nu", "Currently viewing": "Visar för närvarande", "Viewed {{ timeAgo }}": "Visades för {{ timeAgo }} sedan", - "Uploading… {{ progress }}%": "Uploading… {{ progress }}%", - "File type not supported. Please use PNG, JPG, GIF, or WebP.": "File type not supported. Please use PNG, JPG, GIF, or WebP.", - "File size too large. Maximum size is {{ size }}.": "File size too large. Maximum size is {{ size }}.", - "Click or drag to replace": "Click or drag to replace", - "Drop the image here": "Drop the image here", - "Click, drop, or paste an image here": "Click, drop, or paste an image here", - "PNG, JPG, GIF, or WebP up to {{ size }}": "PNG, JPG, GIF, or WebP up to {{ size }}", - "Please enter a name for the emoji": "Please enter a name for the emoji", - "Please select an image file": "Please select an image file", + "Uploading… {{ progress }}%": "Laddar upp… {{ progress }}%", + "File type not supported. Please use PNG, JPG, GIF, or WebP.": "Filtypen stöds inte. Använd PNG, JPG, GIF eller WebP.", + "File size too large. Maximum size is {{ size }}.": "Filstorleken är för stor. Den maximala storleken är {{ size }}.", + "Click or drag to replace": "Klicka eller dra för att ersätta", + "Drop the image here": "Släpp bilden här", + "Click, drop, or paste an image here": "Klicka, släpp eller klistra in en bild här", + "PNG, JPG, GIF, or WebP up to {{ size }}": "PNG, JPG, GIF eller WebP upp till {{ size }}", + "Please enter a name for the emoji": "Ange ett namn för emojin", + "Please select an image file": "Välj en bildfil", "Emoji created successfully": "Emoji created successfully", "Uploading": "Laddar upp", "Add emoji": "Lägg till emoji", @@ -389,13 +414,8 @@ "our engineers have been notified": "våra ingenjörer har underrättats", "Clear cache + reload": "Rensa cache + ladda om", "Show detail": "Visa detaljer", - "Export started": "Exportering startad", - "A link to your file will be sent through email soon": "A link to your file will be sent through email soon", - "Preparing your download": "Preparing your download", - "Include child documents": "Include child documents", - "When selected, exporting the document will take extra time.": "När detta är valt tar det längre tid att exportera dokumentet.", - "You will receive an email when it's complete.": "Du kommer att få ett e-postmeddelande när det är klart.", "Exporting the collection may take some time.": "Det kan ta lite tid att exportera samlingen.", + "You will receive an email when it's complete.": "Du kommer att få ett e-postmeddelande när det är klart.", "Include attachments": "Inkludera bilagor", "Including uploaded images and files in the exported data": "Inkluderar uppladdade bilder och filer i den exporterade datan", "Include private collections": "Inkludera privata samlingar", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "View, navigate, or download images in the document", "Zoom in": "Zoom in", "Zoom out": "Zoom out", + "Download": "Ladda ned", "Edit diagram": "Edit diagram", "Close": "Stäng", "Previous": "Föregående", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}h {{ minutes }}m read", "{{ hours }}h read": "{{ hours }}h read", "{{ minutes }}m read": "{{ minutes }}m läst", + "Archived": "Arkiverad", "All members": "Alla medlemmar", "Everyone in the workspace": "Alla i arbetsytan", "{{ count }} member": "{{ count }} medlem", @@ -529,11 +551,12 @@ "Switch to dark": "Växla till mörkt", "Switch to light": "Växla till ljust", "Subscribe to updates": "Subscribe to updates", + "Display settings": "Display settings", + "Edit {{noun}}": "Redigera {{noun}}", "Logo": "Logo", "Add": "Lägg till", "Add or invite": "Lägg till eller bjud in", "Sharing settings updated": "Sharing settings updated", - "Display settings": "Display settings", "Customize how the published document is displayed": "Customize how the published document is displayed", "Image options": "Image options", "Upload": "Ladda upp", @@ -589,16 +612,16 @@ "New nested document": "Nytt nästlat dokument", "No collections": "Inga samlingar", "Hide": "Dölj", + "Starred": "Stjärnmärkt", + "Shared with me": "Delat med mig", "Import files": "Importera filer", "Recent": "Recent", "Go back": "Gå tillbaka", "Go forward": "Gå vidare", "Could not load shared documents": "Kunde inte ladda delade dokument", - "Shared with me": "Delat med mig", "Show more": "Visa mer", "Link options": "Link options", "Could not load starred documents": "Kunde inte ladda stjärnmärkta dokument", - "Starred": "Stjärnmärkt", "Up to date": "Uppdaterad", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} version efter", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} versioner efter", @@ -615,6 +638,8 @@ "Star document": "Stjärnmärk dokument", "Select a color": "Välj en färg", "Select all": "Markera alla", + "Columns": "Kolumner", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "Dina ändringar kunde inte sparas.\nÄr du säker på att du vill lämna sidan?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Markera lite text och använd kontrollen <1> för att lägga till platshållare som kan fyllas i när du skapar nya dokument", "You’re editing a template": "Du redigerar en mall", "Template created, go ahead and customize it": "Mall skapad, gå vidare och anpassa den", @@ -675,8 +700,6 @@ "Paste a link": "Klistra in en länk", "Delete embed": "Ta bort inbäddning", "Delete image": "Ta bort bild", - "Create a new doc": "Skapa nytt dokument", - "Create a nested doc": "Create a nested doc", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} won't be notified, as they do not have access to this document", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Members of \"{{ groupName }}\" that have access to this document will be notified", "Keep as link": "Behåll som länk", @@ -726,7 +749,6 @@ "Italic": "Kursiv", "Strikethrough": "Genomstrykning", "Background color": "Background color", - "None": "Ingen", "Highlight": "Markera", "Code": "Kod", "Heading": "Rubrik", @@ -743,6 +765,8 @@ "Full width": "Full bredd", "Download image": "Hämta bild", "Edit image URL": "Edit image URL", + "Create a new doc": "Skapa nytt dokument", + "Create a nested doc": "Create a nested doc", "Default width": "Standardbredd", "Distribute columns": "Distribute columns", "Export as CSV": "Exportera som CSV", @@ -893,14 +917,23 @@ "only you": "endast dig", "person": "person", "people": "människor", + "{{ number }} words selected": "{{ number }} ord markerade", + "{{ number }} words selected_plural": "{{ number }} ord markerade", + "{{ number }} characters selected": "{{ number }} tecken markerade", + "{{ number }} characters selected_plural": "{{ number }} tecken markerade", + "{{ number }} words": "{{ number }} ord", + "{{ number }} words_plural": "{{ number }} ord", + "{{ number }} characters": "{{ number }} tecken", + "{{ number }} characters_plural": "{{ number }} tecken", + "{{ number }} paragraphs": "{{ number }} stycke", + "{{ number }} paragraphs_plural": "{{ number }} stycken", + "{{ number }} minute read": "{{ number }} minuters läsning", "Document title": "Dokumenttitel", "Last updated": "Senast uppdaterad", "Type '/' to insert, or start writing…": "Skriv '/' för att infoga eller börja skriva…", "Hide contents": "Dölj innehåll", "Show contents": "Visa innehåll", "available when headings are added": "tillgänglig när rubriker läggs till", - "Edit {{noun}}": "Redigera {{noun}}", - "Archived": "Arkiverad", "Save draft": "Spara utkast", "Restore version": "Återställ version", "{{userName}} archived": "{{userName}} arkiverade", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} publicerade", "{{userName}} unpublished": "{{userName}} opublicerade", "{{userName}} moved": "{{userName}} flyttade", - "via {{ authType }}": "via {{ authType }}", "Previous version": "Previous version", "Highlight changes": "Highlight changes", "Compare to": "Compare to", @@ -920,23 +952,12 @@ "Revision deleted": "Revision raderad", "Current version": "Nuvarande version", "{{userName}} edited": "{{userName}} redigerade", + "via {{ authType }}": "via {{ authType }}", "{{count}} people": "{{count}} person", "{{count}} people_plural": "{{count}} people", "Source": "Källa", "Created": "Skapad", "Imported from {{ source }}": "Importerad från {{ source }}", - "Stats": "Statistik", - "{{ number }} minute read": "{{ number }} minuters läsning", - "{{ number }} words": "{{ number }} ord", - "{{ number }} words_plural": "{{ number }} ord", - "{{ number }} characters": "{{ number }} tecken", - "{{ number }} characters_plural": "{{ number }} tecken", - "{{ number }} emoji": "{{ number }} emoji", - "No text selected": "Ingen text har valts", - "{{ number }} words selected": "{{ number }} ord markerade", - "{{ number }} words selected_plural": "{{ number }} ord markerade", - "{{ number }} characters selected": "{{ number }} tecken markerade", - "{{ number }} characters selected_plural": "{{ number }} tecken markerade", "Contributors": "Bidragare", "Creator": "Skapare", "Last edited": "Senast ändrad", @@ -986,11 +1007,11 @@ "Warning Sign": "Varningsskylt", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "En arbetsytaadministratör ({{ suspendedContactEmail }}) har stängt av ditt konto. För att återaktivera ditt konto, vänligen kontakta dem direkt.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Tyvärr, ett okänt fel uppstod när sidan laddades. Försök igen eller kontakta support om problemet kvarstår.", + "Documents you’ve recently viewed will be here for easy access": "Dokument du nyligen har besökt kommer att finnas här för enkel åtkomst", "Created by me": "Skapat av mig", "Weird, this shouldn't ever be empty": "Weird, this shouldn't ever be empty", "Documents with recent activity will appear here": "Documents with recent activity will appear here", "You haven’t created any documents yet": "Du har inte skapat några dokument ännu", - "Documents you’ve recently viewed will be here for easy access": "Dokument du nyligen har besökt kommer att finnas här för enkel åtkomst", "{{ count }} invites sent": "{{ count }} invite sent", "{{ count }} invites sent_plural": "{{ count }} invites sent", "Those email addresses are already invited": "Dessa e-postadresser är redan inbjudna", @@ -1014,6 +1035,7 @@ "Open document history": "Öppna dokumenthistorik", "Jump to search": "Gå till sök", "Jump to home": "Gå till startsidan", + "Toggle statistics": "Växla statistik", "Focus search input": "Fokusera sökinmatning", "Open this guide": "Öppna denna guide", "Publish document and exit": "Publicera dokumentet och avsluta", @@ -1151,7 +1173,6 @@ "Any time": "När som helst", "Remove document filter": "Ta bort dokumentfilter", "Any status": "Valfri status", - "Recent searches": "Senaste sökningar", "Remove search": "Ta bort sökning", "Relevance": "Relevance", "Newest": "Newest", @@ -1324,6 +1345,8 @@ "All roles": "Alla roller", "Admins": "Administratörer", "Editors": "Redigerare", + "Invited by": "Inbjuden av", + "Joined": "Gick med", "All status": "Alla statusar", "Active": "Aktiv", "Could not load emojis": "Could not load emojis", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Visa radnummer på kodblock i dokument.", "Show comment marker": "Show comment marker", "Display a marker beside lines in the editor that contain comments.": "Display a marker beside lines in the editor that contain comments.", + "Display live word, character, and paragraph counts while editing.": "Visa löpande antal ord, tecken och stycken medan du redigerar.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "När detta är aktiverat har dokument har en separat redigeringsläge. När det är inaktiverat kan dokument alltid redigeras när du har behörighet.", "Remember previous location": "Kom ihåg tidigare plats", "Automatically return to the document you were last viewing when the app is re-opened.": "Återvänd automatiskt till det dokument du senast visade när appen öppnas igen.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "Delning är för närvarande inaktiverat.", "You can globally enable and disable public document sharing in the security settings.": "Du kan aktivera och inaktivera offentlig dokumentdelning i säkerhetsinställningar.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Dokument som har delats listas nedan. Vem som helst som har den publika länken kan komma åt en skrivskyddad version av dokumentet tills länken har återkallats.", - "A template must have content": "A template must have content", + "Couldn’t create the template, try again?": "Det gick inte att skapa mallen, försök igen?", "Could not load templates": "Could not load templates", "Templates help your team create consistent and accurate documentation.": "Templates help your team create consistent and accurate documentation.", "No templates have been created yet": "No templates have been created yet", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "För att skapa en arbetsyta under ett annat e-postmeddelande vänligen registrera dig från hemsidan", "Trash emptied": "Papperskorgen tömd", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Är du säker på att du vill ta bort alla dokument i papperskorgen? Denna åtgärd är omedelbar och kan inte ångras.", - "Recently deleted": "Nyligen borttagna", + "You’ve not deleted any documents.": "Du har inte raderat några dokument.", + "This user has not deleted any documents.": "Den här användaren har inte raderat några dokument.", "Trash is empty at the moment.": "Papperskorgen är tom för tillfället.", + "Recently deleted": "Nyligen borttagna", + "Deleted by anyone": "Raderat av vem som helst", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "En bekräftelsekod har skickats till din e-postadress, ange koden nedan för att permanent ta bort ditt konto.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Är du säker? Radering av ditt konto kommer att förstöra identifierande data som är kopplade till din användare och kan inte ångras. Du kommer omedelbart loggas ut från {{appName}} och alla dina API-tokens kommer att återkallas.", "Delete my account": "Radera mitt konto", + "Export started": "Exportering startad", + "A link to your file will be sent through email soon": "A link to your file will be sent through email soon", + "Preparing your download": "Preparing your download", "Today": "Idag", "Yesterday": "I går", "Last week": "Förra veckan", diff --git a/shared/i18n/locales/th_TH/translation.json b/shared/i18n/locales/th_TH/translation.json index 8d19d21938..d461ea0006 100644 --- a/shared/i18n/locales/th_TH/translation.json +++ b/shared/i18n/locales/th_TH/translation.json @@ -1,11 +1,11 @@ { - "New API key": "New API key", - "Copy": "Copy", - "API key copied": "API key copied", + "New API key": "คีย์ API ใหม่", + "Copy": "คัดลอก", + "API key copied": "คัดลอกคีย์ API แล้ว", "Delete": "ลบ", - "Revoke": "Revoke", - "Revoke API key": "Revoke API key", - "Revoke token": "Revoke token", + "Revoke": "เพิกถอน", + "Revoke API key": "เพิกถอนคีย์ API", + "Revoke token": "เพิกถอน Token", "Open collection": "เปิดคอลเลคชั่น", "New collection": "คอลเลกชันใหม่", "Create a collection": "สร้างคอลเลกชัน", @@ -15,17 +15,17 @@ "Collection permissions": "สิทธิ์ของคอลเลกชัน", "Share this collection": "แชร์คอลเล็กชันนี้", "Duplicate": "ทำสำเนา", - "Duplicate collection": "Duplicate collection", + "Duplicate collection": "คัดลอกคอลเลกชัน", "Import documents": "นำเข้าเอกสาร", "Sort in sidebar": "เรียงในแถบด้านข้าง", - "A-Z sort": "A-Z sort", - "Z-A sort": "Z-A sort", + "A-Z sort": "เรียงลำดับ A-Z", + "Z-A sort": "เรียงลำดับ Z-A", "Manual sort": "เรียงลำดับด้วยตนเอง", - "Open in split view": "Open in split view", + "Open in split view": "เปิดในมุมมองแบบแยก", "Search in collection": "ค้นหาจากคอลเลกชัน", "Star": "ติดดาว", "Unstar": "เลิกติดดาว", - "Subscribe": "Subscribe", + "Subscribe": "สมัครรับข้อมูล", "Subscribed to document notifications": "Subscribed to document notifications", "Unsubscribe": "Unsubscribe", "Unsubscribed from document notifications": "Unsubscribed from document notifications", @@ -62,26 +62,28 @@ "Open document": "เปิดเอกสาร", "New draft": "New draft", "Nested document": "Nested document", - "Before": "Before", - "After": "After", + "Before": "ก่อนหน้า", + "After": "หลังจาก", "{{ count }} documents starred": "{{ count }} เอกสารถูกติดดาวแล้ว", "{{ count }} documents starred_plural": "{{ count }} เอกสารถูกติดดาวแล้ว", "{{ count }} documents unstarred": "{{ count }} เอกสารถูกเลิกติดดาวแล้ว", "{{ count }} documents unstarred_plural": "{{ count }} เอกสารถูกเลิกติดดาวแล้ว", - "Publish": "Publish", - "Published {{ documentName }}": "Published {{ documentName }}", - "Publish document": "Publish document", + "Publish": "เผยแพร่", + "Published {{ documentName }}": "เผยแพร่ {{ documentName }}", + "Publish document": "เผยแพร่เอกสาร", "Unpublish": "หยุดเผยแพร่", "Unpublished {{ documentName }}": "Unpublished {{ documentName }}", "{{ count }} documents unpublished": "{{ count }} เอกสารถูกยกเลิกการเผยแพร่แล้ว", "{{ count }} documents unpublished_plural": "{{ count }} เอกสารถูกยกเลิกการเผยแพร่แล้ว", "Subscription inherited from collection": "Subscription inherited from collection", "Share document": "Share document", - "Download": "ดาวน์โหลด", - "Download document": "ดาวน์โหลดเอกสาร", + "Markdown": "Markdown", "Download as Markdown": "Download as Markdown", + "HTML": "HTML", "Download as HTML": "Download as HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "ดาวน์โหลดเป็น TextBundle", + "PDF": "PDF", "Download as PDF": "Download as PDF", "Copy as Markdown": "Copy as Markdown", "Markdown copied to clipboard": "Markdown copied to clipboard", @@ -103,6 +105,7 @@ "Search in document": "Search in document", "Print": "พิมพ์", "Print document": "พิมพ์เอกสาร", + "Export document": "ส่งออกเอกสาร", "Open in desktop app": "Open in desktop app", "Present": "Present", "Present document": "Present document", @@ -138,6 +141,12 @@ "Comments": "Comments", "History": "ประวัติ", "Insights": "Insights", + "Show editing stats": "แสดงสถิติการแก้ไข", + "None": "None", + "Multi-level decimal": "ทศนิยมหลายระดับ", + "Alphanumeric": "ตัวอักษรและตัวเลข", + "Harvard": "ฮาร์วาร์ด", + "Heading numbering": "การกำหนดหมายเลขหัวเรื่อง", "Leave document": "Leave document", "You have left the shared document": "You have left the shared document", "Could not leave document": "Could not leave document", @@ -195,11 +204,8 @@ "New Application": "New Application", "Delete app": "Delete app", "This version of the document was deleted": "This version of the document was deleted", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Exporting", - "Markdown": "Markdown", - "Download revision": "Download revision", + "Export revision": "ส่งออกฉบับแก้ไข", "Dark": "มืด", "Light": "สว่าง", "Toggle theme": "Toggle theme", @@ -212,19 +218,37 @@ "Go to document": "Go to document", "Revoke link": "Revoke link", "Share link revoked": "Share link revoked", + "{{ count }} share link revoked": "ลิงก์แชร์ {{ count }} รายการถูกเพิกถอน", + "{{ count }} share link revoked_plural": "ลิงก์แชร์ {{ count }} รายการถูกเพิกถอน", + "Could not revoke {{ count }} share link": "ไม่สามารถเพิกถอนลิงก์แชร์ {{ count }} รายการได้", + "Could not revoke {{ count }} share link_plural": "ไม่สามารถเพิกถอนลิงก์แชร์ {{ count }} รายการได้", "Switch workspace": "Switch workspace", "Select a workspace": "Select a workspace", "New workspace": "New workspace", "Create a workspace": "Create a workspace", "Login to workspace": "Login to workspace", - "template": "template", + "Delete template": "ลบเทมเพลต", + "Delete {{ count }} template": "ลบเทมเพลต {{ count }} รายการ", + "Delete {{ count }} template_plural": "ลบเทมเพลต {{ count }} รายการ", "Template deleted": "Template deleted", + "{{ count }} template deleted": "ลบเทมเพลต {{ count }} รายการแล้ว", + "{{ count }} template deleted_plural": "ลบเทมเพลต {{ count }} รายการแล้ว", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Are you sure about that? Deleting the {{ templateName }} template is permanent.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "คุณแน่ใจหรือไม่? การลบเทมเพลต {{ count }} รายการเป็นการดำเนินการถาวร", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "คุณแน่ใจหรือไม่? การลบเทมเพลต {{ count }} รายการเป็นการดำเนินการถาวร", + "A template must have content": "A template must have content", + "Template published": "เผยแพร่เทมเพลตแล้ว", + "{{ count }} template published": "เผยแพร่เทมเพลต {{ count }} รายการแล้ว", + "{{ count }} template published_plural": "เผยแพร่เทมเพลต {{ count }} รายการแล้ว", + "Could not publish {{ count }} template": "ไม่สามารถเผยแพร่เทมเพลต {{ count }} รายการได้", + "Could not publish {{ count }} template_plural": "ไม่สามารถเผยแพร่เทมเพลต {{ count }} รายการได้", "Move to workspace": "Move to workspace", "Template moved": "Template moved", "Couldn't move the template, try again?": "Couldn't move the template, try again?", "Move to collection": "Move to collection", "Move template": "Move template", + "{{ count }} template duplicated": "ทำสำเนาเทมเพลต {{ count }} รายการแล้ว", + "{{ count }} template duplicated_plural": "ทำสำเนาเทมเพลต {{ count }} รายการแล้ว", "Print template": "Print template", "Invite people": "เชิญผู้คน", "Invite to workspace": "Invite to workspace", @@ -267,6 +291,7 @@ "People": "บุคคล", "Share": "Share", "Workspace": "Workspace", + "Recent searches": "การค้นหาเมื่อเร็ว ๆ นี้", "currently editing": "กำลังแก้ไขอยู่", "currently viewing": "กำลังดูอยู่", "previously edited": "แก้ไขก่อนหน้านี้", @@ -389,13 +414,8 @@ "our engineers have been notified": "วิศวกรของเราได้รับแจ้งแล้ว", "Clear cache + reload": "Clear cache + reload", "Show detail": "แสดงรายละเอียด", - "Export started": "Export started", - "A link to your file will be sent through email soon": "A link to your file will be sent through email soon", - "Preparing your download": "Preparing your download", - "Include child documents": "Include child documents", - "When selected, exporting the document will take extra time.": "เมื่อเลือกไว้ การส่งออกเอกสารจะใช้เวลานานขึ้น", - "You will receive an email when it's complete.": "You will receive an email when it's complete.", "Exporting the collection may take some time.": "การส่งออกคอลเลกชันอาจใช้เวลาสักครู่", + "You will receive an email when it's complete.": "You will receive an email when it's complete.", "Include attachments": "Include attachments", "Including uploaded images and files in the exported data": "Including uploaded images and files in the exported data", "Include private collections": "Include private collections", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "View, navigate, or download images in the document", "Zoom in": "Zoom in", "Zoom out": "Zoom out", + "Download": "ดาวน์โหลด", "Edit diagram": "Edit diagram", "Close": "Close", "Previous": "Previous", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}h {{ minutes }}m read", "{{ hours }}h read": "{{ hours }}h read", "{{ minutes }}m read": "{{ minutes }}m read", + "Archived": "Archived", "All members": "All members", "Everyone in the workspace": "Everyone in the workspace", "{{ count }} member": "{{ count }} member", @@ -529,11 +551,12 @@ "Switch to dark": "Switch to dark", "Switch to light": "Switch to light", "Subscribe to updates": "Subscribe to updates", + "Display settings": "Display settings", + "Edit {{noun}}": "Edit {{noun}}", "Logo": "โลโก้", "Add": "เพิ่ม", "Add or invite": "Add or invite", "Sharing settings updated": "Sharing settings updated", - "Display settings": "Display settings", "Customize how the published document is displayed": "Customize how the published document is displayed", "Image options": "Image options", "Upload": "Upload", @@ -589,16 +612,16 @@ "New nested document": "เอกสารย่อยใหม่", "No collections": "No collections", "Hide": "ซ่อน", + "Starred": "ติดดาว", + "Shared with me": "Shared with me", "Import files": "Import files", "Recent": "Recent", "Go back": "Go back", "Go forward": "Go forward", "Could not load shared documents": "Could not load shared documents", - "Shared with me": "Shared with me", "Show more": "แสดงเพิ่มเติม", "Link options": "Link options", "Could not load starred documents": "Could not load starred documents", - "Starred": "ติดดาว", "Up to date": "Up to date", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} version behind", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} versions behind", @@ -615,6 +638,8 @@ "Star document": "Star document", "Select a color": "Select a color", "Select all": "เลือกทั้งหมด", + "Columns": "คอลัมน์", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "ไม่สามารถบันทึกการเปลี่ยนแปลงของคุณได้\nคุณแน่ใจหรือไม่ว่าต้องการออก?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents", "You’re editing a template": "You’re editing a template", "Template created, go ahead and customize it": "สร้างเทมเพลตแล้ว ปรับแต่งได้เลย", @@ -675,8 +700,6 @@ "Paste a link": "วางลิงก์", "Delete embed": "Delete embed", "Delete image": "ลบรูป", - "Create a new doc": "สร้างเอกสารใหม่", - "Create a nested doc": "Create a nested doc", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} won't be notified, as they do not have access to this document", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Members of \"{{ groupName }}\" that have access to this document will be notified", "Keep as link": "Keep as link", @@ -726,7 +749,6 @@ "Italic": "ตัวเอียง", "Strikethrough": "ขีดเส้นทับข้อความ", "Background color": "Background color", - "None": "None", "Highlight": "ไฮไลท์", "Code": "Code", "Heading": "หัวเรื่อง", @@ -743,6 +765,8 @@ "Full width": "ความกว้างเต็ม", "Download image": "ดาวน์โหลดภาพ", "Edit image URL": "Edit image URL", + "Create a new doc": "สร้างเอกสารใหม่", + "Create a nested doc": "Create a nested doc", "Default width": "Default width", "Distribute columns": "Distribute columns", "Export as CSV": "Export as CSV", @@ -893,14 +917,23 @@ "only you": "คุณเท่านั้น", "person": "บุคคล", "people": "ผู้คน", + "{{ number }} words selected": "{{ number }} word selected", + "{{ number }} words selected_plural": "{{ number }} words selected", + "{{ number }} characters selected": "{{ number }} character selected", + "{{ number }} characters selected_plural": "{{ number }} characters selected", + "{{ number }} words": "{{ number }} word", + "{{ number }} words_plural": "{{ number }} words", + "{{ number }} characters": "{{ number }} character", + "{{ number }} characters_plural": "{{ number }} characters", + "{{ number }} paragraphs": "{{ number }} ย่อหน้า", + "{{ number }} paragraphs_plural": "{{ number }} ย่อหน้า", + "{{ number }} minute read": "{{ number }} minute read", "Document title": "Document title", "Last updated": "Last updated", "Type '/' to insert, or start writing…": "Type '/' to insert, or start writing…", "Hide contents": "Hide contents", "Show contents": "Show contents", "available when headings are added": "available when headings are added", - "Edit {{noun}}": "Edit {{noun}}", - "Archived": "Archived", "Save draft": "Save draft", "Restore version": "Restore version", "{{userName}} archived": "{{userName}} เก็บเข้าที่เก็บถาวร", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} published", "{{userName}} unpublished": "{{userName}} unpublished", "{{userName}} moved": "{{userName}} moved", - "via {{ authType }}": "ผ่าน {{ authType }}", "Previous version": "Previous version", "Highlight changes": "Highlight changes", "Compare to": "Compare to", @@ -920,23 +952,12 @@ "Revision deleted": "Revision deleted", "Current version": "เวอร์ชันปัจจุบัน", "{{userName}} edited": "{{userName}} ทำการปรับปรุง", + "via {{ authType }}": "ผ่าน {{ authType }}", "{{count}} people": "{{count}} person", "{{count}} people_plural": "{{count}} people", "Source": "Source", "Created": "Created", "Imported from {{ source }}": "Imported from {{ source }}", - "Stats": "Stats", - "{{ number }} minute read": "{{ number }} minute read", - "{{ number }} words": "{{ number }} word", - "{{ number }} words_plural": "{{ number }} words", - "{{ number }} characters": "{{ number }} character", - "{{ number }} characters_plural": "{{ number }} characters", - "{{ number }} emoji": "{{ number }} emoji", - "No text selected": "No text selected", - "{{ number }} words selected": "{{ number }} word selected", - "{{ number }} words selected_plural": "{{ number }} words selected", - "{{ number }} characters selected": "{{ number }} character selected", - "{{ number }} characters selected_plural": "{{ number }} characters selected", "Contributors": "Contributors", "Creator": "Creator", "Last edited": "Last edited", @@ -986,11 +1007,11 @@ "Warning Sign": "Warning Sign", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.", + "Documents you’ve recently viewed will be here for easy access": "Documents you’ve recently viewed will be here for easy access", "Created by me": "Created by me", "Weird, this shouldn't ever be empty": "Weird, this shouldn't ever be empty", "Documents with recent activity will appear here": "Documents with recent activity will appear here", "You haven’t created any documents yet": "You haven’t created any documents yet", - "Documents you’ve recently viewed will be here for easy access": "Documents you’ve recently viewed will be here for easy access", "{{ count }} invites sent": "{{ count }} invite sent", "{{ count }} invites sent_plural": "{{ count }} invites sent", "Those email addresses are already invited": "Those email addresses are already invited", @@ -1014,6 +1035,7 @@ "Open document history": "Open document history", "Jump to search": "Jump to search", "Jump to home": "Jump to home", + "Toggle statistics": "สลับการแสดงสถิติ", "Focus search input": "Focus search input", "Open this guide": "Open this guide", "Publish document and exit": "Publish document and exit", @@ -1151,7 +1173,6 @@ "Any time": "Any time", "Remove document filter": "Remove document filter", "Any status": "Any status", - "Recent searches": "การค้นหาเมื่อเร็ว ๆ นี้", "Remove search": "Remove search", "Relevance": "Relevance", "Newest": "Newest", @@ -1324,6 +1345,8 @@ "All roles": "All roles", "Admins": "Admins", "Editors": "Editors", + "Invited by": "ได้รับเชิญโดย", + "Joined": "เข้าร่วมแล้ว", "All status": "All status", "Active": "Active", "Could not load emojis": "Could not load emojis", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Show line numbers on code blocks in documents.", "Show comment marker": "Show comment marker", "Display a marker beside lines in the editor that contain comments.": "Display a marker beside lines in the editor that contain comments.", + "Display live word, character, and paragraph counts while editing.": "แสดงจำนวนคำ อักขระ และย่อหน้าแบบสดขณะแก้ไข", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.", "Remember previous location": "Remember previous location", "Automatically return to the document you were last viewing when the app is re-opened.": "Automatically return to the document you were last viewing when the app is re-opened.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "Sharing is currently disabled.", "You can globally enable and disable public document sharing in the security settings.": "You can globally enable and disable public document sharing in the security settings.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.", - "A template must have content": "A template must have content", + "Couldn’t create the template, try again?": "ไม่สามารถสร้างเทมเพลตได้ ต้องการลองอีกครั้งหรือไม่?", "Could not load templates": "Could not load templates", "Templates help your team create consistent and accurate documentation.": "Templates help your team create consistent and accurate documentation.", "No templates have been created yet": "No templates have been created yet", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "To create a workspace under another email please sign up from the homepage", "Trash emptied": "Trash emptied", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.", - "Recently deleted": "Recently deleted", + "You’ve not deleted any documents.": "คุณยังไม่ได้ลบเอกสารใดๆ", + "This user has not deleted any documents.": "ผู้ใช้นี้ยังไม่ได้ลบเอกสารใดๆ", "Trash is empty at the moment.": "Trash is empty at the moment.", + "Recently deleted": "Recently deleted", + "Deleted by anyone": "ถูกลบโดยใครก็ได้", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.", "Delete my account": "Delete my account", + "Export started": "Export started", + "A link to your file will be sent through email soon": "A link to your file will be sent through email soon", + "Preparing your download": "Preparing your download", "Today": "Today", "Yesterday": "Yesterday", "Last week": "Last week", diff --git a/shared/i18n/locales/tr_TR/translation.json b/shared/i18n/locales/tr_TR/translation.json index b965d9d6bf..616db352a8 100644 --- a/shared/i18n/locales/tr_TR/translation.json +++ b/shared/i18n/locales/tr_TR/translation.json @@ -1,7 +1,7 @@ { "New API key": "Yeni API Anahtarı", "Copy": "Kopyala", - "API key copied": "API key copied", + "API key copied": "API anahtarı kopyalandı", "Delete": "Sil", "Revoke": "İptal et", "Revoke API key": "API anahtarını iptal et", @@ -15,13 +15,13 @@ "Collection permissions": "Koleksiyon izinleri", "Share this collection": "Bu koleksiyonu paylaş", "Duplicate": "Çoğalt", - "Duplicate collection": "Duplicate collection", + "Duplicate collection": "Koleksiyonu çoğalt", "Import documents": "Belgeleri içeri aktar", "Sort in sidebar": "Kenar çubuğunda sırala", "A-Z sort": "A-Z sıralama", "Z-A sort": "Z-A sıralama", "Manual sort": "Manuel sıralama", - "Open in split view": "Open in split view", + "Open in split view": "Bölünmüş görünümde aç", "Search in collection": "Koleksiyonda ara", "Star": "Yıldızla", "Unstar": "Yıldızı kaldır", @@ -76,12 +76,14 @@ "{{ count }} documents unpublished": "{{ count }} belgenin yayını kaldırıldı", "{{ count }} documents unpublished_plural": "{{ count }} belgenin yayını kaldırıldı", "Subscription inherited from collection": "Abonelik koleksiyondan miras alındı", - "Share document": "Share document", - "Download": "İndir", - "Download document": "Belgeyi indir", + "Share document": "Belgeyi paylaş", + "Markdown": "Markdown", "Download as Markdown": "Markdown olarak indir", + "HTML": "HTML", "Download as HTML": "HTML olarak indir", + "TextBundle": "TextBundle", "Download as TextBundle": "TextBundle olarak indir", + "PDF": "PDF", "Download as PDF": "PDF olarak indir", "Copy as Markdown": "Markdown olarak Kopyala", "Markdown copied to clipboard": "Markdown panoya kopyalandı", @@ -103,6 +105,7 @@ "Search in document": "Belgede ara", "Print": "Yazdır", "Print document": "Belgeyi yazdır", + "Export document": "Belgeyi dışa aktar", "Open in desktop app": "Masaüstü uygulamasında aç", "Present": "Sun", "Present document": "Belgeyi sun", @@ -138,6 +141,12 @@ "Comments": "Yorumlar", "History": "Geçmiş", "Insights": "Analizler", + "Show editing stats": "Düzenleme istatistiklerini göster", + "None": "Hiçbiri", + "Multi-level decimal": "Çok düzeyli ondalık", + "Alphanumeric": "Alfasayısal", + "Harvard": "Harvard", + "Heading numbering": "Başlık numaralandırması", "Leave document": "Belgeden ayrıl", "You have left the shared document": "Paylaşılan belgeden ayrıldınız", "Could not leave document": "Belgeden ayrılamadı", @@ -146,7 +155,7 @@ "Upload emoji": "Emoji yükle", "Replace": "Değiştir", "Replace image": "Görseli değiştir", - "Delete Emoji": "Delete Emoji", + "Delete Emoji": "Emojiyi sil", "Members": "Üyeler", "Edit group": "Grubu düzenle", "Delete group": "Grubu sil", @@ -195,11 +204,8 @@ "New Application": "Yeni Uygulama", "Delete app": "Uygulamayı sil", "This version of the document was deleted": "Belgenin bu sürümü silindi", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Dışa aktarılıyor", - "Markdown": "Markdown", - "Download revision": "", + "Export revision": "Sürümü dışa aktar", "Dark": "Koyu", "Light": "Açık", "Toggle theme": "Temayı değiştir", @@ -212,24 +218,42 @@ "Go to document": "Belgeye geri dön", "Revoke link": "Bağlantıyı iptal et", "Share link revoked": "Paylaşım bağlantısı iptal edildi", + "{{ count }} share link revoked": "{{ count }} paylaşım bağlantısı iptal edildi", + "{{ count }} share link revoked_plural": "{{ count }} paylaşım bağlantısı iptal edildi", + "Could not revoke {{ count }} share link": "{{ count }} paylaşım bağlantısı iptal edilemedi", + "Could not revoke {{ count }} share link_plural": "{{ count }} paylaşım bağlantısı iptal edilemedi", "Switch workspace": "Çalışma Alanını Değiştir", "Select a workspace": "Bir çalışma alanı seçin", "New workspace": "Yeni çalışma alanı", "Create a workspace": "Bir çalışma alanı oluştur", "Login to workspace": "Çalışma alanına giriş yap", - "template": "şablon", + "Delete template": "Şablonu sil", + "Delete {{ count }} template": "{{ count }} şablonu sil", + "Delete {{ count }} template_plural": "{{ count }} şablonu sil", "Template deleted": "Şablon silindi", + "{{ count }} template deleted": "{{ count }} şablon silindi", + "{{ count }} template deleted_plural": "{{ count }} şablon silindi", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Bu işlemi yapmak istediğinizden emin misiniz? {{ templateName }} şablonu kalıcı olarak silinecektir.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Bunu yapmak istediğinizden emin misiniz? {{ count }} şablonu silmek kalıcıdır.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Bunu yapmak istediğinizden emin misiniz? {{ count }} şablonu silmek kalıcıdır.", + "A template must have content": "Şablonun içeriği olmalıdır", + "Template published": "Şablon yayımlandı", + "{{ count }} template published": "{{ count }} şablon yayımlandı", + "{{ count }} template published_plural": "{{ count }} şablon yayımlandı", + "Could not publish {{ count }} template": "{{ count }} şablon yayımlanamadı", + "Could not publish {{ count }} template_plural": "{{ count }} şablon yayımlanamadı", "Move to workspace": "Çalışma alanına taşı", "Template moved": "Şablon taşındı", "Couldn't move the template, try again?": "Şablon taşınamadı, tekrar deneyin?", "Move to collection": "Koleksiyona taşı", "Move template": "Şablonu taşı", + "{{ count }} template duplicated": "{{ count }} şablon kopyalandı", + "{{ count }} template duplicated_plural": "{{ count }} şablon kopyalandı", "Print template": "Şablonu yazdır", "Invite people": "Kişileri davet et", "Invite to workspace": "Çalışma alanına davet et", "Update role": "Rolü güncelle", - "Change profile picture": "Change profile picture", + "Change profile picture": "Profil resmini değiştir", "Change name": "Adı değiştir", "Change email": "E-postayı değiştir", "Suspend user": "Kullanıcıyı askıya al", @@ -239,7 +263,7 @@ "{{ count }} user activated": "{{ count }} kullanıcı etkinleştirildi", "{{ count }} user activated_plural": "{{ count }} kullanıcı etkinleştirildi", "Resend invite": "Daveti tekrar gönder", - "Invite was resent to {{ userName }}": "Invite was resent to {{ userName }}", + "Invite was resent to {{ userName }}": "Davet {{ userName }} kullanıcısına yeniden gönderildi", "{{ count }} invite resent": "{{ count }} davet yeniden gönderildi", "{{ count }} invite resent_plural": "{{ count }} davet yeniden gönderildi", "Could not resend {{ count }} invite": "{{ count }} davet yeniden gönderilemedi", @@ -253,20 +277,21 @@ "Collection": "Koleksiyon", "Collections": "Koleksiyonlar", "Debug": "Hata ayıklama", - "Date": "Date", + "Date": "Tarih", "Document": "Belge", "Search results": "Arama sonuçları", "Documents": "Belgeler", "Template": "Şablon", "Recently viewed": "Son görüntülenenler", "Revision": "Revizyon", - "Navigation": "Navigasyon", + "Navigation": "Gezinme", "Notification": "Bildirim", "Groups": "Gruplar", "Emoji": "Emoji", "People": "Kullanıcılar", "Share": "Paylaş", "Workspace": "Çalışma Alanı", + "Recent searches": "Son aramalar", "currently editing": "şu anda düzenliyor", "currently viewing": "şu anda izleniyor", "previously edited": "önceden düzenlendi", @@ -292,9 +317,9 @@ "I’m sure – Delete": "Eminim – Sil!", "Are you sure about that? Deleting the {{collectionName}} collection is permanent and cannot be restored, however all published documents within will be moved to the trash.": "Bundan emin misiniz? {{collectionName}} koleksiyonunu silmek kalıcıdır ve geri alınamaz, ancak içindeki tüm yayımlanan belgeler çöp kutusuna taşınacaktır.", "Also, {{collectionName}} is being used as the start view – deleting it will reset the start view to the Home page.": "Ayrıca, başlangıç görünümü olarak {{collectionName}} kullanılıyor - silinmesi, başlangıç görünümünü Ana sayfaya sıfırlayacaktır.", - "Duplicating collection": "Duplicating collection", - "A copy of the collection and the documents within it will be created.": "A copy of the collection and the documents within it will be created.", - "Duplicating": "Duplicating", + "Duplicating collection": "Koleksiyon çoğaltılıyor", + "A copy of the collection and the documents within it will be created.": "Koleksiyonun ve içindeki belgelerin bir kopyası oluşturulacaktır.", + "Duplicating": "Çoğaltılıyor", "Type a command or search": "Bir komut yazın veya arayın", "Untitled": "Başlıksız", "New from template": "Şablondan yeni", @@ -358,7 +383,7 @@ "Currently editing": "Şu anda düzenliyor", "Currently viewing": "Şu anda görüntülüyor", "Viewed {{ timeAgo }}": "{{ timeAgo }} tarihinde görüntülendi", - "Uploading… {{ progress }}%": "Uploading… {{ progress }}%", + "Uploading… {{ progress }}%": "Yükleniyor… {{ progress }}%", "File type not supported. Please use PNG, JPG, GIF, or WebP.": "Dosya türü desteklenmiyor. Lütfen PNG, JPG, GIF veya WebP kullanın.", "File size too large. Maximum size is {{ size }}.": "Dosya boyutu çok yüksek. Maksimum boyutu {{ size }} olmalıdır.", "Click or drag to replace": "Değiştirmek için tıklayın veya sürükleyin", @@ -370,15 +395,15 @@ "Emoji created successfully": "Emoji başarıyla oluşturuldu", "Uploading": "Yükleniyor", "Add emoji": "Emoji ekle", - "Square images with transparent backgrounds work best. If your image is too large, we'll try to resize it for you.": "Square images with transparent backgrounds work best. If your image is too large, we'll try to resize it for you.", + "Square images with transparent backgrounds work best. If your image is too large, we'll try to resize it for you.": "Şeffaf arka planlı kare görseller en iyi sonucu verir. Görseliniz çok büyükse, sizin için yeniden boyutlandırmayı deneyeceğiz.", "Upload an image": "Bir görsel yükle", "Choose a name": "Bir isim seçin", "name can only contain lowercase letters, numbers, and underscores.": "ad yalnızca küçük harf, sayı ve alt çizgi içerebilir.", "This emoji will be available as": "Bu emoji şu şekilde kullanılabilir olacak", - "Emoji deleted": "Emoji deleted", - "Are you sure you want to delete the {{emojiName}} emoji? You will no longer be able to use it in your documents or collections.": "Are you sure you want to delete the {{emojiName}} emoji? You will no longer be able to use it in your documents or collections.", - "Emoji replaced": "Emoji replaced", - "Upload a new image to replace the current one for {{emojiName}}. All existing uses of this emoji will be updated automatically.": "Upload a new image to replace the current one for {{emojiName}}. All existing uses of this emoji will be updated automatically.", + "Emoji deleted": "Emoji silindi", + "Are you sure you want to delete the {{emojiName}} emoji? You will no longer be able to use it in your documents or collections.": "{{emojiName}} emojisini silmek istediğinizden emin misiniz? Artık bu emojiyi belgelerinizde veya koleksiyonlarınızda kullanamayacaksınız.", + "Emoji replaced": "Emoji değiştirildi", + "Upload a new image to replace the current one for {{emojiName}}. All existing uses of this emoji will be updated automatically.": "{{emojiName}} için mevcut görselin yerine yeni bir görsel yükleyin. Bu emojinin mevcut tüm kullanımları otomatik olarak güncellenecektir.", "Module failed to load": "Modül yüklenemedi", "Loading Failed": "Yükleme Başarısız Oldu", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Maalesef uygulamanın bir kısmı yüklenemedi. Bunun nedeni, sekmeyi açtığınızdan beri güncellenmiş olması veya başarısız bir ağ isteği olabilir. Lütfen yeniden yüklemeyi deneyin.", @@ -389,13 +414,8 @@ "our engineers have been notified": "mühendislerimiz bilgilendirildi", "Clear cache + reload": "Önbelleği temizle + yeniden yükle", "Show detail": "Detayı göster", - "Export started": "Dışa aktarma başladı", - "A link to your file will be sent through email soon": "Dosyanızın bağlantısı yakında e-posta yoluyla gönderilecek", - "Preparing your download": "İndirme işleminiz hazırlanıyor", - "Include child documents": "Alt belgeleri dahil et", - "When selected, exporting the document will take extra time.": "Seçildiğinde, belgenin dışa aktarılması daha uzun sürecektir.", - "You will receive an email when it's complete.": "Tamamlandığında bir e-posta alacaksınız.", "Exporting the collection may take some time.": "Koleksiyonu dışa aktarmak biraz zaman alabilir.", + "You will receive an email when it's complete.": "Tamamlandığında bir e-posta alacaksınız.", "Include attachments": "Eklentileri dahil et", "Including uploaded images and files in the exported data": "Dışa aktarılan verilere yüklenen görseller ve dosyalar dahil ediliyor", "Include private collections": "Özel koleksiyonları dahil et", @@ -405,7 +425,7 @@ "Filter options": "Filtre seçenekleri", "Filter": "Filtrele", "No results": "Sonuç bulunamadı", - "Close pane": "Close pane", + "Close pane": "Paneli kapat", "{{ count }} members": "{{ count }} üye", "{{ count }} members_plural": "{{ count }} üye", "{{authorName}} created <3>": "{{authorName}} <3> oluşturdu", @@ -443,16 +463,17 @@ "Can edit": "Düzenleyebilir", "No access": "Erişim yok", "Permission": "İzin", - "or": "or", - "plus": "plus", - "then": "then", + "or": "veya", + "plus": "artı", + "then": "ardından", "Change Language": "Dili Değiştir", "Dismiss": "Yoksay", "Unable to download image": "Görsel indirilemedi", - "Lightbox": "Işık kutusu", + "Lightbox": "Görsel görüntüleyici", "View, navigate, or download images in the document": "Belgedeki görselleri görüntüleyin, gezinin veya indirin", "Zoom in": "Yakınlaştır", "Zoom out": "Uzaklaştır", + "Download": "İndir", "Edit diagram": "Diyagramı düzenle", "Close": "Kapat", "Previous": "Önceki", @@ -466,15 +487,15 @@ "{{ count }} selected": "{{ count }} seçildi", "{{ count }} selected_plural": "{{ count }} seçildi", "Clear selection": "Seçimi temizle", - "Can view the document": "Can view the document", - "Can view and edit the document": "Can view and edit the document", + "Can view the document": "Belgeyi görüntüleyebilir", + "Can view and edit the document": "Belgeyi görüntüleyebilir ve düzenleyebilir", "Manage": "Yönet", - "Full access including sharing": "Full access including sharing", + "Full access including sharing": "Paylaşım dahil tam erişim", "Permissions for {{ userName }} updated": "{{ userName }} için izinler güncellendi", - "Failed to approve access request": "Failed to approve access request", - "Access request dismissed": "Access request dismissed", - "Failed to dismiss access request": "Failed to dismiss access request", - "Approve": "Approve", + "Failed to approve access request": "Erişim isteği onaylanamadı", + "Access request dismissed": "Erişim isteği reddedildi", + "Failed to dismiss access request": "Erişim isteği reddedilemedi", + "Approve": "Onayla", "Notification options": "Bildirim seçenekleri", "Unknown": "Bilinmeyen", "Mentions": "Bahsetmeler", @@ -487,7 +508,7 @@ "Confidential": "Gizli", "Suitable for server-side applications": "Sunucu tarafı uygulamalar için uygundur", "Public": "Herkese Açık", - "Suitable for client-side or mobile applications": "Suitable for client-side or mobile applications", + "Suitable for client-side or mobile applications": "İstemci tarafı veya mobil uygulamalar için uygundur", "Icon": "Simge", "OAuth client icon": "OAuth istemci simgesi", "My App": "Uygulamam", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}s {{ minutes }}d okuma", "{{ hours }}h read": "{{ hours }}s okuma", "{{ minutes }}m read": "{{ minutes }}d okuma", + "Archived": "Arşivlendi", "All members": "Tüm üyeler", "Everyone in the workspace": "Çalışma alanındaki herkes", "{{ count }} member": "{{ count }} üye", @@ -516,41 +538,42 @@ "Public link copied to clipboard": "Genel bağlantı panoya kopyalandı", "Only lowercase letters, digits and dashes allowed": "Yalnızca küçük harfler, rakamlar ve kısa çizgiler izin verilir", "Sorry, this link has already been used": "Üzgünüz, bu bağlantı zaten kullanılmış", - "Publish to web": "Publish to web", + "Publish to web": "Web'de paylaş", "Allow anyone with the link to access": "Bağlantıya sahip olan herkesin erişmesine izin ver", "Publish to internet": "İnternette yayınla", "All documents in this collection will be shared on the web, including any new documents added later": "Bu koleksiyondaki tüm belgeler, daha sonra eklenen yeni belgeler de dahil olmak üzere web'de paylaşılacaktır", "Invite": "Davet et", "{{ userName }} was added to the collection": "{{ userName }} koleksiyona eklendi", - "{{ count }} people added to the collection": "{{ count }} person added to the collection", + "{{ count }} people added to the collection": "{{ count }} kişi koleksiyona eklendi", "{{ count }} people added to the collection_plural": "{{ count }} kişi koleksiyona eklendi", - "{{ count }} people and {{ count2 }} groups added to the collection": "{{ count }} person and {{ count2 }} groups added to the collection", + "{{ count }} people and {{ count2 }} groups added to the collection": "{{ count }} kişi ve {{ count2 }} grup koleksiyona eklendi", "{{ count }} people and {{ count2 }} groups added to the collection_plural": "{{ count }} kişi ve {{ count2 }} grup koleksiyona eklendi", "Switch to dark": "Koyu temaya geç", "Switch to light": "Açık temaya geç", - "Subscribe to updates": "Subscribe to updates", + "Subscribe to updates": "Güncellemelere abone ol", + "Display settings": "Görüntüleme ayarları", + "Edit {{noun}}": "{{noun}} düzenle", "Logo": "Logo", "Add": "Ekle", "Add or invite": "Ekle veya davet et", - "Sharing settings updated": "Sharing settings updated", - "Display settings": "Display settings", - "Customize how the published document is displayed": "Customize how the published document is displayed", - "Image options": "Image options", + "Sharing settings updated": "Paylaşım ayarları güncellendi", + "Customize how the published document is displayed": "Yayınlanan belgenin görünümünü özelleştirin", + "Image options": "Görsel seçenekleri", "Upload": "Yükle", - "Site title": "Site title", + "Site title": "Site başlığı", "Show last modified": "Son düzenleme tarihini göster", "Display the last modified timestamp on the shared page": "Paylaşılan sayfada son düzenleme zaman damgasını göster", - "More information": "More information", + "More information": "Daha fazla bilgi", "Show table of contents": "İçindekiler tablosunu göster", "Display the table of contents on documents by default": "Belgelerde varsayılan olarak içindekiler tablosunu göster", "Behavior": "Davranış", "Search engine indexing": "Arama motoru indeksleme", "Disable this setting to discourage search engines from indexing the page": "Arama motorlarının sayfayı indekslemesini engellemek için bu ayarı devre dışı bırakın", - "Email subscriptions": "Email subscriptions", - "Allow viewers to subscribe and receive email notifications when documents are updated": "Allow viewers to subscribe and receive email notifications when documents are updated", + "Email subscriptions": "E-posta abonelikleri", + "Allow viewers to subscribe and receive email notifications when documents are updated": "Görüntüleyicilerin abone olmasına ve belgeler güncellendiğinde e-posta bildirimleri almasına izin ver", "Something went wrong": "Bir şeyler yanlış gitti", - "Check your email to confirm your subscription": "Check your email to confirm your subscription", - "Get notified when this document is updated": "Get notified when this document is updated", + "Check your email to confirm your subscription": "Aboneliğinizi onaylamak için e-postanızı kontrol edin", + "Get notified when this document is updated": "Bu belge güncellendiğinde bildirim al", "Email address": "E-posta adresi", "Viewer": "Görüntüleyici", "Editor": "Düzenleyici", @@ -577,9 +600,9 @@ "Anyone with the link can access because the parent document, <2>{sharedParent.sourceTitle}, is shared": "Bağlantıya sahip olan herkes erişebilir, çünkü üst belge <2>{sharedParent.sourceTitle} paylaşılıyor", "Nested documents are not shared on the web. Toggle sharing to enable access, this will be the default behavior in the future": "İç içe belgeler web'de paylaşılmaz. Erişimi etkinleştirmek için paylaşımı açın, bu gelecekte varsayılan davranış olacaktır", "{{ userName }} was added to the document": "{{ userName }} belgeye eklendi", - "{{ count }} people added to the document": "{{ count }} person added to the document", + "{{ count }} people added to the document": "{{ count }} kişi belgeye eklendi", "{{ count }} people added to the document_plural": "{{ count }} kişi belgeye eklendi", - "{{ count }} groups added to the document": "{{ count }} group added to the document", + "{{ count }} groups added to the document": "{{ count }} grup belgeye eklendi", "{{ count }} groups added to the document_plural": "{{ count }} grup belgeye eklendi", "Expand sidebar": "Kenar çubuğunu genişlet", "Collapse sidebar": "Kenar çubuğunu daralt", @@ -589,16 +612,16 @@ "New nested document": "Yeni iç içe belge", "No collections": "Koleksiyon yok", "Hide": "Gizle", + "Starred": "Yıldızlı", + "Shared with me": "Benimle paylaşılanlar", "Import files": "Dosyaları içe aktar", - "Recent": "Recent", + "Recent": "Son kullanılanlar", "Go back": "Geri dön", "Go forward": "İleri git", "Could not load shared documents": "Paylaşılan belgeler yüklenemedi", - "Shared with me": "Benimle paylaşılanlar", "Show more": "Daha fazla göster", "Link options": "Bağlantı seçenekleri", "Could not load starred documents": "Yıldızlı belgeler yüklenemedi", - "Starred": "Yıldızlı", "Up to date": "Güncel", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} sürümü geride", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} sürüm geride", @@ -609,16 +632,18 @@ "Integrations": "Entegrasyonlar", "Return to App": "Uygulamaya geri dön", "Installation": "Kurulum", - "Split pane": "Split pane", - "Main pane": "Main pane", + "Split pane": "Bölünmüş panel", + "Main pane": "Ana panel", "Unstar document": "Belgenin yıldızını kaldır", "Star document": "Belgeyi yıldızla", "Select a color": "Bir renk seçin", "Select all": "Tümünü seç", + "Columns": "Sütunlar", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "Değişiklikleriniz kaydedilemedi.\nAyrılmak istediğinizden emin misiniz?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Bir metni vurgulayın ve <1> kontrolünü kullanarak yeni belgeler oluşturulurken doldurulabilecek yer tutucular ekleyin", "You’re editing a template": "Bir şablonu düzenliyorsunuz", "Template created, go ahead and customize it": "Şablon oluşturuldu, devam edin ve özelleştirin", - "Creating a template is a non-destructive action – we'll make a copy of the document and turn it into a template that can be used as a starting point for new documents.": "Creating a template is a non-destructive action – we'll make a copy of the document and turn it into a template that can be used as a starting point for new documents.", + "Creating a template is a non-destructive action – we'll make a copy of the document and turn it into a template that can be used as a starting point for new documents.": "Şablon oluşturmak yıkıcı olmayan bir işlemdir. Belgenin bir kopyası oluşturulacak ve yeni belgeler için başlangıç noktası olacak bir şablona dönüştürülecektir.", "Enable other members to use the template immediately": "Diğer üyelerin şablonu hemen kullanmasını sağla", "Location": "Konum", "Admins can manage the workspace and access billing.": "Yöneticiler çalışma alanını yönetebilir ve faturalandırmaya erişebilir.", @@ -628,7 +653,7 @@ "Are you sure you want to make {{ count }} user a {{ role }}?": "{{ count }} kullanıcıyı {{ role }} yapmak istediğinizden emin misiniz?", "Are you sure you want to make {{ count }} user a {{ role }}?_plural": "{{ count }} kullanıcıyı {{ role }} yapmak istediğinizden emin misiniz?", "I understand, delete": "Anlıyorum, sil", - "Are you sure you want to permanently delete {{ userName }}? This operation is unrecoverable. Any API keys, webhooks, and integrations they created will stop working — consider suspending the user instead.": "Are you sure you want to permanently delete {{ userName }}? This operation is unrecoverable. Any API keys, webhooks, and integrations they created will stop working — consider suspending the user instead.", + "Are you sure you want to permanently delete {{ userName }}? This operation is unrecoverable. Any API keys, webhooks, and integrations they created will stop working — consider suspending the user instead.": "{{ userName }} kullanıcısını kalıcı olarak silmek istediğinizden emin misiniz? Bu işlem geri alınamaz. Oluşturduğu API anahtarları, webhook'lar ve entegrasyonlar çalışmayı durduracaktır — bunun yerine kullanıcıyı askıya almayı düşünün.", "Are you sure you want to permanently delete {{ count }} user? This operation is unrecoverable. Any API keys, webhooks, and integrations they created will stop working — consider suspending them instead.": "{{ count }} kullanıcıyı kalıcı olarak silmek istediğinizden emin misiniz? Bu işlem geri alınamaz. Oluşturduğu tüm API anahtarları, web kancaları ve entegrasyonlar çalışmayı durduracaktır — bunun yerine askıya almayı düşünün.", "Are you sure you want to permanently delete {{ count }} user? This operation is unrecoverable. Any API keys, webhooks, and integrations they created will stop working — consider suspending them instead._plural": "{{ count }} kullanıcıyı kalıcı olarak silmek istediğinizden emin misiniz? Bu işlem geri alınamaz. Oluşturdukları tüm API anahtarları, web kancaları ve entegrasyonlar çalışmayı durduracaktır — bunun yerine askıya almayı düşünün.", "Are you sure you want to suspend {{ userName }}? Suspended users will be prevented from logging in.": "{{ userName }} kullanıcısını askıya almak istediğinizden emin misiniz? Askıya alınan kullanıcıların giriş yapması engellenecektir.", @@ -639,7 +664,7 @@ "Profile picture updated": "Profil fotoğrafı güncellendi", "Unable to upload new profile picture": "Yeni profil fotoğrafı yüklenemiyor", "Profile picture": "Profil fotoğrafı", - "Done": "Done", + "Done": "Tamam", "Check your email to verify the new address.": "Yeni adresi doğrulamak için e-postanızı kontrol edin.", "The email will be changed once verified.": "E-posta doğrulandıktan sonra değiştirilecektir.", "You will receive an email to verify your new address. It must be unique in the workspace.": "Yeni adresinizi doğrulamak için bir e-posta alacaksınız. Bu adres, çalışma alanında benzersiz olmalıdır.", @@ -652,7 +677,7 @@ "Last seen": "Son görülme", "{{ time }} local time": "{{ time }} yerel saat", "Your import completed": "İçe aktarımınız tamamlandı", - "View comment thread": "View comment thread", + "View comment thread": "Yorum dizisini görüntüle", "Previous match": "Önceki eşleşme", "Next match": "Sonraki eşleşme", "Find and replace": "Bul ve değiştir", @@ -662,11 +687,11 @@ "Replace options": "Değiştirme seçenekleri", "Replacement": "Değiştirme", "Replace all": "Tümünü değiştir", - "Options": "Options", + "Options": "Seçenekler", "Go to link": "Bağlantıya git", "Open link": "Bağlantıyı aç", "Remove link": "Bağlantıyı kaldır", - "Formatting controls": "Formatting controls", + "Formatting controls": "Biçimlendirme denetimleri", "Search or paste a link": "Bağlantı arayın veya yapıştırın", "Image width": "Görsel genişliği", "Width": "Genişlik", @@ -675,8 +700,6 @@ "Paste a link": "Bir bağlantı yapıştırın", "Delete embed": "Yerleştirmeyi sil", "Delete image": "Resmi sil", - "Create a new doc": "Yeni bir belge oluştur", - "Create a nested doc": "Create a nested doc", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} bu belgeye erişimi olmadığı için bildirim almayacak", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Bu belgeye erişimi olan \"{{ groupName }}\" üyeleri bilgilendirilecektir", "Keep as link": "Bağlantı olarak tut", @@ -686,7 +709,7 @@ "Sorry, that link won’t work for this embed type": "Üzgünüz, bu bağlantı bu yerleştirme türü için çalışmayacaktır", "Upload file": "Dosya yükle", "Paste a {{service}} link…": "Bir {{service}} bağlantısı yapıştırın…", - "Suggestions": "Suggestions", + "Suggestions": "Öneriler", "More options": "Daha fazla seçenek", "Type '/' to insert": "Eklemek için '/' yazın", "Keep typing to filter": "Filtrelemek için yazmaya devam edin", @@ -702,7 +725,7 @@ "Ordered list": "Sıralı Liste", "Image": "Resim", "Video": "Video", - "Embed PDF": "Embed PDF", + "Embed PDF": "PDF yerleştir", "File attachment": "Dosya eki", "Table": "Tablo", "Quote": "Alıntı", @@ -711,22 +734,21 @@ "Divider": "Ayırıcı", "Page break": "Sayfa sonu", "Current date": "Şimdiki tarih", - "Toggle block": "Toggle block", - "Big toggle heading": "Big toggle heading", - "Medium toggle heading": "Medium toggle heading", - "Small toggle heading": "Small toggle heading", - "Extra small toggle heading": "Extra small toggle heading", + "Toggle block": "Açılır blok", + "Big toggle heading": "Büyük açılır başlık", + "Medium toggle heading": "Orta açılır başlık", + "Small toggle heading": "Küçük açılır başlık", + "Extra small toggle heading": "Çok küçük açılır başlık", "Info notice": "Bilgi bildirimi", "Success notice": "Başarı bildirimi", "Warning notice": "Uyarı bildirimi", "Tip notice": "İpucu bildirimi", - "Wrap text": "Wrap text", + "Wrap text": "Metni kaydır", "Placeholder": "Yer tutucu", "Bold": "Kalın", "Italic": "İtalik", "Strikethrough": "Üstü çizili", - "Background color": "Background color", - "None": "Hiçbiri", + "Background color": "Arka plan rengi", "Highlight": "Vurgula", "Code": "Kod", "Heading": "Başlık", @@ -743,15 +765,17 @@ "Full width": "Tam genişlik", "Download image": "Resmi indir", "Edit image URL": "Görsel URL'sini düzenle", + "Create a new doc": "Yeni bir belge oluştur", + "Create a nested doc": "İç içe belge oluştur", "Default width": "Varsayılan genişlik", - "Distribute columns": "Distribute columns", + "Distribute columns": "Sütunları eşit dağıt", "Export as CSV": "CSV olarak dışa aktar", "Delete table": "Tabloyu sil", - "Align": "Align", + "Align": "Hizala", "Sort": "Sırala", "Sort ascending": "Artan sırada sırala", "Sort descending": "Azalan sırada sırala", - "Background": "Background", + "Background": "Arka plan", "Toggle header": "Başlığı aç/kapat", "Insert after": "Sonrasına ekle", "Insert before": "Öncesine ekle", @@ -762,12 +786,12 @@ "Could not import file": "Dosya içe aktarılamadı", "Unsubscribed from document": "Belgeden abonelik iptal edildi", "Unsubscribed from collection": "Koleksiyondan abonelik iptal edildi", - "Subscription successful": "Subscription successful", - "Unsubscribed": "Unsubscribed", + "Subscription successful": "Abonelik başarılı", + "Unsubscribed": "Abonelikten çıkıldı", "Account": "Hesap", - "API & Access": "API & Access", + "API & Access": "API ve Erişim", "Details": "Ayrıntılar", - "Authentication": "Authentication", + "Authentication": "Kimlik doğrulama", "Security": "Güvenlik", "AI": "AI", "Users": "Kullanıcılar", @@ -775,15 +799,15 @@ "Applications": "Uygulamalar", "Shared Links": "Paylaşılan Bağlantılar", "Import": "İçe aktar", - "Embeds": "Embeds", - "Configure which embed providers are available in the editor.": "Configure which embed providers are available in the editor.", + "Embeds": "Yerleştirmeler", + "Configure which embed providers are available in the editor.": "Düzenleyicide hangi yerleştirme sağlayıcılarının kullanılabileceğini yapılandırın.", "Install": "Yükle", "API key": "API anahtarı", "Show path to document": "Belgeye giden yolu göster", "Comment options": "Yorum seçenekleri", "Enable viewer insights": "İzleyici analizlerini etkinleştir", "Enable embeds": "Yerleştirmeleri etkinleştir", - "Emoji options": "Emoji options", + "Emoji options": "Emoji seçenekleri", "File": "Dosya", "Group member options": "Grup üyesi seçenekleri", "Group options": "Grup seçenekleri", @@ -815,9 +839,9 @@ "reacted {{ emoji }} to your comment on": "yorumunuza {{ emoji }} ile tepki verdi:", "shared": "paylaştı", "invited you to": "sizi davet etti:", - "was granted access to": "was granted access to", - "requested access to": "requested access to", - "is requesting access to": "is requesting access to", + "was granted access to": "erişim izni verildi:", + "requested access to": "erişim talep etti:", + "is requesting access to": "erişim talep ediyor:", "Choose a date": "Bir tarih seçin", "API key created. Please copy the value now as it will not be shown again.": "API anahtarı oluşturuldu. Lütfen değeri şimdi kopyalayın, tekrar gösterilmeyecektir.", "Scopes": "Kapsamlar", @@ -893,14 +917,23 @@ "only you": "sadece siz", "person": "kişi", "people": "kişi", + "{{ number }} words selected": "{{ number }} kelime seçildi", + "{{ number }} words selected_plural": "{{ number }} kelime seçildi", + "{{ number }} characters selected": "{{ number }} karakter seçildi", + "{{ number }} characters selected_plural": "{{ number }} karakter seçildi", + "{{ number }} words": "{{ number }} kelime", + "{{ number }} words_plural": "{{ number }} kelime", + "{{ number }} characters": "{{ number }} karakter", + "{{ number }} characters_plural": "{{ number }} karakter", + "{{ number }} paragraphs": "{{ number }} paragraf", + "{{ number }} paragraphs_plural": "{{ number }} paragraf", + "{{ number }} minute read": "{{ number }} dakika okuma", "Document title": "Belge başlığı", "Last updated": "Son güncelleme", "Type '/' to insert, or start writing…": "Eklemek için '/' yazın veya yazmaya başlayın…", "Hide contents": "İçeriği gizle", "Show contents": "İçeriği göster", "available when headings are added": "başlıklar eklendiğinde kullanılabilir", - "Edit {{noun}}": "{{noun}} düzenle", - "Archived": "Arşivlendi", "Save draft": "Taslağı kaydet", "Restore version": "Sürümü geri yükle", "{{userName}} archived": "{{userName}} arşivledi", @@ -912,31 +945,19 @@ "{{userName}} published": "{{userName}} yayınladı", "{{userName}} unpublished": "{{userName}} yayından kaldırdı", "{{userName}} moved": "{{userName}} taşıdı", - "via {{ authType }}": "{{ authType }} aracılığıyla", - "Previous version": "Previous version", + "Previous version": "Önceki sürüm", "Highlight changes": "Değişiklikleri Vurgula", - "Compare to": "Compare to", + "Compare to": "Şununla karşılaştır", "No history yet": "Henüz tarihçe yok", "Revision deleted": "Revizyon silindi", "Current version": "Mevcut sürüm", "{{userName}} edited": "{{userName}} düzenledi", - "{{count}} people": "{{count}} person", - "{{count}} people_plural": "{{count}} people", + "via {{ authType }}": "{{ authType }} aracılığıyla", + "{{count}} people": "{{count}} kişi", + "{{count}} people_plural": "{{count}} kişi", "Source": "Kaynak", "Created": "Oluşturuldu", "Imported from {{ source }}": "{{ source }} konumundan içe aktarıldı", - "Stats": "İstatistikler", - "{{ number }} minute read": "{{ number }} dakika okuma", - "{{ number }} words": "{{ number }} kelime", - "{{ number }} words_plural": "{{ number }} kelime", - "{{ number }} characters": "{{ number }} karakter", - "{{ number }} characters_plural": "{{ number }} karakter", - "{{ number }} emoji": "{{ number }} emoji", - "No text selected": "Metin seçilmedi", - "{{ number }} words selected": "{{ number }} kelime seçildi", - "{{ number }} words selected_plural": "{{ number }} kelime seçildi", - "{{ number }} characters selected": "{{ number }} karakter seçildi", - "{{ number }} characters selected_plural": "{{ number }} karakter seçildi", "Contributors": "Katkıda Bulunanlar", "Creator": "Oluşturan", "Last edited": "Son düzenleme", @@ -954,7 +975,7 @@ "Add content to your document, then use headings or dividers to separate it into slides.": "Belgenize içerik ekleyin, ardından başlıklar veya ayırıcılarla slaytlara ayırın.", "Learn more": "Daha fazla bilgi edinin", "Backlinks": "Geri bağlantılar", - "Clear search highlight": "Clear search highlight", + "Clear search highlight": "Arama vurgusunu temizle", "Warning": "Uyarı", "This document is large which may affect performance": "Bu belge büyük, bu da performansı etkileyebilir", "Are you sure about that? Deleting the {{ documentTitle }} document will delete all of its history.": "Bundan emin misiniz? {{ documentTitle }} belgesini silmek, tüm geçmişini silecektir.", @@ -972,13 +993,13 @@ "No documents found for your filters.": "Filtreleriniz için belge bulunamadı.", "You’ve not got any drafts at the moment.": "Şu anda hiç taslağınız yok.", "Payment Required": "Ödeme Gerekiyor", - "Access request sent": "Access request sent", + "Access request sent": "Erişim isteği gönderildi", "No access to this doc": "Bu belgeye erişim yok", - "Your request to access this document has been sent. You will be notified once access is granted.": "Your request to access this document has been sent. You will be notified once access is granted.", - "It doesn't look like you have permission to access this document. You can request access.": "It doesn't look like you have permission to access this document. You can request access.", - "Access requested": "Access requested", - "Requesting…": "Requesting…", - "Request access": "Request access", + "Your request to access this document has been sent. You will be notified once access is granted.": "Bu belgeye erişim isteğiniz gönderildi. Erişim verildiğinde size bildirilecektir.", + "It doesn't look like you have permission to access this document. You can request access.": "Bu belgeye erişim izniniz görünmüyor. Erişim talebinde bulunabilirsiniz.", + "Access requested": "Erişim istendi", + "Requesting…": "İsteniyor…", + "Request access": "Erişim iste", "Not found": "Bulunamadı", "The page you’re looking for cannot be found. It might have been deleted or the link is incorrect.": "Aradığınız sayfa bulunamadı. Silinmiş olabilir veya bağlantı yanlış olabilir.", "We were unable to load the document while offline.": "Çevrimdışıyken belgeyi yükleyemedik.", @@ -986,11 +1007,11 @@ "Warning Sign": "Uyarı İşareti", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "Bir çalışma alanı yöneticisi ({{ suspendedContactEmail }}) hesabınızı askıya aldı. Hesabınızı yeniden etkinleştirmek için lütfen doğrudan onlarla iletişime geçin.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Üzgünüz, sayfayı yüklerken bilinmeyen bir hata oluştu. Lütfen tekrar deneyin veya sorun devam ederse destek ile iletişime geçin.", + "Documents you’ve recently viewed will be here for easy access": "Yakın zamanda görüntülediğiniz belgeler, kolay erişim için burada olacak", "Created by me": "Benim tarafımdan oluşturuldu", "Weird, this shouldn't ever be empty": "Garip, burası asla boş olmamalı", "Documents with recent activity will appear here": "Yakın zamanda güncellenen belgeler burada", "You haven’t created any documents yet": "Henüz herhangi bir belge oluşturmadınız", - "Documents you’ve recently viewed will be here for easy access": "Yakın zamanda görüntülediğiniz belgeler, kolay erişim için burada olacak", "{{ count }} invites sent": "{{ count }} invite sent", "{{ count }} invites sent_plural": "{{ count }} davet gönderildi", "Those email addresses are already invited": "Bu e-posta adresleri zaten davet edildi", @@ -1014,6 +1035,7 @@ "Open document history": "Belge geçmişini aç", "Jump to search": "Aramaya atla", "Jump to home": "Anasayfaya atla", + "Toggle statistics": "İstatistikleri aç/kapat", "Focus search input": "Arama girişine odaklan", "Open this guide": "Bu kılavuzu aç", "Publish document and exit": "Belgeyi yayınla ve çık", @@ -1037,9 +1059,9 @@ "Move list item up": "Liste öğesini yukarı taşı", "Move list item down": "Liste öğesini aşağı taşı", "Toggle blocks": "Blokları değiştir", - "Open / close": "Open / close", - "Indent item": "Indent item", - "Outdent item": "Outdent item", + "Open / close": "Aç / kapat", + "Indent item": "Öğeyi girintile", + "Outdent item": "Öğenin girintisini azalt", "Tables": "Tablolar", "Insert row": "Satır ekle", "Next cell": "Sonraki hücre", @@ -1082,8 +1104,8 @@ "Signing in": "Giriş yapılıyor", "You can safely close this window once the Outline desktop app has opened": "Outline masaüstü uygulaması açıldıktan sonra bu pencereyi güvenle kapatabilirsiniz", "Choose workspace": "Çalışma alanı seç", - "Enter the address of an Outline workspace to connect": "Enter the address of an Outline workspace to connect", - "This doesn’t appear to be a valid installation": "This doesn’t appear to be a valid installation", + "Enter the address of an Outline workspace to connect": "Bağlanmak için bir Outline çalışma alanının adresini girin", + "This doesn’t appear to be a valid installation": "Bu geçerli bir kurulum gibi görünmüyor", "Choose a workspace": "Bir çalışma alanı seçin", "Choose an {{ appName }} workspace or login to continue connecting this app": "Bu uygulamayı bağlamaya devam etmek için bir {{ appName }} çalışma alanı seçin veya giriş yapın", "Create workspace": "Çalışma alanı oluştur", @@ -1121,7 +1143,7 @@ "You will be redirected to {{ redirectUri }} after authorizing. Make sure you trust this URL.": "Yetkilendirmeyi tamamladıktan sonra {{ redirectUri }} adresine yönlendirileceksiniz. Bu URL'e güvenebileceğinizden emin olun.", "read": "oku", "write": "yaz", - "create": "create", + "create": "oluştur", "read and write": "oku ve yaz", "API keys": "API anahtarları", "attachments": "ekler", @@ -1138,10 +1160,10 @@ "users": "kullanıcılar", "teams": "ekipler", "workspace": "çalışma alanı", - "Full access": "Full access", + "Full access": "Tam erişim", "Read all data": "Tüm verileri oku", "Write all data": "Tüm verileri yaz", - "Create all data": "Create all data", + "Create all data": "Tüm verileri oluştur", "Any collection": "Herhangi bir koleksiyon", "All time": "Tüm zamanlar", "Past day": "Geçen gün", @@ -1151,7 +1173,6 @@ "Any time": "Herhangi bir zaman", "Remove document filter": "Belge filtresini kaldır", "Any status": "Herhangi bir durum", - "Recent searches": "Son aramalar", "Remove search": "Aramayı kaldır", "Relevance": "İlgi", "Newest": "En yeni", @@ -1162,12 +1183,12 @@ "Search titles only": "Sadece başlıklarda ara", "Please try again or contact support if the problem persists": "Lütfen tekrar deneyin veya sorun devam ederse destek ile iletişime geçin", "No documents found for your search filters.": "Arama filtreleriniz için belge bulunamadı.", - "Personal keys": "Personal keys", + "Personal keys": "Kişisel anahtarlar", "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. For more details see the developer documentation.": "API ile kimlik doğrulaması yapmak ve çalışma alanınızın verilerini programlı olarak kontrol etmek için kişisel API anahtarları oluşturun. Daha fazla ayrıntı için geliştirici belgelerine bakın.", "API keys have been disabled by an admin for your account": "Hesabınız için API anahtarları bir yönetici tarafından devre dışı bırakıldı", "Application access": "Uygulama erişimi", "Manage which third-party and internal applications have been granted access to your {{ appName }} account.": "Hangi üçüncü taraf ve dahili uygulamaların {{ appName }} hesabınıza erişim izni verildiğini yönetin.", - "Could not load API keys": "Could not load API keys", + "Could not load API keys": "API anahtarları yüklenemedi", "API": "API", "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the developer documentation.": "API anahtarları, API ile kimlik doğrulaması yapmak ve çalışma alanınızın verilerini programlı olarak kontrol etmek için kullanılabilir. Daha fazla ayrıntı için geliştirici belgelerine bakın.", "Application published": "Uygulama yayınlandı", @@ -1177,7 +1198,7 @@ "Rotating the client secret will invalidate the current secret. Make sure to update any applications using these credentials.": "İstemci gizlisini döndürmek, mevcut gizliyi geçersiz kılacaktır. Bu kimlik bilgilerini kullanan tüm uygulamaları güncellediğinizden emin olun.", "Displayed to users when authorizing": "Yetkilendirilirken kullanıcılara gösterilir", "Application icon": "Uygulama simgesi", - "Confidential clients can securely store a secret": "Confidential clients can securely store a secret", + "Confidential clients can securely store a secret": "Gizli istemciler istemci sırrını güvenli şekilde saklayabilir.", "Developer information shown to users when authorizing": "Yetkilendirilirken kullanıcılara gösterilen geliştirici bilgileri", "Developer name": "Geliştirici adı", "Developer URL": "Geliştirici URL'si", @@ -1195,31 +1216,31 @@ "Settings saved": "Ayarlar kaydedildi", "Are you sure?": "Emin misiniz?", "Removing": "Kaldırılıyor", - "Removing this authentication provider will prevent members from signing in with {{ authProvider }}.": "Removing this authentication provider will prevent members from signing in with {{ authProvider }}.", - "Disable group sync": "Disable group sync", - "Manage how members sign-in to your workspace and which authentication providers are enabled.": "Manage how members sign-in to your workspace and which authentication providers are enabled.", + "Removing this authentication provider will prevent members from signing in with {{ authProvider }}.": "Bu kimlik doğrulama sağlayıcısını kaldırmak, üyelerin {{ authProvider }} ile oturum açmasını engelleyecektir.", + "Disable group sync": "Grup eşitlemesini devre dışı bırak", + "Manage how members sign-in to your workspace and which authentication providers are enabled.": "Üyelerin çalışma alanına nasıl giriş yapacağını ve hangi kimlik doğrulama sağlayıcılarının etkin olacağını yönetin.", "Allow members to sign-in with {{ authProvider }}": "Üyelerin {{ authProvider }} ile oturum açmasına izin ver", - "Connect {{ authProvider }} to allow members to sign-in": "Connect {{ authProvider }} to allow members to sign-in", + "Connect {{ authProvider }} to allow members to sign-in": "Üyelerin giriş yapabilmesi için {{ authProvider }} sağlayıcısını bağlayın", "Connected": "Bağlandı", "Disabled": "Devre dışı", "Connect": "Bağla", - "Group sync": "Group sync", - "Sync group memberships from {{ authProvider }} on each sign-in": "Sync group memberships from {{ authProvider }} on each sign-in", - "Group claim": "Group claim", - "The claim in the provider response that contains group names (e.g. groups, roles)": "The claim in the provider response that contains group names (e.g. groups, roles)", + "Group sync": "Grup eşitlemesi", + "Sync group memberships from {{ authProvider }} on each sign-in": "Her oturum açılışında grup üyeliklerini {{ authProvider }} üzerinden eşitle", + "Group claim": "Grup claim'i", + "The claim in the provider response that contains group names (e.g. groups, roles)": "Sağlayıcı yanıtında grup adlarını içeren claim (ör. groups, roles)", "Allow members to sign-in using their email address": "Üyelerin e-posta adreslerini kullanarak oturum açmasına izin ver", "The server must have SMTP configured to enable this setting": "Bu ayarı etkinleştirmek için sunucuda SMTP yapılandırılmış olmalıdır", - "Passkeys": "Passkeys", - "Allow members to sign-in with a WebAuthn passkey": "Allow members to sign-in with a WebAuthn passkey", - "Restrictions": "Restrictions", - "Keep synced groups": "Keep synced groups", - "Groups will remain but no longer update": "Groups will remain but no longer update", - "Delete synced groups": "Delete synced groups", - "Remove all groups created by sync": "Remove all groups created by sync", - "Group memberships will no longer be synced from {{ authProvider }} when members sign in.": "Group memberships will no longer be synced from {{ authProvider }} when members sign in.", - "Existing groups": "Existing groups", + "Passkeys": "Geçiş anahtarları", + "Allow members to sign-in with a WebAuthn passkey": "Üyelerin WebAuthn geçiş anahtarıyla oturum açmasına izin ver", + "Restrictions": "Kısıtlamalar", + "Keep synced groups": "Eşitlenen grupları koru", + "Groups will remain but no longer update": "Gruplar korunur ancak artık güncellenmez", + "Delete synced groups": "Eşitlenen grupları sil", + "Remove all groups created by sync": "Eşitlemeyle oluşturulan tüm grupları kaldır", + "Group memberships will no longer be synced from {{ authProvider }} when members sign in.": "Üyeler oturum açtığında grup üyelikleri artık {{ authProvider }} üzerinden eşitlenmeyecek.", + "Existing groups": "Mevcut gruplar", "Disabling": "Devre dışı bırakılıyor", - "Disable": "Disable", + "Disable": "Devre dışı bırak", "by {{ name }}": "geliştirici: {{ name }}", "Expired": "Süresi doldu", "Last used": "Son kullanım", @@ -1229,15 +1250,15 @@ "Copied": "Kopyalandı", "Revoking": "İptal ediliyor", "Are you sure you want to revoke the {{ tokenName }} token?": "{{ tokenName }} belirtecini iptal etmek istediğinizden emin misiniz?", - "Key": "Key", - "Created by": "Created by", - "Never": "Never", - "Expires": "Expires", - "Could not load preference": "Could not load preference", + "Key": "Anahtar", + "Created by": "Oluşturan", + "Never": "Asla", + "Expires": "Sona erme", + "Could not load preference": "Tercih yüklenemedi", "Preferences saved": "Tercihler kaydedildi", - "Could not save preference": "Could not save preference", - "Open on startup": "Open on startup", - "Automatically launch {{ appName }} when you sign in to your computer.": "Automatically launch {{ appName }} when you sign in to your computer.", + "Could not save preference": "Tercih kaydedilemedi", + "Open on startup": "Başlangıçta aç", + "Automatically launch {{ appName }} when you sign in to your computer.": "Bilgisayarınızda oturum açtığınızda {{ appName }} uygulamasını otomatik olarak başlat.", "Disconnect integration": "Entegrasyon bağlantısını kes", "Disconnecting": "Bağlantı kesiliyor", "Are you sure you want to disconnect the {{ service }} integration?": "{{ service }} entegrasyonunun bağlantısını kesmek istediğinizden emin misiniz?", @@ -1251,13 +1272,13 @@ "Your import is being processed, you can safely leave this page": "İçe aktarımınız işleniyor, bu sayfadan güvenle ayrılabilirsiniz", "File not supported – please upload a valid ZIP file": "Dosya desteklenmiyor – lütfen geçerli bir ZIP dosyası yükleyin", "Set the default permission level for collections created from the import": "İçe aktarımdan oluşturulan koleksiyonlar için varsayılan izin düzeyini belirleyin", - "Uploading {{progress}}%": "Uploading {{progress}}%", + "Uploading {{progress}}%": "Yükleniyor: %{{progress}}", "Start import": "İçe aktarmayı başlat", - "Added by": "Added by", - "Date added": "Date added", + "Added by": "Ekleyen", + "Date added": "Eklenme tarihi", "Users exported successfully": "Kullanıcılar başarıyla dışa aktarıldı", "Failed to export users": "Kullanıcılar dışa aktarılamadı", - "Download CSV": "Download CSV", + "Download CSV": "CSV indir", "Processing": "İşleniyor", "Completed": "Tamamlandı", "Failed": "Başarısız oldu", @@ -1271,10 +1292,10 @@ "Groups are for organizing your team. They work best when centered around a function or a responsibility — Support or Engineering for example.": "Gruplar takımınızı organize etmek içindir. Bir işlev veya sorumluluk etrafında toplandığında en iyi şekilde çalışırlar — örneğin Destek veya Mühendislik.", "Optional": "İsteğe bağlı", "You’ll be able to add people to the group next.": "Daha sonra gruba kişi ekleyebileceksiniz.", - "This group is managed by an external authentication provider. The name is synced automatically and cannot be changed.": "This group is managed by an external authentication provider. The name is synced automatically and cannot be changed.", + "This group is managed by an external authentication provider. The name is synced automatically and cannot be changed.": "Bu grup harici bir kimlik doğrulama sağlayıcısı tarafından yönetiliyor. Adı otomatik olarak eşitlenir ve değiştirilemez.", "You can edit the name of this group at any time, however doing so too often might confuse your team mates.": "Bu grubun adını istediğiniz zaman düzenleyebilirsiniz, ancak bunu çok sık yapmak takım arkadaşlarınızın kafasını karıştırabilir.", "Description": "Açıklama", - "Hidden": "Hidden", + "Hidden": "Gizli", "Prevent this group from being mentionable in documents or comments": "Bu grubun belgelerde veya yorumlarda bahsedilmesini engelle", "Are you sure about that? Deleting the {{groupName}} group will cause its members to lose access to collections and documents that it is associated with.": "Bundan emin misiniz? {{groupName}} grubunu silmek, üyelerinin ilişkili olduğu koleksiyonlara ve belgelere erişimini kaybetmesine neden olur.", "Are you sure about that? Deleting {{ count }} group will cause their members to lose access to collections and documents that they are associated with.": "Bundan emin misiniz? {{ count }} grubunu silmek, üyelerinin ilişkili oldukları koleksiyonlara ve belgelere erişimini kaybetmesine neden olur.", @@ -1290,11 +1311,11 @@ "No people left to add": "Eklenecek kişi kalmadı", "Last active": "Son aktiflik", "Role": "Rol", - "All permissions": "All permissions", - "All sources": "All sources", - "Manual": "Manual", - "This group is hidden": "This group is hidden", - "Synced <2>": "Synced <2>", + "All permissions": "Tüm izinler", + "All sources": "Tüm kaynaklar", + "Manual": "Manuel", + "This group is hidden": "Bu grup gizlidir", + "Synced <2>": "Eşitlendi <2>", "Date created": "Oluşturulma tarihi", "Crop Image": "Görseli Kırp", "Crop image": "Görseli kırp", @@ -1305,7 +1326,7 @@ "Are you sure you want to cancel this import?": "Bu içe aktarmayı iptal etmek istediğinizden emin misiniz?", "Canceling": "İptal ediliyor", "Canceling this import will discard any progress made. This cannot be undone.": "Bu içe aktarmayı iptal etmek, yapılan tüm ilerlemeyi atacaktır. Bu işlem geri alınamaz.", - "{{ total }} document imported": "{{ total }} document imported", + "{{ total }} document imported": "{{ total }} belge içe aktarıldı", "{{ total }} document imported_plural": "{{ total }} documents imported", "You can import a zip file that was previously exported from an Outline installation – collections, documents, and images will be imported. In Outline, open Export in the Settings sidebar and click on Export Data.": "Daha önce bir Outline kurulumundan dışa aktarılmış bir zip dosyasını içe aktarabilirsiniz – koleksiyonlar, belgeler ve görseller içe aktarılacaktır. Outline'da, Ayarlar kenar çubuğunda Dışa Aktar'ı açın ve Verileri Dışa Aktar'a tıklayın.", "Drag and drop the zip file from the Markdown export option in {{appName}}, or click to upload": "{{appName}} uygulamasındaki Markdown dışa aktarma seçeneğinden zip dosyasını sürükleyip bırakın veya yüklemek için tıklayın", @@ -1319,15 +1340,17 @@ "Last accessed": "Son erişim", "Domain": "Alan adı", "Views": "Görüntüleme", - "Visibility": "Visibility", - "Updated by": "Updated by", + "Visibility": "Görünürlük", + "Updated by": "Güncelleyen", "All roles": "Tüm roller", "Admins": "Yöneticiler", "Editors": "Düzenleyiciler", + "Invited by": "Davet eden", + "Joined": "Katıldı", "All status": "Tüm durumlar", "Active": "Aktif", - "Could not load emojis": "Could not load emojis", - "Custom emojis can be used throughout your workspace in documents, comments, and reactions.": "Custom emojis can be used throughout your workspace in documents, comments, and reactions.", + "Could not load emojis": "Emojiler yüklenemedi", + "Custom emojis can be used throughout your workspace in documents, comments, and reactions.": "Özel emojiler çalışma alanınızdaki belgelerde, yorumlarda ve tepkilerde kullanılabilir.", "Left": "Sol", "Right": "Sağ", "Logo updated": "Logo güncellendi", @@ -1356,26 +1379,26 @@ "When enabled documents have a separate editing mode by default instead of being always editable. This setting can be overridden by user preferences.": "Etkinleştirildiğinde, belgeler her zaman düzenlenebilir olmak yerine varsayılan olarak ayrı bir düzenleme moduna sahip olur. Bu ayar kullanıcı tercihleri tarafından geçersiz kılınabilir.", "Danger": "Tehlike", "You can delete this entire workspace including collections, documents, and users.": "Koleksiyonlar, belgeler ve kullanıcılar dahil olmak üzere bu çalışma alanının tamamını silebilirsiniz.", - "Enabled": "Enabled", - "Allow supported providers to be inserted as interactive embeds in documents.": "Allow supported providers to be inserted as interactive embeds in documents.", - "Providers": "Providers", - "Enabled providers will appear in the editor slash menu and embed automatically when a compatible link is pasted. Existing embeds in documents will continue to display regardless of these settings.": "Enabled providers will appear in the editor slash menu and embed automatically when a compatible link is pasted. Existing embeds in documents will continue to display regardless of these settings.", - "All providers": "All providers", + "Enabled": "Etkin", + "Allow supported providers to be inserted as interactive embeds in documents.": "Desteklenen sağlayıcıların belgelere etkileşimli yerleştirmeler olarak eklenmesine izin ver.", + "Providers": "Sağlayıcılar", + "Enabled providers will appear in the editor slash menu and embed automatically when a compatible link is pasted. Existing embeds in documents will continue to display regardless of these settings.": "Etkin sağlayıcılar düzenleyicinin eğik çizgi menüsünde görünür ve uyumlu bir bağlantı yapıştırıldığında otomatik olarak yerleştirilir. Belgelerdeki mevcut yerleştirmeler bu ayarlardan bağımsız olarak görüntülenmeye devam eder.", + "All providers": "Tüm sağlayıcılar", "Export data": "Verileri dışa aktar", "A full export might take some time, consider exporting a single document or collection. You may leave this page once the export has started – if you have notifications enabled, we will email a link to {{ userEmail }} when it’s complete.": "Tam bir dışa aktarma biraz zaman alabilir, tek bir belge veya koleksiyonu dışa aktarmayı düşünün. Dışa aktarma başladıktan sonra bu sayfadan ayrılabilirsiniz – bildirimleriniz etkinse, tamamlandığında {{ userEmail }} adresine bir bağlantı e-postayla gönderilecektir.", "Recent exports": "Son dışa aktarmalar", - "Manage AI and integration features for your workspace.": "Manage AI and integration features for your workspace.", - "MCP server": "MCP server", - "Allow members to connect to this workspace with MCP to read and write data.": "Allow members to connect to this workspace with MCP to read and write data.", - "Use the following endpoint to connect to the MCP server from your app. Find out more about setup in the docs.": "Use the following endpoint to connect to the MCP server from your app. Find out more about setup in the docs.", - "Copy URL": "Copy URL", - "Additional guidance": "Additional guidance", - "You can use these optional instructions to tell MCP clients how to use your knowledge base.": "You can use these optional instructions to tell MCP clients how to use your knowledge base.", + "Manage AI and integration features for your workspace.": "Çalışma alanınızın yapay zekâ ve entegrasyon özelliklerini yönetin.", + "MCP server": "MCP sunucusu", + "Allow members to connect to this workspace with MCP to read and write data.": "Üyelerin veri okumak ve yazmak için MCP ile bu çalışma alanına bağlanmasına izin ver.", + "Use the following endpoint to connect to the MCP server from your app. Find out more about setup in the docs.": "Uygulamanızdan MCP sunucusuna bağlanmak için aşağıdaki uç noktayı kullanın. Kurulum hakkında daha fazla bilgi için belgelere bakın.", + "Copy URL": "URL'yi kopyala", + "Additional guidance": "Ek yönergeler", + "You can use these optional instructions to tell MCP clients how to use your knowledge base.": "MCP istemcilerine bilgi tabanınızı nasıl kullanacaklarını belirtmek için bu isteğe bağlı yönergeleri kullanabilirsiniz.", "AI answers": "Yapay Zeka yanıtları", - "Use AI to get direct answers to questions in search. This feature requires a paid license.": "Use AI to get direct answers to questions in search. This feature requires a paid license.", - "Could not load group members": "Could not load group members", - "Synced to {{ provider }}": "Synced to {{ provider }}", - "No description": "No description", + "Use AI to get direct answers to questions in search. This feature requires a paid license.": "Aramada sorulara doğrudan yanıt almak için yapay zekâyı kullanın. Bu özellik ücretli lisans gerektirir.", + "Could not load group members": "Grup üyeleri yüklenemedi", + "Synced to {{ provider }}": "{{ provider }} ile eşitlendi", + "No description": "Açıklama yok", "Create a group": "Bir grup oluştur", "Could not load groups": "Gruplar yüklenemedi", "New group": "Yeni grup", @@ -1411,8 +1434,8 @@ "Receive a notification when you are given access to a collection": "Bir koleksiyona erişim verildiğinde bildirim alın", "Export completed": "Dışa aktarma tamamlandı", "Receive a notification when an export you requested has been completed": "Talep ettiğiniz bir dışa aktarma tamamlandığında bildirim alın", - "Document access requested": "Document access requested", - "Receive a notification when a user requests access to a document you manage": "Receive a notification when a user requests access to a document you manage", + "Document access requested": "Belge erişimi istendi", + "Receive a notification when a user requests access to a document you manage": "Yönettiğiniz bir belgeye kullanıcı erişim istediğinde bildirim alın", "Getting started": "Başlarken", "Tips on getting started with features and functionality": "Özellikler ve işlevsellik ile ilgili başlangıç ipuçları", "New features": "Yeni özellikler", @@ -1420,9 +1443,9 @@ "Notifications saved": "Bildirimler kaydedildi", "Unsubscription successful. Your notification settings were updated": "Abonelikten çıkma başarılı. Bildirim ayarlarınız güncellendi", "Manage when and where you receive email notifications.": "E-posta bildirimlerini ne zaman ve nerede alacağınızı yönetin.", - "All notifications": "All notifications", - "Unread count": "Unread count", - "Unread indicator": "Unread indicator", + "All notifications": "Tüm bildirimler", + "Unread count": "Okunmamış sayısı", + "Unread indicator": "Okunmamış göstergesi", "Delete account": "Hesabı sil", "Manage settings that affect your personal experience.": "Kişisel deneyiminizi etkileyen ayarları yönetin.", "Language": "Dil", @@ -1432,42 +1455,43 @@ "Show a hand cursor when hovering over interactive elements.": "Etkileşimli öğelerin üzerine gelindiğinde el imlecini göster.", "Show line numbers": "Satır numaralarını göster", "Show line numbers on code blocks in documents.": "Belgelerdeki kod bloklarında satır numaralarını göster.", - "Show comment marker": "Show comment marker", - "Display a marker beside lines in the editor that contain comments.": "Display a marker beside lines in the editor that contain comments.", + "Show comment marker": "Yorum işaretini göster", + "Display a marker beside lines in the editor that contain comments.": "Düzenleyicide yorum içeren satırların yanında bir işaret göster.", + "Display live word, character, and paragraph counts while editing.": "Düzenleme sırasında canlı sözcük, karakter ve paragraf sayılarını görüntüleyin.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "Etkinleştirildiğinde, belgeler ayrı bir düzenleme moduna sahiptir. Devre dışı bırakıldığında, izniniz varsa belgeler her zaman düzenlenebilir.", "Remember previous location": "Önceki konumu hatırla", "Automatically return to the document you were last viewing when the app is re-opened.": "Uygulama yeniden açıldığında otomatik olarak en son görüntülediğiniz belgeye geri dönün.", "Smart text replacements": "Akıllı metin değiştirmeleri", "Auto-format text by replacing shortcuts with symbols, dashes, smart quotes, and other typographical elements.": "Kısayolları semboller, kısa çizgiler, akıllı tırnak işaretleri ve diğer tipografik öğelerle değiştirerek metni otomatik olarak biçimlendirin.", - "Notification badge": "Notification badge", - "Choose how unread notifications are indicated on the app icon.": "Choose how unread notifications are indicated on the app icon.", + "Notification badge": "Bildirim rozeti", + "Choose how unread notifications are indicated on the app icon.": "Okunmamış bildirimlerin uygulama simgesinde nasıl gösterileceğini seçin.", "You may delete your account at any time, note that this is unrecoverable": "Hesabınızı istediğiniz zaman silebilirsiniz, bunun kurtarılamaz olduğunu unutmayın", "Profile saved": "Profil kaydedildi", "Manage how you appear to other members of the workspace.": "Çalışma alanının diğer üyelerine nasıl göründüğünüzü yönetin.", "Photo": "Fotoğraf", "Choose a photo or image to represent yourself.": "Kendinizi temsil edecek bir fotoğraf veya resim seçin.", "This could be your real name, or a nickname — however you’d like people to refer to you.": "Bu, gerçek adınız veya bir takma adınız olabilir — insanların size nasıl hitap etmesini isterseniz.", - "Members and guests": "Members and guests", - "No one": "No one", + "Members and guests": "Üyeler ve misafirler", + "No one": "Hiç kimse", "Are you sure you want to require invites?": "Davet gerektirmek istediğinizden emin misiniz?", "New users will first need to be invited to create an account. Default role and Allowed domains will no longer apply.": "Yeni kullanıcıların bir hesap oluşturmak için önce davet edilmesi gerekecektir. Varsayılan rol ve İzin verilen alan adları artık geçerli olmayacaktır.", "Settings that impact the access, security, and content of your workspace.": "Çalışma alanınızın erişim, güvenlik ve içeriğini etkileyen ayarlar.", - "Invites": "Invites", + "Invites": "Davetler", "Allow users to send invites": "Kullanıcıların davet göndermesine izin ver", "Allow editors to invite other people to the workspace": "Düzenleyicilerin çalışma alanına başka kişileri davet etmesine izin ver", "Require invites": "Davet gerektir", "Require members to be invited to the workspace before they can create an account using SSO.": "Üyelerin SSO kullanarak bir hesap oluşturmadan önce çalışma alanına davet edilmelerini zorunlu kılın.", "Default role": "Varsayılan rol", "The default user role for new accounts. Changing this setting does not affect existing user accounts.": "Yeni hesaplar için varsayılan kullanıcı rolü. Bu ayarın değiştirilmesi mevcut kullanıcı hesaplarını etkilemez.", - "Allow users to sign in with passkeys for passwordless authentication": "Allow users to sign in with passkeys for passwordless authentication", + "Allow users to sign in with passkeys for passwordless authentication": "Kullanıcıların parolasız kimlik doğrulama için geçiş anahtarlarıyla oturum açmasına izin ver", "When enabled, documents can be shared publicly on the internet by any member of the workspace": "Etkinleştirildiğinde, belgeler çalışma alanının herhangi bir üyesi tarafından internet üzerinde herkese açık olarak paylaşılabilir", "Viewer document exports": "Görüntüleyici belge dışa aktarmaları", "When enabled, viewers can see download options for documents": "Etkinleştirildiğinde, görüntüleyiciler belgeler için indirme seçeneklerini görebilir", "Users can delete account": "Kullanıcılar hesabı silebilir", "When enabled, users can delete their own account from the workspace": "Etkinleştirildiğinde, kullanıcılar kendi hesaplarını çalışma alanından silebilirler", - "Email address visibility": "Email address visibility", - "Controls who can see user email addresses in the workspace": "Controls who can see user email addresses in the workspace", - "Controls who can add comments to documents": "Controls who can add comments to documents", + "Email address visibility": "E-posta adresi görünürlüğü", + "Controls who can see user email addresses in the workspace": "Çalışma alanında kullanıcı e-posta adreslerini kimlerin görebileceğini belirler", + "Controls who can add comments to documents": "Belgelere kimlerin yorum ekleyebileceğini belirler", "Collection creation": "Koleksiyon oluşturma", "Allow editors to create new collections within the workspace": "Düzenleyicilerin çalışma alanında yeni koleksiyonlar oluşturmasına izin ver", "Workspace creation": "Çalışma alanı oluşturma", @@ -1476,10 +1500,10 @@ "Sharing is currently disabled.": "Paylaşım şu anda devre dışı.", "You can globally enable and disable public document sharing in the security settings.": "Herkese açık belge paylaşımını güvenlik ayarlarında genel olarak etkinleştirebilir ve devre dışı bırakabilirsiniz.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Paylaşılan belgeler aşağıda listelenmiştir. Genel bağlantıya sahip olan herkes, bağlantı iptal edilene kadar belgenin salt okunur bir sürümüne erişebilir.", - "A template must have content": "A template must have content", - "Could not load templates": "Could not load templates", - "Templates help your team create consistent and accurate documentation.": "Templates help your team create consistent and accurate documentation.", - "No templates have been created yet": "No templates have been created yet", + "Couldn’t create the template, try again?": "Şablon oluşturulamadı, tekrar denemek ister misiniz?", + "Could not load templates": "Şablonlar yüklenemedi", + "Templates help your team create consistent and accurate documentation.": "Şablonlar ekibinizin tutarlı ve doğru belgeler oluşturmasına yardımcı olur.", + "No templates have been created yet": "Henüz şablon oluşturulmadı", "Could not load users": "Kullanıcılar yüklenemedi", "Everyone that has signed into {{appName}} is listed here. It’s possible that there are other users who have access through {{signinMethods}} but haven’t signed in yet.": "{{appName}}'e giriş yapan herkes burada listelenmiştir. {{signinMethods}} aracılığıyla erişimi olan ancak henüz giriş yapmamış başka kullanıcılar da olabilir.", "{{ teamName }} is using {{ appName }} to share documents, please login to continue.": "{{ teamName }}, belgeleri paylaşmak için {{ appName }} kullanıyor, devam etmek için lütfen giriş yapın.", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "Başka bir e-posta ile bir çalışma alanı oluşturmak için lütfen ana sayfadan kaydolun", "Trash emptied": "Çöp boşaltıldı", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Çöpteki tüm belgeleri kalıcı olarak silmek istediğinizden emin misiniz? Bu işlem hemen yapılır ve geri alınamaz.", - "Recently deleted": "Yakın zamanda silinenler", + "You’ve not deleted any documents.": "Hiçbir belge silmediniz.", + "This user has not deleted any documents.": "Bu kullanıcı hiçbir belge silmedi.", "Trash is empty at the moment.": "Çöp kutusu şu anda boş.", + "Recently deleted": "Yakın zamanda silinenler", + "Deleted by anyone": "Herkes tarafından silinen", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "E-posta adresinize bir onay kodu gönderildi, hesabınızı kalıcı olarak yok etmek için lütfen kodu aşağıya girin.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Emin misiniz? Hesabınızı silmek, kullanıcınızla ilişkili tanımlayıcı verileri yok edecek ve geri alınamayacaktır. {{appName}} uygulamasından hemen çıkışınız yapılacak ve tüm API tokenlarınız iptal edilecektir.", "Delete my account": "Hesabımı sil", + "Export started": "Dışa aktarma başladı", + "A link to your file will be sent through email soon": "Dosyanızın bağlantısı yakında e-posta yoluyla gönderilecek", + "Preparing your download": "İndirme işleminiz hazırlanıyor", "Today": "Bugün", "Yesterday": "Dün", "Last week": "Geçen hafta", @@ -1506,9 +1536,9 @@ "Expires today": "Bugün sona eriyor", "Expires tomorrow": "Yarın sona eriyor", "Expires {{ date }}": "{{ date }} tarihinde sona eriyor", - "Configure a custom Diagrams.net installation URL to use your own self-hosted instance for embedding diagrams in your documents.": "Configure a custom Diagrams.net installation URL to use your own self-hosted instance for embedding diagrams in your documents.", - "Installation URL": "Installation URL", - "The URL of your Diagrams.net installation. Leave empty to use the cloud hosted app.diagrams.net": "The URL of your Diagrams.net installation. Leave empty to use the cloud hosted app.diagrams.net", + "Configure a custom Diagrams.net installation URL to use your own self-hosted instance for embedding diagrams in your documents.": "Belgelerinize diyagram yerleştirmek için kendi barındırdığınız Diagrams.net örneğini kullanmak üzere özel kurulum URL'si yapılandırın.", + "Installation URL": "Kurulum URL'si", + "The URL of your Diagrams.net installation. Leave empty to use the cloud hosted app.diagrams.net": "Diagrams.net kurulumunuzun URL'si. Bulutta barındırılan app.diagrams.net'i kullanmak için boş bırakın", "New attribute": "Yeni özellik", "Paper size": "Kağıt boyutu", "Ask AI \"{{question}}\"": "Yapay Zekaya Sor \"{{question}}\"", @@ -1577,46 +1607,46 @@ "Sorry, an answer could not be found in the workspace, try widening your search.": "Üzgünüz, çalışma alanında bir yanıt bulunamadı, aramanızı genişletmeyi deneyin.", "Looking for answers": "Yanıt aranıyor", "Answer to \"{{ query }}\"": "\"{{ query }}\" için yanıt", - "Whoops, you need to accept the permissions in Figma to connect {{appName}} to your workspace. Try again?": "Whoops, you need to accept the permissions in Figma to connect {{appName}} to your workspace. Try again?", + "Whoops, you need to accept the permissions in Figma to connect {{appName}} to your workspace. Try again?": "{{appName}} uygulamasını çalışma alanınıza bağlamak için Figma izinlerini kabul etmeniz gerekiyor. Yeniden denensin mi?", "Something went wrong while authenticating your request. Please try logging in again.": "İsteğinizin kimlik doğrulaması yapılırken bir sorun oluştu. Lütfen tekrar oturum açmayı deneyin.", "Something went wrong while processing your request. Please try again.": "İsteğiniz işlenirken bir sorun oluştu. Lütfen tekrar deneyin.", - "Link your {{appName}} account to Figma to enable previews of design files you have access to, directly within documents.": "Link your {{appName}} account to Figma to enable previews of design files you have access to, directly within documents.", - "Enabled on": "Enabled on", - "Disconnecting will prevent previewing Figma design files from this account in documents. Are you sure?": "Disconnecting will prevent previewing Figma design files from this account in documents. Are you sure?", - "The Figma integration is currently disabled. Please set the associated environment variables and restart the server to enable the integration.": "The Figma integration is currently disabled. Please set the associated environment variables and restart the server to enable the integration.", + "Link your {{appName}} account to Figma to enable previews of design files you have access to, directly within documents.": "Erişiminiz olan tasarım dosyalarının önizlemelerini doğrudan belgelerde görmek için {{appName}} hesabınızı Figma'ya bağlayın.", + "Enabled on": "Etkinleştirilme tarihi", + "Disconnecting will prevent previewing Figma design files from this account in documents. Are you sure?": "Bağlantının kesilmesi, bu hesaptaki Figma tasarım dosyalarının belgelerde önizlenmesini engelleyecektir. Emin misiniz?", + "The Figma integration is currently disabled. Please set the associated environment variables and restart the server to enable the integration.": "Figma entegrasyonu şu anda devre dışı. Entegrasyonu etkinleştirmek için ilgili ortam değişkenlerini ayarlayın ve sunucuyu yeniden başlatın.", "Whoops, you need to accept the permissions in GitHub to connect {{appName}} to your workspace. Try again?": "Hata, {{appName}} uygulamasını çalışma alanınıza bağlamak için GitHub'daki izinleri kabul etmeniz gerekiyor. Tekrar deneyin?", "The owner of GitHub account has been requested to install the {{githubAppName}} GitHub app. Once approved, previews will be shown for respective links.": "GitHub hesabının sahibinden {{githubAppName}} GitHub uygulamasını yüklemesi istendi. Onaylandıktan sonra, ilgili bağlantılar için önizlemeler gösterilecektir.", "Enable previews of GitHub issues and pull requests in documents by connecting a GitHub organization or specific repositories to {appName}.": "Bir GitHub organizasyonunu veya belirli depoları {appName}'e bağlayarak belgelerde GitHub sorunlarının ve çekme isteklerinin önizlemelerini etkinleştirin.", "Enabled by {{integrationCreatedBy}}": "{{integrationCreatedBy}} tarafından etkinleştirildi", "Disconnecting will prevent previewing GitHub links from this organization in documents. Are you sure?": "Bağlantının kesilmesi, belgelerdeki bu organizasyondan gelen GitHub bağlantılarının önizlenmesini engelleyecektir. Emin misiniz?", "The GitHub integration is currently disabled. Please set the associated environment variables and restart the server to enable the integration.": "GitHub entegrasyonu şu anda devre dışı. Lütfen ilişkili ortam değişkenlerini ayarlayın ve entegrasyonu etkinleştirmek için sunucuyu yeniden başlatın.", - "Connect GitLab": "Connect GitLab", - "Enter the details for your GitLab instance.": "Enter the details for your GitLab instance.", - "GitLab URL": "GitLab URL", - "URL must start with https": "URL must start with https", - "Client ID": "Client ID", - "OAuth application ID": "OAuth application ID", - "Client Secret": "Client Secret", - "OAuth application secret": "OAuth application secret", - "Connecting": "Connecting", - "Choose which GitLab instance to connect to.": "Choose which GitLab instance to connect to.", + "Connect GitLab": "GitLab'a bağlan", + "Enter the details for your GitLab instance.": "GitLab örneğinizin bilgilerini girin.", + "GitLab URL": "GitLab URL'si", + "URL must start with https": "URL https ile başlamalıdır", + "Client ID": "İstemci kimliği", + "OAuth application ID": "OAuth uygulama kimliği", + "Client Secret": "İstemci gizli anahtarı", + "OAuth application secret": "OAuth uygulama gizli anahtarı", + "Connecting": "Bağlanıyor", + "Choose which GitLab instance to connect to.": "Bağlanılacak GitLab örneğini seçin.", "GitLab Cloud": "GitLab Cloud", - "Connect to your account on gitlab.com": "Connect to your account on gitlab.com", - "GitLab Cloud credentials are not configured": "GitLab Cloud credentials are not configured", - "Self-managed": "Self-managed", - "Connect to a custom GitLab installation": "Connect to a custom GitLab installation", - "You need to accept the permissions in GitLab to connect {{appName}} to your workspace. Try again?": "You need to accept the permissions in GitLab to connect {{appName}} to your workspace. Try again?", - "The GitLab account is already connected to this workspace.": "The GitLab account is already connected to this workspace.", - "Something went wrong while authenticating your request. Please try again.": "Something went wrong while authenticating your request. Please try again.", - "The owner of GitLab account has been requested to install the application. Once approved, the connection will be completed.": "The owner of GitLab account has been requested to install the application. Once approved, the connection will be completed.", - "Enable previews of GitLab issues and merge requests in documents by connecting a GitLab organization or specific repositories to {appName}.": "Enable previews of GitLab issues and merge requests in documents by connecting a GitLab organization or specific repositories to {appName}.", - "Disconnecting will prevent previewing links from GitLab in documents. Are you sure?": "Disconnecting will prevent previewing links from GitLab in documents. Are you sure?", + "Connect to your account on gitlab.com": "gitlab.com hesabınıza bağlanın", + "GitLab Cloud credentials are not configured": "GitLab Cloud kimlik bilgileri yapılandırılmamış", + "Self-managed": "Kendi yönetiminizde", + "Connect to a custom GitLab installation": "Özel bir GitLab kurulumuna bağlanın", + "You need to accept the permissions in GitLab to connect {{appName}} to your workspace. Try again?": "{{appName}} uygulamasını çalışma alanınıza bağlamak için GitLab izinlerini kabul etmeniz gerekiyor. Yeniden denensin mi?", + "The GitLab account is already connected to this workspace.": "GitLab hesabı bu çalışma alanına zaten bağlı.", + "Something went wrong while authenticating your request. Please try again.": "İsteğiniz doğrulanırken bir hata oluştu. Lütfen yeniden deneyin.", + "The owner of GitLab account has been requested to install the application. Once approved, the connection will be completed.": "GitLab hesabının sahibinden uygulamayı yüklemesi istendi. Onaylandığında bağlantı tamamlanacaktır.", + "Enable previews of GitLab issues and merge requests in documents by connecting a GitLab organization or specific repositories to {appName}.": "Bir GitLab kuruluşunu veya belirli depoları {appName} uygulamasına bağlayarak belgelerde GitLab sorunlarının ve birleştirme isteklerinin önizlemelerini etkinleştirin.", + "Disconnecting will prevent previewing links from GitLab in documents. Are you sure?": "Bağlantının kesilmesi, GitLab bağlantılarının belgelerde önizlenmesini engelleyecektir. Emin misiniz?", "Google Analytics": "Google Analytics", "Add a Google Analytics 4 measurement ID to send document views and analytics from the workspace to your own Google Analytics account.": "Çalışma alanından belge görünümlerini ve analizleri kendi Google Analytics hesabınıza göndermek için bir Google Analytics 4 ölçüm kimliği ekleyin.", "Measurement ID": "Ölçüm Kimliği", "Create a \"Web\" stream in your Google Analytics admin dashboard and copy the measurement ID from the generated code snippet to install.": "Google Analytics yönetici panelinizde bir \"Web\" akışı oluşturun ve yüklemek için oluşturulan kod snippet'inden ölçüm kimliğini kopyalayın.", "Whoops, you need to accept the permissions in Linear to connect {{appName}} to your workspace. Try again?": "Hata, {{appName}} uygulamasını çalışma alanınıza bağlamak için Linear'daki izinleri kabul etmeniz gerekiyor. Tekrar deneyin?", - "Enable previews of Linear issues in documents by connecting a Linear workspace to {{appName}}.": "Enable previews of Linear issues in documents by connecting a Linear workspace to {{appName}}.", + "Enable previews of Linear issues in documents by connecting a Linear workspace to {{appName}}.": "Bir Linear çalışma alanını {{appName}} uygulamasına bağlayarak belgelerde Linear sorunlarının önizlemelerini etkinleştirin.", "Disconnecting will prevent previewing Linear links from this workspace in documents. Are you sure?": "Bağlantının kesilmesi, belgelerdeki bu çalışma alanından gelen Linear bağlantılarının önizlenmesini engelleyecektir. Emin misiniz?", "The Linear integration is currently disabled. Please set the associated environment variables and restart the server to enable the integration.": "Linear entegrasyonu şu anda devre dışı. Lütfen ilişkili ortam değişkenlerini ayarlayın ve entegrasyonu etkinleştirmek için sunucuyu yeniden başlatın.", "Configure a Matomo installation to send views and analytics from the workspace to your own Matomo instance.": "Çalışma alanından görünümleri ve analizleri kendi Matomo örneğinize göndermek için bir Matomo kurulumu yapılandırın.", @@ -1626,38 +1656,38 @@ "An ID that uniquely identifies the website in your Matomo instance.": "Matomo örneğinizde web sitesini benzersiz şekilde tanımlayan bir kimlik.", "Whoops, you need to accept the permissions in Notion to connect {{ appName }} to your workspace. Try again?": "Hata, {{ appName }} uygulamasını çalışma alanınıza bağlamak için Notion'daki izinleri kabul etmeniz gerekiyor. Tekrar deneyin?", "Import pages from Notion": "Notion'dan sayfaları içe aktar", - "Passkey options": "Passkey options", - "Registered {{ timeAgo }}": "Registered {{ timeAgo }}", - "Passkey updated": "Passkey updated", - "Failed to update passkey. Please try again.": "Failed to update passkey. Please try again.", - "Give your passkey a memorable name to easily identify it.": "Give your passkey a memorable name to easily identify it.", - "Enter passkey name": "Enter passkey name", - "Failed to load passkeys": "Failed to load passkeys", - "Passkey added successfully": "Passkey added successfully", - "Failed to register passkey. Please try again.": "Failed to register passkey. Please try again.", - "Rename passkey": "Rename passkey", - "Delete passkey": "Delete passkey", - "Passkey deleted successfully": "Passkey deleted successfully", - "Failed to delete passkey. Please try again.": "Failed to delete passkey. Please try again.", - "Are you sure you want to delete this passkey? You will no longer be able to use it to sign in.": "Are you sure you want to delete this passkey? You will no longer be able to use it to sign in.", - "Registering": "Registering", - "Add Passkey": "Add Passkey", - "Passkeys allow you to sign in safely without a password using your device's biometric authentication (Face ID, Touch ID, Windows Hello) or security key.": "Passkeys allow you to sign in safely without a password using your device's biometric authentication (Face ID, Touch ID, Windows Hello) or security key.", - "Sign-in with Passkey is currently disabled for this team.": "Sign-in with Passkey is currently disabled for this team.", - "Enable for all users in Settings -> Authentication.": "Enable for all users in Settings -> Authentication.", - "Contact a workspace admin to enable it.": "Contact a workspace admin to enable it.", - "You don't have any passkeys yet.": "You don't have any passkeys yet.", - "New passkey added to your {{ appName }} account": "New passkey added to your {{ appName }} account", - "A new passkey was created for your account.": "A new passkey was created for your account.", - "New Passkey Created": "New Passkey Created", - "A new passkey has been added to your {{ appName }} account": "A new passkey has been added to your {{ appName }} account", - "Passkeys provide a secure, passwordless way to sign in to your account. If you did not create this passkey, please review your account security settings immediately.": "Passkeys provide a secure, passwordless way to sign in to your account. If you did not create this passkey, please review your account security settings immediately.", - "You can manage your passkeys at any time": "You can manage your passkeys at any time", - "If you have any concerns about your account security, please contact a workspace admin.": "If you have any concerns about your account security, please contact a workspace admin.", - "Manage Passkeys": "Manage Passkeys", - "Import a zip file of Markdown documents exported from Slab – collections, posts, and images will be imported. In Slab, open the admin settings and use the <1>Export option to download an archive of your content.": "Import a zip file of Markdown documents exported from Slab – collections, posts, and images will be imported. In Slab, open the admin settings and use the <1>Export option to download an archive of your content.", - "Drag and drop the zip file exported from Slab, or click to upload": "Drag and drop the zip file exported from Slab, or click to upload", - "Import a zip file of Markdown documents exported from Slab": "Import a zip file of Markdown documents exported from Slab", + "Passkey options": "Geçiş anahtarı seçenekleri", + "Registered {{ timeAgo }}": "{{ timeAgo }} kaydedildi", + "Passkey updated": "Geçiş anahtarı güncellendi", + "Failed to update passkey. Please try again.": "Geçiş anahtarı güncellenemedi. Lütfen yeniden deneyin.", + "Give your passkey a memorable name to easily identify it.": "Kolayca tanıyabilmek için geçiş anahtarınıza akılda kalıcı bir ad verin.", + "Enter passkey name": "Geçiş anahtarı adını girin", + "Failed to load passkeys": "Geçiş anahtarları yüklenemedi", + "Passkey added successfully": "Geçiş anahtarı başarıyla eklendi", + "Failed to register passkey. Please try again.": "Geçiş anahtarı kaydedilemedi. Lütfen yeniden deneyin.", + "Rename passkey": "Geçiş anahtarını yeniden adlandır", + "Delete passkey": "Geçiş anahtarını sil", + "Passkey deleted successfully": "Geçiş anahtarı başarıyla silindi", + "Failed to delete passkey. Please try again.": "Geçiş anahtarı silinemedi. Lütfen yeniden deneyin.", + "Are you sure you want to delete this passkey? You will no longer be able to use it to sign in.": "Bu geçiş anahtarını silmek istediğinizden emin misiniz? Artık oturum açmak için kullanamayacaksınız.", + "Registering": "Kaydediliyor", + "Add Passkey": "Geçiş anahtarı ekle", + "Passkeys allow you to sign in safely without a password using your device's biometric authentication (Face ID, Touch ID, Windows Hello) or security key.": "Geçiş anahtarları, cihazınızın biyometrik kimlik doğrulamasını (Face ID, Touch ID, Windows Hello) veya güvenlik anahtarını kullanarak parola olmadan güvenle oturum açmanızı sağlar.", + "Sign-in with Passkey is currently disabled for this team.": "Geçiş anahtarıyla oturum açma bu ekip için şu anda devre dışı.", + "Enable for all users in Settings -> Authentication.": "Ayarlar -> Kimlik Doğrulama bölümünden tüm kullanıcılar için etkinleştirin.", + "Contact a workspace admin to enable it.": "Etkinleştirmek için bir çalışma alanı yöneticisiyle iletişime geçin.", + "You don't have any passkeys yet.": "Henüz geçiş anahtarınız yok.", + "New passkey added to your {{ appName }} account": "{{ appName }} hesabınıza yeni geçiş anahtarı eklendi", + "A new passkey was created for your account.": "Hesabınız için yeni bir geçiş anahtarı oluşturuldu.", + "New Passkey Created": "Yeni geçiş anahtarı oluşturuldu", + "A new passkey has been added to your {{ appName }} account": "{{ appName }} hesabınıza yeni bir geçiş anahtarı eklendi", + "Passkeys provide a secure, passwordless way to sign in to your account. If you did not create this passkey, please review your account security settings immediately.": "Geçiş anahtarları hesabınıza güvenli ve parolasız şekilde giriş yapmanızı sağlar. Bu geçiş anahtarını siz oluşturmadıysanız hesap güvenliği ayarlarınızı hemen gözden geçirin.", + "You can manage your passkeys at any time": "Geçiş anahtarlarınızı istediğiniz zaman yönetebilirsiniz", + "If you have any concerns about your account security, please contact a workspace admin.": "Hesap güvenliğinizle ilgili endişeniz varsa bir çalışma alanı yöneticisiyle iletişime geçin.", + "Manage Passkeys": "Geçiş anahtarlarını yönet", + "Import a zip file of Markdown documents exported from Slab – collections, posts, and images will be imported. In Slab, open the admin settings and use the <1>Export option to download an archive of your content.": "Slab'den dışa aktarılan Markdown belgelerini içeren ZIP dosyasını içe aktarın; koleksiyonlar, gönderiler ve görseller içe aktarılacaktır. Slab'de yönetici ayarlarını açın ve içeriğinizin arşivini indirmek için <1>Dışa Aktar seçeneğini kullanın.", + "Drag and drop the zip file exported from Slab, or click to upload": "Slab'den dışa aktarılan ZIP dosyasını sürükleyip bırakın veya yüklemek için tıklayın", + "Import a zip file of Markdown documents exported from Slab": "Slab'den dışa aktarılan Markdown belgelerinin ZIP dosyasını içe aktarın", "Add to Slack": "Slack'e Ekle", "document published": "belge yayınlandı", "document updated": "belge güncellendi", @@ -1696,151 +1726,151 @@ "Provide a descriptive name for this webhook and the URL we should send a POST request to when matching events are created.": "Bu webhook için açıklayıcı bir ad ve eşleşen olaylar oluşturulduğunda POST isteği göndermemiz gereken URL'yi sağlayın.", "A memorable identifer": "Akılda kalıcı bir tanımlayıcı", "URL": "URL", - "Webhook delivery over http is insecure, use https if possible": "Webhook delivery over http is insecure, use https if possible", + "Webhook delivery over http is insecure, use https if possible": "Webhook teslimi HTTP üzerinden güvenli değildir; mümkünse HTTPS kullanın", "Signing secret": "Gizli anahtar imzalama", "Subscribe to all events, groups, or individual events. We recommend only subscribing to the minimum amount of events that your application needs to function.": "Tüm olaylara, gruplara veya bireysel olaylara abone olun. Uygulamanızın işlev görmesi için gereken minimum olay miktarına abone olmanızı öneririz.", "All events": "Tüm olaylar", "All {{ groupName }} events": "Tüm {{ groupName }} olayları", "Webhook": "Webhook", "Webhook created": "Webhook oluşturuldu", - "Could not load webhooks": "Could not load webhooks", + "Could not load webhooks": "Webhook'lar yüklenemedi", "Webhooks": "Webhook'lar", "Webhooks can be used to notify your application when events happen in {{appName}}. Events are sent as a https request with a JSON payload in near real-time.": "Webhook'lar, {{appName}} içinde olaylar meydana geldiğinde uygulamanızı bilgilendirmek için kullanılabilir. Olaylar, neredeyse gerçek zamanlı olarak bir JSON yükü ile HTTPS isteği olarak gönderilir.", "Zapier is a platform that allows {{appName}} to easily integrate with thousands of other business tools. Automate your workflows, sync data, and more.": "Zapier, {{appName}}'in binlerce diğer iş aracıyla kolayca entegre olmasına olanak tanıyan bir platformdur. İş akışlarınızı otomatikleştirin, verileri senkronize edin ve daha fazlasını yapın.", - "Delayed notification": "Delayed notification", - "“{{ collectionName }}” created": "“{{ collectionName }}” created", - "{{ userName }} created a collection": "{{ userName }} created a collection", - "{{ userName }} created the collection “{{ collectionName }}”": "{{ userName }} created the collection “{{ collectionName }}”", - "Open Collection": "Open Collection", - "View Collection": "View Collection", - "{{ userName }} created the collection “{{ collectionName }}”.": "{{ userName }} created the collection “{{ collectionName }}”.", - "Unsubscribe from these emails": "Unsubscribe from these emails", - "{{ actorName }} invited you to the “{{ collectionName }}” collection": "{{ actorName }} invited you to the “{{ collectionName }}” collection", - "{{ actorName }} invited you to a collection": "{{ actorName }} invited you to a collection", - "{{ actorName }} invited you to the “{{ collectionName }}” collection.": "{{ actorName }} invited you to the “{{ collectionName }}” collection.", - "view and edit": "view and edit", - "manage": "manage", - "view": "view", - "{{ actorName }} invited you to {{ permission }} documents in the": "{{ actorName }} invited you to {{ permission }} documents in the", + "Delayed notification": "Gecikmeli bildirim", + "“{{ collectionName }}” created": "“{{ collectionName }}” oluşturuldu", + "{{ userName }} created a collection": "{{ userName }} bir koleksiyon oluşturdu", + "{{ userName }} created the collection “{{ collectionName }}”": "{{ userName }}, “{{ collectionName }}” koleksiyonunu oluşturdu", + "Open Collection": "Koleksiyonu aç", + "View Collection": "Koleksiyonu görüntüle", + "{{ userName }} created the collection “{{ collectionName }}”.": "{{ userName }}, “{{ collectionName }}” koleksiyonunu oluşturdu.", + "Unsubscribe from these emails": "Bu e-postaların aboneliğinden çık", + "{{ actorName }} invited you to the “{{ collectionName }}” collection": "{{ actorName }} sizi “{{ collectionName }}” koleksiyonuna davet etti", + "{{ actorName }} invited you to a collection": "{{ actorName }} sizi bir koleksiyona davet etti", + "{{ actorName }} invited you to the “{{ collectionName }}” collection.": "{{ actorName }} sizi “{{ collectionName }}” koleksiyonuna davet etti.", + "view and edit": "görüntüleme ve düzenleme", + "manage": "yönetme", + "view": "görüntüleme", + "{{ actorName }} invited you to {{ permission }} documents in the": "{{ actorName }} sizi şu koleksiyondaki belgeleri {{ permission }} yetkisiyle kullanmaya davet etti:", "Re": "Re", - "New comment on “{{ documentTitle }}” - {{ trimmedText }}": "New comment on “{{ documentTitle }}” - {{ trimmedText }}", - "{{ actorName }} replied in a thread": "{{ actorName }} replied in a thread", - "{{ actorName }} commented on the document": "{{ actorName }} commented on the document", - "{{ actorName }} replied to a thread in “{{ documentTitle }}”": "{{ actorName }} replied to a thread in “{{ documentTitle }}”", - "{{ actorName }} commented on “{{ documentTitle }}”": "{{ actorName }} commented on “{{ documentTitle }}”", - "in the {{ collectionName }} collection": "in the {{ collectionName }} collection", - "Open Thread": "Open Thread", - "View Thread": "View Thread", - "{{ actorName }} replied to a thread in": "{{ actorName }} replied to a thread in", - "{{ actorName }} commented on": "{{ actorName }} commented on", - "Mentioned you in “{{ documentTitle }}”": "Mentioned you in “{{ documentTitle }}”", - "{{ actorName }} mentioned you in a thread": "{{ actorName }} mentioned you in a thread", - "{{ actorName }} mentioned you in a comment on “{{ documentTitle }}”": "{{ actorName }} mentioned you in a comment on “{{ documentTitle }}”", - "{{ actorName }} mentioned you in a comment on": "{{ actorName }} mentioned you in a comment on", - "Resolved a comment thread in “{{ documentTitle }}”": "Resolved a comment thread in “{{ documentTitle }}”", - "{{ actorName }} resolved a comment thread": "{{ actorName }} resolved a comment thread", - "{{ actorName }} resolved a comment thread on “{{ documentTitle }}”": "{{ actorName }} resolved a comment thread on “{{ documentTitle }}”", - "{{ actorName }} resolved a comment on": "{{ actorName }} resolved a comment on", - "Your workspace deletion request": "Your workspace deletion request", - "Your requested workspace deletion code": "Your requested workspace deletion code", - "You requested to permanently delete your {{ appName }} workspace. Please enter the code below to confirm your workspace deletion.": "You requested to permanently delete your {{ appName }} workspace. Please enter the code below to confirm your workspace deletion.", - "Your email update request": "Your email update request", - "Here’s your email change confirmation.": "Here’s your email change confirmation.", - "You requested to update your {{ appName }} account email. Please follow the link below to confirm the change from {{ previous }} to {{ to }}.": "You requested to update your {{ appName }} account email. Please follow the link below to confirm the change from {{ previous }} to {{ to }}.", - "You requested to update your {{ appName }} account email. Please follow the link below to confirm the change to {{ to }}.": "You requested to update your {{ appName }} account email. Please follow the link below to confirm the change to {{ to }}.", - "You requested to update your {{ appName }} account email. Please click below to confirm the change from {{ previous }} to": "You requested to update your {{ appName }} account email. Please click below to confirm the change from {{ previous }} to", - "You requested to update your {{ appName }} account email. Please click below to confirm the change to": "You requested to update your {{ appName }} account email. Please click below to confirm the change to", - "Confirm Change": "Confirm Change", - "Your account deletion request": "Your account deletion request", - "Your requested account deletion code": "Your requested account deletion code", - "You requested to permanently delete your {{ appName }} user account in the {{ teamName }} workspace. Please enter the code below to confirm your account deletion.": "You requested to permanently delete your {{ appName }} user account in the {{ teamName }} workspace. Please enter the code below to confirm your account deletion.", - "You requested to permanently delete your {{ appName }} user account in the": "You requested to permanently delete your {{ appName }} user account in the", - "workspace. Please enter the code below to confirm your account deletion.": "workspace. Please enter the code below to confirm your account deletion.", - "{{ actorName }} mentioned you": "{{ actorName }} mentioned you", - "You were mentioned": "You were mentioned", - "{{ actorName }} mentioned you in the document “{{ documentTitle }}”.": "{{ actorName }} mentioned you in the document “{{ documentTitle }}”.", - "Open Document": "Open Document", - "View Document": "View Document", - "{{ actorName }} mentioned you in the document": "{{ actorName }} mentioned you in the document", - "updated": "updated", + "New comment on “{{ documentTitle }}” - {{ trimmedText }}": "“{{ documentTitle }}” belgesinde yeni yorum - {{ trimmedText }}", + "{{ actorName }} replied in a thread": "{{ actorName }} bir yorum dizisini yanıtladı", + "{{ actorName }} commented on the document": "{{ actorName }} belgeye yorum yaptı", + "{{ actorName }} replied to a thread in “{{ documentTitle }}”": "{{ actorName }}, “{{ documentTitle }}” belgesindeki bir yorum dizisini yanıtladı", + "{{ actorName }} commented on “{{ documentTitle }}”": "{{ actorName }}, “{{ documentTitle }}” belgesine yorum yaptı", + "in the {{ collectionName }} collection": "{{ collectionName }} koleksiyonunda", + "Open Thread": "Yorum dizisini aç", + "View Thread": "Yorum dizisini görüntüle", + "{{ actorName }} replied to a thread in": "{{ actorName }} şu belgedeki bir yorum dizisini yanıtladı:", + "{{ actorName }} commented on": "{{ actorName }} şuna yorum yaptı:", + "Mentioned you in “{{ documentTitle }}”": "“{{ documentTitle }}” belgesinde sizden bahsetti", + "{{ actorName }} mentioned you in a thread": "{{ actorName }} bir yorum dizisinde sizden bahsetti", + "{{ actorName }} mentioned you in a comment on “{{ documentTitle }}”": "{{ actorName }}, “{{ documentTitle }}” belgesindeki bir yorumda sizden bahsetti", + "{{ actorName }} mentioned you in a comment on": "{{ actorName }} şu belgedeki bir yorumda sizden bahsetti:", + "Resolved a comment thread in “{{ documentTitle }}”": "“{{ documentTitle }}” belgesindeki bir yorum dizisini çözdü", + "{{ actorName }} resolved a comment thread": "{{ actorName }} bir yorum dizisini çözdü", + "{{ actorName }} resolved a comment thread on “{{ documentTitle }}”": "{{ actorName }}, “{{ documentTitle }}” belgesindeki bir yorum dizisini çözdü", + "{{ actorName }} resolved a comment on": "{{ actorName }} şu belgedeki bir yorumu çözdü:", + "Your workspace deletion request": "Çalışma alanı silme isteğiniz", + "Your requested workspace deletion code": "İstediğiniz çalışma alanı silme kodu", + "You requested to permanently delete your {{ appName }} workspace. Please enter the code below to confirm your workspace deletion.": "{{ appName }} çalışma alanınızı kalıcı olarak silmek istediniz. Silme işlemini onaylamak için aşağıdaki kodu girin.", + "Your email update request": "E-posta güncelleme isteğiniz", + "Here’s your email change confirmation.": "E-posta değişikliği onayınız burada.", + "You requested to update your {{ appName }} account email. Please follow the link below to confirm the change from {{ previous }} to {{ to }}.": "{{ appName }} hesabınızın e-posta adresini {{ previous }} yerine {{ to }} olarak güncellemek istediniz. Değişikliği onaylamak için aşağıdaki bağlantıyı izleyin.", + "You requested to update your {{ appName }} account email. Please follow the link below to confirm the change to {{ to }}.": "{{ appName }} hesabınızın e-posta adresini {{ to }} olarak güncellemek istediniz. Değişikliği onaylamak için aşağıdaki bağlantıyı izleyin.", + "You requested to update your {{ appName }} account email. Please click below to confirm the change from {{ previous }} to": "{{ appName }} hesabınızın e-posta adresini {{ previous }} yerine aşağıdaki adres olarak değiştirmeyi onaylamak için tıklayın:", + "You requested to update your {{ appName }} account email. Please click below to confirm the change to": "{{ appName }} hesabınızın e-posta adresini aşağıdaki adres olarak değiştirmeyi onaylamak için tıklayın:", + "Confirm Change": "Değişikliği onayla", + "Your account deletion request": "Hesap silme isteğiniz", + "Your requested account deletion code": "İstediğiniz hesap silme kodu", + "You requested to permanently delete your {{ appName }} user account in the {{ teamName }} workspace. Please enter the code below to confirm your account deletion.": "{{ teamName }} çalışma alanındaki {{ appName }} kullanıcı hesabınızı kalıcı olarak silmek istediniz. Hesap silme işlemini onaylamak için aşağıdaki kodu girin.", + "You requested to permanently delete your {{ appName }} user account in the": "Şu çalışma alanındaki {{ appName }} kullanıcı hesabınızı kalıcı olarak silmek istediniz:", + "workspace. Please enter the code below to confirm your account deletion.": "Hesap silme işlemini onaylamak için aşağıdaki kodu girin.", + "{{ actorName }} mentioned you": "{{ actorName }} sizden bahsetti", + "You were mentioned": "Sizden bahsedildi", + "{{ actorName }} mentioned you in the document “{{ documentTitle }}”.": "{{ actorName }}, “{{ documentTitle }}” belgesinde sizden bahsetti.", + "Open Document": "Belgeyi aç", + "View Document": "Belgeyi görüntüle", + "{{ actorName }} mentioned you in the document": "{{ actorName }} şu belgede sizden bahsetti:", + "updated": "güncelledi", "“{{ documentTitle }}” {{ eventName }}": "“{{ documentTitle }}” {{ eventName }}", - "{{ actorName }} {{ eventName }} a document": "{{ actorName }} {{ eventName }} a document", - "\"{{ documentTitle }}\" {{ eventName }}": "\"{{ documentTitle }}\" {{ eventName }}", - "{{ actorName }} {{ eventName }} the document \"{{ documentTitle }}\"": "{{ actorName }} {{ eventName }} the document \"{{ documentTitle }}\"", - "{{ actorName }} {{ eventName }} the document": "{{ actorName }} {{ eventName }} the document", - "Unsubscribe from this doc": "Unsubscribe from this doc", - "{{ actorName }} shared “{{ documentTitle }}” with you": "{{ actorName }} shared “{{ documentTitle }}” with you", - "{{ actorName }} shared a document": "{{ actorName }} shared a document", - "{{ actorName }} shared “{{ documentTitle }}” with you.": "{{ actorName }} shared “{{ documentTitle }}” with you.", - "edit": "edit", - "{{ actorName }} invited you to {{ permission }} the": "{{ actorName }} invited you to {{ permission }} the", - "Your requested export": "Your requested export", - "Sorry, your requested data export has failed": "Sorry, your requested data export has failed", - "Your Data Export": "Your Data Export", - "Sorry, your requested data export has failed, please visit the admin section to try again – if the problem persists please contact support.": "Sorry, your requested data export has failed, please visit the admin section to try again – if the problem persists please contact support.", - "Sorry, your requested data export has failed, please visit the": "Sorry, your requested data export has failed, please visit the", - "admin section": "admin section", - "to try again – if the problem persists please contact support.": "to try again – if the problem persists please contact support.", - "Go to export": "Go to export", - "Here's your request data export from {{ appName }}": "Here's your request data export from {{ appName }}", - "Your requested data export is complete, you can download from the link below in a browser that is logged into your account.": "Your requested data export is complete, you can download from the link below in a browser that is logged into your account.", - "This export will be available to download for {{ days }} days.": "This export will be available to download for {{ days }} days.", - "Download export": "Download export", - "Your requested data export is complete - you can download from the link below in a browser that is logged into your account.": "Your requested data export is complete - you can download from the link below in a browser that is logged into your account.", - "The {{ groupName }} group was mentioned in “{{ documentTitle }}”": "The {{ groupName }} group was mentioned in “{{ documentTitle }}”", - "{{ actorName }} mentioned the “{{ groupName }}” group in a thread": "{{ actorName }} mentioned the “{{ groupName }}” group in a thread", - "{{ actorName }} mentioned the “{{ groupName }}” group in a comment on “{{ documentTitle }}”": "{{ actorName }} mentioned the “{{ groupName }}” group in a comment on “{{ documentTitle }}”", - "{{ actorName }} mentioned the “{{ groupName }}” group in a comment on": "{{ actorName }} mentioned the “{{ groupName }}” group in a comment on", - "{{ actorName }} mentioned the “{{ groupName }}” group": "{{ actorName }} mentioned the “{{ groupName }}” group", - "{{ actorName }} mentioned the “{{ groupName }}” group in the document “{{ documentTitle }}”.": "{{ actorName }} mentioned the “{{ groupName }}” group in the document “{{ documentTitle }}”.", - "Your group was mentioned": "Your group was mentioned", - "{{ actorName }} mentioned the \"{{ groupName }}\" group in the document": "{{ actorName }} mentioned the \"{{ groupName }}\" group in the document", - "{{ invitedName }} has joined your {{ appName }} team": "{{ invitedName }} has joined your {{ appName }} team", - "Great news, {{ invitedName }}, accepted your invitation": "Great news, {{ invitedName }}, accepted your invitation", - "Great news, {{ invitedName }} just accepted your invitation and has created an account. You can now start collaborating on documents.": "Great news, {{ invitedName }} just accepted your invitation and has created an account. You can now start collaborating on documents.", - "Open {{ appName }}": "Open {{ appName }}", - "{{ invitedName }} has joined your team": "{{ invitedName }} has joined your team", - "{{ actorName }} invited you to join {{ teamName }}’s workspace": "{{ actorName }} invited you to join {{ teamName }}’s workspace", - "{{ appName }} is a place for your team to build and share knowledge.": "{{ appName }} is a place for your team to build and share knowledge.", - "Join {{ teamName }} on {{ appName }}": "Join {{ teamName }} on {{ appName }}", - "has invited you to join {{ appName }}, a place for your team to build and share knowledge.": "has invited you to join {{ appName }}, a place for your team to build and share knowledge.", - "Join now": "Join now", - "Reminder": "Reminder", - "This is just a quick reminder that {{ actorName }} {{ actorEmail }} invited you to join them in the {{ teamName }} team on {{ appName }}, a place for your team to build and share knowledge.": "This is just a quick reminder that {{ actorName }} {{ actorEmail }} invited you to join them in the {{ teamName }} team on {{ appName }}, a place for your team to build and share knowledge.", - "We only send a reminder once.": "We only send a reminder once.", - "If you haven't signed up yet, you can do so here": "If you haven't signed up yet, you can do so here", - "\"{{ documentTitle }}\" updated": "\"{{ documentTitle }}\" updated", - "\"{{ documentTitle }}\" has been updated.": "\"{{ documentTitle }}\" has been updated.", - "A document you subscribed to has been updated.": "A document you subscribed to has been updated.", - "Click below to view the latest version.": "Click below to view the latest version.", - "Confirm your subscription": "Confirm your subscription", - "Confirm your subscription to receive updates when \"{{ documentTitle }}\" changes.": "Confirm your subscription to receive updates when \"{{ documentTitle }}\" changes.", - "You requested to receive email notifications when \"{{ documentTitle }}\" is updated on {{ appName }}. Please confirm your subscription by following the link below.": "You requested to receive email notifications when \"{{ documentTitle }}\" is updated on {{ appName }}. Please confirm your subscription by following the link below.", - "Confirm Subscription": "Confirm Subscription", - "This link will expire in 24 hours.": "This link will expire in 24 hours.", - "You requested to receive email notifications when \"{{ documentTitle }}\" is updated on {{ appName }}.": "You requested to receive email notifications when \"{{ documentTitle }}\" is updated on {{ appName }}.", - "Please confirm your subscription by clicking the button below.": "Please confirm your subscription by clicking the button below.", - "Magic Sign-in Link": "Magic Sign-in Link", - "Sign in verification code": "Sign in verification code", - "Here’s your link to signin to {{ appName }}.": "Here’s your link to signin to {{ appName }}.", - "Use the link below to sign in": "Use the link below to sign in", - "If the link expired you can request a new one from your team's signin page at": "If the link expired you can request a new one from your team's signin page at", - "Enter this verification code": "Enter this verification code", - "If the code expired you can request a new one from your team's signin page at": "If the code expired you can request a new one from your team's signin page at", - "Click the button below to sign in to {{ appName }}.": "Click the button below to sign in to {{ appName }}.", - "If the link expired you can request a new one from your team's sign-in page at": "If the link expired you can request a new one from your team's sign-in page at", - "Sign-in Code": "Sign-in Code", - "Enter this code on your team's sign-in page to continue.": "Enter this code on your team's sign-in page to continue.", - "If the code expired you can request a new one from your team's sign-in page at": "If the code expired you can request a new one from your team's sign-in page at", - "Webhook disabled": "Webhook disabled", - "Your webhook ({{ webhookName }}) has been disabled": "Your webhook ({{ webhookName }}) has been disabled", - "Your webhook ({{ webhookName }}) has been automatically disabled due to a high failure rate in recent delivery attempts. You can re-enable by editing the webhook.": "Your webhook ({{ webhookName }}) has been automatically disabled due to a high failure rate in recent delivery attempts. You can re-enable by editing the webhook.", - "Webhook settings": "Webhook settings", - "Welcome to {{ appName }}!": "Welcome to {{ appName }}!", - "To get started, head to the home screen and try creating a collection to help document your processes, create playbooks, or plan your team's work.": "To get started, head to the home screen and try creating a collection to help document your processes, create playbooks, or plan your team's work.", - "Or, learn more about everything {{ appName }} can do in the guide": "Or, learn more about everything {{ appName }} can do in the guide", - "Or, learn more about everything {{ appName }} can do in": "Or, learn more about everything {{ appName }} can do in", - "the guide": "the guide", + "{{ actorName }} {{ eventName }} a document": "{{ actorName }} bir belgeyi {{ eventName }}", + "\"{{ documentTitle }}\" {{ eventName }}": "{{ documentTitle }}” {{ eventName }}", + "{{ actorName }} {{ eventName }} the document \"{{ documentTitle }}\"": "{{ actorName }}, \"{{ documentTitle }}\" belgesini {{ eventName }}", + "{{ actorName }} {{ eventName }} the document": "{{ actorName }} belgeyi {{ eventName }}", + "Unsubscribe from this doc": "Bu belgenin aboneliğinden çık", + "{{ actorName }} shared “{{ documentTitle }}” with you": "{{ actorName }}, “{{ documentTitle }}” belgesini sizinle paylaştı", + "{{ actorName }} shared a document": "{{ actorName }} sizinle bir belge paylaştı", + "{{ actorName }} shared “{{ documentTitle }}” with you.": "{{ actorName }}, “{{ documentTitle }}” belgesini sizinle paylaştı.", + "edit": "düzenleme", + "{{ actorName }} invited you to {{ permission }} the": "{{ actorName }} sizi şu içeriği {{ permission }} yetkisiyle kullanmaya davet etti:", + "Your requested export": "İstediğiniz dışa aktarım", + "Sorry, your requested data export has failed": "Üzgünüz, istediğiniz veri dışa aktarımı başarısız oldu", + "Your Data Export": "Veri dışa aktarımınız", + "Sorry, your requested data export has failed, please visit the admin section to try again – if the problem persists please contact support.": "Üzgünüz, istediğiniz veri dışa aktarımı başarısız oldu. Yeniden denemek için yönetici bölümünü ziyaret edin; sorun devam ederse destek ekibiyle iletişime geçin.", + "Sorry, your requested data export has failed, please visit the": "Üzgünüz, istediğiniz veri dışa aktarımı başarısız oldu. Lütfen şu bölümü ziyaret edin:", + "admin section": "yönetici bölümü", + "to try again – if the problem persists please contact support.": "yeniden denemek için; sorun devam ederse destek ekibiyle iletişime geçin.", + "Go to export": "Dışa aktarıma git", + "Here's your request data export from {{ appName }}": "{{ appName }} veri dışa aktarımınız hazır", + "Your requested data export is complete, you can download from the link below in a browser that is logged into your account.": "İstediğiniz veri dışa aktarımı tamamlandı. Hesabınızda oturum açık olan bir tarayıcıdan aşağıdaki bağlantıyla indirebilirsiniz.", + "This export will be available to download for {{ days }} days.": "Bu dışa aktarım {{ days }} gün boyunca indirilebilir.", + "Download export": "Dışa aktarımı indir", + "Your requested data export is complete - you can download from the link below in a browser that is logged into your account.": "İstediğiniz veri dışa aktarımı tamamlandı. Hesabınızda oturum açık olan bir tarayıcıdan aşağıdaki bağlantıyla indirebilirsiniz.", + "The {{ groupName }} group was mentioned in “{{ documentTitle }}”": "“{{ documentTitle }}” belgesinde {{ groupName }} grubundan bahsedildi", + "{{ actorName }} mentioned the “{{ groupName }}” group in a thread": "{{ actorName }}, bir yorum dizisinde “{{ groupName }}” grubundan bahsetti", + "{{ actorName }} mentioned the “{{ groupName }}” group in a comment on “{{ documentTitle }}”": "{{ actorName }}, “{{ documentTitle }}” belgesindeki bir yorumda “{{ groupName }}” grubundan bahsetti", + "{{ actorName }} mentioned the “{{ groupName }}” group in a comment on": "{{ actorName }}, şu belgedeki bir yorumda “{{ groupName }}” grubundan bahsetti:", + "{{ actorName }} mentioned the “{{ groupName }}” group": "{{ actorName }}, “{{ groupName }}” grubundan bahsetti", + "{{ actorName }} mentioned the “{{ groupName }}” group in the document “{{ documentTitle }}”.": "{{ actorName }}, “{{ documentTitle }}” belgesinde “{{ groupName }}” grubundan bahsetti.", + "Your group was mentioned": "Grubunuzdan bahsedildi", + "{{ actorName }} mentioned the \"{{ groupName }}\" group in the document": "{{ actorName }} şu belgede “{{ groupName }}” grubundan bahsetti:", + "{{ invitedName }} has joined your {{ appName }} team": "{{ invitedName }}, {{ appName }} ekibinize katıldı", + "Great news, {{ invitedName }}, accepted your invitation": "Harika haber: {{ invitedName }} davetinizi kabul etti", + "Great news, {{ invitedName }} just accepted your invitation and has created an account. You can now start collaborating on documents.": "Harika haber: {{ invitedName }} davetinizi kabul etti ve bir hesap oluşturdu. Artık belgeler üzerinde birlikte çalışmaya başlayabilirsiniz.", + "Open {{ appName }}": "{{ appName }} uygulamasını aç", + "{{ invitedName }} has joined your team": "{{ invitedName }} ekibinize katıldı", + "{{ actorName }} invited you to join {{ teamName }}’s workspace": "{{ actorName }} sizi {{ teamName }} çalışma alanına katılmaya davet etti", + "{{ appName }} is a place for your team to build and share knowledge.": "{{ appName }}, ekibinizin bilgi oluşturup paylaşabileceği bir alandır.", + "Join {{ teamName }} on {{ appName }}": "{{ appName }} üzerinde {{ teamName }} ekibine katıl", + "has invited you to join {{ appName }}, a place for your team to build and share knowledge.": "sizi ekibinizin bilgi oluşturup paylaşabileceği {{ appName }} uygulamasına katılmaya davet etti.", + "Join now": "Şimdi katıl", + "Reminder": "Hatırlatma", + "This is just a quick reminder that {{ actorName }} {{ actorEmail }} invited you to join them in the {{ teamName }} team on {{ appName }}, a place for your team to build and share knowledge.": "Bu, {{ actorName }} ({{ actorEmail }}) kullanıcısının sizi {{ appName }} üzerindeki {{ teamName }} ekibine davet ettiğine dair kısa bir hatırlatmadır. Bu platform, ekibinizin bilgi oluşturup paylaşabileceği bir alandır.", + "We only send a reminder once.": "Bu hatırlatmayı yalnızca bir kez göndeririz.", + "If you haven't signed up yet, you can do so here": "Henüz kaydolmadıysanız buradan kaydolabilirsiniz", + "\"{{ documentTitle }}\" updated": "\"{{ documentTitle }}\" güncellendi", + "\"{{ documentTitle }}\" has been updated.": "\"{{ documentTitle }}\" güncellendi.", + "A document you subscribed to has been updated.": "Abone olduğunuz bir belge güncellendi.", + "Click below to view the latest version.": "En son sürümü görüntülemek için aşağıya tıklayın.", + "Confirm your subscription": "Aboneliğinizi onaylayın", + "Confirm your subscription to receive updates when \"{{ documentTitle }}\" changes.": "\"{{ documentTitle }}\" değiştiğinde güncelleme almak için aboneliğinizi onaylayın.", + "You requested to receive email notifications when \"{{ documentTitle }}\" is updated on {{ appName }}. Please confirm your subscription by following the link below.": "{{ appName }} üzerinde \"{{ documentTitle }}\" güncellendiğinde e-posta bildirimi almak istediniz. Aşağıdaki bağlantıyı izleyerek aboneliğinizi onaylayın.", + "Confirm Subscription": "Aboneliği onayla", + "This link will expire in 24 hours.": "Bu bağlantının süresi 24 saat içinde dolacaktır.", + "You requested to receive email notifications when \"{{ documentTitle }}\" is updated on {{ appName }}.": "{{ appName }} üzerinde \"{{ documentTitle }}\" güncellendiğinde e-posta bildirimi almak istediniz.", + "Please confirm your subscription by clicking the button below.": "Aşağıdaki düğmeye tıklayarak aboneliğinizi onaylayın.", + "Magic Sign-in Link": "Tek kullanımlık oturum açma bağlantısı", + "Sign in verification code": "Oturum açma doğrulama kodu", + "Here’s your link to signin to {{ appName }}.": "{{ appName }} uygulamasında oturum açma bağlantınız burada.", + "Use the link below to sign in": "Oturum açmak için aşağıdaki bağlantıyı kullanın", + "If the link expired you can request a new one from your team's signin page at": "Bağlantının süresi dolduysa ekibinizin şu oturum açma sayfasından yenisini isteyebilirsiniz:", + "Enter this verification code": "Bu doğrulama kodunu girin", + "If the code expired you can request a new one from your team's signin page at": "Kodun süresi dolduysa ekibinizin şu oturum açma sayfasından yenisini isteyebilirsiniz:", + "Click the button below to sign in to {{ appName }}.": "{{ appName }} uygulamasında oturum açmak için aşağıdaki düğmeye tıklayın.", + "If the link expired you can request a new one from your team's sign-in page at": "Bağlantının süresi dolduysa ekibinizin şu oturum açma sayfasından yenisini isteyebilirsiniz:", + "Sign-in Code": "Oturum açma kodu", + "Enter this code on your team's sign-in page to continue.": "Devam etmek için bu kodu ekibinizin oturum açma sayfasına girin.", + "If the code expired you can request a new one from your team's sign-in page at": "Kodun süresi dolduysa ekibinizin şu oturum açma sayfasından yenisini isteyebilirsiniz:", + "Webhook disabled": "Webhook devre dışı bırakıldı", + "Your webhook ({{ webhookName }}) has been disabled": "Webhook'unuz ({{ webhookName }}) devre dışı bırakıldı", + "Your webhook ({{ webhookName }}) has been automatically disabled due to a high failure rate in recent delivery attempts. You can re-enable by editing the webhook.": "Webhook'unuz ({{ webhookName }}), son teslim denemelerindeki yüksek hata oranı nedeniyle otomatik olarak devre dışı bırakıldı. Webhook'u düzenleyerek yeniden etkinleştirebilirsiniz.", + "Webhook settings": "Webhook ayarları", + "Welcome to {{ appName }}!": "{{ appName }} uygulamasına hoş geldiniz!", + "To get started, head to the home screen and try creating a collection to help document your processes, create playbooks, or plan your team's work.": "Başlamak için ana ekrana gidin ve süreçlerinizi belgelemek, çalışma kılavuzları oluşturmak veya ekibinizin işlerini planlamak üzere bir koleksiyon oluşturmayı deneyin.", + "Or, learn more about everything {{ appName }} can do in the guide": "Ya da {{ appName }} uygulamasının tüm özellikleri hakkında kılavuzdan daha fazla bilgi edinin", + "Or, learn more about everything {{ appName }} can do in": "Ya da {{ appName }} uygulamasının tüm özellikleri hakkında şurada daha fazla bilgi edinin:", + "the guide": "kılavuz", "Never logged in": "Hiç giriş yapmadı", "Online now": "Şu anda çevrimiçi", "Online {{ timeAgo }}": "{{ timeAgo }} tarihinde çevrimiçiydi", @@ -1852,20 +1882,20 @@ "Sorry, an error occurred uploading the file": "Üzgünüz, dosya yüklenirken bir hata oluştu", "Sorry, that type of link is not supported": "Üzgünüz, bu bağlantı türü desteklenmiyor", "Caption": "Altyazı", - "Click to copy": "Click to copy", - "Empty diagram": "Empty diagram", - "Double click to edit": "Double click to edit", + "Click to copy": "Kopyalamak için tıklayın", + "Empty diagram": "Boş diyagram", + "Double click to edit": "Düzenlemek için çift tıklayın", "Open": "Aç", "Loading": "Yükleniyor", "Error loading data": "Veri yüklenirken hata", - "Show {{ count }} completed": "Show {{ count }} completed", - "Show {{ count }} completed_plural": "Show {{ count }} completed", + "Show {{ count }} completed": "Tamamlanan {{ count }} öğeyi göster", + "Show {{ count }} completed_plural": "Tamamlanan {{ count }} öğeyi göster", "Hide completed": "Tamamlananları gizle", - "Sorry, the link could not be copied": "Sorry, the link could not be copied", + "Sorry, the link could not be copied": "Üzgünüz, bağlantı kopyalanamadı", "Write a caption": "Bir başlık yazın", - "Add title": "Add title", - "Add content": "Add content", - "Tomorrow": "Tomorrow", + "Add title": "Başlık ekle", + "Add content": "İçerik ekle", + "Tomorrow": "Yarın", "Group admin": "Grup yöneticisi", "Member": "Üye" } diff --git a/shared/i18n/locales/uk_UA/translation.json b/shared/i18n/locales/uk_UA/translation.json index 5b7562a9a4..f466ad4529 100644 --- a/shared/i18n/locales/uk_UA/translation.json +++ b/shared/i18n/locales/uk_UA/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} документів не опубліковано", "Subscription inherited from collection": "Підписка успадкована від колекції", "Share document": "Share document", - "Download": "Завантажити", - "Download document": "Завантажити документ", + "Markdown": "Markdown", "Download as Markdown": "Завантажити як Markdown", + "HTML": "HTML", "Download as HTML": "Завантажити як HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "Завантажити як TextBundle", + "PDF": "PDF", "Download as PDF": "Завантажити як PDF", "Copy as Markdown": "Скопіювати як Markdown", "Markdown copied to clipboard": "Markdown скопійовано в буфер обміну", @@ -103,6 +105,7 @@ "Search in document": "Пошук у документі", "Print": "Друкувати", "Print document": "Надрукувати документ", + "Export document": "Експортувати документ", "Open in desktop app": "Відкрити у додатку", "Present": "Презентувати", "Present document": "Презентувати документ", @@ -138,6 +141,12 @@ "Comments": "Коментарі", "History": "Історія", "Insights": "Статистика", + "Show editing stats": "Показати статистику редагування", + "None": "Нічого", + "Multi-level decimal": "Багаторівнева десяткова", + "Alphanumeric": "Буквено-цифрова", + "Harvard": "Гарвардська", + "Heading numbering": "Нумерація заголовків", "Leave document": "Вийти з документа", "You have left the shared document": "Ви залишили спільний документ", "Could not leave document": "Не вдалося покинути документ", @@ -195,11 +204,8 @@ "New Application": "Новий застосунок", "Delete app": "Видалити додаток", "This version of the document was deleted": "Ця версія документу була видалена", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Експортувати", - "Markdown": "Markdown", - "Download revision": "Завантажити версію", + "Export revision": "Експортувати версію", "Dark": "Темна", "Light": "Світла", "Toggle theme": "Змінити тему", @@ -212,19 +218,37 @@ "Go to document": "Перейти до документа", "Revoke link": "Відкликати посилання", "Share link revoked": "Посилання для спільного доступу скасовано", + "{{ count }} share link revoked": "{{ count }} посилання для спільного доступу відкликано", + "{{ count }} share link revoked_plural": "{{ count }} посилань для спільного доступу відкликано", + "Could not revoke {{ count }} share link": "Не вдалося відкликати {{ count }} посилання для спільного доступу", + "Could not revoke {{ count }} share link_plural": "Не вдалося відкликати {{ count }} посилань для спільного доступу", "Switch workspace": "Змінити робочий простір", "Select a workspace": "Вибрати робочий простір", "New workspace": "Новий робочий простір", "Create a workspace": "Створити робочий простір", "Login to workspace": "Увійти в робоче середовище", - "template": "шаблон", + "Delete template": "Видалити шаблон", + "Delete {{ count }} template": "Видалити {{ count }} шаблон", + "Delete {{ count }} template_plural": "Видалити {{ count }} шаблонів", "Template deleted": "Шаблон видалено", + "{{ count }} template deleted": "{{ count }} шаблон видалено", + "{{ count }} template deleted_plural": "{{ count }} шаблонів видалено", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Ви впевнені? Видалення шаблону {{ templateName }} є незворотним.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Ви впевнені? Видалення {{ count }} шаблону є незворотним.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Ви впевнені? Видалення {{ count }} шаблонів є незворотним.", + "A template must have content": "A template must have content", + "Template published": "Шаблон опубліковано", + "{{ count }} template published": "{{ count }} шаблон опубліковано", + "{{ count }} template published_plural": "Опубліковано {{ count }} шаблонів", + "Could not publish {{ count }} template": "Не вдалося опублікувати {{ count }} шаблон", + "Could not publish {{ count }} template_plural": "Не вдалося опублікувати {{ count }} шаблонів", "Move to workspace": "Перемістити в робоче середовище", "Template moved": "Шаблон переміщено", "Couldn't move the template, try again?": "Не вдалося перемістити шаблон, спробувати знову?", "Move to collection": "Перемістити до колекції", "Move template": "Перемістити шаблон", + "{{ count }} template duplicated": "Дубльовано {{ count }} шаблон", + "{{ count }} template duplicated_plural": "Дубльовано {{ count }} шаблонів", "Print template": "Друкувати шаблон", "Invite people": "Запросити інших", "Invite to workspace": "Запросити в робоче середовище", @@ -267,6 +291,7 @@ "People": "Люди", "Share": "Поширити", "Workspace": "Робочий простір", + "Recent searches": "Нещодавні запити", "currently editing": "зараз редагується", "currently viewing": "зараз переглядають", "previously edited": "попередньо відредаговано", @@ -389,13 +414,8 @@ "our engineers have been notified": "наші інженери були повідомлені", "Clear cache + reload": "Очистити кеш + перезавантажити", "Show detail": "Показати деталі", - "Export started": "Експорт розпочато", - "A link to your file will be sent through email soon": "Найближчим часом буде надіслано посилання на ваш файл", - "Preparing your download": "Підготовка завантаження", - "Include child documents": "Включити дочірні документи", - "When selected, exporting the document will take extra time.": "Якщо вибрано, експорт документа займе більше часу.", - "You will receive an email when it's complete.": "Ви отримаєте електронного листа після його завершення.", "Exporting the collection may take some time.": "Експорт колекції може зайняти деякий час.", + "You will receive an email when it's complete.": "Ви отримаєте електронного листа після його завершення.", "Include attachments": "Включити вкладення", "Including uploaded images and files in the exported data": "Включити завантажені зображення та файли в експортовані дані", "Include private collections": "Включити приватні колекції", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "Перегляд, навігація або завантаження зображень в документі", "Zoom in": "Збільшити", "Zoom out": "Зменшити", + "Download": "Завантажити", "Edit diagram": "Редагувати діаграму", "Close": "Закрити", "Previous": "Назад", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }} год {{ minutes }} хв читання", "{{ hours }}h read": "{{ hours }} год читання", "{{ minutes }}m read": "{{ minutes }} хв читання", + "Archived": "Заархівовано", "All members": "Усі учасники", "Everyone in the workspace": "Усі у робочому середовищі", "{{ count }} member": "{{ count }} учасник", @@ -529,11 +551,12 @@ "Switch to dark": "Увімкнути темну тему", "Switch to light": "Увімкнути світлу тему", "Subscribe to updates": "Підписатися на оновлення", + "Display settings": "Налаштування відображення", + "Edit {{noun}}": "Редагувати {{noun}}", "Logo": "Лого", "Add": "Додати", "Add or invite": "Додати або запросити", "Sharing settings updated": "Налаштування спільного доступу оновлено", - "Display settings": "Налаштування відображення", "Customize how the published document is displayed": "Налаштуйте, як відображається опублікований документ", "Image options": "Параметри зображення", "Upload": "Завантажити", @@ -589,16 +612,16 @@ "New nested document": "Новий вкладений документ", "No collections": "Колекції відсутні", "Hide": "Приховати", + "Starred": "Обране", + "Shared with me": "Відкриті для мене", "Import files": "Імпортувати файли", "Recent": "Нещодавні", "Go back": "Назад", "Go forward": "Вперед", "Could not load shared documents": "Не вдалося завантажити спільні документи", - "Shared with me": "Відкриті для мене", "Show more": "Показати більше", "Link options": "Параметри посилання", "Could not load starred documents": "Не вдалося завантажити обрані документи", - "Starred": "Обране", "Up to date": "Остання версія", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} версія позаду", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} версій позаду", @@ -615,6 +638,8 @@ "Star document": "Додати до обраного", "Select a color": "Виберіть колір", "Select all": "Вибрати все", + "Columns": "Стовпці", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "Не вдалося зберегти ваші зміни.\nВи впевнені, що хочете вийти?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Виділіть деякий текст і використовуйте контроль над <1> для додавання полів, які можуть бути заповнені при створенні нових документів", "You’re editing a template": "Ви редагуєте шаблон", "Template created, go ahead and customize it": "Шаблон створено, тепер налаштуйте його під ваші потреби", @@ -675,8 +700,6 @@ "Paste a link": "Вставити посилання", "Delete embed": "Видалити вкладення", "Delete image": "Видалити зображення", - "Create a new doc": "Створіть новий документ", - "Create a nested doc": "Створити вкладений документ", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} не буде повідомлено, тому що він не має доступу до цього документа", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Учасники \"{{ groupName }}, які мають доступ до цього документа, будуть оповіщені", "Keep as link": "Зберегти як посилання", @@ -726,7 +749,6 @@ "Italic": "Курсив", "Strikethrough": "Перекреслений", "Background color": "Колір фону", - "None": "Нічого", "Highlight": "Виділення", "Code": "Код", "Heading": "Заголовок", @@ -743,6 +765,8 @@ "Full width": "На всю ширину", "Download image": "Завантажити зображення", "Edit image URL": "Редагувати посилання на зображення", + "Create a new doc": "Створіть новий документ", + "Create a nested doc": "Створити вкладений документ", "Default width": "Стандартна ширина", "Distribute columns": "Розподілити стовпці", "Export as CSV": "Експортувати у форматі CSV", @@ -893,14 +917,23 @@ "only you": "лише ви", "person": "персона", "people": "людина", + "{{ number }} words selected": "вибрано {{ number }} слово", + "{{ number }} words selected_plural": "вибрано {{ number }} слів", + "{{ number }} characters selected": "вибрано {{ number }} символ", + "{{ number }} characters selected_plural": "{{ number }} characters selected", + "{{ number }} words": "{{ number }} word", + "{{ number }} words_plural": "{{ number }} слів", + "{{ number }} characters": "{{ number }} character", + "{{ number }} characters_plural": "{{ number }} символів", + "{{ number }} paragraphs": "{{ number }} абзац", + "{{ number }} paragraphs_plural": "{{ number }} абзаців", + "{{ number }} minute read": "{{ number }} хвилин читання", "Document title": "Назва документа", "Last updated": "Оновлено", "Type '/' to insert, or start writing…": "Введіть '/', щоб вставити, або почніть писати…", "Hide contents": "Приховати вміст", "Show contents": "Показати вміст", "available when headings are added": "available when headings are added", - "Edit {{noun}}": "Редагувати {{noun}}", - "Archived": "Заархівовано", "Save draft": "Зберегти чернетку", "Restore version": "Відновити версію", "{{userName}} archived": "{{userName}} заархівовано", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} опубліковано", "{{userName}} unpublished": "{{userName}} знятий з публікації", "{{userName}} moved": "{{userName}} переміщено", - "via {{ authType }}": "через {{ authType }}", "Previous version": "Previous version", "Highlight changes": "Highlight changes", "Compare to": "Compare to", @@ -920,23 +952,12 @@ "Revision deleted": "Версія видалена", "Current version": "Поточна версія", "{{userName}} edited": "{{userName}} відредаговано", + "via {{ authType }}": "через {{ authType }}", "{{count}} people": "{{count}} людина", "{{count}} people_plural": "{{count}} людей", "Source": "Джерело", "Created": "Створено", "Imported from {{ source }}": "Імпортовано з {{ source }}", - "Stats": "Статистика", - "{{ number }} minute read": "{{ number }} хвилин читання", - "{{ number }} words": "{{ number }} word", - "{{ number }} words_plural": "{{ number }} слів", - "{{ number }} characters": "{{ number }} character", - "{{ number }} characters_plural": "{{ number }} символів", - "{{ number }} emoji": "{{ number }} емодзі", - "No text selected": "Не вибрано жодного тексту", - "{{ number }} words selected": "вибрано {{ number }} слово", - "{{ number }} words selected_plural": "вибрано {{ number }} слів", - "{{ number }} characters selected": "вибрано {{ number }} символ", - "{{ number }} characters selected_plural": "{{ number }} characters selected", "Contributors": "Співавтори", "Creator": "Автор", "Last edited": "Востаннє редаговано", @@ -986,11 +1007,11 @@ "Warning Sign": "Попереджувальний знак", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "Адміністратор робочого простору ({{ suspendedContactEmail }}) призупинив ваш обліковий запис. Щоб повторно активувати обліковий запис, зверніться до нього безпосередньо.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "На жаль, сталася невідома помилка, спробуйте ще раз або зверніться до служби підтримки, якщо проблема повториться.", + "Documents you’ve recently viewed will be here for easy access": "Документи, які ви нещодавно переглянули, будуть тут, для легкого доступу", "Created by me": "Створені мною", "Weird, this shouldn't ever be empty": "Дивно, це ніколи не повинно бути порожнім", "Documents with recent activity will appear here": "Тут відображатимуться документи з недавньою діяльністю", "You haven’t created any documents yet": "Ви ще не створили жодного документу", - "Documents you’ve recently viewed will be here for easy access": "Документи, які ви нещодавно переглянули, будуть тут, для легкого доступу", "{{ count }} invites sent": "{{ count }} invite sent", "{{ count }} invites sent_plural": "{{ count }} запрошень відправлено", "Those email addresses are already invited": "Ці електронні адреси вже запрошені", @@ -1014,6 +1035,7 @@ "Open document history": "Відкрити історію документа", "Jump to search": "Перейти до пошуку", "Jump to home": "Перейти на домашню сторінку", + "Toggle statistics": "Увімкнути або вимкнути статистику", "Focus search input": "Сфокусувати введення пошуку", "Open this guide": "Відкрити цей посібник", "Publish document and exit": "Опублікувати документ та вийти", @@ -1151,7 +1173,6 @@ "Any time": "Будь-який час", "Remove document filter": "Remove document filter", "Any status": "Будь-який статус", - "Recent searches": "Нещодавні запити", "Remove search": "Видалити пошук", "Relevance": "Relevance", "Newest": "Найновіші", @@ -1324,6 +1345,8 @@ "All roles": "Всі ролі", "Admins": "Адміністратори", "Editors": "Редактори", + "Invited by": "Запросив(-ла)", + "Joined": "Приєднався(-лася)", "All status": "Весь статус", "Active": "Активний", "Could not load emojis": "Не вдалося завантажити емодзі", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Показувати номери рядків у блоках коду в документах.", "Show comment marker": "Show comment marker", "Display a marker beside lines in the editor that contain comments.": "Display a marker beside lines in the editor that contain comments.", + "Display live word, character, and paragraph counts while editing.": "Відображати кількість слів, символів і абзаців у реальному часі під час редагування.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "Якщо увімкнено, документи мають окремий режим редагування. Коли вимкнено, документи завжди редагуються, коли у вас є дозволи.", "Remember previous location": "Запам'ятати попереднє місце розташування", "Automatically return to the document you were last viewing when the app is re-opened.": "Автоматично повертатись до документа, який ви переглядали, коли програма буде знову відкрита.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "Наразі спільний доступ вимкнено.", "You can globally enable and disable public document sharing in the security settings.": "Ви можете глобально ввімкнути та вимкнути спільний доступ до публічних документів у налаштуваннях безпеки.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Нижче наведено документи, до яких надано спільний доступ. Будь-хто, хто має загальнодоступне посилання, може отримати доступ до версії документа лише для читання, доки посилання не буде відкликано.", - "A template must have content": "A template must have content", + "Couldn’t create the template, try again?": "Не вдалося створити шаблон, спробувати знову?", "Could not load templates": "Could not load templates", "Templates help your team create consistent and accurate documentation.": "Templates help your team create consistent and accurate documentation.", "No templates have been created yet": "No templates have been created yet", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "Щоб створити робоче середовище під іншою електронною поштою, зареєструйтеся на головній сторінці", "Trash emptied": "Trash emptied", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.", - "Recently deleted": "Recently deleted", + "You’ve not deleted any documents.": "Ви не видалили жодного документа.", + "This user has not deleted any documents.": "Цей користувач не видалив жодного документа.", "Trash is empty at the moment.": "Кошик на даний момент порожній.", + "Recently deleted": "Recently deleted", + "Deleted by anyone": "Видалено будь-ким", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Ви впевнені? Видалення вашого облікового запису знищить ідентифікаційні дані, пов'язані з вашим користувачем, і не може бути скасоване. Ви одразу вийдете з {{appName}} і всі ваші API токени будуть відкликані.", "Delete my account": "Видалити мій обліковий запис", + "Export started": "Експорт розпочато", + "A link to your file will be sent through email soon": "Найближчим часом буде надіслано посилання на ваш файл", + "Preparing your download": "Підготовка завантаження", "Today": "Сьогодні", "Yesterday": "Вчора", "Last week": "Минулого тижня", @@ -1677,7 +1707,7 @@ "To search your workspace use {{ command }}. \nType {{ command2 }} help to display this help text.": "To search your workspace use {{ command }}. \nType {{ command2 }} help to display this help text.", "Post to Channel": "Опублікувати в каналі", "This is what we found for \"{{ term }}\"": "Ось що ми знайшли для \"{{ term }}\"", - "No results for \"{{ term }}\"": "0 результатів пошуку за запитом «{{ terms }}»", + "No results for \"{{ term }}\"": "Результатів пошуку за запитом «{{ term }}»", "It looks like you haven’t linked your {{ appName }} account to Slack yet": "It looks like you haven’t linked your {{ appName }} account to Slack yet", "Link your account": "Link your account", "Link your account in {{ appName }} settings to search from Slack": "Link your account in {{ appName }} settings to search from Slack", diff --git a/shared/i18n/locales/vi_VN/translation.json b/shared/i18n/locales/vi_VN/translation.json index e1545073d6..df0409008b 100644 --- a/shared/i18n/locales/vi_VN/translation.json +++ b/shared/i18n/locales/vi_VN/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} tài liệu chưa được xuất bản", "Subscription inherited from collection": "Đăng ký được thừa kế từ bộ sưu tập", "Share document": "Share document", - "Download": "Tải về", - "Download document": "Tải tài liệu", + "Markdown": "Markdown", "Download as Markdown": "Download as Markdown", + "HTML": "HTML", "Download as HTML": "Download as HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "Tải xuống dưới dạng TextBundle", + "PDF": "PDF", "Download as PDF": "Download as PDF", "Copy as Markdown": "Sao chép dưới dạng Markdown", "Markdown copied to clipboard": "Đã sao chép Markdown vào clipboard", @@ -103,6 +105,7 @@ "Search in document": "Tìm kiếm tài liệu", "Print": "In", "Print document": "In tài liệu", + "Export document": "Xuất tài liệu", "Open in desktop app": "Open in desktop app", "Present": "Present", "Present document": "Present document", @@ -138,6 +141,12 @@ "Comments": "Bình luận", "History": "Lịch sử", "Insights": "Thông tin chi tiết", + "Show editing stats": "Hiển thị thống kê chỉnh sửa", + "None": "Không", + "Multi-level decimal": "Thập phân đa cấp", + "Alphanumeric": "Chữ và số", + "Harvard": "Harvard", + "Heading numbering": "Đánh số tiêu đề", "Leave document": "Rời khỏi tài liệu", "You have left the shared document": "Bạn đã rời khỏi tài liệu chia sẻ", "Could not leave document": "Không thể rời tài liệu này", @@ -195,11 +204,8 @@ "New Application": "Ứng dụng mới", "Delete app": "Xoá ứng dụng", "This version of the document was deleted": "Phiên bản của tài liệu đã bị xóa", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "Đang xuất", - "Markdown": "Markdown", - "Download revision": "Download revision", + "Export revision": "Xuất phiên bản", "Dark": "Dark", "Light": "Light", "Toggle theme": "Toggle theme", @@ -212,19 +218,37 @@ "Go to document": "Đi đến tài liệu", "Revoke link": "Gỡ bỏ Link", "Share link revoked": "Đã thu hồi Link chia sẻ", + "{{ count }} share link revoked": "Đã thu hồi {{ count }} liên kết chia sẻ", + "{{ count }} share link revoked_plural": "Đã thu hồi {{ count }} liên kết chia sẻ", + "Could not revoke {{ count }} share link": "Không thể thu hồi {{ count }} liên kết chia sẻ", + "Could not revoke {{ count }} share link_plural": "Không thể thu hồi {{ count }} liên kết chia sẻ", "Switch workspace": "Chuyển đổi không gian làm việc", "Select a workspace": "Chọn workspace", "New workspace": "Workspace mới", "Create a workspace": "Tạo workspace", "Login to workspace": "Đăng nhập vào không gian làm việc", - "template": "mẫu", + "Delete template": "Xóa mẫu", + "Delete {{ count }} template": "Xóa {{ count }} mẫu", + "Delete {{ count }} template_plural": "Xóa {{ count }} mẫu", "Template deleted": "Template deleted", + "{{ count }} template deleted": "Đã xóa {{ count }} mẫu", + "{{ count }} template deleted_plural": "Đã xóa {{ count }} mẫu", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "Are you sure about that? Deleting the {{ templateName }} template is permanent.", + "Are you sure about that? Deleting {{ count }} template is permanent.": "Bạn có chắc chắn không? Việc xóa {{ count }} mẫu là vĩnh viễn.", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "Bạn có chắc chắn không? Việc xóa {{ count }} mẫu là vĩnh viễn.", + "A template must have content": "A template must have content", + "Template published": "Mẫu đã được xuất bản", + "{{ count }} template published": "{{ count }} mẫu đã được xuất bản", + "{{ count }} template published_plural": "{{ count }} mẫu đã được xuất bản", + "Could not publish {{ count }} template": "Không thể xuất bản {{ count }} mẫu", + "Could not publish {{ count }} template_plural": "Không thể xuất bản {{ count }} mẫu", "Move to workspace": "Di chuyển đến không gian làm việc", "Template moved": "Template moved", "Couldn't move the template, try again?": "Couldn't move the template, try again?", "Move to collection": "Di chuyển đến bộ sưu tập", "Move template": "Move template", + "{{ count }} template duplicated": "{{ count }} mẫu đã được sao chép", + "{{ count }} template duplicated_plural": "{{ count }} mẫu đã được sao chép", "Print template": "Print template", "Invite people": "Mời mọi người", "Invite to workspace": "Mời vào không gian làm việc", @@ -267,6 +291,7 @@ "People": "Người tham gia", "Share": "Chia sẻ", "Workspace": "Workspace", + "Recent searches": "Tìm kiếm gần đây", "currently editing": "hiện đang chỉnh sửa", "currently viewing": "hiện đang xem", "previously edited": "đã chỉnh sửa trước", @@ -389,13 +414,8 @@ "our engineers have been notified": "các kỹ sư của chúng tôi đã được thông báo", "Clear cache + reload": "Clear cache + reload", "Show detail": "Hiển thị chi tiết", - "Export started": "Đã bắt đầu xuất", - "A link to your file will be sent through email soon": "A link to your file will be sent through email soon", - "Preparing your download": "Preparing your download", - "Include child documents": "Include child documents", - "When selected, exporting the document will take extra time.": "Khi được chọn, việc xuất tài liệu sẽ mất thêm thời gian.", - "You will receive an email when it's complete.": "Bạn sẽ nhận được một email khi nó hoàn tất.", "Exporting the collection may take some time.": "Quá trình xuất bộ sưu tập có thể mất chút thời gian.", + "You will receive an email when it's complete.": "Bạn sẽ nhận được một email khi nó hoàn tất.", "Include attachments": "Bao gồm tập tin đính kèm", "Including uploaded images and files in the exported data": "Bao gồm hình ảnh và tệp đã tải lên trong dữ liệu đã xuất", "Include private collections": "Include private collections", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "View, navigate, or download images in the document", "Zoom in": "Zoom in", "Zoom out": "Zoom out", + "Download": "Tải về", "Edit diagram": "Edit diagram", "Close": "Đóng", "Previous": "Previous", @@ -509,10 +530,11 @@ "{{ hours }}h {{ minutes }}m read": "{{ hours }}h {{ minutes }}m read", "{{ hours }}h read": "{{ hours }}h read", "{{ minutes }}m read": "{{ minutes }} phút đọc ", + "Archived": "Đã lưu trữ", "All members": "Tất cả thành viên", "Everyone in the workspace": "Người tham gia không gian làm việc", - "{{ count }} member": "{{$count}} Thành viên", - "{{ count }} member_plural": "{{$count}} Thành viên", + "{{ count }} member": "{{ count }} Thành viên", + "{{ count }} member_plural": "{{ count }} Thành viên", "Public link copied to clipboard": "Public link copied to clipboard", "Only lowercase letters, digits and dashes allowed": "Chỉ cho phép chữ thường, chữ số và dấu gạch ngang", "Sorry, this link has already been used": "Xin lỗi, liên kết này đã được sử dụng", @@ -529,11 +551,12 @@ "Switch to dark": "Chuyển sang Dark", "Switch to light": "Chuyển sang Light", "Subscribe to updates": "Subscribe to updates", + "Display settings": "Display settings", + "Edit {{noun}}": "Chỉnh sửa {{noun}}", "Logo": "Logo", "Add": "Thêm", "Add or invite": "Thêm hoặc gửi lời mời", "Sharing settings updated": "Sharing settings updated", - "Display settings": "Display settings", "Customize how the published document is displayed": "Customize how the published document is displayed", "Image options": "Image options", "Upload": "Tải lên", @@ -589,16 +612,16 @@ "New nested document": "Tài liệu mới lồng nhau", "No collections": "No collections", "Hide": "Ẩn", + "Starred": "Được gắn sao", + "Shared with me": "Chia sẻ với tôi", "Import files": "Nhập tập tin", "Recent": "Recent", "Go back": "Quay lại", "Go forward": "Đi tiếp", "Could not load shared documents": "Không thể tải tài liệu được chia sẻ", - "Shared with me": "Chia sẻ với tôi", "Show more": "Hiển thị thêm", "Link options": "Tùy chọn liên kết", "Could not load starred documents": "Không thể tải tài liệu được đánh sao", - "Starred": "Được gắn sao", "Up to date": "Đã cập nhật", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} phiên bản phía sau", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} phiên bản phía sau", @@ -615,6 +638,8 @@ "Star document": "Đánh sao tài liệu", "Select a color": "Chọn Màu", "Select all": "Chọn tất cả", + "Columns": "Cột", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "Không thể lưu các thay đổi của bạn.\nBạn có chắc chắn muốn rời đi không?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "Đánh dấu văn bản và dùng <1> để thêm khoảng giữ chỗ mà sau này có thể điền thông tin khi tạo tài liệu mới", "You’re editing a template": "Bạn đang chỉnh sửa mẫu", "Template created, go ahead and customize it": "Đã tạo mẫu, hãy tiếp tục và tùy chỉnh nó", @@ -675,8 +700,6 @@ "Paste a link": "Dán đường link", "Delete embed": "Xóa phần nhúng", "Delete image": "Xóa ảnh", - "Create a new doc": "Tạo một tài liệu mới", - "Create a nested doc": "Create a nested doc", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} sẽ không được thông báo, bởi vì họ không có quyền truy cập tài liệu này", "Members of \"{{ groupName }}\" that have access to this document will be notified": "Members of \"{{ groupName }}\" that have access to this document will be notified", "Keep as link": "Giữ dạng liên kết", @@ -726,7 +749,6 @@ "Italic": "Nghiêng", "Strikethrough": "Gạch ngang", "Background color": "Background color", - "None": "Không", "Highlight": "Điểm nổi bật", "Code": "Code", "Heading": "Tiêu đề", @@ -743,6 +765,8 @@ "Full width": "Rộng toàn bộ", "Download image": "Tải ảnh", "Edit image URL": "Edit image URL", + "Create a new doc": "Tạo một tài liệu mới", + "Create a nested doc": "Create a nested doc", "Default width": "Chiều rộng mặc định", "Distribute columns": "Distribute columns", "Export as CSV": "Export as CSV", @@ -893,14 +917,23 @@ "only you": "chỉ bạn", "person": "cá nhân", "people": "người tham gia", + "{{ number }} words selected": "{{ number }} word selected", + "{{ number }} words selected_plural": "{{ number }} words selected", + "{{ number }} characters selected": "{{ number }} character selected", + "{{ number }} characters selected_plural": "{{ number }} characters selected", + "{{ number }} words": "{{ number }} word", + "{{ number }} words_plural": "{{ number }} words", + "{{ number }} characters": "{{ number }} character", + "{{ number }} characters_plural": "{{ number }} characters", + "{{ number }} paragraphs": "{{ number }} đoạn văn", + "{{ number }} paragraphs_plural": "{{ number }} đoạn văn", + "{{ number }} minute read": "{{ number }} minute read", "Document title": "Document title", "Last updated": "Cập nhật gần nhất", "Type '/' to insert, or start writing…": "Gõ '/' để chèn hoặc bắt đầu viết…", "Hide contents": "Ẩn nội dung", "Show contents": "Hiển thị nội dung", "available when headings are added": "available when headings are added", - "Edit {{noun}}": "Chỉnh sửa {{noun}}", - "Archived": "Đã lưu trữ", "Save draft": "Save draft", "Restore version": "Khôi phục phiên bản", "{{userName}} archived": "{{userName}} được lưu trữ", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} đã đăng tải", "{{userName}} unpublished": "{{userName}} bỏ đăng tải", "{{userName}} moved": "{{userName}} đã chuyển", - "via {{ authType }}": "qua {{ authType }}", "Previous version": "Previous version", "Highlight changes": "Highlight changes", "Compare to": "Compare to", @@ -920,23 +952,12 @@ "Revision deleted": "Phiên bản đã được xóa", "Current version": "Phiên bản hiện tại", "{{userName}} edited": "{{userName}} đã chỉnh sửa", + "via {{ authType }}": "qua {{ authType }}", "{{count}} people": "{{count}} person", "{{count}} people_plural": "{{count}} people", "Source": "Nguồn", "Created": "Được tạo", "Imported from {{ source }}": "Imported from {{ source }}", - "Stats": "Thống Kê", - "{{ number }} minute read": "{{ number }} minute read", - "{{ number }} words": "{{ number }} word", - "{{ number }} words_plural": "{{ number }} words", - "{{ number }} characters": "{{ number }} character", - "{{ number }} characters_plural": "{{ number }} characters", - "{{ number }} emoji": "{{ number }} biểu tượng cảm xúc", - "No text selected": "Không có văn bản nào được chọn", - "{{ number }} words selected": "{{ number }} word selected", - "{{ number }} words selected_plural": "{{ number }} words selected", - "{{ number }} characters selected": "{{ number }} character selected", - "{{ number }} characters selected_plural": "{{ number }} characters selected", "Contributors": "Người đóng góp", "Creator": "Tạo bởi", "Last edited": "Sửa lần cuối", @@ -986,11 +1007,11 @@ "Warning Sign": "Dấu hiệu cảnh báo", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.", + "Documents you’ve recently viewed will be here for easy access": "Các tài liệu bạn đã xem gần đây sẽ ở đây để dễ dàng truy cập", "Created by me": "Được tạo bởi tôi", "Weird, this shouldn't ever be empty": "Weird, this shouldn't ever be empty", "Documents with recent activity will appear here": "Documents with recent activity will appear here", "You haven’t created any documents yet": "Bạn chưa tạo bất kỳ tài liệu nào", - "Documents you’ve recently viewed will be here for easy access": "Các tài liệu bạn đã xem gần đây sẽ ở đây để dễ dàng truy cập", "{{ count }} invites sent": "{{ count }} invite sent", "{{ count }} invites sent_plural": "{{ count }} invites sent", "Those email addresses are already invited": "Những địa chỉ email đó đã được mời", @@ -1014,6 +1035,7 @@ "Open document history": "Mở lịch sử tài liệu", "Jump to search": "Chuyển đến tìm kiếm", "Jump to home": "Chuyển đến Home", + "Toggle statistics": "Bật/tắt thống kê", "Focus search input": "Tập trung đầu vào tìm kiếm", "Open this guide": "Mở hướng dẫn này", "Publish document and exit": "Đăng tải tài liệu và thoát", @@ -1151,7 +1173,6 @@ "Any time": "Bất cứ lúc nào", "Remove document filter": "Remove document filter", "Any status": "Any status", - "Recent searches": "Tìm kiếm gần đây", "Remove search": "Xóa tìm kiếm", "Relevance": "Relevance", "Newest": "Newest", @@ -1324,6 +1345,8 @@ "All roles": "All roles", "Admins": "Quản trị viên", "Editors": "Editors", + "Invited by": "Được mời bởi", + "Joined": "Đã tham gia", "All status": "All status", "Active": "Hoạt động", "Could not load emojis": "Could not load emojis", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "Hiển thị số dòng trên các khối mã trong tài liệu.", "Show comment marker": "Show comment marker", "Display a marker beside lines in the editor that contain comments.": "Display a marker beside lines in the editor that contain comments.", + "Display live word, character, and paragraph counts while editing.": "Hiển thị số lượng từ, ký tự và đoạn văn theo thời gian thực khi chỉnh sửa.", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.", "Remember previous location": "Ghi nhớ vị trí trước đó", "Automatically return to the document you were last viewing when the app is re-opened.": "Tự động quay lại tài liệu bạn xem lần cuối khi mở lại ứng dụng.", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "Chia sẻ hiện đang bị vô hiệu hóa.", "You can globally enable and disable public document sharing in the security settings.": "Bạn có thể bật và tắt chia sẻ tài liệu công khai trên toàn cầu trong cài đặt bảo mật.", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Các tài liệu đã được chia sẻ được liệt kê dưới đây. Bất kỳ ai có liên kết công khai đều có thể truy cập phiên bản chỉ đọc của tài liệu cho đến khi liên kết bị thu hồi.", - "A template must have content": "A template must have content", + "Couldn’t create the template, try again?": "Không thể tạo mẫu, thử lại?", "Could not load templates": "Could not load templates", "Templates help your team create consistent and accurate documentation.": "Templates help your team create consistent and accurate documentation.", "No templates have been created yet": "No templates have been created yet", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "To create a workspace under another email please sign up from the homepage", "Trash emptied": "Trash emptied", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.", - "Recently deleted": "Recently deleted", + "You’ve not deleted any documents.": "Bạn chưa xóa bất kỳ tài liệu nào.", + "This user has not deleted any documents.": "Người dùng này chưa xóa bất kỳ tài liệu nào.", "Trash is empty at the moment.": "Thùng rác hiện đang trống.", + "Recently deleted": "Recently deleted", + "Deleted by anyone": "Được xóa bởi bất kỳ ai", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "Bạn có chắc không? Xóa tài khoản của bạn sẽ hủy dữ liệu nhận dạng được liên kết với người dùng của bạn và không thể hoàn tác. Bạn sẽ bị đăng xuất khỏi {{appName}} ngay lập tức và tất cả mã thông báo API của bạn sẽ bị thu hồi.", "Delete my account": "Delete my account", + "Export started": "Đã bắt đầu xuất", + "A link to your file will be sent through email soon": "A link to your file will be sent through email soon", + "Preparing your download": "Preparing your download", "Today": "Hôm nay", "Yesterday": "Hôm qua", "Last week": "Tuần trước", diff --git a/shared/i18n/locales/zh_CN/translation.json b/shared/i18n/locales/zh_CN/translation.json index a3e885ae63..08dcbcbf02 100644 --- a/shared/i18n/locales/zh_CN/translation.json +++ b/shared/i18n/locales/zh_CN/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} 个文档已取消发布", "Subscription inherited from collection": "订阅权限继承自文档集", "Share document": "共享文档", - "Download": "下载", - "Download document": "下载文档", + "Markdown": "Markdown", "Download as Markdown": "下载为 Markdown", + "HTML": "HTML", "Download as HTML": "下载为 HTML", + "TextBundle": "TextBundle", "Download as TextBundle": "下载为 TextBundle", + "PDF": "PDF", "Download as PDF": "下载为 PDF", "Copy as Markdown": "以 Markdown 格式复制", "Markdown copied to clipboard": "Markdown 已复制到剪贴板", @@ -103,6 +105,7 @@ "Search in document": "在文档中搜索", "Print": "打印", "Print document": "打印文档", + "Export document": "导出文档", "Open in desktop app": "在桌面应用程序中打开", "Present": "演示", "Present document": "演示文档", @@ -138,6 +141,12 @@ "Comments": "评论", "History": "历史记录", "Insights": "统计", + "Show editing stats": "显示编辑统计信息", + "None": "空", + "Multi-level decimal": "多级十进制", + "Alphanumeric": "字母数字", + "Harvard": "哈佛", + "Heading numbering": "标题编号", "Leave document": "离开文档", "You have left the shared document": "您已退出共享文档", "Could not leave document": "无法退出文档", @@ -195,11 +204,8 @@ "New Application": "新应用", "Delete app": "删除应用", "This version of the document was deleted": "此版本的文档已被删除", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "正在导出", - "Markdown": "Markdown", - "Download revision": "下载版本", + "Export revision": "导出修订版本", "Dark": "深色模式", "Light": "浅色模式", "Toggle theme": "切换主题", @@ -212,19 +218,37 @@ "Go to document": "转到文档", "Revoke link": "撤消链接", "Share link revoked": "分享链接已被取消", + "{{ count }} share link revoked": "{{ count }} 个共享链接已撤销", + "{{ count }} share link revoked_plural": "{{ count }} 个共享链接已撤销", + "Could not revoke {{ count }} share link": "无法撤销 {{ count }} 个共享链接", + "Could not revoke {{ count }} share link_plural": "无法撤销 {{ count }} 个共享链接", "Switch workspace": "切换工作区", "Select a workspace": "选择工作区", "New workspace": "新建工作区", "Create a workspace": "创建工作区", "Login to workspace": "登陆到工作区", - "template": "模板", + "Delete template": "删除模板", + "Delete {{ count }} template": "删除 {{ count }} 个模板", + "Delete {{ count }} template_plural": "删除 {{ count }} 个模板", "Template deleted": "模板已删除", + "{{ count }} template deleted": "已删除 {{ count }} 个模板", + "{{ count }} template deleted_plural": "已删除 {{ count }} 个模板", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "你确定要执行操作吗?删除{{ templateName }} 模板是永久行为。", + "Are you sure about that? Deleting {{ count }} template is permanent.": "确定要这样做吗?删除 {{ count }} 个模板将无法恢复。", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "确定要这样做吗?删除 {{ count }} 个模板将无法恢复。", + "A template must have content": "模板必须包含内容", + "Template published": "模板已发布", + "{{ count }} template published": "已发布 {{ count }} 个模板", + "{{ count }} template published_plural": "已发布 {{ count }} 个模板", + "Could not publish {{ count }} template": "无法发布 {{ count }} 个模板", + "Could not publish {{ count }} template_plural": "无法发布 {{ count }} 个模板", "Move to workspace": "移动到工作区", "Template moved": "模板已移动", "Couldn't move the template, try again?": "无法移动模板,请重试", "Move to collection": "移动到文档集", "Move template": "移动模板", + "{{ count }} template duplicated": "已复制 {{ count }} 个模板", + "{{ count }} template duplicated_plural": "已复制 {{ count }} 个模板", "Print template": "打印模板", "Invite people": "邀请其他人", "Invite to workspace": "邀请到工作区", @@ -267,6 +291,7 @@ "People": "用户", "Share": "分享", "Workspace": "工作区", + "Recent searches": "最近的搜索", "currently editing": "正在编辑", "currently viewing": "正在浏览", "previously edited": "先前已编辑", @@ -389,13 +414,8 @@ "our engineers have been notified": "已通知我们的工程师", "Clear cache + reload": "清理缓存并重启", "Show detail": "显示详情", - "Export started": "导出已开始", - "A link to your file will be sent through email soon": "您的文件链接将很快通过电子邮件发送", - "Preparing your download": "正在准备您的下载", - "Include child documents": "包含子文档", - "When selected, exporting the document will take extra time.": "选中后,导出文档将需要更长时间。", - "You will receive an email when it's complete.": "完成后,你将收到一封电子邮件。", "Exporting the collection may take some time.": "导出文档集可能需要一些时间。", + "You will receive an email when it's complete.": "完成后,你将收到一封电子邮件。", "Include attachments": "包含附件", "Including uploaded images and files in the exported data": "导出数据中包含上传的图片和文件", "Include private collections": "包含私有文档集", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "浏览、查看或下载文档中的图片", "Zoom in": "放大", "Zoom out": "缩小", + "Download": "下载", "Edit diagram": "编辑图表", "Close": "关闭", "Previous": "上一个", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "已读 {{ hours }} 小时 {{ minutes }} 分钟", "{{ hours }}h read": "已读 {{ hours }} 小时", "{{ minutes }}m read": "阅读了{{ minutes }}分钟", + "Archived": "已归档", "All members": "所有成员", "Everyone in the workspace": "工作区中的所有人", "{{ count }} member": "{{ count }} 位成员", @@ -529,11 +551,12 @@ "Switch to dark": "切换至深色", "Switch to light": "切换至浅色", "Subscribe to updates": "订阅更新", + "Display settings": "显示设置", + "Edit {{noun}}": "编辑 {{noun}}", "Logo": "网站图标", "Add": "添加", "Add or invite": "添加或邀请", "Sharing settings updated": "共享设置已更新", - "Display settings": "显示设置", "Customize how the published document is displayed": "自定义已发布文档的显示方式", "Image options": "图像选项", "Upload": "上传", @@ -589,16 +612,16 @@ "New nested document": "新建子文档", "No collections": "暂无文档集", "Hide": "隐藏", + "Starred": "已加星标", + "Shared with me": "与我共享", "Import files": "导入文件", "Recent": "最近", "Go back": "返回", "Go forward": "前进", "Could not load shared documents": "无法加载共享文档", - "Shared with me": "与我共享", "Show more": "显示更多", "Link options": "链接选项", "Could not load starred documents": "无法加载星标文件", - "Starred": "已加星标", "Up to date": "已是最新版本", "{{ releasesBehind }} versions behind": "落后 {{ releasesBehind }} 个版本", "{{ releasesBehind }} versions behind_plural": "落后 {{ releasesBehind }} 个版本", @@ -615,6 +638,8 @@ "Star document": "收藏文档", "Select a color": "选择颜色", "Select all": "全选", + "Columns": "列", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "您的更改无法保存。\n确定要离开吗?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "选中一些文本,然后通过 <1> 来添加占位符,以便在创建新文件时填写。", "You’re editing a template": "您正在编辑一个模板", "Template created, go ahead and customize it": "模板已创建,继续进行自定义", @@ -675,8 +700,6 @@ "Paste a link": "粘贴链接", "Delete embed": "删除嵌入", "Delete image": "删除图片", - "Create a new doc": "新建文档", - "Create a nested doc": "创建一个嵌套的文档", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} 不会被通知,因为他们没有访问此文档的权限", "Members of \"{{ groupName }}\" that have access to this document will be notified": "“{{ groupName }}“中有权访问此文档的成员将会收到通知", "Keep as link": "保留为链接", @@ -726,7 +749,6 @@ "Italic": "斜体", "Strikethrough": "删除线", "Background color": "背景色", - "None": "空", "Highlight": "高亮", "Code": "代码", "Heading": "标题", @@ -743,6 +765,8 @@ "Full width": "全屏宽度", "Download image": "下载图片", "Edit image URL": "编辑图片 URL", + "Create a new doc": "新建文档", + "Create a nested doc": "创建一个嵌套的文档", "Default width": "默认宽度", "Distribute columns": "分布列", "Export as CSV": "导出为 CSV", @@ -893,14 +917,23 @@ "only you": "仅你自己", "person": "人", "people": "用户", + "{{ number }} words selected": "{{ number }} 个字已选择", + "{{ number }} words selected_plural": "{{ number }} 个字已选择", + "{{ number }} characters selected": "{{ number }} 个字符已选择", + "{{ number }} characters selected_plural": "{{ number }} 个字符已选择", + "{{ number }} words": "{{ number }} 个字", + "{{ number }} words_plural": "{{ number }} 个字", + "{{ number }} characters": "{{ number }} 个字符", + "{{ number }} characters_plural": "{{ number }} 个字符", + "{{ number }} paragraphs": "{{ number }} 个段落", + "{{ number }} paragraphs_plural": "{{ number }} 个段落", + "{{ number }} minute read": "已读 {{ number }} 分钟", "Document title": "文档标题", "Last updated": "最后更新", "Type '/' to insert, or start writing…": "输入'/'来插入,或开始写...", "Hide contents": "隐藏内容", "Show contents": "显示内容", "available when headings are added": "当添加标题时可用", - "Edit {{noun}}": "编辑 {{noun}}", - "Archived": "已归档", "Save draft": "保存草稿", "Restore version": "恢复此版本", "{{userName}} archived": "已被 {{userName}} 归档", @@ -912,7 +945,6 @@ "{{userName}} published": "已被 {{userName}} 发布", "{{userName}} unpublished": "{{userName}} 未发布", "{{userName}} moved": "已被 {{userName}} 移动", - "via {{ authType }}": "通过 {{ authType }}", "Previous version": "之前的版本", "Highlight changes": "高亮显示更改", "Compare to": "比较", @@ -920,23 +952,12 @@ "Revision deleted": "修订已被删除", "Current version": "当前版本", "{{userName}} edited": "{{userName}} 已编辑", + "via {{ authType }}": "通过 {{ authType }}", "{{count}} people": "{{count}} 人", "{{count}} people_plural": "{{count}} 人", "Source": "源", "Created": "创建日期", "Imported from {{ source }}": "从 {{ source }} 导入", - "Stats": "统计信息", - "{{ number }} minute read": "已读 {{ number }} 分钟", - "{{ number }} words": "{{ number }} 个字", - "{{ number }} words_plural": "{{ number }} 个字", - "{{ number }} characters": "{{ number }} 个字符", - "{{ number }} characters_plural": "{{ number }} 个字符", - "{{ number }} emoji": "{{ number }} 个表情符号", - "No text selected": "没有选定文本", - "{{ number }} words selected": "{{ number }} 个字已选择", - "{{ number }} words selected_plural": "{{ number }} 个字已选择", - "{{ number }} characters selected": "{{ number }} 个字符已选择", - "{{ number }} characters selected_plural": "{{ number }} 个字符已选择", "Contributors": "贡献者", "Creator": "创建者", "Last edited": "最后编辑者", @@ -986,11 +1007,11 @@ "Warning Sign": "警告标志", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "工作区管理员 ({{ suspendedContactEmail }}) 已停用您的账户。要重新激活您的账户,请联系工作区管理员。", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "抱歉,加载页面时发生未知错误。请重试,如果问题仍然存在,请与支持者联系。", + "Documents you’ve recently viewed will be here for easy access": "你最近浏览过的文档将放在此处以方便快速访问", "Created by me": "由我创建", "Weird, this shouldn't ever be empty": "奇怪,这里不应该是空的", "Documents with recent activity will appear here": "最近活动的文档将显示在此处", "You haven’t created any documents yet": "你尚未创建任何文档", - "Documents you’ve recently viewed will be here for easy access": "你最近浏览过的文档将放在此处以方便快速访问", "{{ count }} invites sent": "已发送 {{ count }} 个邀请", "{{ count }} invites sent_plural": "发送了 {{ count }} 个邀请", "Those email addresses are already invited": "此电子邮箱已被邀请", @@ -1014,6 +1035,7 @@ "Open document history": "打开文档历史", "Jump to search": "跳转到搜索", "Jump to home": "跳到页", + "Toggle statistics": "切换统计信息", "Focus search input": "聚焦搜索结果", "Open this guide": "打开指南", "Publish document and exit": "发布文档并退出", @@ -1151,7 +1173,6 @@ "Any time": "任何时间", "Remove document filter": "移除文档过滤", "Any status": "任何状态", - "Recent searches": "最近的搜索", "Remove search": "移除搜索", "Relevance": "相关", "Newest": "最新", @@ -1324,6 +1345,8 @@ "All roles": "所有角色", "Admins": "管理员", "Editors": "编辑者", + "Invited by": "邀请人", + "Joined": "已加入", "All status": "所有状态", "Active": "活跃的", "Could not load emojis": "无法加载表情", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "在文档中的代码块上显示行号。", "Show comment marker": "显示评论标记", "Display a marker beside lines in the editor that contain comments.": "在编辑器中包含评论的行旁显示标记。", + "Display live word, character, and paragraph counts while editing.": "编辑时显示实时字数、字符数和段落数。", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "启用时,文档为独立编辑模式。禁用时,文档在你拥有权限时始终可编辑。", "Remember previous location": "记住上一次的位置", "Automatically return to the document you were last viewing when the app is re-opened.": "重新打开应用程序时自动返回到您上次浏览的文档。", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "共享功能当前被禁用。", "You can globally enable and disable public document sharing in the security settings.": "你可以在安全设置 中对共享文档功能进行全局启用或禁用。", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "这是你分享给其他人的所有文档,在你撤销链接之前,任何人都可以通过该链接阅读该文档。", - "A template must have content": "模板必须包含内容", + "Couldn’t create the template, try again?": "无法创建模板,请重试?", "Could not load templates": "无法加载模板", "Templates help your team create consistent and accurate documentation.": "模板帮助您的团队创建一致且准确的文档。", "No templates have been created yet": "还没有创建任何模板", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "若需使用其它电子邮件创建工作区,请前往首页完成注册。", "Trash emptied": "回收站为空", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "您确定要永久删除回收站中的所有文档吗?此操作是立即的且无法撤消。", - "Recently deleted": "最近删除的", + "You’ve not deleted any documents.": "您尚未删除任何文档。", + "This user has not deleted any documents.": "此用户尚未删除任何文档。", "Trash is empty at the moment.": "回收站为空。", + "Recently deleted": "最近删除的", + "Deleted by anyone": "任何人删除的内容", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "验证码已经发送至您的电子邮箱,请在下面输入代码以永久删除您的账户。", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "确定要继续吗?此操作将永久删除您账户中的所有身份数据且无法恢复。您将立即登出 {{appName}},并且您的所有API令牌也将立即失效。", "Delete my account": "删除我的帐户", + "Export started": "导出已开始", + "A link to your file will be sent through email soon": "您的文件链接将很快通过电子邮件发送", + "Preparing your download": "正在准备您的下载", "Today": "今天", "Yesterday": "昨天", "Last week": "上周", diff --git a/shared/i18n/locales/zh_TW/translation.json b/shared/i18n/locales/zh_TW/translation.json index 28b1285518..af6920ab0b 100644 --- a/shared/i18n/locales/zh_TW/translation.json +++ b/shared/i18n/locales/zh_TW/translation.json @@ -77,11 +77,13 @@ "{{ count }} documents unpublished_plural": "{{ count }} 個文件已取消發佈", "Subscription inherited from collection": "訂閱設定繼承自文件集", "Share document": "分享文件", - "Download": "下載", - "Download document": "下載文件", + "Markdown": "Markdown", "Download as Markdown": "下載為 Markdown", + "HTML": "HTML", "Download as HTML": "下載為 HTML", + "TextBundle": "文字套件", "Download as TextBundle": "下載為 TextBundle", + "PDF": "PDF", "Download as PDF": "下載為 PDF", "Copy as Markdown": "複製為 Markdown", "Markdown copied to clipboard": "Markdown 已複製到剪貼簿", @@ -103,6 +105,7 @@ "Search in document": "搜尋文件", "Print": "列印", "Print document": "列印文件", + "Export document": "匯出文件", "Open in desktop app": "在桌面應用程式開啟", "Present": "簡報", "Present document": "以簡報模式呈現文件", @@ -138,6 +141,12 @@ "Comments": "留言", "History": "歷史紀錄", "Insights": "洞察分析", + "Show editing stats": "顯示編輯統計資料", + "None": "無", + "Multi-level decimal": "多層級十進位", + "Alphanumeric": "英數字元", + "Harvard": "哈佛", + "Heading numbering": "標題編號", "Leave document": "離開文件", "You have left the shared document": "您離開了共享的文件", "Could not leave document": "無法離開文件", @@ -195,11 +204,8 @@ "New Application": "新增應用程式", "Delete app": "刪除應用程式", "This version of the document was deleted": "該版本文件已刪除", - "HTML": "HTML", - "PDF": "PDF", "Exporting": "正在匯出", - "Markdown": "Markdown", - "Download revision": "下載版本", + "Export revision": "匯出舊版", "Dark": "深色", "Light": "淺色", "Toggle theme": "切換佈景佈景主題", @@ -212,19 +218,37 @@ "Go to document": "跳轉到文件", "Revoke link": "註銷連結", "Share link revoked": "分享連結已註銷", + "{{ count }} share link revoked": "已撤銷 {{ count }} 個分享連結", + "{{ count }} share link revoked_plural": "已撤銷 {{ count }} 個分享連結", + "Could not revoke {{ count }} share link": "無法撤銷 {{ count }} 個分享連結", + "Could not revoke {{ count }} share link_plural": "無法撤銷 {{ count }} 個分享連結", "Switch workspace": "切換工作空間", "Select a workspace": "選擇工作空間", "New workspace": "新建的工作空間", "Create a workspace": "建立新的工作空間", "Login to workspace": "登入工作區", - "template": "範本", + "Delete template": "刪除範本", + "Delete {{ count }} template": "刪除 {{ count }} 個範本", + "Delete {{ count }} template_plural": "刪除 {{ count }} 個範本", "Template deleted": "範本已刪除", + "{{ count }} template deleted": "{{ count }} 個範本已刪除", + "{{ count }} template deleted_plural": "{{ count }} 個範本已刪除", "Are you sure about that? Deleting the {{ templateName }} template is permanent.": "您確定要刪除 {{ templateName }} 範本嗎?此動作無法復原。", + "Are you sure about that? Deleting {{ count }} template is permanent.": "您確定嗎?刪除 {{ count }} 個範本後將無法復原。", + "Are you sure about that? Deleting {{ count }} template is permanent._plural": "您確定嗎?刪除 {{ count }} 個範本後將無法復原。", + "A template must have content": "範本必須有內容", + "Template published": "範本已發布", + "{{ count }} template published": "{{ count }} 個範本已發布", + "{{ count }} template published_plural": "已發佈 {{ count }} 個範本", + "Could not publish {{ count }} template": "無法發佈 {{ count }} 個範本", + "Could not publish {{ count }} template_plural": "無法發佈 {{ count }} 個範本", "Move to workspace": "移至工作區", "Template moved": "範本已移動", "Couldn't move the template, try again?": "無法移動範本,要再試一次嗎?", "Move to collection": "移至文件集", "Move template": "移動範本", + "{{ count }} template duplicated": "已複製 {{ count }} 個範本", + "{{ count }} template duplicated_plural": "已複製 {{ count }} 個範本", "Print template": "列印範本", "Invite people": "邀請使用者", "Invite to workspace": "邀請至工作區", @@ -267,6 +291,7 @@ "People": "人員", "Share": "分享", "Workspace": "工作空間", + "Recent searches": "最近搜尋", "currently editing": "正在編輯", "currently viewing": "正在瀏覽", "previously edited": "先前編輯過", @@ -389,13 +414,8 @@ "our engineers have been notified": "我們的工程師已經收到通知", "Clear cache + reload": "清除快取並重新整理", "Show detail": "顯示詳情", - "Export started": "已經開始匯出", - "A link to your file will be sent through email soon": "檔案連結稍後會透過電子郵件寄出", - "Preparing your download": "準備下載中", - "Include child documents": "包含子文件", - "When selected, exporting the document will take extra time.": "選取後,匯出文件將需要額外時間。", - "You will receive an email when it's complete.": "完成後,您將收到電子郵件。", "Exporting the collection may take some time.": "匯出文件集可能需要一些時間。", + "You will receive an email when it's complete.": "完成後,您將收到電子郵件。", "Include attachments": "包含附件", "Including uploaded images and files in the exported data": "在匯出的資料中包含已上傳的圖片與檔案", "Include private collections": "包含私人的文件集", @@ -453,6 +473,7 @@ "View, navigate, or download images in the document": "在文件中檢視、瀏覽或下載圖片", "Zoom in": "放大", "Zoom out": "縮小", + "Download": "下載", "Edit diagram": "編輯圖表", "Close": "關閉", "Previous": "上一個", @@ -509,6 +530,7 @@ "{{ hours }}h {{ minutes }}m read": "閱讀時間 {{ hours }} 小時 {{ minutes }} 分鐘", "{{ hours }}h read": "閱讀時間 {{ hours }} 小時", "{{ minutes }}m read": "閱讀時間 {{ minutes }} 分鐘", + "Archived": "已封存", "All members": "所有成員", "Everyone in the workspace": "工作區裡的所有人", "{{ count }} member": "{{ count }} 位成員", @@ -529,11 +551,12 @@ "Switch to dark": "切換到深色模式", "Switch to light": "切換到淺色模式", "Subscribe to updates": "訂閱更新", + "Display settings": "顯示設定", + "Edit {{noun}}": "編輯 {{noun}}", "Logo": "Logo", "Add": "新增", "Add or invite": "新增或邀請", "Sharing settings updated": "分享設定已更新", - "Display settings": "顯示設定", "Customize how the published document is displayed": "自訂已發布文件的顯示方式", "Image options": "圖片選項", "Upload": "上傳", @@ -589,16 +612,16 @@ "New nested document": "建立新的子文件", "No collections": "沒有文件集", "Hide": "隱藏", + "Starred": "已收藏", + "Shared with me": "與我分享", "Import files": "匯入檔案", "Recent": "最近", "Go back": "返回", "Go forward": "前進", "Could not load shared documents": "無法載入分享文件", - "Shared with me": "與我分享", "Show more": "顯示更多", "Link options": "連結選項", "Could not load starred documents": "無法載入已收藏的文件", - "Starred": "已收藏", "Up to date": "已是最新版本", "{{ releasesBehind }} versions behind": "落後 {{ releasesBehind }} 個版本", "{{ releasesBehind }} versions behind_plural": "落後 {{ releasesBehind }} 個版本", @@ -615,6 +638,8 @@ "Star document": "標示星號", "Select a color": "選擇顏色", "Select all": "全選", + "Columns": "欄位", + "Your changes couldn’t be saved.\nAre you sure you want to leave?": "無法儲存您的變更。\n確定要離開嗎?", "Highlight some text and use the <1> control to add placeholders that can be filled out when creating new documents": "反白選取一些文字,並使用 <1> 控制項新增可在建立新文件時填寫的預留位置", "You’re editing a template": "您正在編輯範本", "Template created, go ahead and customize it": "範本已經建立,繼續將其客製化", @@ -675,8 +700,6 @@ "Paste a link": "貼上連結", "Delete embed": "刪除嵌入", "Delete image": "刪除圖片", - "Create a new doc": "建立新文件", - "Create a nested doc": "建立子文件", "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} 不會收到通知,因為他們沒有此文件的存取權", "Members of \"{{ groupName }}\" that have access to this document will be notified": "具有此文件存取權的「{{ groupName }}」成員將會收到通知", "Keep as link": "保留為連結", @@ -726,7 +749,6 @@ "Italic": "斜體", "Strikethrough": "刪除線", "Background color": "背景顏色", - "None": "無", "Highlight": "強調", "Code": "程式碼", "Heading": "標題", @@ -743,6 +765,8 @@ "Full width": "全螢幕寬度", "Download image": "下載圖片", "Edit image URL": "編輯圖片 URL", + "Create a new doc": "建立新文件", + "Create a nested doc": "建立子文件", "Default width": "預設寬度", "Distribute columns": "平均分配欄寬", "Export as CSV": "匯出為 CSV", @@ -893,14 +917,23 @@ "only you": "僅限自己", "person": "人", "people": "人", + "{{ number }} words selected": "已選取 {{ number }} 個字", + "{{ number }} words selected_plural": "已選取 {{ number }} 個字", + "{{ number }} characters selected": "已選取 {{ number }} 個字元", + "{{ number }} characters selected_plural": "已選取 {{ number }} 個字元", + "{{ number }} words": "{{ number }} 個字", + "{{ number }} words_plural": "{{ number }} 個字", + "{{ number }} characters": "{{ number }} 個字元", + "{{ number }} characters_plural": "{{ number }} 個字元", + "{{ number }} paragraphs": "{{ number }} 個段落", + "{{ number }} paragraphs_plural": "{{ number }} 個段落", + "{{ number }} minute read": "閱讀時間 {{ number }} 分鐘", "Document title": "文件標題", "Last updated": "最後更新時間", "Type '/' to insert, or start writing…": "輸入「/」以插入,或開始撰寫…", "Hide contents": "隱藏目錄內容", "Show contents": "顯示目錄內容", "available when headings are added": "新增標題後可用", - "Edit {{noun}}": "編輯 {{noun}}", - "Archived": "已封存", "Save draft": "儲存草稿", "Restore version": "還原版本", "{{userName}} archived": "{{userName}} 將其封存", @@ -912,7 +945,6 @@ "{{userName}} published": "{{userName}} 已將其發布", "{{userName}} unpublished": "{{userName}} 已取消發布", "{{userName}} moved": "{{userName}} 將其移動", - "via {{ authType }}": "透過 {{ authType }}", "Previous version": "上一個版本", "Highlight changes": "顯示差異", "Compare to": "比較對象", @@ -920,23 +952,12 @@ "Revision deleted": "修訂版本已刪除", "Current version": "目前版本", "{{userName}} edited": "{{userName}} 已編輯", + "via {{ authType }}": "透過 {{ authType }}", "{{count}} people": "{{count}} 人", "{{count}} people_plural": "{{count}} 人", "Source": "來源", "Created": "建立日期", "Imported from {{ source }}": "從 {{ source }} 匯入", - "Stats": "統計", - "{{ number }} minute read": "閱讀時間 {{ number }} 分鐘", - "{{ number }} words": "{{ number }} 個字", - "{{ number }} words_plural": "{{ number }} 個字", - "{{ number }} characters": "{{ number }} 個字元", - "{{ number }} characters_plural": "{{ number }} 個字元", - "{{ number }} emoji": "{{ number }} 個表情符號", - "No text selected": "尚未選擇任何文字", - "{{ number }} words selected": "已選取 {{ number }} 個字", - "{{ number }} words selected_plural": "已選取 {{ number }} 個字", - "{{ number }} characters selected": "已選取 {{ number }} 個字元", - "{{ number }} characters selected_plural": "已選取 {{ number }} 個字元", "Contributors": "貢獻者", "Creator": "建立者", "Last edited": "最後編輯於", @@ -986,11 +1007,11 @@ "Warning Sign": "警告", "A workspace admin ({{ suspendedContactEmail }}) has suspended your account. To re-activate your account, please reach out to them directly.": "工作區管理員({{ suspendedContactEmail }})已停用您的帳號。若要重新啟用帳號,請直接聯絡對方。", "Sorry, an unknown error occurred loading the page. Please try again or contact support if the issue persists.": "抱歉,載入頁面時發生未知的錯誤,請稍後再試,如果問題持續發生,請聯絡支援團隊。", + "Documents you’ve recently viewed will be here for easy access": "您最近檢視過的文件會被列於此方便您快速存取", "Created by me": "由我建立的", "Weird, this shouldn't ever be empty": "奇怪,這裡不應該是空的", "Documents with recent activity will appear here": "近期有活動的文件會顯示在此處", "You haven’t created any documents yet": "您還沒有建立任何文件", - "Documents you’ve recently viewed will be here for easy access": "您最近檢視過的文件會被列於此方便您快速存取", "{{ count }} invites sent": "已傳送 {{ count }} 則邀請", "{{ count }} invites sent_plural": "{{ count }} 則邀請已傳送", "Those email addresses are already invited": "這些電子郵件地址已受邀", @@ -1014,6 +1035,7 @@ "Open document history": "打開文件歷史紀錄", "Jump to search": "跳轉到搜尋", "Jump to home": "跳轉到首頁", + "Toggle statistics": "切換統計資料", "Focus search input": "聚焦搜尋輸入框", "Open this guide": "打開這份指南", "Publish document and exit": "發布文件並離開", @@ -1151,7 +1173,6 @@ "Any time": "任何時間", "Remove document filter": "移除文件篩選器", "Any status": "任何狀態", - "Recent searches": "最近搜尋", "Remove search": "移除搜尋", "Relevance": "相關", "Newest": "最新", @@ -1324,6 +1345,8 @@ "All roles": "所有角色", "Admins": "管理員", "Editors": "編輯者", + "Invited by": "邀請者", + "Joined": "已加入", "All status": "所有狀態", "Active": "上線", "Could not load emojis": "無法載入表情符號", @@ -1434,6 +1457,7 @@ "Show line numbers on code blocks in documents.": "在文件裏的代碼塊中顯示行數。", "Show comment marker": "顯示評論標記", "Display a marker beside lines in the editor that contain comments.": "在編輯器中含有評論的行旁顯示標記。", + "Display live word, character, and paragraph counts while editing.": "在編輯時顯示即時的字數、字元數和段落數。", "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "啟用時,文件進入獨立的編輯模式。停用時,只要您有足夠權限,始終可對文件進行編輯。", "Remember previous location": "記住上一次的位置", "Automatically return to the document you were last viewing when the app is re-opened.": "在開啟應用程式時自動開啓上一次檢視的文件。", @@ -1476,7 +1500,7 @@ "Sharing is currently disabled.": "已停用分享功能。", "You can globally enable and disable public document sharing in the security settings.": "您可以透過安全性設定針對全域啟用或停用文件公開分享的功能。", "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "下列清單為已被分享之文件。任何擁有公開分享連結的人,在分享連結被註銷前,都可以存取文件的唯讀版本。", - "A template must have content": "範本必須有內容", + "Couldn’t create the template, try again?": "無法建立範本,要再試一次嗎?", "Could not load templates": "無法載入範本", "Templates help your team create consistent and accurate documentation.": "範本可協助團隊建立一致且準確的文件。", "No templates have been created yet": "尚未建立任何範本", @@ -1490,11 +1514,17 @@ "To create a workspace under another email please sign up from the homepage": "要使用另一個電子郵件建立工作區請從首頁登入", "Trash emptied": "垃圾桶已清空", "Are you sure you want to permanently delete all the documents in Trash? This action is immediate and cannot be undone.": "您確定要永久刪除文件 回收桶中的所有文件嗎?這個動作會立即生效且無法被復原。", - "Recently deleted": "最近刪除", + "You’ve not deleted any documents.": "您尚未刪除任何文件。", + "This user has not deleted any documents.": "此使用者尚未刪除任何文件。", "Trash is empty at the moment.": "垃圾桶目前是空的。", + "Recently deleted": "最近刪除", + "Deleted by anyone": "任何人刪除", "A confirmation code has been sent to your email address, please enter the code below to permanently destroy your account.": "確認碼已傳送至您的電子郵件,請輸入確認碼以永久刪除您的帳號。", "Are you sure? Deleting your account will destroy identifying data associated with your user and cannot be undone. You will be immediately logged out of {{appName}} and all your API tokens will be revoked.": "您確定嗎?刪除您的帳號將會破壞您的使用者個人資料而且將無法還原。您將會被立刻從 {{appName}} 被登出,同時所有的 API 權杖都會被撤銷。", "Delete my account": "刪除我的帳號", + "Export started": "已經開始匯出", + "A link to your file will be sent through email soon": "檔案連結稍後會透過電子郵件寄出", + "Preparing your download": "準備下載中", "Today": "今日", "Yesterday": "昨日", "Last week": "上星期", From 096cfc72c7e0581dfde1ff71e5aa2ccf01234301 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 23 Aug 2026 09:50:54 -0400 Subject: [PATCH 03/85] fix: Contents highlight lost when scrolling deep headings (#13531) The contents lists headings up to level four, but tracked the active heading across every heading in the document. Scrolling into a level five or six section selected a heading with no entry in the list, so the highlight disappeared until the next listed heading came into view. The level filter now runs once, up front, and the active heading tracking, indentation base, empty check and render all read the same list. Prefix labels are still computed over every heading so the numbering keeps matching the document. Co-authored-by: Claude Opus 5 (1M context) --- app/scenes/Document/components/Contents.tsx | 95 +++++++++++---------- 1 file changed, 49 insertions(+), 46 deletions(-) diff --git a/app/scenes/Document/components/Contents.tsx b/app/scenes/Document/components/Contents.tsx index 955d438672..40502f546d 100644 --- a/app/scenes/Document/components/Contents.tsx +++ b/app/scenes/Document/components/Contents.tsx @@ -18,6 +18,9 @@ import { decodeURIComponentSafe } from "~/utils/urls"; const HEADING_OFFSET = 20; +/** Headings deeper than this level are not listed in the contents. */ +const MAX_HEADING_LEVEL = 4; + function Contents() { const history = useHistory(); const [scrolledSlug, setScrolledSlug] = useState(); @@ -33,11 +36,35 @@ function Contents() { ); const itemRefs = useRef>({}); + const headingPrefix = + documentContext.document?.getPreference(DocumentPreference.HeadingPrefix) ?? + HeadingPrefixStyle.None; + + // Prefix labels are computed over every heading so that they match the + // numbering shown in the document, and attached before the deeper headings + // are dropped. Those headings are not listed, so they also take no part in + // tracking the active one — a reader inside a deep section keeps the nearest + // listed heading highlighted rather than losing the highlight entirely. + const items = useMemo(() => { + const labels = + headingPrefix === HeadingPrefixStyle.None + ? undefined + : HeadingPrefixHelper.labels( + headings.map((heading) => heading.level), + headingPrefix, + { indented: true } + ); + + return headings + .map((heading, index) => ({ heading, label: labels?.[index] })) + .filter(({ heading }) => heading.level <= MAX_HEADING_LEVEL); + }, [headings, headingPrefix]); + // A heading chosen from the contents stays highlighted until the reader // scrolls themselves. Headings near the end of a document cannot reach the // top of the viewport, so the scroll position alone would never select them. const activeSlug = - selectedSlug && headings.some((heading) => heading.id === selectedSlug) + selectedSlug && items.some(({ heading }) => heading.id === selectedSlug) ? selectedSlug : scrolledSlug; @@ -93,10 +120,9 @@ function Contents() { }, [selectedSlug]); useEffect(() => { - let activeId = headings.length > 0 ? headings[0].id : undefined; + let activeId = items.length > 0 ? items[0].heading.id : undefined; - for (let key = 0; key < headings.length; key++) { - const heading = headings[key]; + for (const { heading } of items) { const element = window.document.getElementById( decodeURIComponentSafe(heading.id) ); @@ -113,7 +139,7 @@ function Contents() { if (scrolledSlug !== activeId) { setScrolledSlug(activeId); } - }, [scrollPosition, headings, scrolledSlug]); + }, [scrollPosition, items, scrolledSlug]); useEffect(() => { const activeItem = activeSlug ? itemRefs.current[activeSlug] : undefined; @@ -128,31 +154,14 @@ function Contents() { // calculate the minimum heading level and adjust all the headings to make // that the top-most. This prevents the contents from being weirdly indented // if all of the headings in the document start at level 3, for example. - const minHeading = headings.reduce( - (memo, heading) => (heading.level < memo ? heading.level : memo), + const minHeading = items.reduce( + (memo, { heading }) => (heading.level < memo ? heading.level : memo), Infinity ); const headingAdjustment = minHeading - 1; const { t } = useTranslation(); - // Compute prefix labels over all headings so they match the numbering shown - // in the document, then attach them before headings are filtered for display. - const headingPrefix = - documentContext.document?.getPreference(DocumentPreference.HeadingPrefix) ?? - HeadingPrefixStyle.None; - const prefixLabels = useMemo( - () => - headingPrefix === HeadingPrefixStyle.None - ? undefined - : HeadingPrefixHelper.labels( - headings.map((heading) => heading.level), - headingPrefix, - { indented: true } - ), - [headings, headingPrefix] - ); - - if (headings.length === 0) { + if (items.length === 0) { return ; } @@ -160,28 +169,22 @@ function Contents() { {t("Contents")} - {headings - .map((heading, index) => ({ - heading, - label: prefixLabels?.[index], - })) - .filter(({ heading }) => heading.level <= 4) - .map(({ heading, label }) => ( - (itemRefs.current[heading.id] = el)} - level={heading.level - headingAdjustment} - active={activeSlug === heading.id} + {items.map(({ heading, label }) => ( + (itemRefs.current[heading.id] = el)} + level={heading.level - headingAdjustment} + active={activeSlug === heading.id} + > + handleClick(event, heading.id)} > - handleClick(event, heading.id)} - > - {label && {label}} - {heading.title} - - - ))} + {label && {label}} + {heading.title} + + + ))} ); From e22b423fc35ac345745d878c57ec82497029abe5 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 23 Aug 2026 09:53:42 -0400 Subject: [PATCH 04/85] fix: Hold hover state on DocumentCard when context menu is open (#13529) --- app/components/DocumentCard.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/components/DocumentCard.tsx b/app/components/DocumentCard.tsx index 6f9ded7570..c0b4143640 100644 --- a/app/components/DocumentCard.tsx +++ b/app/components/DocumentCard.tsx @@ -317,10 +317,13 @@ const DocumentLink = styled(Link)<{ opacity: 0; } + // data-state is set by the context menu trigger, so the treatment stays + // active while the menu is open &:${hover}, &:active, &:focus, - &:focus-within { + &:focus-within, + &[data-state="open"] { transform: ${(props) => (props.$isDragging ? "scale(1.1)" : "scale(1.08)")} rotate(-2deg); box-shadow: ${(props) => From c8bfd8488d0c76b937937cdb4e21e46630378e98 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 23 Aug 2026 09:54:35 -0400 Subject: [PATCH 05/85] fix: Only show editing stats toggle when viewing a document (#13530) * fix: Only show editing stats toggle when viewing a document Co-Authored-By: Claude Opus 5 (1M context) * Default isViewing to false Co-Authored-By: Claude Opus 5 (1M context) --------- Co-authored-by: Claude Opus 5 (1M context) --- app/hooks/useDocumentMenuAction.tsx | 15 +++++++++++++-- app/menus/DocumentMenu.tsx | 1 + 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/app/hooks/useDocumentMenuAction.tsx b/app/hooks/useDocumentMenuAction.tsx index 831b4e21df..e45902a1f6 100644 --- a/app/hooks/useDocumentMenuAction.tsx +++ b/app/hooks/useDocumentMenuAction.tsx @@ -45,6 +45,8 @@ import { useTemplateMenuActions } from "./useTemplateMenuActions"; type Props = { /** Document ID for which the actions are generated */ documentId: string; + /** Whether the document is currently being viewed */ + isViewing?: boolean; /** Invoked when the "Find and replace" menu item is clicked */ onFindAndReplace?: () => void; /** Invoked when the "Rename" menu item is clicked */ @@ -55,6 +57,7 @@ type Props = { export function useDocumentMenuAction({ documentId, + isViewing = false, onFindAndReplace, onRename, onSelectTemplate, @@ -106,7 +109,7 @@ export function useDocumentMenuAction({ openDocumentComments, openDocumentHistory, openDocumentInsights, - toggleDocumentStats, + ...(isViewing ? [toggleDocumentStats] : []), openDocumentInSplit, openDocumentInDesktop, presentDocument, @@ -118,6 +121,14 @@ export function useDocumentMenuAction({ permanentlyDeleteDocument, leaveDocument, ]), - [t, isMobile, templateMenuActions, documentId, onFindAndReplace, onRename] + [ + t, + isMobile, + isViewing, + templateMenuActions, + documentId, + onFindAndReplace, + onRename, + ] ); } diff --git a/app/menus/DocumentMenu.tsx b/app/menus/DocumentMenu.tsx index 4bd31448d4..6e676955ce 100644 --- a/app/menus/DocumentMenu.tsx +++ b/app/menus/DocumentMenu.tsx @@ -129,6 +129,7 @@ function DocumentMenu({ const rootAction = useDocumentMenuAction({ documentId: document.id, + isViewing: showDisplayOptions, onFindAndReplace, onRename, onSelectTemplate, From f62fb40604901ee269ba0f49f0aadb7bcbe106a9 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 23 Aug 2026 10:20:58 -0400 Subject: [PATCH 06/85] fix: Search result context cut mid-word by earlier highlights (#13532) * fix: Search result context cut mid-word by earlier highlights The snippet indexes were calculated against the plain document text, then used to slice the highlighted copy. Every highlight before the slice start adds seven characters, so the snippet began too late and could open inside a bold tag. Slice first and highlight the slice, so both indexes apply to the same string. Co-Authored-By: Claude Opus 5 (1M context) * Feedback --------- Co-authored-by: Claude Opus 5 (1M context) --- .../server/PostgresSearchProvider.test.ts | 47 +++++++++++++++++++ .../server/PostgresSearchProvider.ts | 17 ++++--- 2 files changed, 57 insertions(+), 7 deletions(-) diff --git a/plugins/search-postgres/server/PostgresSearchProvider.test.ts b/plugins/search-postgres/server/PostgresSearchProvider.test.ts index 5d05f0edcc..494a8b2cc4 100644 --- a/plugins/search-postgres/server/PostgresSearchProvider.test.ts +++ b/plugins/search-postgres/server/PostgresSearchProvider.test.ts @@ -773,6 +773,53 @@ describe("PostgresSearchProvider", () => { expect(total).toBe(1); }); + it("should return context that is not shifted by earlier highlights", async () => { + const team = await buildTeam(); + const user = await buildUser({ teamId: team.id }); + const collection = await buildCollection({ + teamId: team.id, + userId: user.id, + }); + await buildDocument({ + teamId: team.id, + userId: user.id, + collectionId: collection.id, + title: "change", + text: "world war two was a very large conflict that involved many nations over six years. Later on, hello world became the canonical first program.", + }); + const { results } = await provider.searchForUser(user, { + query: "hello world", + }); + expect(results.length).toBe(1); + // The earlier "world" is highlighted too, which must not move the start + // of the slice into the middle of a word. + expect(results[0].context).toBe( + " conflict that involved many nations over six years. Later on, hello world became the canonical first program" + ); + }); + + it("should return context for text with no word boundaries", async () => { + const team = await buildTeam(); + const user = await buildUser({ teamId: team.id }); + const collection = await buildCollection({ + teamId: team.id, + userId: user.id, + }); + const text = "abcdefghij".repeat(40); + await buildDocument({ + teamId: team.id, + userId: user.id, + collectionId: collection.id, + title: "hello world", + text, + }); + const { results } = await provider.searchForUser(user, { + query: "hello world", + }); + expect(results.length).toBe(1); + expect(results[0].context).toBe(text.slice(0, 250)); + }); + it("should correctly handle removal of trailing spaces", async () => { const team = await buildTeam(); const user = await buildUser({ teamId: team.id }); diff --git a/plugins/search-postgres/server/PostgresSearchProvider.ts b/plugins/search-postgres/server/PostgresSearchProvider.ts index 754963cc7b..bbdedbebd9 100644 --- a/plugins/search-postgres/server/PostgresSearchProvider.ts +++ b/plugins/search-postgres/server/PostgresSearchProvider.ts @@ -591,14 +591,17 @@ export default class PostgresSearchProvider extends BaseSearchProvider { ? 0 : regexIndexOf(text, breakCharsRegex, offsetStartIndex) ); - const context = text.replace(highlightRegex, "$&"); - const endIndex = regexLastIndexOf( - context, - breakCharsRegex, - startIndex + 250 - ); + // Ends on the last word boundary within the window, or at the window + // itself when the text has none. + const maxEndIndex = Math.min(text.length, startIndex + 250); + const breakIndex = regexLastIndexOf(text, breakCharsRegex, maxEndIndex); + const endIndex = breakIndex > startIndex ? breakIndex : maxEndIndex; - return context.slice(startIndex, endIndex); + // Highlight after slicing, as the inserted tags shift every index that + // follows an earlier match. + return text + .slice(startIndex, endIndex) + .replace(highlightRegex, "$&"); } /** From f6ad3cb6e1d754f2e48deab98cf4ae266f522a11 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 23 Aug 2026 11:20:30 -0400 Subject: [PATCH 07/85] Improvements to mobile formatting toolbar (#13533) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: Selection toolbar not displaying on mobile The mobile branch of FloatingToolbar rendered nothing until `position.visible` was true, but `usePosition` only reports a visible position once the menu element has been measured through `menuRef`. On desktop the wrapper is always mounted (it animates in via opacity) so the ref is populated on first render, while on mobile the toolbar is the only thing that mounts the ref — leaving it permanently null and the bar never displayed. Gate the mobile bar on there being toolbar content instead. Position is irrelevant on mobile: the bar is fixed to the bottom of the viewport and its vertical offset is owned by useKeyboardStickyOffset. Also size the bar with border-box and center its content vertically, so the declared 60px is the height of the bar rather than 60px of content plus padding with the buttons pinned to the top. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01GhGyxA663bMFZ1NxBhLAoF * fix: Keep the mobile selection toolbar visible while editing On mobile the toolbar is a bar docked above the on-screen keyboard rather than a floating menu anchored to the selection, but it was only rendered while something was selected — so it appeared and vanished as the selection came and went while typing. The formatting menu was already written for this: `canFormatBlock` shows headings, quotes, toggles and list indent/outdent precisely when the selection is empty on mobile, mirroring `canFormatInline` for selected text. That branch was unreachable, as an empty selection always resolved the toolbar to nothing. Show the menu whenever the editor is focused on mobile, so the bar carries block formatting for a bare cursor and swaps to inline formatting on selection. Visibility is derived at render rather than folded into `activeToolbar` so that focus moving into the link editor's input cannot tear down a toolbar the user opened. Focus is threaded to widgets through WidgetProps. Tapping the bar now also prevents the default action of mousedown, keeping focus (and the keyboard) in the editor. Without it a tap would blur the editor and unmount the bar before the tap became a click; fields inside the bar are excluded so the link editor still takes focus. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01GhGyxA663bMFZ1NxBhLAoF * fix: Mobile toolbar is not visible * Update mobile toolbar styling fix: Does not account for stored marks --------- Co-authored-by: Claude --- app/editor/components/FloatingToolbar.tsx | 51 ++- app/editor/components/SelectionToolbar.tsx | 12 +- app/editor/components/ToolbarMenu.tsx | 61 +++- app/editor/index.tsx | 2 + app/editor/menus/formatting.tsx | 354 +++++++++++---------- shared/editor/lib/Extension.ts | 10 +- shared/editor/lib/ExtensionManager.ts | 6 +- shared/editor/queries/isMarkActive.test.ts | 72 +++++ shared/editor/queries/isMarkActive.ts | 14 +- shared/editor/types/index.ts | 13 + shared/i18n/locales/en_US/translation.json | 12 +- shared/styles/index.ts | 15 + 12 files changed, 427 insertions(+), 195 deletions(-) create mode 100644 shared/editor/queries/isMarkActive.test.ts diff --git a/app/editor/components/FloatingToolbar.tsx b/app/editor/components/FloatingToolbar.tsx index 07ec83f30b..0801f61aaf 100644 --- a/app/editor/components/FloatingToolbar.tsx +++ b/app/editor/components/FloatingToolbar.tsx @@ -1,3 +1,4 @@ +import { transparentize } from "polished"; import { NodeSelection } from "prosemirror-state"; import { selectedRect } from "prosemirror-tables"; import * as React from "react"; @@ -6,7 +7,7 @@ import styled, { css, keyframes } from "styled-components"; import { isCode } from "@shared/editor/lib/isCode"; import { findParentNode } from "@shared/editor/queries/findParentNode"; import { EditorStyleHelper } from "@shared/editor/styles/EditorStyleHelper"; -import { depths, s } from "@shared/styles"; +import { depths, hairline, s } from "@shared/styles"; import { HEADER_HEIGHT } from "~/components/Header"; import { Portal } from "~/components/Portal"; import useEventListener from "~/hooks/useEventListener"; @@ -268,23 +269,32 @@ const FloatingToolbar = React.forwardRef(function FloatingToolbar_( }); const isMobile = useMobile(); - const isMobileToolbarVisible = isMobile && !!props.active && position.visible; + const isMobileToolbarVisible = isMobile && !!props.active && !!props.children; // Keep the mobile toolbar glued to the top of the on-screen keyboard. The // hook tracks the visual viewport directly — see its implementation for the // iOS specifics. useKeyboardStickyOffset(menuRef, isMobileToolbarVisible); + // Tapping the bar must not move focus out of the editor, that would dismiss + // the on-screen keyboard and take the bar down with it. + const handlePointerDown = (event: React.PointerEvent) => { + if ( + event.target instanceof Element && + !event.target.closest("input, textarea, [contenteditable='true']") + ) { + event.preventDefault(); + } + }; + if (isMobile) { if (isMobileToolbarVisible) { // Vertical position (above the keyboard) is owned entirely by // useKeyboardStickyOffset, which writes the transform directly. return ( - - {props.children && ( - {props.children} - )} + + {props.children} ); @@ -351,6 +361,7 @@ const MobileWrapper = styled.div` right: 0; width: 100vw; box-sizing: border-box; + padding: 0 8px 8px; z-index: ${depths.editorToolbar}; will-change: transform; @@ -359,19 +370,27 @@ const MobileWrapper = styled.div` } `; +// A rounded bar floating clear of the edges of the screen, with the buttons +// inside clipped to its corners as they scroll. const MobileBackground = styled.div` - padding: 10px 6px; - height: 60px; + box-sizing: border-box; + display: flex; + flex-direction: column; + justify-content: center; + padding: 4px; + min-height: 48px; + overflow: hidden; background-color: ${s("menuBackground")}; - border-top: 1px solid ${s("divider")}; + box-shadow: ${s("menuShadow")}; + border-radius: 24px; + ${(props) => hairline(props.theme.divider)} - &:after { - content: ""; - position: absolute; - left: 0; - right: 0; - height: 100px; - background-color: ${s("menuBackground")}; + // The frosted glass of the iOS accessory bars. + @supports (backdrop-filter: blur(20px)) or + (-webkit-backdrop-filter: blur(20px)) { + backdrop-filter: blur(20px) saturate(180%); + background-color: ${(props) => + transparentize(0.2, props.theme.menuBackground)}; } `; diff --git a/app/editor/components/SelectionToolbar.tsx b/app/editor/components/SelectionToolbar.tsx index 0c8bf0dbce..adec360b00 100644 --- a/app/editor/components/SelectionToolbar.tsx +++ b/app/editor/components/SelectionToolbar.tsx @@ -35,6 +35,8 @@ type Props = { isTemplate: boolean; /** Whether the toolbar is currently active/visible */ isActive: boolean; + /** Whether the editor currently holds focus */ + isEditorFocused: boolean; /** The current selection */ selection?: Selection; /** Whether the editor is in read-only mode */ @@ -66,11 +68,16 @@ enum Toolbar { } export function SelectionToolbar(props: Props) { - const { readOnly = false } = props; + const { readOnly = false, isEditorFocused } = props; const { view, extensions, commands, selectionToolbarMenus } = useEditor(); const menuRef = React.useRef(null); const isMobile = useMobile(); const isActive = props.isActive || isMobile; + + // On mobile the toolbar is docked above the on-screen keyboard, so it stays + // visible for as long as the editor is being edited rather than only while + // there is a selection. + const isMobileEditing = isMobile && !readOnly && isEditorFocused; const { state } = view; const [autoFocusLinkInput, setAutoFocusLinkInput] = React.useState(false); const isDragging = useIsDragging(state); @@ -324,7 +331,8 @@ export function SelectionToolbar(props: Props) { onEscape={() => setActiveToolbar(Toolbar.Menu)} onClickOutside={handleClickOutsideLinkEditor} /> - ) : activeToolbar === Toolbar.Menu && items.length ? ( + ) : (activeToolbar === Toolbar.Menu || isMobileEditing) && + items.length ? ( ) : null} diff --git a/app/editor/components/ToolbarMenu.tsx b/app/editor/components/ToolbarMenu.tsx index 34d5d155b3..dd0fbad807 100644 --- a/app/editor/components/ToolbarMenu.tsx +++ b/app/editor/components/ToolbarMenu.tsx @@ -1,11 +1,12 @@ -import { useCallback, useMemo, useState } from "react"; +import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import styled from "styled-components"; import breakpoint from "styled-components-breakpoint"; import * as Toolbar from "@radix-ui/react-toolbar"; import { closeHistory } from "@shared/editor/lib/closeHistory"; -import type { MenuItem } from "@shared/editor/types"; +import { MenuItemGroup, type MenuItem } from "@shared/editor/types"; import { hideScrollbars, s } from "@shared/styles"; import { TooltipProvider } from "~/components/TooltipContext"; +import useMobile from "~/hooks/useMobile"; import type { MenuItem as TMenuItem } from "~/types"; import { mapMenuItems } from "../menus/mapMenuItems"; import { useEditor } from "./EditorContext"; @@ -70,6 +71,7 @@ function ToolbarDropdown(props: ToolbarDropdownProps) { @@ -94,6 +96,31 @@ function ToolbarMenu(props: Props) { const { commands, view } = useEditor(); const { items } = props; const { state } = view; + const isMobile = useMobile(); + const wrapperRef = useRef(null); + const hasSelection = !state.selection.empty; + + // On mobile the toolbar is a single bar holding both the text and the block + // controls, wider than the screen. It scrolls to the group that suits the + // selection – text controls once there is a selection, block controls for a + // bare cursor – leaving the other group one swipe away. + const didScroll = useRef(false); + useEffect(() => { + const wrapper = wrapperRef.current; + if (!isMobile || !wrapper) { + return; + } + + const target = wrapper.querySelector( + `[data-group="${hasSelection ? MenuItemGroup.inline : MenuItemGroup.block}"]` + ); + target?.scrollIntoView({ + block: "nearest", + inline: "start", + behavior: didScroll.current ? "smooth" : "auto", + }); + didScroll.current = true; + }, [isMobile, hasSelection]); const handleClick = (item: MenuItem) => () => { if (!item.name) { @@ -117,10 +144,12 @@ function ToolbarMenu(props: Props) { return ( - + {items.map((item, index) => { if (item.name === "separator" && item.visible !== false) { - return ; + // The mobile bar spaces its buttons evenly instead, as dividers + // would eat into the room for them. + return isMobile ? null : ; } if (item.visible === false || (!item.skipIcon && !item.icon)) { return null; @@ -152,6 +181,7 @@ function ToolbarMenu(props: Props) { ) : ( * { + display: flex; + justify-content: center; + flex: 0 0 auto; + min-width: 40px; + } + + > * > button { + min-width: 40px; + height: 40px; + justify-content: center; + border-radius: 20px; + } ${hideScrollbars()} `} diff --git a/app/editor/index.tsx b/app/editor/index.tsx index 1df4006546..d33096aa1d 100644 --- a/app/editor/index.tsx +++ b/app/editor/index.tsx @@ -1031,6 +1031,8 @@ export class Editor extends React.PureComponent< rtl={isRTL} readOnly={readOnly} selection={this.view.state.selection} + storedMarks={this.view.state.storedMarks} + isEditorFocused={this.state.isEditorFocused} /> ))} diff --git a/app/editor/menus/formatting.tsx b/app/editor/menus/formatting.tsx index 07d14114bc..8598458746 100644 --- a/app/editor/menus/formatting.tsx +++ b/app/editor/menus/formatting.tsx @@ -32,7 +32,11 @@ import { isInList } from "@shared/editor/queries/isInList"; import { isListActive } from "@shared/editor/queries/isListActive"; import { isMarkActive } from "@shared/editor/queries/isMarkActive"; import { isNodeActive } from "@shared/editor/queries/isNodeActive"; -import type { MenuItem, SelectionContext } from "@shared/editor/types"; +import { + MenuItemGroup, + type MenuItem, + type SelectionContext, +} from "@shared/editor/types"; import { metaDisplay } from "@shared/utils/keyboard"; import { t } from "i18next"; import CircleIcon from "~/components/Icons/CircleIcon"; @@ -65,15 +69,18 @@ export default function formattingMenuItems(ctx: SelectionContext): MenuItem[] { isEmpty, isInCode, isInCodeBlock, - isInList: isList, isTableCell, } = ctx; - const highlight = getMarksBetween( - state.selection.from, - state.selection.to, - state - ).find(({ mark }) => mark.type === state.schema.marks.highlight); + // With a cursor rather than a range the highlight that matters is the one + // that will be applied to the text typed next, which is not in the document. + const highlight = isEmpty + ? (state.storedMarks || state.selection.$from.marks()).find( + (mark) => mark.type === schema.marks.highlight + ) + : getMarksBetween(state.selection.from, state.selection.to, state).find( + ({ mark }) => mark.type === schema.marks.highlight + )?.mark; const cellSelectionHasBackground = isTableCell ? hasNodeAttrMarkCellSelection( @@ -83,47 +90,191 @@ export default function formattingMenuItems(ctx: SelectionContext): MenuItem[] { : false; const selectedCellsColorSet = getColorSetForSelectedCells(state.selection); + const canFormat = !isInCodeBlock; - const canFormatInline = !isInCodeBlock && (!isMobile || !isEmpty); - const canFormatBlock = !isInCodeBlock && (!isMobile || isEmpty); - + // The block controls come first, so they are the ones on screen with a bare + // cursor and the bar scrolls right to the text controls for a selection. return [ { - name: "placeholder", - tooltip: t("Placeholder"), - icon: , - active: isMarkActive(schema.marks.placeholder), - visible: isTemplate && (!isMobile || !isEmpty), + name: "heading", + group: MenuItemGroup.block, + tooltip: t("Heading"), + shortcut: `⇧+Ctrl+1`, + icon: , + active: isNodeActive(schema.nodes.heading, { level: 1 }), + attrs: { level: 1 }, + visible: canFormat, + }, + { + name: "heading", + group: MenuItemGroup.block, + tooltip: t("Subheading"), + shortcut: `⇧+Ctrl+2`, + icon: , + active: isNodeActive(schema.nodes.heading, { level: 2 }), + attrs: { level: 2 }, + visible: canFormat, + }, + { + name: "heading", + group: MenuItemGroup.block, + tooltip: t("Subheading"), + shortcut: `⇧+Ctrl+3`, + icon: , + active: isNodeActive(schema.nodes.heading, { level: 3 }), + attrs: { level: 3 }, + visible: canFormat, + }, + { + name: "blockquote", + group: MenuItemGroup.block, + tooltip: t("Quote"), + shortcut: `${metaDisplay}+]`, + icon: , + active: isNodeActive(schema.nodes.blockquote), + attrs: { level: 2 }, + visible: !isInCodeBlock && !isTableCell, }, { name: "separator", - visible: isTemplate && (!isMobile || !isEmpty), + }, + { + name: "mergeCells", + group: MenuItemGroup.block, + tooltip: t("Merge cells"), + icon: , + visible: isMultipleCellSelection(state), + }, + { + name: "splitCell", + group: MenuItemGroup.block, + tooltip: t("Split cell"), + icon: , + visible: isMergedCellSelection(state), + }, + { + name: "container_toggle", + group: MenuItemGroup.block, + icon: , + tooltip: t("Toggle block"), + active: isNodeActive(schema.nodes.container_toggle), + attrs: { id: uuidv4() }, + visible: canFormat, + }, + { + name: "separator", + }, + { + name: "checkbox_list", + group: MenuItemGroup.block, + tooltip: t("Todo list"), + shortcut: `⇧+Ctrl+7`, + icon: , + keywords: "checklist checkbox task", + active: isListActive(schema.nodes.checkbox_list), + visible: !isInCodeBlock && !isTableCell, + }, + { + name: "bullet_list", + group: MenuItemGroup.block, + tooltip: t("Bulleted list"), + shortcut: `⇧+Ctrl+8`, + icon: , + active: isListActive(schema.nodes.bullet_list), + visible: !isInCodeBlock && !isTableCell, + }, + { + name: "ordered_list", + group: MenuItemGroup.block, + tooltip: t("Ordered list"), + shortcut: `⇧+Ctrl+9`, + icon: , + active: isListActive(schema.nodes.ordered_list), + visible: !isInCodeBlock && !isTableCell, + }, + { + name: "outdentList", + group: MenuItemGroup.block, + tooltip: t("Outdent"), + shortcut: `⇧+Tab`, + icon: , + visible: + (isTouch || isMobile) && + isInList(state, { types: ["ordered_list", "bullet_list"] }), + }, + { + name: "indentList", + group: MenuItemGroup.block, + tooltip: t("Indent"), + shortcut: `Tab`, + icon: , + visible: + (isTouch || isMobile) && + isInList(state, { types: ["ordered_list", "bullet_list"] }), + }, + { + name: "outdentCheckboxList", + group: MenuItemGroup.block, + tooltip: t("Outdent"), + shortcut: `⇧+Tab`, + icon: , + visible: + (isTouch || isMobile) && isInList(state, { types: ["checkbox_list"] }), + }, + { + name: "indentCheckboxList", + group: MenuItemGroup.block, + tooltip: t("Indent"), + shortcut: `Tab`, + icon: , + visible: + (isTouch || isMobile) && isInList(state, { types: ["checkbox_list"] }), + }, + { + name: "separator", + visible: !isInCodeBlock, + }, + { + name: "placeholder", + group: MenuItemGroup.inline, + tooltip: t("Placeholder"), + icon: , + active: isMarkActive(schema.marks.placeholder), + visible: isTemplate, + }, + { + name: "separator", + visible: isTemplate, }, { name: "strong", + group: MenuItemGroup.inline, tooltip: t("Bold"), shortcut: `${metaDisplay}+B`, icon: , active: isMarkActive(schema.marks.strong), - visible: canFormatInline, + visible: canFormat, }, { name: "em", + group: MenuItemGroup.inline, tooltip: t("Italic"), shortcut: `${metaDisplay}+I`, icon: , active: isMarkActive(schema.marks.em), - visible: canFormatInline, + visible: canFormat, }, { name: "strikethrough", + group: MenuItemGroup.inline, tooltip: t("Strikethrough"), shortcut: `${metaDisplay}+D`, icon: , active: isMarkActive(schema.marks.strikethrough), - visible: canFormatInline, + visible: canFormat, }, { + group: MenuItemGroup.inline, tooltip: t("Background color"), icon: getColorSetForSelectedCells(state.selection).size > 1 ? ( @@ -137,7 +288,7 @@ export default function formattingMenuItems(ctx: SelectionContext): MenuItem[] { ) : ( ), - visible: !isInCode && (!isMobile || !isEmpty) && isTableCell, + visible: !isInCode && isTableCell, children: (): MenuItem[] => { const documentTableColors = getDocumentTableBackgroundColors(state); @@ -216,21 +367,22 @@ export default function formattingMenuItems(ctx: SelectionContext): MenuItem[] { }, }, { + group: MenuItemGroup.inline, tooltip: t("Highlight"), shortcut: `${metaDisplay}+⇧+H`, icon: highlight ? ( ) : ( ), active: () => !!highlight, - visible: !isInCode && (!isMobile || !isEmpty) && !isTableCell, + visible: !isInCode && !isTableCell, children: (): MenuItem[] => { const documentHighlightColors = getDocumentHighlightColors(state); - const currentHighlightColor = highlight?.mark.attrs.color; + const currentHighlightColor = highlight?.attrs.color; const nonPresetDocumentColors = documentHighlightColors.filter( (color: string) => !Highlight.isPresetColor(color) && color !== currentHighlightColor @@ -244,7 +396,7 @@ export default function formattingMenuItems(ctx: SelectionContext): MenuItem[] { label: t("None"), icon: , active: () => false, - attrs: { color: highlight.mark.attrs.color }, + attrs: { color: highlight.attrs.color }, }, ] : []), @@ -256,22 +408,19 @@ export default function formattingMenuItems(ctx: SelectionContext): MenuItem[] { attrs: { color: preset.hex }, })), ...(highlight && - highlight.mark.attrs.color && - !Highlight.isPresetColor(highlight.mark.attrs.color) + highlight.attrs.color && + !Highlight.isPresetColor(highlight.attrs.color) ? [ { name: "highlight", - label: highlight.mark.attrs.color, + label: highlight.attrs.color, icon: ( - + ), active: isMarkActive(schema.marks.highlight, { - color: highlight.mark.attrs.color, + color: highlight.attrs.color, }), - attrs: { color: highlight.mark.attrs.color }, + attrs: { color: highlight.attrs.color }, }, ] : []), @@ -290,8 +439,7 @@ export default function formattingMenuItems(ctx: SelectionContext): MenuItem[] { content: ( ), @@ -307,136 +455,12 @@ export default function formattingMenuItems(ctx: SelectionContext): MenuItem[] { }, { name: "code_inline", + group: MenuItemGroup.inline, tooltip: t("Code"), shortcut: `${metaDisplay}+E`, icon: , active: isMarkActive(schema.marks.code_inline), - visible: canFormatInline, - }, - { - name: "separator", - visible: !isInCodeBlock, - }, - { - name: "heading", - tooltip: t("Heading"), - shortcut: `⇧+Ctrl+1`, - icon: , - active: isNodeActive(schema.nodes.heading, { level: 1 }), - attrs: { level: 1 }, - visible: canFormatBlock, - }, - { - name: "heading", - tooltip: t("Subheading"), - shortcut: `⇧+Ctrl+2`, - icon: , - active: isNodeActive(schema.nodes.heading, { level: 2 }), - attrs: { level: 2 }, - visible: canFormatBlock, - }, - { - name: "heading", - tooltip: t("Subheading"), - shortcut: `⇧+Ctrl+3`, - icon: , - active: isNodeActive(schema.nodes.heading, { level: 3 }), - attrs: { level: 3 }, - visible: canFormatBlock, - }, - { - name: "blockquote", - tooltip: t("Quote"), - shortcut: `${metaDisplay}+]`, - icon: , - active: isNodeActive(schema.nodes.blockquote), - attrs: { level: 2 }, - visible: !isInCodeBlock && !isTableCell && (!isMobile || isEmpty), - }, - { - name: "separator", - }, - { - name: "mergeCells", - tooltip: t("Merge cells"), - icon: , - visible: isMultipleCellSelection(state), - }, - { - name: "splitCell", - tooltip: t("Split cell"), - icon: , - visible: isMergedCellSelection(state), - }, - { - name: "container_toggle", - icon: , - tooltip: t("Toggle block"), - active: isNodeActive(schema.nodes.container_toggle), - attrs: { id: uuidv4() }, - visible: canFormatBlock, - }, - { - name: "separator", - }, - { - name: "checkbox_list", - tooltip: t("Todo list"), - shortcut: `⇧+Ctrl+7`, - icon: , - keywords: "checklist checkbox task", - active: isListActive(schema.nodes.checkbox_list), - visible: !isInCodeBlock && !isTableCell && (!isList || !isTouch), - }, - { - name: "bullet_list", - tooltip: t("Bulleted list"), - shortcut: `⇧+Ctrl+8`, - icon: , - active: isListActive(schema.nodes.bullet_list), - visible: !isInCodeBlock && !isTableCell && (!isList || !isTouch), - }, - { - name: "ordered_list", - tooltip: t("Ordered list"), - shortcut: `⇧+Ctrl+9`, - icon: , - active: isListActive(schema.nodes.ordered_list), - visible: !isInCodeBlock && !isTableCell && (!isList || !isTouch), - }, - { - name: "outdentList", - tooltip: t("Outdent"), - shortcut: `⇧+Tab`, - icon: , - visible: - (isTouch || isMobile) && - isInList(state, { types: ["ordered_list", "bullet_list"] }), - }, - { - name: "indentList", - tooltip: t("Indent"), - shortcut: `Tab`, - icon: , - visible: - (isTouch || isMobile) && - isInList(state, { types: ["ordered_list", "bullet_list"] }), - }, - { - name: "outdentCheckboxList", - tooltip: t("Outdent"), - shortcut: `⇧+Tab`, - icon: , - visible: - (isTouch || isMobile) && isInList(state, { types: ["checkbox_list"] }), - }, - { - name: "indentCheckboxList", - tooltip: t("Indent"), - shortcut: `Tab`, - icon: , - visible: - (isTouch || isMobile) && isInList(state, { types: ["checkbox_list"] }), + visible: canFormat, }, { name: "separator", @@ -444,15 +468,18 @@ export default function formattingMenuItems(ctx: SelectionContext): MenuItem[] { }, { name: "addLink", + group: MenuItemGroup.inline, tooltip: t("Create link"), shortcut: `${metaDisplay}+K`, icon: , attrs: { href: "" }, active: isMarkActive(schema.marks.link, undefined, { exact: true }), - visible: canFormatInline, + // A link cannot be made without text to attach it to. + visible: canFormat && !isEmpty, }, { name: "comment", + group: MenuItemGroup.inline, tooltip: t("Comment"), shortcut: `${metaDisplay}+⌥+M`, icon: , @@ -462,7 +489,6 @@ export default function formattingMenuItems(ctx: SelectionContext): MenuItem[] { { resolved: false }, { exact: true } ), - visible: !isMobile || !isEmpty, }, { name: "separator", @@ -470,9 +496,11 @@ export default function formattingMenuItems(ctx: SelectionContext): MenuItem[] { }, { name: "copyToClipboard", + group: MenuItemGroup.inline, icon: , tooltip: t("Copy"), shortcut: `${metaDisplay}+C`, + // Copy acts on the selected text, so it has nothing to do without one. visible: isInCode && !isInCodeBlock && (!isMobile || !isEmpty), }, ]; diff --git a/shared/editor/lib/Extension.ts b/shared/editor/lib/Extension.ts index 62e5bf0570..85337baa5a 100644 --- a/shared/editor/lib/Extension.ts +++ b/shared/editor/lib/Extension.ts @@ -1,16 +1,24 @@ import type { PluginSimple } from "markdown-it"; import type { InputRule } from "prosemirror-inputrules"; -import type { NodeType, MarkType, Schema } from "prosemirror-model"; +import type { Mark, NodeType, MarkType, Schema } from "prosemirror-model"; import type { Command, Plugin, Selection } from "prosemirror-state"; import type { Editor } from "../../../app/editor"; import type { SelectionToolbarMenuDescriptor } from "../types"; export type CommandFactory = (attrs?: unknown, options?: unknown) => Command; +/** Props passed to the widget rendered by an extension. */ export type WidgetProps = { + /** Whether the editor is displayed right-to-left */ rtl: boolean; + /** Whether the editor is read-only */ readOnly: boolean | undefined; + /** The current editor selection */ selection?: Selection; + /** The marks that will be applied to text typed at the cursor */ + storedMarks?: readonly Mark[] | null; + /** Whether the editor currently holds focus */ + isEditorFocused: boolean; }; export default class Extension { diff --git a/shared/editor/lib/ExtensionManager.ts b/shared/editor/lib/ExtensionManager.ts index 499ee0324a..7e776a72d0 100644 --- a/shared/editor/lib/ExtensionManager.ts +++ b/shared/editor/lib/ExtensionManager.ts @@ -66,7 +66,11 @@ export default class ExtensionManager { return Object.fromEntries( this.extensions .filter((extension) => - extension.widget({ rtl: false, readOnly: false }) + extension.widget({ + rtl: false, + readOnly: false, + isEditorFocused: false, + }) ) .map((node: Node) => [ node.name, diff --git a/shared/editor/queries/isMarkActive.test.ts b/shared/editor/queries/isMarkActive.test.ts new file mode 100644 index 0000000000..02052a0c2e --- /dev/null +++ b/shared/editor/queries/isMarkActive.test.ts @@ -0,0 +1,72 @@ +import { TextSelection } from "prosemirror-state"; +import { + createEditorStateWithSelection, + doc, + p, + schema, +} from "@shared/test/editor"; +import { isMarkActive } from "./isMarkActive"; + +const { strong, highlight } = schema.marks; + +/** + * Creates a state with a cursor in the middle of a short paragraph. + */ +function stateWithCursor() { + return createEditorStateWithSelection(doc(p("text")), 3); +} + +describe("isMarkActive", () => { + it("is inactive with nothing at the cursor", () => { + expect(isMarkActive(strong)(stateWithCursor())).toBe(false); + }); + + it("is active for a mark stored at the cursor", () => { + const state = stateWithCursor(); + const next = state.apply(state.tr.addStoredMark(strong.create())); + + expect(isMarkActive(strong)(next)).toBe(true); + }); + + it("matches the attributes of a mark stored at the cursor", () => { + const state = stateWithCursor(); + const next = state.apply( + state.tr.addStoredMark(highlight.create({ color: "#FDEA9B" })) + ); + + expect(isMarkActive(highlight, { color: "#FDEA9B" })(next)).toBe(true); + expect(isMarkActive(highlight, { color: "#D9FBE8" })(next)).toBe(false); + }); + + it("is active for a mark on the text around the cursor", () => { + const state = createEditorStateWithSelection( + doc( + schema.nodes.paragraph.create( + null, + schema.text("text", [strong.create()]) + ) + ), + 3 + ); + + expect(isMarkActive(strong)(state)).toBe(true); + }); + + it("matches the attributes of a mark across a selected range", () => { + const state = createEditorStateWithSelection( + doc( + schema.nodes.paragraph.create( + null, + schema.text("text", [highlight.create({ color: "#FDEA9B" })]) + ) + ), + 3 + ); + const next = state.apply( + state.tr.setSelection(TextSelection.create(state.doc, 1, 5)) + ); + + expect(isMarkActive(highlight, { color: "#FDEA9B" })(next)).toBe(true); + expect(isMarkActive(highlight, { color: "#D9FBE8" })(next)).toBe(false); + }); +}); diff --git a/shared/editor/queries/isMarkActive.ts b/shared/editor/queries/isMarkActive.ts index ef3fed9341..664671765f 100644 --- a/shared/editor/queries/isMarkActive.ts +++ b/shared/editor/queries/isMarkActive.ts @@ -41,14 +41,26 @@ const isInlineMarkActive = } const { from, $from, to, empty } = state.selection; + const marksAtCursor = state.storedMarks || $from.marks(); const hasMark = !!(empty - ? type.isInSet(state.storedMarks || $from.marks()) + ? type.isInSet(marksAtCursor) : state.doc.rangeHasMark(from, to, type)); if (!hasMark) { return false; } if (attrs || options) { + // A cursor covers no range, so the marks that will apply to the text + // typed there answer the question, and the range options do not apply. + if (empty) { + return marksAtCursor.some( + (mark) => + mark.type === type && + (!attrs || + Object.keys(attrs).every((key) => mark.attrs[key] === attrs[key])) + ); + } + const results = getMarksBetween(from, to, state); return results.some( ({ mark, start, end }) => diff --git a/shared/editor/types/index.ts b/shared/editor/types/index.ts index d012652310..81068dbf5d 100644 --- a/shared/editor/types/index.ts +++ b/shared/editor/types/index.ts @@ -37,9 +37,22 @@ export enum MenuType { type Section = ({ t }: { t: TFunction }) => string; +/** + * Which family of controls a toolbar item belongs to. On mobile the toolbar + * holds both families at once and scrolls to the one that suits the selection. + */ +export enum MenuItemGroup { + /** Acts on the selected text, such as bold or highlight. */ + inline = "inline", + /** Acts on the block the cursor is in, such as heading or list. */ + block = "block", +} + export type MenuItem = { icon?: React.ReactNode; name?: string; + /** The family of controls the item belongs to. */ + group?: MenuItemGroup; title?: string; section?: Section; subtitle?: React.ReactNode; diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index 788211dc6c..b443ee72a6 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Warning notice", "Tip notice": "Tip notice", "Wrap text": "Wrap text", + "Heading": "Heading", + "Subheading": "Subheading", + "Merge cells": "Merge cells", + "Split cell": "Split cell", + "Outdent": "Outdent", + "Indent": "Indent", "Placeholder": "Placeholder", "Bold": "Bold", "Italic": "Italic", @@ -751,12 +757,6 @@ "Background color": "Background color", "Highlight": "Highlight", "Code": "Code", - "Heading": "Heading", - "Subheading": "Subheading", - "Merge cells": "Merge cells", - "Split cell": "Split cell", - "Outdent": "Outdent", - "Indent": "Indent", "Create link": "Create link", "Comment": "Comment", "Align left": "Align left", diff --git a/shared/styles/index.ts b/shared/styles/index.ts index 4341f564c4..da70f21e7b 100644 --- a/shared/styles/index.ts +++ b/shared/styles/index.ts @@ -64,6 +64,21 @@ export const borderRadius = (radius: number, exponent = 2) => ` } `; +/** + * Mixin for a hairline border, drawn at half a pixel on displays with the + * resolution to render one, and a whole pixel elsewhere. + * + * @param color the color of the border. + * @returns string of CSS + */ +export const hairline = (color: string) => ` + border: 1px solid ${color}; + + @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) { + border-width: 0.5px; + } +`; + /** * Mixin on any component with relative positioning to add additional hidden clickable/hoverable area * From b5118fd4f2f93fad7c12b5806c305dcda63b96d4 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 23 Aug 2026 13:07:20 -0400 Subject: [PATCH 08/85] Refactor multiplayer facade to spec (#13534) --- app/editor/extensions/Multiplayer.ts | 31 +++++++++++------------ shared/editor/lib/multiplayer.ts | 37 +++++++++++++++++++++------- 2 files changed, 43 insertions(+), 25 deletions(-) diff --git a/app/editor/extensions/Multiplayer.ts b/app/editor/extensions/Multiplayer.ts index ff8b2dfea0..5b63648706 100644 --- a/app/editor/extensions/Multiplayer.ts +++ b/app/editor/extensions/Multiplayer.ts @@ -14,7 +14,7 @@ import { } from "y-prosemirror"; import * as Y from "yjs"; import Extension from "@shared/editor/lib/Extension"; -import type { MultiplayerState } from "@shared/editor/lib/multiplayer"; +import type { MultiplayerOperations } from "@shared/editor/lib/multiplayer"; import { isRemoteTransaction, multiplayerPluginKey, @@ -124,6 +124,18 @@ export default class Multiplayer extends Extension { // mapping, this avoids stored mappings for clients that never made a change doc.on("afterTransaction", assignUser); + const multiplayer: MultiplayerOperations = { + isRemoteTransaction: (tr) => { + const meta = tr.getMeta(ySyncPluginKey); + + // This logic seems to be flipped? But it's correct. + return !!meta?.isChangeOrigin; + }, + stopCapturing: (state) => { + yUndoPluginKey.getState(state)?.undoManager?.stopCapturing(); + }, + }; + return [ ySyncPlugin(type), yCursorPlugin(provider.awareness, { @@ -133,22 +145,9 @@ export default class Multiplayer extends Extension { yUndoPlugin(), // Facade plugin that exposes the collaboration operations to shared // code without a static dependency on the collaboration libraries. - new Plugin({ + new Plugin({ key: multiplayerPluginKey, - state: { - init: (): MultiplayerState => ({ - isRemoteTransaction: (tr) => { - const meta = tr.getMeta(ySyncPluginKey); - - // This logic seems to be flipped? But it's correct. - return !!meta?.isChangeOrigin; - }, - stopCapturing: (state) => { - yUndoPluginKey.getState(state)?.undoManager?.stopCapturing(); - }, - }), - apply: (_tr, value) => value, - }, + multiplayer, props: { handleScrollToSelection: (view) => isRemoteTransaction(view.state.tr, view.state), diff --git a/shared/editor/lib/multiplayer.ts b/shared/editor/lib/multiplayer.ts index 6e172925a9..a12f3257e1 100644 --- a/shared/editor/lib/multiplayer.ts +++ b/shared/editor/lib/multiplayer.ts @@ -4,23 +4,42 @@ import type { DecorationSet } from "prosemirror-view"; import { recreateTransform } from "./prosemirror-recreate-transform"; /** - * State of the facade plugin mounted by the multiplayer extension. It exposes - * the collaboration operations to shared code without a static dependency on - * the collaboration libraries. + * Collaboration operations exposed by the facade plugin mounted by the + * multiplayer extension. They allow shared code to use the collaboration + * libraries without a static dependency on them. */ -export interface MultiplayerState { +export interface MultiplayerOperations { /** Returns true if the transaction originated from a remote client. */ isRemoteTransaction: (tr: Transaction) => boolean; /** Stops the collaborative undo manager from capturing further changes. */ stopCapturing: (state: EditorState) => void; } +/** + * Spec of the facade plugin mounted by the multiplayer extension. + */ +interface MultiplayerPluginSpec { + multiplayer?: MultiplayerOperations; + [key: string]: unknown; +} + /** * Key of the facade plugin mounted by the multiplayer extension. */ -export const multiplayerPluginKey = new PluginKey( - "multiplayer-facade" -); +export const multiplayerPluginKey = new PluginKey("multiplayer-facade"); + +/** + * Get the collaboration operations, if the multiplayer extension is mounted in + * the editor. + * + * @param state The editor state + * @returns the operations, or undefined when not collaborating + */ +function getOperations(state: EditorState): MultiplayerOperations | undefined { + const spec: MultiplayerPluginSpec | undefined = + multiplayerPluginKey.get(state)?.spec; + return spec?.multiplayer; +} /** * Checks if a transaction is a remote transaction @@ -33,7 +52,7 @@ export function isRemoteTransaction( tr: Transaction, state: EditorState ): boolean { - return multiplayerPluginKey.getState(state)?.isRemoteTransaction(tr) ?? false; + return getOperations(state)?.isRemoteTransaction(tr) ?? false; } /** @@ -43,7 +62,7 @@ export function isRemoteTransaction( * @param state The editor state */ export function stopCapturingUndo(state: EditorState): void { - multiplayerPluginKey.getState(state)?.stopCapturing(state); + getOperations(state)?.stopCapturing(state); } /** From 9a0a4eff2d813f6a8ced7e2c27b698a7cabf1288 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 23 Aug 2026 13:11:06 -0400 Subject: [PATCH 09/85] fix: Mobile tap behavior (#13536) --- app/editor/components/FloatingToolbar.tsx | 38 +++++++++-- app/hooks/useKeyboardStickyOffset.ts | 83 +++++++++++------------ 2 files changed, 75 insertions(+), 46 deletions(-) diff --git a/app/editor/components/FloatingToolbar.tsx b/app/editor/components/FloatingToolbar.tsx index 0801f61aaf..b01681757e 100644 --- a/app/editor/components/FloatingToolbar.tsx +++ b/app/editor/components/FloatingToolbar.tsx @@ -247,6 +247,7 @@ const FloatingToolbar = React.forwardRef(function FloatingToolbar_( ) { const menuRef = ref || React.createRef(); const [isSelectingText, setSelectingText] = React.useState(false); + const raisedClickAt = React.useRef(0); let position = usePosition({ menuRef, @@ -277,8 +278,9 @@ const FloatingToolbar = React.forwardRef(function FloatingToolbar_( useKeyboardStickyOffset(menuRef, isMobileToolbarVisible); // Tapping the bar must not move focus out of the editor, that would dismiss - // the on-screen keyboard and take the bar down with it. - const handlePointerDown = (event: React.PointerEvent) => { + // the on-screen keyboard and take the bar down with it. Mousedown is the + // event that assigns focus, and a tap dispatches it only after pointerup. + const handleMouseDown = (event: React.MouseEvent) => { if ( event.target instanceof Element && !event.target.closest("input, textarea, [contenteditable='true']") @@ -287,13 +289,41 @@ const FloatingToolbar = React.forwardRef(function FloatingToolbar_( } }; + // Canceling that mousedown cancels the tap's click with it, so the click is + // raised here instead, from the pointerup that comes before both. + const handlePointerUp = (event: React.PointerEvent) => { + if (event.pointerType === "mouse") { + return; + } + + const button = + event.target instanceof Element ? event.target.closest("button") : null; + if (button) { + raisedClickAt.current = event.timeStamp; + button.click(); + } + }; + + // A browser that delivers the tap's click anyway must not act twice. + const handleClickCapture = (event: React.MouseEvent) => { + if (event.isTrusted && event.timeStamp - raisedClickAt.current < 500) { + event.preventDefault(); + event.stopPropagation(); + } + }; + if (isMobile) { if (isMobileToolbarVisible) { // Vertical position (above the keyboard) is owned entirely by // useKeyboardStickyOffset, which writes the transform directly. return ( - + {props.children} @@ -361,7 +391,7 @@ const MobileWrapper = styled.div` right: 0; width: 100vw; box-sizing: border-box; - padding: 0 8px 8px; + padding: 0 16px 4px; z-index: ${depths.editorToolbar}; will-change: transform; diff --git a/app/hooks/useKeyboardStickyOffset.ts b/app/hooks/useKeyboardStickyOffset.ts index 6931ca727d..de8bb35e8e 100644 --- a/app/hooks/useKeyboardStickyOffset.ts +++ b/app/hooks/useKeyboardStickyOffset.ts @@ -13,12 +13,13 @@ import { getSafeAreaInsets } from "@shared/utils/browser"; * translates the element upwards by that amount so it always rests on top of * the keyboard. * - * The transform is re-applied after every render (so a parent re-render cannot - * clobber it) and on visual viewport `resize`/`scroll` events. A short-lived - * `requestAnimationFrame` loop tracks the keyboard's open/close animation so - * the element glides with it rather than snapping into place once the - * transition settles. Writes go directly to the node's style to avoid React - * re-render latency during the animation. + * The measurement is repeated every frame while enabled. A keyboard changes + * height without warning – a predictive text strip or an accessory bar comes + * and goes, one keyboard type replaces another – and not every change is + * announced by a viewport event, so an element positioned once from an event + * can be left behind the keyboard. Writes go straight to the node's style, and + * only when the offset changes, so a frame that measures the same keyboard + * costs a handful of property reads. * * @param ref A ref to the fixed-position element to keep pinned. * @param enabled Whether the behavior should be active. @@ -27,6 +28,13 @@ export default function useKeyboardStickyOffset( ref: React.RefObject, enabled: boolean ) { + const applied = React.useRef(null); + + // Reading the layout viewport height can force a layout, so it is measured + // when it changes rather than on every frame. + const safeAreaBottom = React.useRef(0); + const layoutHeight = React.useRef(0); + const apply = React.useCallback(() => { const viewport = window.visualViewport; const node = ref.current; @@ -41,55 +49,46 @@ export default function useKeyboardStickyOffset( // clears the home indicator. const keyboardInset = Math.max( 0, - window.innerHeight - (viewport.offsetTop + viewport.height) - ); - const offset = Math.round( - Math.max(keyboardInset, getSafeAreaInsets().bottom) + layoutHeight.current - (viewport.offsetTop + viewport.height) ); + const offset = Math.round(Math.max(keyboardInset, safeAreaBottom.current)); - node.style.transform = `translate3d(0, ${-offset}px, 0)`; + if (offset !== applied.current) { + applied.current = offset; + node.style.transform = `translate3d(0, ${-offset}px, 0)`; + } }, [ref, enabled]); - // Re-apply after every render, before paint, so the keyboard-aware transform - // survives parent re-renders and there is no flash on first mount. - React.useLayoutEffect(apply); + // Re-apply after every render, before paint, so the transform survives a + // parent re-render and there is no flash on first mount. + React.useLayoutEffect(() => { + safeAreaBottom.current = getSafeAreaInsets().bottom; + layoutHeight.current = window.innerHeight; + applied.current = null; + apply(); + }); React.useEffect(() => { - const viewport = window.visualViewport; - if (!enabled || !viewport) { + if (!enabled || !window.visualViewport) { return; } - let frame = 0; - let trackUntil = 0; + const handleResize = () => { + layoutHeight.current = window.innerHeight; + safeAreaBottom.current = getSafeAreaInsets().bottom; + }; + window.addEventListener("resize", handleResize); + window.addEventListener("orientationchange", handleResize); - const tick = (now: number) => { + let frame = requestAnimationFrame(function tick() { apply(); - frame = now < trackUntil ? requestAnimationFrame(tick) : 0; - }; - - const schedule = () => { - // Keep re-measuring for a short window so the element follows the - // keyboard animation rather than jumping once it settles. - trackUntil = performance.now() + 350; - if (!frame) { - frame = requestAnimationFrame(tick); - } - }; - - viewport.addEventListener("resize", schedule); - viewport.addEventListener("scroll", schedule); - window.addEventListener("focusin", schedule); - window.addEventListener("orientationchange", schedule); + frame = requestAnimationFrame(tick); + }); return () => { - if (frame) { - cancelAnimationFrame(frame); - } - viewport.removeEventListener("resize", schedule); - viewport.removeEventListener("scroll", schedule); - window.removeEventListener("focusin", schedule); - window.removeEventListener("orientationchange", schedule); + cancelAnimationFrame(frame); + window.removeEventListener("resize", handleResize); + window.removeEventListener("orientationchange", handleResize); }; }, [enabled, apply]); } From d551ead0731a7bbc59cd5fef7ebf250f7533ae68 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 23 Aug 2026 16:03:10 -0400 Subject: [PATCH 10/85] feat: Filter DSL for `collections.list` (#13442) * feat: Filter DSL for collections.list Adds the structured `filters` expression language to collections.list, matching documents.list and documents.search. Supported fields are name, createdAt, updatedAt, archivedAt, createdById and permission, each validated against its column type at the input layer. Deprecates the ad-hoc `query` and `statusFilter` params, which now translate into filter leaves so that one code path serves both shapes, and returns a 400 when a caller combines them with `filters`. Note that `query` matching is no longer accent-insensitive, as the unaccent comparison is replaced by the shared iLike conversion. * fix: Make filter expressions assignable to a JSON request body Filters are sent as a JSON body, but `FilterCondition` and `FilterGroup` were interfaces, which TypeScript does not give an implicit index signature, and `FilterValue` admitted a `Date` that JSON cannot carry. Both stores worked around this by asserting the request body to JSONObject, which suppressed checking of every other field as well. Declare the two shapes as type aliases and drop `Date` from the value union so a filter type-checks against the request body directly, and remove the assertions from the collection and document stores. * feat: Restrict filter fields to a set of accepted values Add an optional `values` set to a filter field definition, checked against scalar and array values at the input layer so that an unsupported value returns a 400 rather than an empty result or, for a field backed by a Postgres enum, a database error. A field with a fixed value set is matched exactly, so pattern operators are rejected for it in the same way as for non-text columns. Apply it to `permission` on collections.list. * refactor: Build the list_collections name filter with the filter DSL The MCP tool carried its own copy of the unaccent name comparison that collections.list used before it moved to the DSL. Build the clause with buildWhere instead, so both paths match names the same way, and drop the replacements plumbing it needed. --- app/stores/CollectionsStore.ts | 8 +- app/stores/DocumentsStore.ts | 5 +- .../api/collections/collections.test.ts | 319 ++++++++++++++++++ server/routes/api/collections/collections.ts | 60 ++-- server/routes/api/collections/schema.ts | 36 +- server/tools/collections.test.ts | 23 ++ server/tools/collections.ts | 11 +- shared/helpers/FilterHelper.test.ts | 21 ++ shared/helpers/FilterHelper.ts | 19 +- yarn.lock | 18 +- 10 files changed, 454 insertions(+), 66 deletions(-) diff --git a/app/stores/CollectionsStore.ts b/app/stores/CollectionsStore.ts index 07c0d6fffc..f8f69c4f48 100644 --- a/app/stores/CollectionsStore.ts +++ b/app/stores/CollectionsStore.ts @@ -1,9 +1,9 @@ import invariant from "invariant"; import { isEmpty, orderBy, sortBy } from "es-toolkit/compat"; import { computed, action, runInAction } from "mobx"; +import type { Filter } from "@shared/helpers/FilterHelper"; import { CollectionPermission, - CollectionStatusFilter, type FileOperationFormat, SubscriptionType, } from "@shared/types"; @@ -166,9 +166,7 @@ export default class CollectionsStore extends Store { @action fetchNamedPage = async ( request = "list", - options: - | (PaginationParams & { statusFilter: CollectionStatusFilter[] }) - | undefined + options: (PaginationParams & { filters?: Filter[] }) | undefined ): Promise => { this.isFetching = true; @@ -190,7 +188,7 @@ export default class CollectionsStore extends Store { fetchArchived = async (options?: PaginationParams): Promise => this.fetchNamedPage("list", { ...options, - statusFilter: [CollectionStatusFilter.Archived], + filters: [{ field: "archivedAt", operator: "isNotNull" }], }); get(id: string = ""): Collection | undefined { diff --git a/app/stores/DocumentsStore.ts b/app/stores/DocumentsStore.ts index 611ce9bf6f..0d05991bce 100644 --- a/app/stores/DocumentsStore.ts +++ b/app/stores/DocumentsStore.ts @@ -11,7 +11,6 @@ import type { Filter } from "@shared/helpers/FilterHelper"; import { subtractDate } from "@shared/utils/date"; import { bytesToHumanReadable } from "@shared/utils/files"; import naturalSort from "@shared/utils/naturalSort"; -import type { JSONObject } from "@shared/types"; import type RootStore from "~/stores/RootStore"; import Store from "~/stores/base/Store"; import Document from "~/models/Document"; @@ -454,7 +453,7 @@ export default class DocumentsStore extends Store { @action searchTitles = async (options?: SearchParams): Promise => { - const compactedOptions = omitBy(options, (o) => !o) as JSONObject; + const compactedOptions = omitBy(options, (o) => !o); const res = await client.post("/documents.search_titles", { ...compactedOptions, }); @@ -485,7 +484,7 @@ export default class DocumentsStore extends Store { @action search = async (options: SearchParams): Promise => { - const compactedOptions = omitBy(options, (o) => !o) as JSONObject; + const compactedOptions = omitBy(options, (o) => !o); const res = await client.post("/documents.search", { ...compactedOptions, }); diff --git a/server/routes/api/collections/collections.test.ts b/server/routes/api/collections/collections.test.ts index c1a8f86523..cc0e4fb76a 100644 --- a/server/routes/api/collections/collections.test.ts +++ b/server/routes/api/collections/collections.test.ts @@ -220,6 +220,325 @@ describe("#collections.list", () => { expect(afterArchiveRes.status).toEqual(200); expect(afterArchiveBody.data).toHaveLength(0); }); + + it("should filter by name ignoring case", async () => { + const user = await buildUser(); + const collection = await buildCollection({ + name: "Product Design", + teamId: user.teamId, + userId: user.id, + }); + await buildCollection({ + name: "Something else", + teamId: user.teamId, + userId: user.id, + }); + + const res = await server.post("/api/collections.list", user, { + body: { + filters: [{ field: "name", operator: "contains", value: "DUCT DES" }], + }, + }); + const body = await res.json(); + expect(res.status).toEqual(200); + expect(body.data).toHaveLength(1); + expect(body.data[0].id).toEqual(collection.id); + expect(body.pagination.total).toEqual(1); + }); + + it("should filter by name with the deprecated query param", async () => { + const user = await buildUser(); + const collection = await buildCollection({ + name: "Product Design", + teamId: user.teamId, + userId: user.id, + }); + await buildCollection({ + name: "Something else", + teamId: user.teamId, + userId: user.id, + }); + + const res = await server.post("/api/collections.list", user, { + body: { + query: "duct des", + }, + }); + const body = await res.json(); + expect(res.status).toEqual(200); + expect(body.data).toHaveLength(1); + expect(body.data[0].id).toEqual(collection.id); + }); + + it("should treat wildcards in a name filter literally", async () => { + const user = await buildUser(); + await buildCollection({ + name: "Engineering", + teamId: user.teamId, + userId: user.id, + }); + + const res = await server.post("/api/collections.list", user, { + body: { + filters: [{ field: "name", operator: "contains", value: "%" }], + }, + }); + const body = await res.json(); + expect(res.status).toEqual(200); + expect(body.data).toHaveLength(0); + }); + + it("should exclude archived collections unless the filter targets archivedAt", async () => { + const user = await buildUser(); + const collection = await buildCollection({ + name: "Engineering", + teamId: user.teamId, + userId: user.id, + }); + await buildCollection({ + name: "Engineering archive", + teamId: user.teamId, + userId: user.id, + archivedAt: new Date(), + }); + + const res = await server.post("/api/collections.list", user, { + body: { + filters: [ + { field: "name", operator: "startsWith", value: "Engineering" }, + ], + }, + }); + const body = await res.json(); + expect(res.status).toEqual(200); + expect(body.data).toHaveLength(1); + expect(body.data[0].id).toEqual(collection.id); + }); + + it("should include archived collections when filtering on archivedAt", async () => { + const team = await buildTeam(); + const admin = await buildAdmin({ teamId: team.id }); + const collection = await buildCollection({ + teamId: team.id, + archivedAt: new Date(), + }); + await buildCollection({ + teamId: team.id, + userId: admin.id, + }); + + const res = await server.post("/api/collections.list", admin, { + body: { + filters: [{ field: "archivedAt", operator: "isNotNull" }], + }, + }); + const body = await res.json(); + expect(res.status).toEqual(200); + expect(body.data).toHaveLength(1); + expect(body.data[0].id).toEqual(collection.id); + expect(body.data[0].archivedBy).toBeTruthy(); + expect(body.data[0].archivedBy.id).toBe(collection.archivedById); + }); + + it("should combine a name filter with an archivedAt filter", async () => { + const team = await buildTeam(); + const admin = await buildAdmin({ teamId: team.id }); + const collection = await buildCollection({ + name: "Engineering", + teamId: team.id, + userId: admin.id, + archivedAt: new Date(), + }); + await buildCollection({ + name: "Engineering", + teamId: team.id, + userId: admin.id, + }); + + const res = await server.post("/api/collections.list", admin, { + body: { + filters: [ + { field: "archivedAt", operator: "isNotNull" }, + { field: "name", operator: "contains", value: "engineer" }, + ], + }, + }); + const body = await res.json(); + expect(res.status).toEqual(200); + expect(body.data).toHaveLength(1); + expect(body.data[0].id).toEqual(collection.id); + }); + + it("should include archived private collections for admin when filtering on archivedAt", async () => { + const team = await buildTeam(); + const admin = await buildAdmin({ teamId: team.id }); + const collection = await buildCollection({ + teamId: team.id, + permission: null, + archivedAt: new Date(), + }); + + const res = await server.post("/api/collections.list", admin, { + body: { + filters: [{ field: "archivedAt", operator: "isNotNull" }], + }, + }); + const body = await res.json(); + expect(res.status).toEqual(200); + expect(body.data).toHaveLength(1); + expect(body.data[0].id).toEqual(collection.id); + expect(body.policies[0].abilities.restore).toBeTruthy(); + }); + + it("should include private collections for admin whenever the filter targets archivedAt", async () => { + // Matches the existing `includeListOnly` behavior, which already lets an + // admin list private collections they are not a member of. + const team = await buildTeam(); + const admin = await buildAdmin({ teamId: team.id }); + await buildCollection({ + teamId: team.id, + permission: null, + archivedAt: new Date(), + }); + await buildCollection({ + teamId: team.id, + permission: null, + }); + + const res = await server.post("/api/collections.list", admin, { + body: { + filters: [ + { + operator: "OR", + filters: [ + { field: "archivedAt", operator: "isNotNull" }, + { field: "archivedAt", operator: "isNull" }, + ], + }, + ], + }, + }); + const body = await res.json(); + expect(res.status).toEqual(200); + expect(body.data).toHaveLength(2); + }); + + it("should not include archived private collections for member when filtering on archivedAt", async () => { + const team = await buildTeam(); + const user = await buildUser({ teamId: team.id }); + await buildCollection({ + teamId: team.id, + permission: null, + archivedAt: new Date(), + }); + + const res = await server.post("/api/collections.list", user, { + body: { + filters: [{ field: "archivedAt", operator: "isNotNull" }], + }, + }); + const body = await res.json(); + expect(res.status).toEqual(200); + expect(body.data).toHaveLength(0); + }); + + it("should filter by createdById", async () => { + const team = await buildTeam(); + const user = await buildUser({ teamId: team.id }); + const other = await buildUser({ teamId: team.id }); + const collection = await buildCollection({ + teamId: team.id, + userId: user.id, + }); + await buildCollection({ + teamId: team.id, + userId: other.id, + }); + + const res = await server.post("/api/collections.list", user, { + body: { + filters: [{ field: "createdById", operator: "eq", value: user.id }], + }, + }); + const body = await res.json(); + expect(res.status).toEqual(200); + expect(body.data).toHaveLength(1); + expect(body.data[0].id).toEqual(collection.id); + }); + + it("should filter private collections by permission", async () => { + const user = await buildUser(); + const collection = await buildCollection({ + teamId: user.teamId, + userId: user.id, + permission: null, + }); + await buildCollection({ + teamId: user.teamId, + userId: user.id, + permission: CollectionPermission.ReadWrite, + }); + + const res = await server.post("/api/collections.list", user, { + body: { + filters: [{ field: "permission", operator: "isNull" }], + }, + }); + const body = await res.json(); + expect(res.status).toEqual(200); + expect(body.data).toHaveLength(1); + expect(body.data[0].id).toEqual(collection.id); + }); + + it("should not allow filtering on an unknown permission", async () => { + const user = await buildUser(); + const res = await server.post("/api/collections.list", user, { + body: { + filters: [{ field: "permission", operator: "eq", value: "manage" }], + }, + }); + expect(res.status).toEqual(400); + }); + + it("should not allow filters combined with deprecated parameters", async () => { + const user = await buildUser(); + + const withQuery = await server.post("/api/collections.list", user, { + body: { + query: "test", + filters: [{ field: "name", operator: "contains", value: "test" }], + }, + }); + expect(withQuery.status).toEqual(400); + + const withStatusFilter = await server.post("/api/collections.list", user, { + body: { + statusFilter: [CollectionStatusFilter.Archived], + filters: [{ field: "archivedAt", operator: "isNotNull" }], + }, + }); + expect(withStatusFilter.status).toEqual(400); + }); + + it("should not allow filtering on an unknown field", async () => { + const user = await buildUser(); + const res = await server.post("/api/collections.list", user, { + body: { + filters: [{ field: "deletedAt", operator: "isNotNull" }], + }, + }); + expect(res.status).toEqual(400); + }); + + it("should not allow pattern matching on a non-text field", async () => { + const user = await buildUser(); + const res = await server.post("/api/collections.list", user, { + body: { + filters: [{ field: "createdById", operator: "contains", value: "abc" }], + }, + }); + expect(res.status).toEqual(400); + }); }); describe("#collections.import", () => { diff --git a/server/routes/api/collections/collections.ts b/server/routes/api/collections/collections.ts index c1073069d3..4a9e186e70 100644 --- a/server/routes/api/collections/collections.ts +++ b/server/routes/api/collections/collections.ts @@ -3,6 +3,7 @@ import { randomUUID } from "node:crypto"; import { truncate } from "es-toolkit/compat"; import type { WhereOptions } from "sequelize"; import { Sequelize, Op } from "sequelize"; +import type { Filter } from "@shared/helpers/FilterHelper"; import { CollectionPermission, CollectionStatusFilter, @@ -30,6 +31,11 @@ import { Document, Import, } from "@server/models"; +import { + buildWhere, + combineFilters, + hasFieldInFilter, +} from "@server/models/helpers/Filters"; import { authorize } from "@server/policies"; import { presentCollection, @@ -735,7 +741,12 @@ router.post( pagination(), transaction(), async (ctx: APIContext) => { - const { includeListOnly, query, statusFilter } = ctx.input.body; + const { + includeListOnly, + query, + statusFilter, + filters: rawFilters, + } = ctx.input.body; const { user } = ctx.state.auth; const { transaction } = ctx.state; const collectionIds = await user.collectionIds({ transaction }); @@ -753,11 +764,24 @@ router.post( ], }; - const includeArchived = !!statusFilter?.includes( - CollectionStatusFilter.Archived - ); + // The schema rejects callers that combine `filters` with the deprecated + // top-level params, so at most one of the two shapes is set. + const legacyLeaves: Filter[] = []; + if (query) { + legacyLeaves.push({ field: "name", operator: "contains", value: query }); + } + if (statusFilter?.includes(CollectionStatusFilter.Archived)) { + legacyLeaves.push({ field: "archivedAt", operator: "isNotNull" }); + } + const filter = combineFilters(rawFilters ?? legacyLeaves); - if (!statusFilter) { + // Results can contain archived collections once the caller targets + // archivedAt themselves, so hydrate the archiving user for presentation. + const includeArchived = + filter !== undefined && hasFieldInFilter(filter, "archivedAt"); + + // Exclude archived collections unless the caller targets archivedAt. + if (statusFilter === undefined && !includeArchived) { where[Op.and].push({ archivedAt: { [Op.eq]: null } }); } @@ -767,29 +791,10 @@ router.post( where[Op.and].push({ id: collectionIds }); } - if (query) { - where[Op.and].push( - Sequelize.literal(`unaccent(LOWER(name)) like unaccent(LOWER(:query))`) - ); + if (filter) { + where[Op.and].push(buildWhere(filter)); } - const statusQuery = []; - if (includeArchived) { - statusQuery.push({ - archivedAt: { - [Op.ne]: null, - }, - }); - } - - if (statusQuery.length) { - where[Op.and].push({ - [Op.or]: statusQuery, - }); - } - - const replacements = { query: QueryHelper.likeContains(query ?? "") }; - const [collections, total] = await Promise.all([ Collection.scope( includeArchived @@ -804,7 +809,6 @@ router.post( } ).findAll({ where, - replacements, order: [ Sequelize.literal('"collection"."index" collate "C"'), ["updatedAt", "DESC"], @@ -815,8 +819,6 @@ router.post( }), Collection.count({ where, - // @ts-expect-error Types are incorrect for count - replacements, transaction, }), ]); diff --git a/server/routes/api/collections/schema.ts b/server/routes/api/collections/schema.ts index e2410d4d9a..47e7923d37 100644 --- a/server/routes/api/collections/schema.ts +++ b/server/routes/api/collections/schema.ts @@ -1,5 +1,6 @@ import { isUndefined } from "es-toolkit/compat"; import { z } from "zod"; +import { createFilterSchema } from "@shared/helpers/FilterHelper"; import { CollectionPermission, CollectionStatusFilter, @@ -215,16 +216,47 @@ export const CollectionsUpdateSchema = BaseSchema.extend({ export type CollectionsUpdateReq = z.infer; +const collectionListFilter = createFilterSchema({ + name: "string", + createdAt: "date", + updatedAt: "date", + archivedAt: "date", + createdById: "uuid", + permission: { + kind: "string", + operators: ["eq", "neq", "in", "notIn", "isNull", "isNotNull"], + values: Object.values(CollectionPermission), + }, +} as const); + export const CollectionsListSchema = BaseSchema.extend({ body: z.object({ includeListOnly: z.boolean().prefault(false), + /** + * Filter results by collection name. + * @deprecated use `filters` with field `name` and operator `contains` instead. + */ query: z.string().optional(), - /** Collection statuses to include in results */ + /** + * Collection statuses to include in results. + * @deprecated use `filters` with field `archivedAt` instead. + */ statusFilter: z.enum(CollectionStatusFilter).array().optional(), + + /** List of filter expressions. Implicit AND between top-level entries. */ + filters: collectionListFilter.FilterListSchema.optional(), }), -}); +}).refine( + (req) => + req.body.filters === undefined || + (req.body.query === undefined && req.body.statusFilter === undefined), + { + message: + "filters cannot be combined with deprecated parameters query or statusFilter", + } +); export type CollectionsListReq = z.infer; diff --git a/server/tools/collections.test.ts b/server/tools/collections.test.ts index c23c94e413..f5f2b2be8c 100644 --- a/server/tools/collections.test.ts +++ b/server/tools/collections.test.ts @@ -31,6 +31,29 @@ describe("collection tools", () => { expect(match!.url).toMatch(/^https?:\/\//); }); + it("list_collections filters by name ignoring case", async () => { + const { user, accessToken } = await buildOAuthUser(); + const collection = await buildCollection({ + name: "Product Design", + teamId: user.teamId, + userId: user.id, + }); + const other = await buildCollection({ + name: "Something else", + teamId: user.teamId, + userId: user.id, + }); + + const res = await callMcpTool(server, accessToken, "list_collections", { + query: "duct des", + }); + const data = parseMcpListContent<{ id: string }>(res?.result?.content); + + const ids = data.map((c) => c.id); + expect(ids).toContain(collection.id); + expect(ids).not.toContain(other.id); + }); + it("list_collections does not return collections from another team", async () => { const { accessToken } = await buildOAuthUser(); const otherUser = await buildUser(); diff --git a/server/tools/collections.ts b/server/tools/collections.ts index 9f973c7873..5ddcdc411e 100644 --- a/server/tools/collections.ts +++ b/server/tools/collections.ts @@ -2,8 +2,8 @@ import { z } from "zod"; import { Sequelize, Op, type WhereOptions } from "sequelize"; import { type McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { Collection, Team } from "@server/models"; +import { buildWhere } from "@server/models/helpers/Filters"; import { sequelize } from "@server/storage/database"; -import { QueryHelper } from "@server/storage/QueryHelper"; import { authorize } from "@server/policies"; import { presentCollection as presentCollectionBase } from "@server/presenters"; import AuthenticationHelper from "@shared/helpers/AuthenticationHelper"; @@ -89,9 +89,11 @@ export function collectionTools(server: McpServer, scopes: string[]) { if (query) { and.push( - Sequelize.literal( - `unaccent(LOWER(name)) like unaccent(LOWER(:query))` - ) as unknown as WhereOptions + buildWhere({ + field: "name", + operator: "contains", + value: query, + }) ); } @@ -104,7 +106,6 @@ export function collectionTools(server: McpServer, scopes: string[]) { method: ["withMembership", user.id], }).findAll({ where, - replacements: { query: QueryHelper.likeContains(query ?? "") }, order: [ Sequelize.literal('"collection"."index" collate "C"'), ["updatedAt", "DESC"], diff --git a/shared/helpers/FilterHelper.test.ts b/shared/helpers/FilterHelper.test.ts index 12d29c2572..a235968a8c 100644 --- a/shared/helpers/FilterHelper.test.ts +++ b/shared/helpers/FilterHelper.test.ts @@ -315,6 +315,27 @@ describe("createFilterSchema value allowlists", () => { }).success ).toBe(true); }); + + it("still allows null operators with no value", () => { + expect( + EnumSchema.safeParse({ + field: "role", + operator: "isNull", + }).success + ).toBe(true); + }); + + it("rejects a disallowed value nested inside a group", () => { + expect( + EnumSchema.safeParse({ + operator: "AND", + filters: [ + { field: "title", operator: "eq", value: "x" }, + { field: "role", operator: "eq", value: "superuser" }, + ], + }).success + ).toBe(false); + }); }); describe("createFilterSchema node limit", () => { diff --git a/shared/helpers/FilterHelper.ts b/shared/helpers/FilterHelper.ts index a36cd3655b..1e460da5ab 100644 --- a/shared/helpers/FilterHelper.ts +++ b/shared/helpers/FilterHelper.ts @@ -39,7 +39,10 @@ export type ComparisonOperator = z.infer; export const LogicalOperator = z.enum(["AND", "OR"]); export type LogicalOperator = z.infer; -/** The value a filter condition compares against. */ +/** + * The value a filter condition compares against. Filters travel over the wire + * as JSON, so the value is limited to JSON types. + */ export const FilterValue = z.union([ z.string(), z.number(), @@ -52,9 +55,12 @@ export type FilterValue = z.infer; /** * A single comparison against one field, the leaf of a filter expression. * + * Declared as a type alias rather than an interface so that TypeScript infers + * an index signature and a filter stays assignable to a JSON request body. + * * @typeParam F the field names the condition may reference. */ -export interface FilterCondition { +export type FilterCondition = { /** The field being compared. */ field: F; @@ -63,21 +69,24 @@ export interface FilterCondition { /** The value to compare against, omitted for `isNull` and `isNotNull`. */ value?: FilterValue; -} +}; /** * A set of filter expressions combined under one logical operator. Groups may * contain other groups, forming a tree. * + * Declared as a type alias rather than an interface so that TypeScript infers + * an index signature and a filter stays assignable to a JSON request body. + * * @typeParam F the field names the nested conditions may reference. */ -export interface FilterGroup { +export type FilterGroup = { /** How the nested expressions are combined. */ operator: LogicalOperator; /** The nested expressions, each a condition or a further group. */ filters: Array | FilterGroup>; -} +}; /** * A filter expression: either a single condition or a group of them. diff --git a/yarn.lock b/yarn.lock index d8130a724a..f834e7e99f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5482,23 +5482,7 @@ __metadata: languageName: node linkType: hard -"@rollup/pluginutils@npm:^5.0.1": - version: 5.3.0 - resolution: "@rollup/pluginutils@npm:5.3.0" - dependencies: - "@types/estree": "npm:^1.0.0" - estree-walker: "npm:^2.0.2" - picomatch: "npm:^4.0.2" - peerDependencies: - rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - rollup: - optional: true - checksum: 10c0/001834bf62d7cf5bac424d2617c113f7f7d3b2bf3c1778cbcccb72cdc957b68989f8e7747c782c2b911f1dde8257f56f8ac1e779e29e74e638e3f1e2cac2bcd0 - languageName: node - linkType: hard - -"@rollup/pluginutils@npm:^5.4.0": +"@rollup/pluginutils@npm:^5.0.1, @rollup/pluginutils@npm:^5.4.0": version: 5.4.0 resolution: "@rollup/pluginutils@npm:5.4.0" dependencies: From 84c40c8392b2998c2acb5bfc9bc1db27462200b7 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 23 Aug 2026 16:29:21 -0400 Subject: [PATCH 11/85] fix: Revision diff mismatching node closing tokens (#13537) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The changeset token encoder cached node type ids in an object created with a null prototype, but tested for a cache miss with `=== null`. The miss reads as undefined, so the cache was never filled and every node end encoded to undefined — making the closing token of any node compare equal to that of any other. As a result revision diffs could omit a node's closing token when its type changed, and attribute an inserted wrapper's closing token to the node it wraps. Co-authored-by: Claude Opus 5 (1M context) --- shared/editor/lib/ChangesetHelper.test.ts | 57 +++++++++++++++++++++++ shared/editor/lib/ChangesetHelper.ts | 5 +- 2 files changed, 60 insertions(+), 2 deletions(-) diff --git a/shared/editor/lib/ChangesetHelper.test.ts b/shared/editor/lib/ChangesetHelper.test.ts index d9159aff91..7df65fdcdc 100644 --- a/shared/editor/lib/ChangesetHelper.test.ts +++ b/shared/editor/lib/ChangesetHelper.test.ts @@ -235,6 +235,63 @@ describe("ChangesetHelper.getChangeset", () => { expect(changes[0].inserted).toHaveLength(1); }); + describe("node boundary tokens", () => { + it("reports the change to a node's closing token when its type changes", () => { + // Converting a paragraph to a heading rewrites both of the node's + // boundary tokens. The closing tokens of the two node types must not + // compare as equal, or only the opening one is reported. + const changes = changesFor( + { + type: "doc", + content: [ + { + type: "heading", + attrs: { level: 1 }, + content: [{ type: "text", text: "Alpha" }], + }, + ], + }, + para("Alpha") + ); + + expect(changes).toHaveLength(2); + // The paragraph opens at 0 and closes at 6, either side of "Alpha". + expect([changes[0].fromA, changes[0].toA]).toEqual([0, 1]); + expect([changes[1].fromA, changes[1].toA]).toEqual([6, 7]); + }); + + it("places an inserted wrapper's closing token outside the node it wraps", () => { + // Wrapping the paragraph in a blockquote inserts the quote's closing + // token after the paragraph, at the end of the old document. Matching it + // to the paragraph's own closing token instead would report the + // insertion at 6, inside the paragraph. + const changes = changesFor( + { + type: "doc", + content: [ + { + type: "blockquote", + content: [ + { + type: "paragraph", + content: [{ type: "text", text: "Alpha" }], + }, + ], + }, + ], + }, + para("Alpha") + ); + + expect(changes).toHaveLength(2); + expect([changes[0].fromA, changes[0].toA]).toEqual([0, 0]); + expect([changes[1].fromA, changes[1].toA]).toEqual([7, 7]); + // In the new document the change is the blockquote's closing token at + // 8, not the paragraph's at 7. + expect([changes[1].fromB, changes[1].toB]).toEqual([8, 9]); + }); + }); + describe("complexity guard", () => { const texts = Array.from( { length: 500 }, diff --git a/shared/editor/lib/ChangesetHelper.ts b/shared/editor/lib/ChangesetHelper.ts index 4973d13152..6f85306b66 100644 --- a/shared/editor/lib/ChangesetHelper.ts +++ b/shared/editor/lib/ChangesetHelper.ts @@ -246,11 +246,12 @@ class AttributeEncoder implements TokenEncoder { // See: https://github.com/ProseMirror/prosemirror-changeset/blob/23f67c002e5489e454a0473479e407decb238afe/src/diff.ts#L26 public encodeNodeEnd({ type }: Node): number { - let cache: Record = + const cache: Record = type.schema.cached.changeSetIDs || (type.schema.cached.changeSetIDs = Object.create(null)); + // The cache has a null prototype, so a miss reads as undefined. let id = cache[type.name]; - if (id === null) { + if (id === undefined) { cache[type.name] = id = Object.keys(type.schema.nodes).indexOf(type.name) + 1; } From c34540e04714b2f9a65d9677bb4bb9ae4854c2b5 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 23 Aug 2026 17:08:54 -0400 Subject: [PATCH 12/85] Add collection metadata line (#13538) * feat: Metadata below collection title Extracts the shared meta line styles from DocumentMeta into a reusable HeaderMeta component, and adds an equivalent meta line beneath collection titles showing visibility, public sharing, and document count. Co-Authored-By: Claude Opus 5 (1M context) * i18n * fix: Show document count for empty collections Co-Authored-By: Claude Opus 5 (1M context) --------- Co-authored-by: Claude Opus 5 (1M context) --- app/components/DocumentMeta.tsx | 36 +------ app/components/HeaderMeta.tsx | 86 +++++++++++++++ .../Collection/components/CollectionMeta.tsx | 102 ++++++++++++++++++ app/scenes/Collection/index.tsx | 2 + .../Document/components/DocumentMeta.tsx | 38 ++----- shared/i18n/locales/en_US/translation.json | 8 +- 6 files changed, 207 insertions(+), 65 deletions(-) create mode 100644 app/components/HeaderMeta.tsx create mode 100644 app/scenes/Collection/components/CollectionMeta.tsx diff --git a/app/components/DocumentMeta.tsx b/app/components/DocumentMeta.tsx index 32a04a0bfc..f9e5413f2c 100644 --- a/app/components/DocumentMeta.tsx +++ b/app/components/DocumentMeta.tsx @@ -5,13 +5,13 @@ import * as React from "react"; import { useTranslation } from "react-i18next"; import { Link } from "react-router-dom"; import styled from "styled-components"; -import { s, ellipsis } from "@shared/styles"; +import { ellipsis } from "@shared/styles"; import type Document from "~/models/Document"; import type Revision from "~/models/Revision"; import DocumentBreadcrumb from "~/components/DocumentBreadcrumb"; import DocumentTasks from "~/components/DocumentTasks"; import Flex from "~/components/Flex"; -import NudeButton from "~/components/NudeButton"; +import { MetaButton, Separator, metaStyles } from "~/components/HeaderMeta"; import Time from "~/components/Time"; import useCurrentUser from "~/hooks/useCurrentUser"; import useStores from "~/hooks/useStores"; @@ -229,42 +229,12 @@ const DocumentMeta: React.FC = ({ ); }; -/** A button that visually matches the surrounding meta text. */ -export const MetaButton = styled(NudeButton)` - display: inline-flex; - align-items: center; - gap: 2px; - width: auto; - height: auto; - border-radius: 0; - color: inherit; - font: inherit; - text-align: inherit; - - &:hover { - text-decoration: underline; - } -`; - -export const Separator = styled.span` - padding: 0 0.4em; - - &::after { - content: "•"; - } -`; - const Strong = styled.strong` font-weight: 550; `; const Container = styled(Flex)<{ $rtl?: boolean }>` - justify-content: ${(props) => (props.$rtl ? "flex-end" : "flex-start")}; - color: ${s("textTertiary")}; - font-size: 13px; - white-space: nowrap; - overflow: hidden; - min-width: 0; + ${metaStyles} `; const Viewed = styled.span` diff --git a/app/components/HeaderMeta.tsx b/app/components/HeaderMeta.tsx new file mode 100644 index 0000000000..68cd6c6484 --- /dev/null +++ b/app/components/HeaderMeta.tsx @@ -0,0 +1,86 @@ +import styled, { css } from "styled-components"; +import breakpoint from "styled-components-breakpoint"; +import { s } from "@shared/styles"; +import Flex from "~/components/Flex"; +import NudeButton from "~/components/NudeButton"; + +/** A dot separating two pieces of meta information. */ +export const Separator = styled.span` + padding: 0 0.4em; + + &::after { + content: "•"; + } +`; + +/** A button that visually matches the surrounding meta text. */ +export const MetaButton = styled(NudeButton)` + display: inline-flex; + align-items: center; + gap: 2px; + width: auto; + height: auto; + border-radius: 0; + color: inherit; + font: inherit; + text-align: inherit; + + &:hover { + text-decoration: underline; + } +`; + +/** Lays out a line of meta information about a document or collection. */ +export const metaStyles = css<{ $rtl?: boolean }>` + justify-content: ${(props) => (props.$rtl ? "flex-end" : "flex-start")}; + color: ${s("textTertiary")}; + font-size: 13px; + white-space: nowrap; + overflow: hidden; + min-width: 0; +`; + +/** + * Additional styles for a line of meta information rendered directly beneath a + * page title. Composed by `HeaderMeta`, and applied directly by consumers that + * style an existing meta component rather than rendering their own. + */ +export const headerMetaStyles = css` + margin: -12px 0 2em 0; + font-size: 14px; + position: relative; + user-select: none; + z-index: 1; + + ${breakpoint("mobile", "tablet")` + flex-direction: column; + align-items: flex-start; + line-height: 1.6; + + ${Separator} { + display: none; + } + `} + + a { + color: inherit; + cursor: var(--pointer); + + &:hover { + text-decoration: underline; + } + } + + @media print { + display: none; + } +`; + +/** + * A line of meta information rendered directly beneath a page title, stacking + * into a list on mobile and hidden when printing. + */ +export const HeaderMeta = styled(Flex)<{ $rtl?: boolean }>` + ${metaStyles} + ${headerMetaStyles} +`; diff --git a/app/scenes/Collection/components/CollectionMeta.tsx b/app/scenes/Collection/components/CollectionMeta.tsx new file mode 100644 index 0000000000..3b89148ee2 --- /dev/null +++ b/app/scenes/Collection/components/CollectionMeta.tsx @@ -0,0 +1,102 @@ +import { observer } from "mobx-react"; +import { GlobeIcon, PadlockIcon, TeamIcon } from "outline-icons"; +import { useEffect } from "react"; +import { useTranslation } from "react-i18next"; +import styled from "styled-components"; +import breakpoint from "styled-components-breakpoint"; +import { flattenTree } from "@shared/utils/tree"; +import type Collection from "~/models/Collection"; +import Flex from "~/components/Flex"; +import { HeaderMeta, Separator } from "~/components/HeaderMeta"; +import Tooltip from "~/components/Tooltip"; +import useCurrentTeam from "~/hooks/useCurrentTeam"; +import useStores from "~/hooks/useStores"; + +type Props = { + /** The collection to display meta information for */ + collection: Collection; +}; + +/** + * A line of meta information about a collection, rendered directly beneath its + * title to match the equivalent display for documents. + */ +export const CollectionMeta = observer(function CollectionMeta_({ + collection, +}: Props) { + const { t } = useTranslation(); + const { shares } = useStores(); + const team = useCurrentTeam(); + + const share = shares.getByCollectionId(collection.id); + const isPubliclyShared = + team.sharing !== false && + collection.sharing !== false && + !!share?.published; + + // The document structure is cached on the collection once loaded, so this is + // a no-op when the sidebar or another tab has already requested it. + useEffect(() => { + void collection.fetchDocuments(); + }, [collection]); + + const documentCount = collection.documents + ? flattenTree(collection.asNavigationNode).length - 1 + : undefined; + + return ( + + + + {collection.isPrivate ? ( + + ) : ( + + )} + {collection.isPrivate ? t("Private") : t("Workspace")} + + + {isPubliclyShared && ( + <> + + + + + {t("Publicly shared")} + + + + )} + {documentCount !== undefined && ( + + + {t("{{ count }} document", { count: documentCount })} + + )} + + ); +}); + +const IconLabel = styled(Flex)` + gap: 2px; + cursor: default; +`; + +const Meta = styled(HeaderMeta)` + // Aligns with the collection title, which is indented on mobile. + margin-inline-start: 16px; + + ${breakpoint("tablet")` + margin-inline-start: 0; + `} +`; diff --git a/app/scenes/Collection/index.tsx b/app/scenes/Collection/index.tsx index 72d01d7980..6370b3681b 100644 --- a/app/scenes/Collection/index.tsx +++ b/app/scenes/Collection/index.tsx @@ -48,6 +48,7 @@ import MembershipPreview from "./components/MembershipPreview"; import Navigation, { CollectionTab } from "./components/Navigation"; import Notices from "./components/Notices"; import Overview from "./components/Overview"; +import { CollectionMeta } from "./components/CollectionMeta"; import { Header } from "./components/Header"; import usePersistedState from "~/hooks/usePersistedState"; import useCurrentUser from "~/hooks/useCurrentUser"; @@ -185,6 +186,7 @@ const CollectionScene = observer(function CollectionScene_() { collection={collection} isEditing={isEditRoute || !user?.separateEditMode} /> + ` - justify-content: ${(props) => (props.$rtl ? "flex-end" : "flex-start")}; - margin: -12px 0 2em 0; - font-size: 14px; - position: relative; - user-select: none; - z-index: 1; - - ${breakpoint("mobile", "tablet")` - flex-direction: column; - align-items: flex-start; - line-height: 1.6; - - ${Separator} { - display: none; - } - `} - - a { - color: inherit; - cursor: var(--pointer); - - &:hover { - text-decoration: underline; - } - } - - @media print { - display: none; - } + ${headerMetaStyles} `; export default observer(TitleDocumentMeta); diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index b443ee72a6..698f972104 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -855,6 +855,13 @@ "No expiration": "No expiration", "The document archive is empty at the moment.": "The document archive is empty at the moment.", "Done editing": "Done editing", + "Only members with access can view": "Only members with access can view", + "All members in the workspace can view": "All members in the workspace can view", + "Private": "Private", + "Anyone with the link can view": "Anyone with the link can view", + "Publicly shared": "Publicly shared", + "{{ count }} document": "{{ count }} document", + "{{ count }} document_plural": "{{ count }} documents", "Drop documents to import": "Drop documents to import", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} doesn’t contain any\n documents yet.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} user and {{ groupsCount }} groups with access", @@ -1592,7 +1599,6 @@ "IP": "IP", "a group": "a group", "All users": "All users", - "Private": "Private", "View and edit": "View and edit", "Sharing enabled": "Sharing enabled", "Date archived": "Date archived", From 72aa0f0063b83d236ba629d78976cf4190270f1b Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 23 Aug 2026 21:10:44 -0400 Subject: [PATCH 13/85] fix: Remove associated notifications when access is lost (#13208) * review * Revoke notifications when a document is moved Moving a document into a collection the recipient cannot read leaves a notification holding the title and text, so schedule a revocation check for each recipient of the moved document and its descendants. Also adds coverage proving drafts are revoked through the document path, and notes why the scoped query includes them. Co-Authored-By: Claude Opus 5 (1M context) --------- Co-authored-by: Claude Opus 5 (1M context) --- app/components/WebsocketProvider.tsx | 4 + .../server/tasks/DeliverWebhookTask.ts | 1 + .../NotificationsRevokeProcessor.test.ts | 229 +++++++++++++++ .../NotificationsRevokeProcessor.ts | 155 ++++++++++ .../queues/processors/WebsocketsProcessor.ts | 6 + .../tasks/RevokeUserNotificationsTask.test.ts | 272 ++++++++++++++++++ .../tasks/RevokeUserNotificationsTask.ts | 194 +++++++++++++ server/types.ts | 5 +- 8 files changed, 865 insertions(+), 1 deletion(-) create mode 100644 server/queues/processors/NotificationsRevokeProcessor.test.ts create mode 100644 server/queues/processors/NotificationsRevokeProcessor.ts create mode 100644 server/queues/tasks/RevokeUserNotificationsTask.test.ts create mode 100644 server/queues/tasks/RevokeUserNotificationsTask.ts diff --git a/app/components/WebsocketProvider.tsx b/app/components/WebsocketProvider.tsx index bf56929990..8aacc678b8 100644 --- a/app/components/WebsocketProvider.tsx +++ b/app/components/WebsocketProvider.tsx @@ -792,6 +792,10 @@ function useNotificationHandlers() { } ); + socket.on("notifications.delete", (event: WebsocketEntityDeletedEvent) => { + notifications.remove(event.modelId); + }); + socket.on( "subscriptions.create", (event: PartialExcept) => { diff --git a/plugins/webhooks/server/tasks/DeliverWebhookTask.ts b/plugins/webhooks/server/tasks/DeliverWebhookTask.ts index bb4962945b..c9db826617 100644 --- a/plugins/webhooks/server/tasks/DeliverWebhookTask.ts +++ b/plugins/webhooks/server/tasks/DeliverWebhookTask.ts @@ -169,6 +169,7 @@ export default class DeliverWebhookTask extends BaseTask { case "authenticationProviders.update": case "notifications.create": case "notifications.update": + case "notifications.delete": case "access_requests.create": // Ignored return; diff --git a/server/queues/processors/NotificationsRevokeProcessor.test.ts b/server/queues/processors/NotificationsRevokeProcessor.test.ts new file mode 100644 index 0000000000..0eaf959da8 --- /dev/null +++ b/server/queues/processors/NotificationsRevokeProcessor.test.ts @@ -0,0 +1,229 @@ +import { CollectionPermission } from "@shared/types"; +import { AuthenticationType } from "@server/types"; +import { + buildCollection, + buildDocument, + buildGroup, + buildGroupUser, + buildNotification, + buildTeam, + buildUser, +} from "@server/test/factories"; +import RevokeUserNotificationsTask from "../tasks/RevokeUserNotificationsTask"; +import NotificationsRevokeProcessor from "./NotificationsRevokeProcessor"; + +describe("NotificationsRevokeProcessor", () => { + const schedule = vi + .spyOn(RevokeUserNotificationsTask.prototype, "schedule") + .mockResolvedValue(undefined as never); + + beforeEach(() => { + schedule.mockClear(); + }); + + it("should schedule a check for the removed user", async () => { + const team = await buildTeam(); + const user = await buildUser({ teamId: team.id }); + const collection = await buildCollection({ teamId: team.id }); + + await new NotificationsRevokeProcessor().perform({ + name: "collections.remove_user", + userId: user.id, + modelId: collection.id, + collectionId: collection.id, + teamId: team.id, + actorId: user.id, + ip: "127.0.0.1", + authType: AuthenticationType.APP, + data: {}, + }); + + expect(schedule).toHaveBeenCalledWith( + expect.objectContaining({ + userId: user.id, + collectionId: collection.id, + }) + ); + }); + + it("should schedule a check for every member of a removed group", async () => { + const team = await buildTeam(); + const group = await buildGroup({ teamId: team.id }); + const document = await buildDocument({ teamId: team.id }); + const [first, second] = await Promise.all([ + buildUser({ teamId: team.id }), + buildUser({ teamId: team.id }), + ]); + await buildGroupUser({ + teamId: team.id, + groupId: group.id, + userId: first.id, + }); + await buildGroupUser({ + teamId: team.id, + groupId: group.id, + userId: second.id, + }); + + await new NotificationsRevokeProcessor().perform({ + name: "documents.remove_group", + modelId: group.id, + documentId: document.id, + teamId: team.id, + actorId: first.id, + ip: "127.0.0.1", + data: { membershipId: "membership" }, + }); + + expect(schedule).toHaveBeenCalledTimes(2); + expect(schedule).toHaveBeenCalledWith( + expect.objectContaining({ userId: first.id, documentId: document.id }) + ); + expect(schedule).toHaveBeenCalledWith( + expect.objectContaining({ userId: second.id, documentId: document.id }) + ); + }); + + it("should schedule a scope-less check for a user removed from a group", async () => { + const team = await buildTeam(); + const group = await buildGroup({ teamId: team.id }); + const user = await buildUser({ teamId: team.id }); + + await new NotificationsRevokeProcessor().perform({ + name: "groups.remove_user", + userId: user.id, + modelId: group.id, + teamId: team.id, + actorId: user.id, + ip: "127.0.0.1", + }); + + expect(schedule).toHaveBeenCalledWith({ userId: user.id }); + }); + + it("should schedule a scope-less check for every member of a deleted group", async () => { + const team = await buildTeam(); + const group = await buildGroup({ teamId: team.id }); + const [first, second] = await Promise.all([ + buildUser({ teamId: team.id }), + buildUser({ teamId: team.id }), + ]); + await buildGroupUser({ + teamId: team.id, + groupId: group.id, + userId: first.id, + }); + await buildGroupUser({ + teamId: team.id, + groupId: group.id, + userId: second.id, + }); + await group.destroy(); + + await new NotificationsRevokeProcessor().perform({ + name: "groups.delete", + modelId: group.id, + teamId: team.id, + actorId: first.id, + ip: "127.0.0.1", + }); + + expect(schedule).toHaveBeenCalledTimes(2); + expect(schedule).toHaveBeenCalledWith({ userId: first.id }); + expect(schedule).toHaveBeenCalledWith({ userId: second.id }); + }); + + it("should schedule a check for every notified user when a collection becomes private", async () => { + const team = await buildTeam(); + const user = await buildUser({ teamId: team.id }); + const other = await buildUser({ teamId: team.id }); + const collection = await buildCollection({ + teamId: team.id, + permission: CollectionPermission.Read, + }); + const document = await buildDocument({ + teamId: team.id, + collectionId: collection.id, + }); + await buildNotification({ + teamId: team.id, + userId: user.id, + documentId: document.id, + }); + await buildNotification({ + teamId: team.id, + userId: other.id, + collectionId: collection.id, + }); + + await new NotificationsRevokeProcessor().perform({ + name: "collections.permission_changed", + collectionId: collection.id, + teamId: team.id, + actorId: user.id, + ip: "127.0.0.1", + }); + + expect(schedule).toHaveBeenCalledTimes(2); + expect(schedule).toHaveBeenCalledWith( + expect.objectContaining({ userId: user.id, collectionId: collection.id }) + ); + expect(schedule).toHaveBeenCalledWith( + expect.objectContaining({ userId: other.id, collectionId: collection.id }) + ); + }); + + it("should schedule a check for every recipient when a document is moved", async () => { + const team = await buildTeam(); + const actor = await buildUser({ teamId: team.id }); + const collection = await buildCollection({ teamId: team.id }); + const document = await buildDocument({ + teamId: team.id, + collectionId: collection.id, + }); + const [first, second] = await Promise.all([ + buildUser({ teamId: team.id }), + buildUser({ teamId: team.id }), + ]); + await Promise.all([ + buildNotification({ + teamId: team.id, + userId: first.id, + documentId: document.id, + }), + buildNotification({ + teamId: team.id, + userId: second.id, + documentId: document.id, + }), + ]); + + await new NotificationsRevokeProcessor().perform({ + name: "documents.move", + documentId: document.id, + collectionId: collection.id, + teamId: team.id, + actorId: actor.id, + ip: "127.0.0.1", + authType: AuthenticationType.APP, + data: { + collectionIds: [collection.id], + documentIds: [document.id], + }, + }); + + expect(schedule).toHaveBeenCalledTimes(2); + expect(schedule).toHaveBeenCalledWith( + expect.objectContaining({ + userId: first.id, + documentId: document.id, + }) + ); + expect(schedule).toHaveBeenCalledWith( + expect.objectContaining({ + userId: second.id, + documentId: document.id, + }) + ); + }); +}); diff --git a/server/queues/processors/NotificationsRevokeProcessor.ts b/server/queues/processors/NotificationsRevokeProcessor.ts new file mode 100644 index 0000000000..6f0b964896 --- /dev/null +++ b/server/queues/processors/NotificationsRevokeProcessor.ts @@ -0,0 +1,155 @@ +import { Op } from "sequelize"; +import { Document, GroupUser, Notification } from "@server/models"; +import type { + CollectionEvent, + CollectionGroupEvent, + CollectionUserEvent, + DocumentGroupEvent, + DocumentMovedEvent, + DocumentUserEvent, + Event, + GroupEvent, +} from "@server/types"; +import type { RevokeScope } from "../tasks/RevokeUserNotificationsTask"; +import RevokeUserNotificationsTask from "../tasks/RevokeUserNotificationsTask"; +import BaseProcessor from "./BaseProcessor"; + +type ReceivedEvent = + | CollectionEvent + | CollectionUserEvent + | CollectionGroupEvent + | DocumentUserEvent + | DocumentGroupEvent + | DocumentMovedEvent + | GroupEvent; + +/** + * Revokes notifications that reference a document or collection once the recipient loses access to it. + */ +export default class NotificationsRevokeProcessor extends BaseProcessor { + static applicableEvents: Event["name"][] = [ + "collections.remove_user", + "collections.remove_group", + "collections.permission_changed", + "documents.remove_user", + "documents.remove_group", + "documents.move", + "groups.remove_user", + "groups.delete", + ]; + + async perform(event: ReceivedEvent) { + switch (event.name) { + case "collections.remove_user": + await new RevokeUserNotificationsTask().schedule({ + userId: event.userId, + collectionId: event.collectionId, + }); + return; + + case "documents.remove_user": + await new RevokeUserNotificationsTask().schedule({ + userId: event.userId, + documentId: event.documentId, + }); + return; + + case "collections.remove_group": + return this.handleRemoveGroup(event.modelId, { + collectionId: event.collectionId, + }); + + case "documents.remove_group": + return this.handleRemoveGroup(event.modelId, { + documentId: event.documentId, + }); + + // Access lost through a group cannot be scoped to a single collection or document, so all + // of the user's notifications are re-checked. + case "groups.remove_user": + await new RevokeUserNotificationsTask().schedule({ + userId: event.userId, + }); + return; + + case "groups.delete": + return this.handleRemoveGroup(event.modelId, {}); + + case "collections.permission_changed": + return this.handlePermissionChanged(event); + + case "documents.move": + return this.handleDocumentMoved(event); + } + } + + // A move carries the document into a different collection, which the recipient of a notification + // about it may not be able to read. + private async handleDocumentMoved(event: DocumentMovedEvent) { + const notifications = await Notification.unscoped().findAll({ + attributes: ["userId"], + where: { documentId: event.data.documentIds }, + group: ["notification.userId"], + }); + + await Promise.all( + notifications.map((notification) => + new RevokeUserNotificationsTask().schedule({ + userId: notification.userId, + documentId: event.documentId, + }) + ) + ); + } + + private async handleRemoveGroup(groupId: string, scope: RevokeScope) { + await GroupUser.findAllInBatches( + { + attributes: ["userId"], + where: { groupId }, + batchLimit: 1000, + }, + async (groupUsers) => { + await Promise.all( + groupUsers.map((groupUser) => + new RevokeUserNotificationsTask().schedule({ + ...scope, + userId: groupUser.userId, + }) + ) + ); + } + ); + } + + private async handlePermissionChanged(event: CollectionEvent) { + const notifications = await Notification.unscoped().findAll({ + attributes: ["userId"], + where: { + [Op.or]: [ + { collectionId: event.collectionId }, + { "$document.collectionId$": event.collectionId }, + ], + }, + include: [ + { + model: Document.unscoped(), + as: "document", + attributes: [], + required: false, + paranoid: false, + }, + ], + group: ["notification.userId"], + }); + + await Promise.all( + notifications.map((notification) => + new RevokeUserNotificationsTask().schedule({ + userId: notification.userId, + collectionId: event.collectionId, + }) + ) + ); + } +} diff --git a/server/queues/processors/WebsocketsProcessor.ts b/server/queues/processors/WebsocketsProcessor.ts index ae6a8025b4..790317bfb6 100644 --- a/server/queues/processors/WebsocketsProcessor.ts +++ b/server/queues/processors/WebsocketsProcessor.ts @@ -702,6 +702,12 @@ export default class WebsocketsProcessor { return socketio.to(`user-${event.userId}`).emit(event.name, data); } + case "notifications.delete": { + return socketio.to(`user-${event.userId}`).emit(event.name, { + modelId: event.modelId, + }); + } + case "stars.create": case "stars.update": { const star = await Star.findByPk(event.modelId); diff --git a/server/queues/tasks/RevokeUserNotificationsTask.test.ts b/server/queues/tasks/RevokeUserNotificationsTask.test.ts new file mode 100644 index 0000000000..2ab1ce95d5 --- /dev/null +++ b/server/queues/tasks/RevokeUserNotificationsTask.test.ts @@ -0,0 +1,272 @@ +import { + CollectionPermission, + DocumentPermission, + NotificationEventType, +} from "@shared/types"; +import { Notification, UserMembership } from "@server/models"; +import { + buildCollection, + buildDocument, + buildDraftDocument, + buildNotification, + buildTeam, + buildUser, +} from "@server/test/factories"; +import RevokeUserNotificationsTask from "./RevokeUserNotificationsTask"; + +describe("RevokeUserNotificationsTask", () => { + it("should revoke notifications for a collection the user can no longer read", async () => { + const team = await buildTeam(); + const user = await buildUser({ teamId: team.id }); + const collection = await buildCollection({ + teamId: team.id, + permission: null, + }); + const document = await buildDocument({ + teamId: team.id, + collectionId: collection.id, + }); + const notification = await buildNotification({ + teamId: team.id, + userId: user.id, + documentId: document.id, + }); + + await new RevokeUserNotificationsTask().perform({ + userId: user.id, + collectionId: collection.id, + }); + + expect(await Notification.findByPk(notification.id)).toBeNull(); + }); + + it("should retain notifications when the user can still read the document", async () => { + const team = await buildTeam(); + const user = await buildUser({ teamId: team.id }); + const collection = await buildCollection({ + teamId: team.id, + permission: CollectionPermission.Read, + }); + const document = await buildDocument({ + teamId: team.id, + collectionId: collection.id, + }); + const notification = await buildNotification({ + teamId: team.id, + userId: user.id, + documentId: document.id, + }); + + await new RevokeUserNotificationsTask().perform({ + userId: user.id, + collectionId: collection.id, + }); + + expect(await Notification.findByPk(notification.id)).not.toBeNull(); + }); + + it("should retain notifications when the user still has a document membership", async () => { + const team = await buildTeam(); + const user = await buildUser({ teamId: team.id }); + const collection = await buildCollection({ + teamId: team.id, + permission: null, + }); + const document = await buildDocument({ + teamId: team.id, + collectionId: collection.id, + }); + await UserMembership.create({ + userId: user.id, + documentId: document.id, + createdById: user.id, + permission: DocumentPermission.Read, + }); + const notification = await buildNotification({ + teamId: team.id, + userId: user.id, + documentId: document.id, + }); + + await new RevokeUserNotificationsTask().perform({ + userId: user.id, + collectionId: collection.id, + }); + + expect(await Notification.findByPk(notification.id)).not.toBeNull(); + }); + + it("should revoke notifications for nested documents when scoped to a document", async () => { + const team = await buildTeam(); + const user = await buildUser({ teamId: team.id }); + const collection = await buildCollection({ + teamId: team.id, + permission: null, + }); + const parent = await buildDocument({ + teamId: team.id, + collectionId: collection.id, + }); + const child = await buildDocument({ + teamId: team.id, + collectionId: collection.id, + parentDocumentId: parent.id, + }); + const notification = await buildNotification({ + teamId: team.id, + userId: user.id, + documentId: child.id, + }); + + await new RevokeUserNotificationsTask().perform({ + userId: user.id, + documentId: parent.id, + }); + + expect(await Notification.findByPk(notification.id)).toBeNull(); + }); + + it("should revoke notifications for a draft the user can no longer read", async () => { + const team = await buildTeam(); + const user = await buildUser({ teamId: team.id }); + const collection = await buildCollection({ + teamId: team.id, + permission: null, + }); + const document = await buildDraftDocument({ + teamId: team.id, + collectionId: collection.id, + }); + const notification = await buildNotification({ + teamId: team.id, + userId: user.id, + documentId: document.id, + }); + + await new RevokeUserNotificationsTask().perform({ + userId: user.id, + collectionId: collection.id, + }); + + expect(await Notification.findByPk(notification.id)).toBeNull(); + }); + + it("should revoke notifications about the collection itself", async () => { + const team = await buildTeam(); + const user = await buildUser({ teamId: team.id }); + const collection = await buildCollection({ + teamId: team.id, + permission: null, + }); + const notification = await buildNotification({ + teamId: team.id, + userId: user.id, + collectionId: collection.id, + event: NotificationEventType.AddUserToCollection, + }); + + await new RevokeUserNotificationsTask().perform({ + userId: user.id, + collectionId: collection.id, + }); + + expect(await Notification.findByPk(notification.id)).toBeNull(); + }); + + it("should re-check all notifications when no scope is given", async () => { + const team = await buildTeam(); + const user = await buildUser({ teamId: team.id }); + const privateCollection = await buildCollection({ + teamId: team.id, + permission: null, + }); + const openCollection = await buildCollection({ + teamId: team.id, + permission: CollectionPermission.Read, + }); + const unreadable = await buildDocument({ + teamId: team.id, + collectionId: privateCollection.id, + }); + const readable = await buildDocument({ + teamId: team.id, + collectionId: openCollection.id, + }); + const revoked = await buildNotification({ + teamId: team.id, + userId: user.id, + documentId: unreadable.id, + }); + const retained = await buildNotification({ + teamId: team.id, + userId: user.id, + documentId: readable.id, + }); + const collectionNotification = await buildNotification({ + teamId: team.id, + userId: user.id, + collectionId: privateCollection.id, + event: NotificationEventType.AddUserToCollection, + }); + + await new RevokeUserNotificationsTask().perform({ userId: user.id }); + + expect(await Notification.findByPk(revoked.id)).toBeNull(); + expect(await Notification.findByPk(retained.id)).not.toBeNull(); + expect(await Notification.findByPk(collectionNotification.id)).toBeNull(); + }); + + it("should not revoke notifications outside of the given collection", async () => { + const team = await buildTeam(); + const user = await buildUser({ teamId: team.id }); + const collection = await buildCollection({ + teamId: team.id, + permission: null, + }); + const other = await buildCollection({ + teamId: team.id, + permission: null, + }); + const document = await buildDocument({ + teamId: team.id, + collectionId: other.id, + }); + const notification = await buildNotification({ + teamId: team.id, + userId: user.id, + documentId: document.id, + }); + + await new RevokeUserNotificationsTask().perform({ + userId: user.id, + collectionId: collection.id, + }); + + expect(await Notification.findByPk(notification.id)).not.toBeNull(); + }); + + it("should revoke notifications for a draft when scoped to the document", async () => { + const team = await buildTeam(); + const user = await buildUser({ teamId: team.id }); + const collection = await buildCollection({ + teamId: team.id, + permission: null, + }); + const document = await buildDraftDocument({ + teamId: team.id, + collectionId: collection.id, + }); + const notification = await buildNotification({ + teamId: team.id, + userId: user.id, + documentId: document.id, + }); + + await new RevokeUserNotificationsTask().perform({ + userId: user.id, + documentId: document.id, + }); + + expect(await Notification.findByPk(notification.id)).toBeNull(); + }); +}); diff --git a/server/queues/tasks/RevokeUserNotificationsTask.ts b/server/queues/tasks/RevokeUserNotificationsTask.ts new file mode 100644 index 0000000000..a56d8e1b94 --- /dev/null +++ b/server/queues/tasks/RevokeUserNotificationsTask.ts @@ -0,0 +1,194 @@ +import { Op } from "sequelize"; +import { compact, uniq } from "es-toolkit/compat"; +import Logger from "@server/logging/Logger"; +import { + Collection, + Document, + Event, + Notification, + User, +} from "@server/models"; +import { can } from "@server/policies"; +import { BaseTask, TaskPriority } from "./base/BaseTask"; + +export type RevokeScope = { + /** When provided, only notifications for this document, and its nested documents, are considered. */ + documentId?: string; + /** When provided, only notifications for this collection, and the documents within it, are considered. */ + collectionId?: string; +}; + +type Props = RevokeScope & { + /** The user whose notifications should be re-checked. */ + userId: string; +}; + +/** + * Destroys the notifications of a user that reference a document or collection they can no longer + * read, so that the record – which embeds the document title and text – does not outlive access. + */ +export default class RevokeUserNotificationsTask extends BaseTask { + public async perform({ userId, documentId, collectionId }: Props) { + const user = await User.findByPk(userId); + + if (!user) { + return; + } + + const notifications = await this.findInScope(userId, { + documentId, + collectionId, + }); + + const candidateIds = uniq( + compact(notifications.map((notification) => notification.documentId)) + ); + + // Documents that are no longer visible to the user are not returned by this query at all, in + // which case the notification is left alone – only a document that exists and is unreadable is + // grounds for revoking. Naming a scope replaces the default scope, so drafts are included. + const documents = candidateIds.length + ? await Document.scope({ + method: ["withMembership", user.id], + }).findAll({ + // The minimum needed to evaluate the read policy, alongside the memberships and + // collection loaded by the scope. + attributes: [ + "id", + "teamId", + "collectionId", + "createdById", + "publishedAt", + ], + where: { id: candidateIds }, + }) + : []; + + const unreadableDocumentIds = new Set( + documents + .filter((document) => !can(user, "read", document)) + .map((document) => document.id) + ); + + const revokeIds = notifications + .filter( + (notification) => + notification.documentId && + unreadableDocumentIds.has(notification.documentId) + ) + .map((notification) => notification.id); + + // Notifications about a collection itself carry no document, so are checked separately. + const collectionIds = uniq( + compact( + notifications + .filter((notification) => !notification.documentId) + .map((notification) => notification.collectionId) + ) + ); + + for (const id of collectionIds) { + const collection = await Collection.findByPk(id, { userId: user.id }); + if (collection && !can(user, "read", collection)) { + revokeIds.push( + ...notifications + .filter( + (notification) => + !notification.documentId && notification.collectionId === id + ) + .map((notification) => notification.id) + ); + } + } + + if (!revokeIds.length) { + return; + } + + Logger.debug( + "task", + `Revoking ${revokeIds.length} notifications for user ${user.id}` + ); + + await Notification.destroy({ where: { id: revokeIds } }); + + // Notify the client so the notification does not linger in the UI until the next reload. + await Promise.all( + revokeIds.map((id) => + Event.schedule({ + name: "notifications.delete", + modelId: id, + userId: user.id, + teamId: user.teamId, + }) + ) + ); + } + + public get options() { + return { + ...super.options, + priority: TaskPriority.Background, + }; + } + + /** + * Loads the user's notifications that fall within the given scope, joining through the document + * association so that the collection filter is applied in the database rather than in memory. + */ + private async findInScope(userId: string, scope: RevokeScope) { + const attributes = ["id", "documentId", "collectionId"]; + + if (scope.documentId) { + return Notification.unscoped().findAll({ + attributes, + where: { + userId, + documentId: await this.documentAndChildIds(scope.documentId), + }, + }); + } + + if (scope.collectionId) { + return Notification.unscoped().findAll({ + attributes, + where: { + userId, + [Op.or]: [ + { collectionId: scope.collectionId }, + { "$document.collectionId$": scope.collectionId }, + ], + }, + include: [ + { + model: Document.unscoped(), + as: "document", + attributes: [], + required: false, + paranoid: false, + }, + ], + }); + } + + return Notification.unscoped().findAll({ + attributes, + where: { userId }, + }); + } + + /** + * Returns the given document id along with the ids of all documents nested beneath it, as + * memberships – and therefore access – cascade to nested documents. + */ + private async documentAndChildIds(documentId: string) { + const document = Document.build({ id: documentId }); + + return [ + documentId, + ...(await document.findAllChildDocumentIds(undefined, { + paranoid: false, + })), + ]; + } +} diff --git a/server/types.ts b/server/types.ts index 119613ecbb..49037c1435 100644 --- a/server/types.ts +++ b/server/types.ts @@ -456,7 +456,10 @@ export type WebhookSubscriptionEvent = BaseEvent & { }; export type NotificationEvent = BaseEvent & { - name: "notifications.create" | "notifications.update"; + name: + | "notifications.create" + | "notifications.update" + | "notifications.delete"; modelId: string; teamId: string; userId: string; From 5956f2071398f312174bb28822d08e78096218d7 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 23 Aug 2026 21:20:52 -0400 Subject: [PATCH 14/85] fix: Return 404 for unhandled paths under the MCP endpoint (#13541) Unknown paths below /mcp, and the origin-level /sse probe, fell through to the catch-all and rendered the application shell with a 200. Remote MCP clients that probe for the legacy HTTP+SSE transport before falling back to streamable HTTP read that as a successful handshake, then fail to connect. --- server/routes/index.test.ts | 7 +++++++ server/routes/index.ts | 6 ++++++ server/routes/mcp/index.test.ts | 20 ++++++++++++++++++++ server/routes/mcp/index.ts | 7 +++++++ 4 files changed, 40 insertions(+) diff --git a/server/routes/index.test.ts b/server/routes/index.test.ts index 904d47e0fb..6e02ba44bf 100644 --- a/server/routes/index.test.ts +++ b/server/routes/index.test.ts @@ -341,6 +341,13 @@ describe("scanner path 404s", () => { expect(res.status).toEqual(200); }); + it("returns 404 for the legacy SSE transport probe", async () => { + const res = await server.get("/sse"); + const body = await res.text(); + expect(res.status).toEqual(404); + expect(body).not.toContain(""); + }); + it("still serves the OAuth well-known endpoint", async () => { const res = await server.get("/.well-known/oauth-authorization-server"); expect(res.status).toEqual(200); diff --git a/server/routes/index.ts b/server/routes/index.ts index 6151679a25..2785f12107 100644 --- a/server/routes/index.ts +++ b/server/routes/index.ts @@ -174,6 +174,12 @@ router.get( } ); +// MCP clients sometimes probe the origin for a legacy HTTP+SSE endpoint. The +// application shell is not a valid response to that probe, so answer with a 404. +router.get("/sse", (ctx) => { + ctx.status = 404; +}); + router.get("/robots.txt", (ctx) => { ctx.body = robotsResponse(); }); diff --git a/server/routes/mcp/index.test.ts b/server/routes/mcp/index.test.ts index 048c8f3d39..af3352b09a 100644 --- a/server/routes/mcp/index.test.ts +++ b/server/routes/mcp/index.test.ts @@ -81,6 +81,26 @@ describe("POST /mcp/", () => { expect(res.status).toEqual(405); }); + it.each(["/mcp/sse", "/mcp/message", "/mcp/manifest.json"])( + "should return 404 for %s without rendering the app shell", + async (path) => { + const res = await server.get(path); + const body = await res.text(); + expect(res.status).toEqual(404); + expect(body).not.toContain("<title>"); + } + ); + + it("should return 404 for POST to a path below the endpoint", async () => { + const { accessToken } = await buildOAuthUser(); + const { body } = mcpRequest("tools/list"); + const res = await server.post("/mcp/sse", { + headers: mcpHeaders(accessToken), + body, + }); + expect(res.status).toEqual(404); + }); + it("should handle initialize and return capabilities", async () => { const { accessToken } = await buildOAuthUser(); const { body } = mcpRequest("initialize", { diff --git a/server/routes/mcp/index.ts b/server/routes/mcp/index.ts index 0fe219bb96..55d248ec64 100644 --- a/server/routes/mcp/index.ts +++ b/server/routes/mcp/index.ts @@ -222,6 +222,13 @@ router.delete("/", async (ctx) => { ctx.body = { error: "Method not allowed. Use POST for MCP requests." }; }); +// Clients probing for a transport we do not implement, such as the legacy +// HTTP+SSE endpoints, must not fall through to the application shell +router.all("*", async (ctx) => { + ctx.status = 404; + ctx.body = { error: "Not found. MCP requests must be sent to /mcp." }; +}); + app.use(requestTracer()); app.use(bodyParser()); app.use(router.routes()); From 83dfea19538849029b9ce6c8875c8e37427b0243 Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Mon, 24 Aug 2026 16:59:36 -0400 Subject: [PATCH 15/85] fix: Round reading time up to the next minute (#13548) Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> --- app/hooks/useTextStats.test.ts | 5 +++++ app/hooks/useTextStats.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/hooks/useTextStats.test.ts b/app/hooks/useTextStats.test.ts index 63ea82146c..eeb56e1f67 100644 --- a/app/hooks/useTextStats.test.ts +++ b/app/hooks/useTextStats.test.ts @@ -27,4 +27,9 @@ describe("getTextStats", () => { it("rounds reading time up to a minute for short text", () => { expect(getTextStats("Hello world").readingTime).toBe(1); }); + + it("rounds reading time up to the next minute for long text", () => { + expect(getTextStats("word ".repeat(500)).readingTime).toBe(3); + expect(getTextStats("word ".repeat(400)).readingTime).toBe(2); + }); }); diff --git a/app/hooks/useTextStats.ts b/app/hooks/useTextStats.ts index 34d9ecdc23..4897d35b41 100644 --- a/app/hooks/useTextStats.ts +++ b/app/hooks/useTextStats.ts @@ -13,7 +13,7 @@ export function getTextStats(text: string) { words, characters: text.length, paragraphs: countParagraphs(text), - readingTime: words ? Math.max(1, Math.floor(words / 200)) : 0, + readingTime: Math.ceil(words / 200), }; } From 237c3c2e2d93eba30aee4576b939468cb386c8f5 Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Mon, 24 Aug 2026 16:59:50 -0400 Subject: [PATCH 16/85] fix: Ignore small movements on useSwipe hook (#13549) --- app/hooks/useSwipe.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/hooks/useSwipe.tsx b/app/hooks/useSwipe.tsx index c95d5d6af9..5c2b5b089a 100644 --- a/app/hooks/useSwipe.tsx +++ b/app/hooks/useSwipe.tsx @@ -1,6 +1,9 @@ import { isNumber } from "es-toolkit/compat"; import { useRef } from "react"; +/** Minimum distance in pixels that a touch must travel to count as a swipe. */ +const MinSwipeDistance = 40; + type Props = { onSwipeRight: () => void; onSwipeLeft: () => void; @@ -47,6 +50,12 @@ export default function useSwipe({ const dx = touchXEnd.current - touchXStart.current; const dy = touchYEnd.current - touchYStart.current; + // Ignore small movements so that a tap, or the start of a gesture, is not + // mistaken for a swipe. + if (Math.max(Math.abs(dx), Math.abs(dy)) < MinSwipeDistance) { + return; + } + const swipeRight = dx > 0 && Math.abs(dy) < Math.abs(dx); if (swipeRight) { resetTouchPoints(); From 5118b67b98233943cec50032139182fcd92deccf Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Mon, 24 Aug 2026 16:59:54 -0400 Subject: [PATCH 17/85] fix: Properly bind and unbind listeners in useHover (#13550) --- app/hooks/useHover.ts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/app/hooks/useHover.ts b/app/hooks/useHover.ts index eb52d30781..843d0a1510 100644 --- a/app/hooks/useHover.ts +++ b/app/hooks/useHover.ts @@ -38,10 +38,18 @@ const useHover = ({ ref, duration }: Props): boolean => { }); React.useEffect(() => { - if (ref.current) { - ref.current.onmouseenter = onMouseEnter; - ref.current.onmouseleave = onMouseLeave; + const element = ref.current; + if (!element) { + return; } + + element.addEventListener("mouseenter", onMouseEnter); + element.addEventListener("mouseleave", onMouseLeave); + + return () => { + element.removeEventListener("mouseenter", onMouseEnter); + element.removeEventListener("mouseleave", onMouseLeave); + }; }, [ref, onMouseEnter, onMouseLeave]); return hovered; From c807ae825bff81e55d50e5f6cf84b60885332341 Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Mon, 24 Aug 2026 16:59:59 -0400 Subject: [PATCH 18/85] fix: Hash and location state lost by useConsumeQueryParam (#13551) --- app/hooks/useConsumeQueryParam.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/hooks/useConsumeQueryParam.ts b/app/hooks/useConsumeQueryParam.ts index 21397dffda..2564df9748 100644 --- a/app/hooks/useConsumeQueryParam.ts +++ b/app/hooks/useConsumeQueryParam.ts @@ -1,5 +1,6 @@ import { useEffect, useRef } from "react"; import { useHistory } from "react-router-dom"; +import { patchLocation } from "~/utils/history"; import useQuery from "./useQuery"; /** @@ -20,13 +21,13 @@ export default function useConsumeQueryParam(name: string): string | null { if (value && !consumedRef.current) { consumedRef.current = true; - const params = new URLSearchParams(window.location.search); + const location = history.location; + const params = new URLSearchParams(location.search); params.delete(name); const search = params.toString(); - history.replace({ - pathname: window.location.pathname, - search: search ? `?${search}` : "", - }); + history.replace( + patchLocation(location, { search: search ? `?${search}` : "" }) + ); } }, [value, name, history]); From 09b043c6561dbf5c59641581e8af292ec5bd815f Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Mon, 24 Aug 2026 17:09:25 -0400 Subject: [PATCH 19/85] chore: Upgrade mermaid to 11.17.1 (#13553) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Upgrade mermaid to 11.17.1 Also bumps @mermaid-js/layout-elk to 0.2.3, which is the matching release, and dedupes katex — mermaid now requires ^0.16.47 where the project pinned ^0.16.45, which would otherwise ship two copies. Note that classDiagram now uses the unified (v2) renderer by default. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix: Hold @mermaid-js/layout-elk at 0.2.2 0.2.3 inlines its own copy of mermaid instead of importing the peer, which duplicates every diagram chunk and adds 3.4MB to the built bundle. Pinned exactly so the range cannot drift back onto it. --- package.json | 4 +-- yarn.lock | 71 ++++++++++++++++++++++++++++++++-------------------- 2 files changed, 46 insertions(+), 29 deletions(-) diff --git a/package.json b/package.json index 1fe812d755..4fada4b313 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "@hocuspocus/server": "1.1.3", "@juggle/resize-observer": "^3.4.0", "@linear/sdk": "^58.1.0", - "@mermaid-js/layout-elk": "^0.2.2", + "@mermaid-js/layout-elk": "0.2.2", "@modelcontextprotocol/sdk": "^1.25.3", "@node-oauth/oauth2-server": "^5.3.0", "@notionhq/client": "^2.3.0", @@ -177,7 +177,7 @@ "markdown-it": "^14.3.0", "markdown-it-container": "^3.0.0", "markdown-it-emoji": "^3.0.0", - "mermaid": "11.16.1", + "mermaid": "11.17.1", "mime-types": "^3.0.2", "mobx": "^4.15.7", "mobx-react": "^6.3.1", diff --git a/yarn.lock b/yarn.lock index f834e7e99f..5291ce2b60 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2875,7 +2875,7 @@ __metadata: languageName: node linkType: hard -"@mermaid-js/layout-elk@npm:^0.2.2": +"@mermaid-js/layout-elk@npm:0.2.2": version: 0.2.2 resolution: "@mermaid-js/layout-elk@npm:0.2.2" dependencies: @@ -2887,12 +2887,12 @@ __metadata: languageName: node linkType: hard -"@mermaid-js/parser@npm:^1.2.0": - version: 1.2.0 - resolution: "@mermaid-js/parser@npm:1.2.0" +"@mermaid-js/parser@npm:^1.2.1": + version: 1.2.1 + resolution: "@mermaid-js/parser@npm:1.2.1" dependencies: "@chevrotain/types": "npm:~11.1.2" - checksum: 10c0/907d41167b23160c88f292b0dd79162d2543445ecf1d784ed09747467705666669f818e3ab91e1182da2127720fb40cb707e6fd56e8a445020fd3e7b8b16f013 + checksum: 10c0/a28e72f874670accb15e057b1802ac917f5d80d3e9b4be9a5094833ee0239d1290ff31c2d50236e909cbd42bea4550c7872d2bfcec0bc0588df6e34ba5dc0498 languageName: node linkType: hard @@ -9600,10 +9600,10 @@ __metadata: languageName: node linkType: hard -"cytoscape@npm:^3.33.3": - version: 3.34.0 - resolution: "cytoscape@npm:3.34.0" - checksum: 10c0/cb17b3dcacb9492f058cff653debf7b5a713e7532a9866cc72ae79d207757e8a9b68430874fe986f2a6404a8161b4fb5c1a2f1ca9ac5b1a21e316f57ed9d1243 +"cytoscape@npm:^3.34.0": + version: 3.34.1 + resolution: "cytoscape@npm:3.34.1" + checksum: 10c0/1fefc274d8fbbb59273606d71e7875bfe6d7b7f3cafbd5af0083b1b19a431af93440c7273c0896ce5002ccdd54e28cfa4b0d54638017c69ebba0c1860a1c282b languageName: node linkType: hard @@ -10030,10 +10030,10 @@ __metadata: languageName: node linkType: hard -"dayjs@npm:^1.11.20": - version: 1.11.21 - resolution: "dayjs@npm:1.11.21" - checksum: 10c0/bd97dfdc4bfea3c66268635690313828b386faa040fbc1f829ff42a2bd748b72c9d9b3c8f9616ce9e61fcb78923f1461a462c969c54b1084458ae1b715898fb0 +"dayjs@npm:^1.11.21": + version: 1.11.23 + resolution: "dayjs@npm:1.11.23" + checksum: 10c0/69ab04bf19c676e44ab50cc2fca223d265f3dafd107151ef3b0f3ad74d360c37caa602abe62f87cb25d90bd9f6bee003698af47df5b0dbf10a998b7b5f3bb3f1 languageName: node linkType: hard @@ -11317,6 +11317,15 @@ __metadata: languageName: node linkType: hard +"fastdom@npm:1.0.12": + version: 1.0.12 + resolution: "fastdom@npm:1.0.12" + dependencies: + strictdom: "npm:^1.0.1" + checksum: 10c0/d1727eb5d803aa0e1dc9a98b2eef1f138bad3776fa7471145216dba34f435f86e8e514658d0b1717fa83a987f44a8d26f2353a515f2bf782f32d3c9ead6d1994 + languageName: node + linkType: hard + "fastq@npm:^1.13.0": version: 1.19.1 resolution: "fastq@npm:1.19.1" @@ -13669,14 +13678,14 @@ __metadata: languageName: node linkType: hard -"katex@npm:^0.16.45": - version: 0.16.45 - resolution: "katex@npm:0.16.45" +"katex@npm:^0.16.45, katex@npm:^0.16.47": + version: 0.16.47 + resolution: "katex@npm:0.16.47" dependencies: commander: "npm:^8.3.0" bin: katex: cli.js - checksum: 10c0/f715eb9a73daff68ac14dcc8c2f47f02f5fc756a74077d22479e64e06872b2b44f0d81f1c91a98a9873722a08841388a869a0b9ddb96b224362eb8054ddf533a + checksum: 10c0/b10f4d0651c60771a48444879e4227255e26e2b2ec061b1ee4b08934863ad2324ba8dbb772455f7768aeb14dfcc13bcd309174a0ddd5ef954a607f644a197710 languageName: node linkType: hard @@ -14622,32 +14631,33 @@ __metadata: languageName: node linkType: hard -"mermaid@npm:11.16.1": - version: 11.16.1 - resolution: "mermaid@npm:11.16.1" +"mermaid@npm:11.17.1": + version: 11.17.1 + resolution: "mermaid@npm:11.17.1" dependencies: "@braintree/sanitize-url": "npm:^7.1.2" "@iconify/utils": "npm:^3.0.2" - "@mermaid-js/parser": "npm:^1.2.0" + "@mermaid-js/parser": "npm:^1.2.1" "@types/d3": "npm:^7.4.3" "@upsetjs/venn.js": "npm:^2.0.0" - cytoscape: "npm:^3.33.3" + cytoscape: "npm:^3.34.0" cytoscape-cose-bilkent: "npm:^4.1.0" cytoscape-fcose: "npm:^2.2.0" d3: "npm:^7.9.0" d3-sankey: "npm:^0.12.3" dagre-d3-es: "npm:7.0.14" - dayjs: "npm:^1.11.20" + dayjs: "npm:^1.11.21" dompurify: "npm:^3.3.3" es-toolkit: "npm:^1.45.1" - katex: "npm:^0.16.45" + fastdom: "npm:1.0.12" + katex: "npm:^0.16.47" khroma: "npm:^2.1.0" marked: "npm:^16.3.0" roughjs: "npm:^4.6.6" stylis: "npm:^4.3.6" ts-dedent: "npm:^2.2.0" uuid: "npm:^11.1.0 || ^12 || ^13 || ^14.0.0" - checksum: 10c0/a905627d5ad372914bf7c67cb9e491d50f248d3a8458e4ec920033f5ce7387bf419423909ed71d88f54a035ec42987746d64a46055bd2b2a4dc1bc4ceed38c44 + checksum: 10c0/7e09c9981f31ee74a76dc6fde5bd50b2f2b417345342753aad834d119190daf3e3ea648f9fec6f404c1e56e384cf90dc05fc55792a46fe8f3350acef57befd8a languageName: node linkType: hard @@ -15587,7 +15597,7 @@ __metadata: "@hocuspocus/server": "npm:1.1.3" "@juggle/resize-observer": "npm:^3.4.0" "@linear/sdk": "npm:^58.1.0" - "@mermaid-js/layout-elk": "npm:^0.2.2" + "@mermaid-js/layout-elk": "npm:0.2.2" "@modelcontextprotocol/sdk": "npm:^1.25.3" "@node-oauth/oauth2-server": "npm:^5.3.0" "@notionhq/client": "npm:^2.3.0" @@ -15757,7 +15767,7 @@ __metadata: markdown-it: "npm:^14.3.0" markdown-it-container: "npm:^3.0.0" markdown-it-emoji: "npm:^3.0.0" - mermaid: "npm:11.16.1" + mermaid: "npm:11.17.1" mime-types: "npm:^3.0.2" mobx: "npm:^4.15.7" mobx-react: "npm:^6.3.1" @@ -19225,6 +19235,13 @@ __metadata: languageName: node linkType: hard +"strictdom@npm:^1.0.1": + version: 1.0.1 + resolution: "strictdom@npm:1.0.1" + checksum: 10c0/3006ffccaa89ecc0ce2679d2726b7ea4901faa91152bf0211d11685de1c710f09a178c9dbc5ab1496e6101b686192595ff2aa78f128a814fd838793e4f29edc5 + languageName: node + linkType: hard + "string-argv@npm:^0.3.2, string-argv@npm:~0.3.1": version: 0.3.2 resolution: "string-argv@npm:0.3.2" From e141280d41b5c2f9b8e1b5f382c7aef5c430ad67 Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Mon, 24 Aug 2026 17:11:13 -0400 Subject: [PATCH 20/85] fix: Stop reporting expected IndexedDB connection closures (#13552) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The browser closes IndexedDB connections at times the page does not control – a frozen or discarded tab, a navigation away, or another tab deleting the database at logout. Persisted store data is a cache that API traffic always overrides, so these failures have no effect for the user, but each one was reported to Sentry as a warning. - Log connection closed failures at debug level instead of reporting them - Delete the database in clear() rather than emptying it through a transaction, which cannot fail against a closed connection - Keep persistence enabled when hydration fails on a closed connection, rather than disabling it for the rest of the session Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> --- app/stores/base/StorePersistence.test.ts | 21 +++++++++ app/stores/base/StorePersistence.ts | 54 +++++++++++++++++------- 2 files changed, 59 insertions(+), 16 deletions(-) diff --git a/app/stores/base/StorePersistence.test.ts b/app/stores/base/StorePersistence.test.ts index df95a9fe3e..4201972214 100644 --- a/app/stores/base/StorePersistence.test.ts +++ b/app/stores/base/StorePersistence.test.ts @@ -243,6 +243,27 @@ describe("StorePersistence", () => { expect(target.policies.orderedData).toHaveLength(0); }); + + it("clear leaves no database behind for a closed connection to fail against", async () => { + const teamId = "team-11"; + const source = new RootStore(); + const persistence = new StorePersistence(source.policies, teamId); + const databaseName = StorePersistence.databaseName( + source.policies.apiEndpoint, + teamId + ); + + source.policies.add({ id: "doc-1", abilities: { read: true } }); + persistence.persist("doc-1"); + await persistence.flush(); + + await persistence.clear(); + + const databases = await indexedDB.databases(); + expect(databases.map((database) => database.name)).not.toContain( + databaseName + ); + }); }); /** Writes raw records into a database, bypassing the store. */ diff --git a/app/stores/base/StorePersistence.ts b/app/stores/base/StorePersistence.ts index bc66c9b5bf..f51016509c 100644 --- a/app/stores/base/StorePersistence.ts +++ b/app/stores/base/StorePersistence.ts @@ -62,11 +62,11 @@ export default class StorePersistence<T extends Model> { this.store.add(this.store.model.fromPersisted<T>(record)); } } catch (err) { - this.disabled = true; - Logger.warn("Failed to hydrate store from IndexedDB", { - database: this.name, - error: err, - }); + // A closed connection is transient, a later write reopens the database. + if (!isConnectionClosedError(err)) { + this.disabled = true; + } + this.report("Failed to hydrate store from IndexedDB", err); } finally { this.hydrating = false; } @@ -115,10 +115,7 @@ export default class StorePersistence<T extends Model> { return promisifyTransaction(objectStore.transaction); }); } catch (err) { - Logger.warn("Failed to write store to IndexedDB", { - database: this.name, - error: err, - }); + this.report("Failed to write store to IndexedDB", err); } }; @@ -129,21 +126,27 @@ export default class StorePersistence<T extends Model> { */ public clear = async (): Promise<void> => { this.dirty.clear(); + this.scheduleFlush.cancel(); if (this.disabled) { return; } + // The database is deleted rather than emptied through a transaction, as a + // deletion cannot fail against a connection the browser has closed. + this.close(); + try { - await this.transaction("readwrite", (objectStore) => { - objectStore.clear(); - return promisifyTransaction(objectStore.transaction); + await new Promise<void>((resolve, reject) => { + const request = window.indexedDB.deleteDatabase(this.name); + request.onsuccess = () => resolve(); + request.onerror = () => reject(request.error); + // Another tab holds a connection, which it closes in response to the + // versionchange event, and the deletion completes without us. + request.onblocked = () => resolve(); }); } catch (err) { - Logger.warn("Failed to clear persisted store in IndexedDB", { - database: this.name, - error: err, - }); + this.report("Failed to clear persisted store in IndexedDB", err); } }; @@ -258,6 +261,25 @@ export default class StorePersistence<T extends Model> { this.database = undefined; }; + /** + * Logs an operation that failed against the database. The browser closes + * connections at times the page does not control, such as when the tab is + * frozen or discarded, so those failures are expected and are not reported. + * + * @param message a description of the operation that failed. + * @param err the error that was thrown. + */ + private report = (message: string, err: unknown) => { + const extra = { database: this.name, error: err }; + + if (isConnectionClosedError(err)) { + Logger.debug("store", message, extra); + return; + } + + Logger.warn(message, extra); + }; + private scheduleFlush = debounce(() => void this.flush(), FLUSH_DELAY_MS); private store: Store<T>; From 0132f0dcb8d12e3f9f5692a1ecafe33a457671c9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Aug 2026 17:23:20 -0400 Subject: [PATCH 21/85] chore(deps): bump @octokit/auth-app from 8.2.0 to 8.3.0 (#13547) Bumps [@octokit/auth-app](https://github.com/octokit/auth-app.js) from 8.2.0 to 8.3.0. - [Release notes](https://github.com/octokit/auth-app.js/releases) - [Commits](https://github.com/octokit/auth-app.js/compare/v8.2.0...v8.3.0) --- updated-dependencies: - dependency-name: "@octokit/auth-app" dependency-version: 8.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 122 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4fada4b313..ceba5ece18 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "@modelcontextprotocol/sdk": "^1.25.3", "@node-oauth/oauth2-server": "^5.3.0", "@notionhq/client": "^2.3.0", - "@octokit/auth-app": "^8.2.0", + "@octokit/auth-app": "^8.3.0", "@octokit/webhooks-types": "^7.6.1", "@outlinewiki/koa-passport": "^4.2.1", "@outlinewiki/passport-azure-ad-oauth2": "^0.1.0", diff --git a/yarn.lock b/yarn.lock index 5291ce2b60..e488085f65 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3313,7 +3313,7 @@ __metadata: languageName: node linkType: hard -"@octokit/auth-app@npm:^8.1.2, @octokit/auth-app@npm:^8.2.0": +"@octokit/auth-app@npm:^8.1.2": version: 8.2.0 resolution: "@octokit/auth-app@npm:8.2.0" dependencies: @@ -3329,6 +3329,22 @@ __metadata: languageName: node linkType: hard +"@octokit/auth-app@npm:^8.3.0": + version: 8.3.0 + resolution: "@octokit/auth-app@npm:8.3.0" + dependencies: + "@octokit/auth-oauth-app": "npm:^9.0.4" + "@octokit/auth-oauth-user": "npm:^6.0.3" + "@octokit/request": "npm:^10.0.13" + "@octokit/request-error": "npm:^7.1.1" + "@octokit/types": "npm:^17.0.0" + toad-cache: "npm:^3.7.0" + universal-github-app-jwt: "npm:^2.2.0" + universal-user-agent: "npm:^7.0.0" + checksum: 10c0/cc74d6d54abb9e0f65b80d67c437dc4617379ed3a875904edb41b63f298627ac0cf8f6b66b07773d4a48bdec24c8f39674281a11b362e73b82c41728e9a7a519 + languageName: node + linkType: hard + "@octokit/auth-oauth-app@npm:^9.0.2, @octokit/auth-oauth-app@npm:^9.0.3": version: 9.0.3 resolution: "@octokit/auth-oauth-app@npm:9.0.3" @@ -3342,6 +3358,19 @@ __metadata: languageName: node linkType: hard +"@octokit/auth-oauth-app@npm:^9.0.4": + version: 9.0.4 + resolution: "@octokit/auth-oauth-app@npm:9.0.4" + dependencies: + "@octokit/auth-oauth-device": "npm:^8.0.4" + "@octokit/auth-oauth-user": "npm:^6.0.3" + "@octokit/request": "npm:^10.0.13" + "@octokit/types": "npm:^17.0.0" + universal-user-agent: "npm:^7.0.0" + checksum: 10c0/752993bc65170fa71038d3f3e0dfedf9a8e05b491316335461692b770cf1b2362057d7d2686ff3b278064fdd2b0dc4b2b0151f095ffd1aa329c19223ee12356e + languageName: node + linkType: hard + "@octokit/auth-oauth-device@npm:^8.0.3": version: 8.0.3 resolution: "@octokit/auth-oauth-device@npm:8.0.3" @@ -3354,6 +3383,18 @@ __metadata: languageName: node linkType: hard +"@octokit/auth-oauth-device@npm:^8.0.4": + version: 8.0.4 + resolution: "@octokit/auth-oauth-device@npm:8.0.4" + dependencies: + "@octokit/oauth-methods": "npm:^6.0.3" + "@octokit/request": "npm:^10.0.13" + "@octokit/types": "npm:^17.0.0" + universal-user-agent: "npm:^7.0.0" + checksum: 10c0/881641864e07f1d7f93e383c94f8315ddc63ec7b8090fea590db67f217dcc8503abfa879caa2101ceea057b84138fdec7d531ad3bfd61fc08cbc84d26ec75b8d + languageName: node + linkType: hard + "@octokit/auth-oauth-user@npm:^6.0.1, @octokit/auth-oauth-user@npm:^6.0.2": version: 6.0.2 resolution: "@octokit/auth-oauth-user@npm:6.0.2" @@ -3367,6 +3408,19 @@ __metadata: languageName: node linkType: hard +"@octokit/auth-oauth-user@npm:^6.0.3": + version: 6.0.3 + resolution: "@octokit/auth-oauth-user@npm:6.0.3" + dependencies: + "@octokit/auth-oauth-device": "npm:^8.0.4" + "@octokit/oauth-methods": "npm:^6.0.3" + "@octokit/request": "npm:^10.0.13" + "@octokit/types": "npm:^17.0.0" + universal-user-agent: "npm:^7.0.0" + checksum: 10c0/1a97479716b4b83af36ffc866f50f800b8a332d0c89e46510d79088272474e60f954a2a4300ee387d72e6e13e7f7a9b816b960d9dc3400149d13adddcb48c82e + languageName: node + linkType: hard + "@octokit/auth-token@npm:^6.0.0": version: 6.0.0 resolution: "@octokit/auth-token@npm:6.0.0" @@ -3455,6 +3509,18 @@ __metadata: languageName: node linkType: hard +"@octokit/oauth-methods@npm:^6.0.3": + version: 6.0.4 + resolution: "@octokit/oauth-methods@npm:6.0.4" + dependencies: + "@octokit/oauth-authorization-url": "npm:^8.0.0" + "@octokit/request": "npm:^10.0.13" + "@octokit/request-error": "npm:^7.1.1" + "@octokit/types": "npm:^17.0.0" + checksum: 10c0/ae4359120dcca8faf59598f5eb0cecad0947d076fa69352677588570a80a8e5c35f080513add57692a324318ad7f0747496e83b1b76742542bd8e7331f744d03 + languageName: node + linkType: hard + "@octokit/openapi-types@npm:^27.0.0": version: 27.0.0 resolution: "@octokit/openapi-types@npm:27.0.0" @@ -3462,6 +3528,13 @@ __metadata: languageName: node linkType: hard +"@octokit/openapi-types@npm:^28.0.0": + version: 28.0.0 + resolution: "@octokit/openapi-types@npm:28.0.0" + checksum: 10c0/1cb8d105a4771df98ab3f34809b48ae6fafa516e66b9e6d9e0c5bc5f4fbb98dd209ad25c6e941745841b7bb20a35b799d155ec198028548fab1c4fd4e4f8cf9f + languageName: node + linkType: hard + "@octokit/openapi-webhooks-types@npm:12.1.0": version: 12.1.0 resolution: "@octokit/openapi-webhooks-types@npm:12.1.0" @@ -3534,6 +3607,29 @@ __metadata: languageName: node linkType: hard +"@octokit/request-error@npm:^7.1.1": + version: 7.1.1 + resolution: "@octokit/request-error@npm:7.1.1" + dependencies: + "@octokit/types": "npm:^17.0.0" + checksum: 10c0/b851dfd17d95394258a279225ff7e23345d59aca78064fb7dfd4f2a129db328880b4b7fb44c9d873e89dc40a0498e6efa56c3063899efa18bc97fa2f8e0825c1 + languageName: node + linkType: hard + +"@octokit/request@npm:^10.0.13": + version: 10.0.15 + resolution: "@octokit/request@npm:10.0.15" + dependencies: + "@octokit/endpoint": "npm:^11.0.3" + "@octokit/request-error": "npm:^7.1.1" + "@octokit/types": "npm:^17.0.0" + content-type: "npm:^3.0.0" + json-with-bigint: "npm:^3.5.12" + universal-user-agent: "npm:^7.0.2" + checksum: 10c0/daede4048e4362f5ebe6aec86d64c1d1f6b7ce7ed7950fbe7ca758cf378d5a07f4710c7da0df1af3b08437033b44d767eba68ef4f8e1bd1667fa0141785eaa7c + languageName: node + linkType: hard + "@octokit/request@npm:^10.0.6": version: 10.0.9 resolution: "@octokit/request@npm:10.0.9" @@ -3558,6 +3654,15 @@ __metadata: languageName: node linkType: hard +"@octokit/types@npm:^17.0.0": + version: 17.0.0 + resolution: "@octokit/types@npm:17.0.0" + dependencies: + "@octokit/openapi-types": "npm:^28.0.0" + checksum: 10c0/fb190b7ef48dcc974c4178a92b62c76a5c820c120607e1812f2c76adeeab5af4c13b645e37a5f54d66b0222b2a58399cb91fa2fd1d375270f77c7987a9cfd231 + languageName: node + linkType: hard + "@octokit/webhooks-methods@npm:^6.0.0": version: 6.0.0 resolution: "@octokit/webhooks-methods@npm:6.0.0" @@ -9345,6 +9450,13 @@ __metadata: languageName: node linkType: hard +"content-type@npm:^3.0.0": + version: 3.0.0 + resolution: "content-type@npm:3.0.0" + checksum: 10c0/4ecb17b151ef272fe3143d2414b78edeea9c7baa45724e2bbcbfc0dbd4bbc5b68d654733df6df2d9c600016af841a25aa26b0a4d290e366b5120705796072d98 + languageName: node + linkType: hard + "convert-hrtime@npm:^5.0.0": version: 5.0.0 resolution: "convert-hrtime@npm:5.0.0" @@ -13572,6 +13684,13 @@ __metadata: languageName: node linkType: hard +"json-with-bigint@npm:^3.5.12": + version: 3.5.12 + resolution: "json-with-bigint@npm:3.5.12" + checksum: 10c0/3c205a445ee946bbe2409fb3e1840617eb0bac9086934ed55fefbd584c8d5bfd288bdc9a44acc8e5ca4d1ccf83b5c2ebd63add5ef4b5ca656ef4f968bf832e79 + languageName: node + linkType: hard + "json-with-bigint@npm:^3.5.3": version: 3.5.8 resolution: "json-with-bigint@npm:3.5.8" @@ -15601,7 +15720,7 @@ __metadata: "@modelcontextprotocol/sdk": "npm:^1.25.3" "@node-oauth/oauth2-server": "npm:^5.3.0" "@notionhq/client": "npm:^2.3.0" - "@octokit/auth-app": "npm:^8.2.0" + "@octokit/auth-app": "npm:^8.3.0" "@octokit/webhooks-types": "npm:^7.6.1" "@outlinewiki/koa-passport": "npm:^4.2.1" "@outlinewiki/passport-azure-ad-oauth2": "npm:^0.1.0" From 2a5571adbc3a408feabda0e70b73b911eaf09f05 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Aug 2026 17:23:30 -0400 Subject: [PATCH 22/85] chore(deps): bump dd-trace from 5.117.0 to 5.123.0 (#13546) Bumps [dd-trace](https://github.com/DataDog/dd-trace-js) from 5.117.0 to 5.123.0. - [Release notes](https://github.com/DataDog/dd-trace-js/releases) - [Commits](https://github.com/DataDog/dd-trace-js/compare/v5.117.0...v5.123.0) --- updated-dependencies: - dependency-name: dd-trace dependency-version: 5.123.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 88 +++++++++++++++++----------------------------------- 2 files changed, 30 insertions(+), 60 deletions(-) diff --git a/package.json b/package.json index ceba5ece18..6347615443 100644 --- a/package.json +++ b/package.json @@ -129,7 +129,7 @@ "core-js": "^3.49.0", "crypto-js": "^4.2.0", "date-fns": "^3.6.0", - "dd-trace": "^5.117.0", + "dd-trace": "^5.123.0", "diff": "^5.2.2", "email-providers": "^1.14.0", "emoji-mart": "^5.6.0", diff --git a/yarn.lock b/yarn.lock index e488085f65..2e61ad8392 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1680,19 +1680,10 @@ __metadata: languageName: node linkType: hard -"@datadog/flagging-core@npm:1.2.1": - version: 1.2.1 - resolution: "@datadog/flagging-core@npm:1.2.1" - dependencies: - spark-md5: "npm:^3.0.2" - checksum: 10c0/105dd13dcb8b241e5ed1a76c4d9b3a43bf4f6867af5893e3ae92bb98344907adca3a2b7c3d04511762012459b0803fb9e82feded5cf8eebfac7122de6a27eeff - languageName: node - linkType: hard - -"@datadog/libdatadog@npm:0.9.4": - version: 0.9.4 - resolution: "@datadog/libdatadog@npm:0.9.4" - checksum: 10c0/f1dbfb960f3249d4ae8f8f7f110ad1ea22ef3e71667dc6b7ea00f6f02651660f9deec593a534a2f35ac2b0c279baa7e86a45d42de75f31d11c3c8124ec6c3948 +"@datadog/libdatadog@npm:0.12.1": + version: 0.12.1 + resolution: "@datadog/libdatadog@npm:0.12.1" + checksum: 10c0/92bb0b0d011d78d3166ffbe07d3f531de355b3b65ee311143ad1bc91754ab0de04582152522da40e0fbb227b0f5386826d8b1fc82ca61552f2d951ae642ee66b languageName: node linkType: hard @@ -1727,38 +1718,27 @@ __metadata: languageName: node linkType: hard -"@datadog/openfeature-node-server@npm:2.0.0": - version: 2.0.0 - resolution: "@datadog/openfeature-node-server@npm:2.0.0" - dependencies: - "@datadog/flagging-core": "npm:1.2.1" - peerDependencies: - "@openfeature/server-sdk": ">=1.15.1" - checksum: 10c0/5126bcf3e8907f5dc5d0839c88f4a9998984ce296f0766d39ee0cbee6fc01de2814c857d76de776df6600a3d58175d522566019675437340615011995e80a050 - languageName: node - linkType: hard - -"@datadog/pprof@npm:5.17.0": - version: 5.17.0 - resolution: "@datadog/pprof@npm:5.17.0" +"@datadog/pprof@npm:5.18.1": + version: 5.18.1 + resolution: "@datadog/pprof@npm:5.18.1" dependencies: node-gyp: "npm:latest" node-gyp-build: "npm:^4.8.4" - pprof-format: "npm:^2.2.1" + pprof-format: "npm:^2.3.1" source-map: "npm:^0.8.0" - checksum: 10c0/e3e405dbf387c748ed3c5f976d7a3c487233d6c9866f4125b9a008e32d174c7657c7c81925a1a1239684b4eb3bebcd2694d53bbe99b04514c93de61856e0aa02 + checksum: 10c0/fdc0fcbe0465acbdfbd37d2084faef3e53d0579cd4fc5d1140081a8b9c23fa58b66e610e910e5bf5e73becf59ab0c7e8cfb5d37fe4a702237e31d194b2cad93a languageName: node linkType: hard -"@datadog/wasm-js-rewriter@npm:5.0.1": - version: 5.0.1 - resolution: "@datadog/wasm-js-rewriter@npm:5.0.1" +"@datadog/wasm-js-rewriter@npm:5.0.3": + version: 5.0.3 + resolution: "@datadog/wasm-js-rewriter@npm:5.0.3" dependencies: - js-yaml: "npm:^4.1.0" + js-yaml: "npm:^4.3.1" lru-cache: "npm:^7.14.0" - module-details-from-path: "npm:^1.0.3" - node-gyp-build: "npm:^4.5.0" - checksum: 10c0/e5f665f53b8d292efe85ac401f56923112860cfd14c5d84097ad22e1b86c8a30f3cd39cc92e1ec6e8f5f9de5fef028af46554752d8ae2d0f80b7c3a44827f0db + module-details-from-path: "npm:^1.0.4" + node-gyp-build: "npm:^4.8.4" + checksum: 10c0/59bcf6a0da066dfc7a8fa6c2642f97e534f5927de54edbd5e69c2d00a9563a0a452559874332d1a4c7931bd02dec92840f65e7c69924e5b7f78bd997a230f42d languageName: node linkType: hard @@ -10156,17 +10136,16 @@ __metadata: languageName: node linkType: hard -"dd-trace@npm:^5.117.0": - version: 5.117.0 - resolution: "dd-trace@npm:5.117.0" +"dd-trace@npm:^5.123.0": + version: 5.123.0 + resolution: "dd-trace@npm:5.123.0" dependencies: - "@datadog/libdatadog": "npm:0.9.4" + "@datadog/libdatadog": "npm:0.12.1" "@datadog/native-appsec": "npm:11.0.1" "@datadog/native-iast-taint-tracking": "npm:4.2.0" "@datadog/native-metrics": "npm:3.1.2" - "@datadog/openfeature-node-server": "npm:2.0.0" - "@datadog/pprof": "npm:5.17.0" - "@datadog/wasm-js-rewriter": "npm:5.0.1" + "@datadog/pprof": "npm:5.18.1" + "@datadog/wasm-js-rewriter": "npm:5.0.3" "@opentelemetry/api": "npm:>=1.0.0 <1.10.0" "@opentelemetry/api-logs": "npm:<1.0.0" dc-polyfill: "npm:^0.1.11" @@ -10182,8 +10161,6 @@ __metadata: optional: true "@datadog/native-metrics": optional: true - "@datadog/openfeature-node-server": - optional: true "@datadog/pprof": optional: true "@datadog/wasm-js-rewriter": @@ -10194,7 +10171,7 @@ __metadata: optional: true oxc-parser: optional: true - checksum: 10c0/14a4dff5897accf5953cfbc7244407ed0ffe25e7e65d0e62f8abfb09d99ce1b0c8f2e7c5c44266cd63e1fd9ef4e0a39fbb76fa73acdc16ea5ebf34d485a9b7ea + checksum: 10c0/cd8e13e6e3ed391b3d360ab84856c7d0dd3ee200bd653eb72923001ebfcb13fc8229f101fd0ad1714984ed992936b0650c8205e4ddffdb67d3046a6be3536216 languageName: node linkType: hard @@ -15323,7 +15300,7 @@ __metadata: languageName: node linkType: hard -"node-gyp-build@npm:^4.5.0, node-gyp-build@npm:^4.8.4": +"node-gyp-build@npm:^4.8.4": version: 4.8.4 resolution: "node-gyp-build@npm:4.8.4" bin: @@ -15832,7 +15809,7 @@ __metadata: core-js: "npm:^3.49.0" crypto-js: "npm:^4.2.0" date-fns: "npm:^3.6.0" - dd-trace: "npm:^5.117.0" + dd-trace: "npm:^5.123.0" diff: "npm:^5.2.2" discord-api-types: "npm:^0.38.48" email-providers: "npm:^1.14.0" @@ -16985,10 +16962,10 @@ __metadata: languageName: node linkType: hard -"pprof-format@npm:^2.2.1": - version: 2.2.1 - resolution: "pprof-format@npm:2.2.1" - checksum: 10c0/1c8051b3e3ebba1ac2b8d7cf0a84ce501fdabe5e72a803c7daa6ddf67cbee33e9b5d6dbc6ffbeb740e3e56600c875f372576304ed718a4ffa4c89c18185494ae +"pprof-format@npm:^2.3.1": + version: 2.3.1 + resolution: "pprof-format@npm:2.3.1" + checksum: 10c0/5372d63b5c3152c550a79edd132c1f99be766df5558b14a1a85904756bd9fd12f26e41e861c223742693724aaec5f9395983500ef1566577a32490e175110d99 languageName: node linkType: hard @@ -19184,13 +19161,6 @@ __metadata: languageName: node linkType: hard -"spark-md5@npm:^3.0.2": - version: 3.0.2 - resolution: "spark-md5@npm:3.0.2" - checksum: 10c0/3fd11735eac5e7d60d6006d99ac0a055f148a89e9baf5f0b51ac103022dec30556b44190b37f6737ca50f81e8e50dc13e724f9edf6290c412ff5ab2101ce7780 - languageName: node - linkType: hard - "spawn-command@npm:0.0.2": version: 0.0.2 resolution: "spawn-command@npm:0.0.2" From dd2c2249630455a91c0623c74567b985abf2c2ad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Aug 2026 17:23:41 -0400 Subject: [PATCH 23/85] chore(deps): bump react-hook-form from 7.76.0 to 7.85.0 (#13545) Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.76.0 to 7.85.0. - [Release notes](https://github.com/react-hook-form/react-hook-form/releases) - [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md) - [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.76.0...v7.85.0) --- updated-dependencies: - dependency-name: react-hook-form dependency-version: 7.85.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 6347615443..c3fed8ca6e 100644 --- a/package.json +++ b/package.json @@ -226,7 +226,7 @@ "react-dom": "^17.0.2", "react-dropzone": "^11.7.1", "react-helmet-async": "^2.0.5", - "react-hook-form": "^7.76.0", + "react-hook-form": "^7.85.0", "react-i18next": "^12.3.1", "react-is": "^17.0.2", "react-merge-refs": "^2.1.1", diff --git a/yarn.lock b/yarn.lock index 2e61ad8392..f4638ec868 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15918,7 +15918,7 @@ __metadata: react-dom: "npm:^17.0.2" react-dropzone: "npm:^11.7.1" react-helmet-async: "npm:^2.0.5" - react-hook-form: "npm:^7.76.0" + react-hook-form: "npm:^7.85.0" react-i18next: "npm:^12.3.1" react-is: "npm:^17.0.2" react-merge-refs: "npm:^2.1.1" @@ -17523,12 +17523,12 @@ __metadata: languageName: node linkType: hard -"react-hook-form@npm:^7.76.0": - version: 7.76.0 - resolution: "react-hook-form@npm:7.76.0" +"react-hook-form@npm:^7.85.0": + version: 7.85.0 + resolution: "react-hook-form@npm:7.85.0" peerDependencies: react: ^16.8.0 || ^17 || ^18 || ^19 - checksum: 10c0/b78ff45a5beca6a954d8ef513031c484f9f30f726c174957228866c9faf0528e24dd5523dac850a8dd6db46753ca3485aae0cd61772f9a131a1a77293bb6931c + checksum: 10c0/53e81f4116129efa8e08c620cd334f74541174a82f3e4ce7a8839193c69a561b9bed070b4a46f24654c4860c474ddbb504d2ad402297708c8c2b80f1f6116d59 languageName: node linkType: hard From c8f091b83e36a71b2f93be147fe9d89f67c8b1e8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Aug 2026 17:24:25 -0400 Subject: [PATCH 24/85] chore(deps): bump prosemirror-dropcursor from 1.8.2 to 1.8.3 (#13544) Bumps [prosemirror-dropcursor](https://github.com/prosemirror/prosemirror-dropcursor) from 1.8.2 to 1.8.3. - [Changelog](https://github.com/ProseMirror/prosemirror-dropcursor/blob/master/CHANGELOG.md) - [Commits](https://github.com/prosemirror/prosemirror-dropcursor/commits) --- updated-dependencies: - dependency-name: prosemirror-dropcursor dependency-version: 1.8.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index c3fed8ca6e..b2befad582 100644 --- a/package.json +++ b/package.json @@ -202,7 +202,7 @@ "prosemirror-changeset": "2.4.1", "prosemirror-codemark": "^0.4.2", "prosemirror-commands": "^1.7.1", - "prosemirror-dropcursor": "^1.8.2", + "prosemirror-dropcursor": "^1.8.3", "prosemirror-gapcursor": "^1.4.1", "prosemirror-history": "^1.5.0", "prosemirror-inputrules": "^1.5.1", diff --git a/yarn.lock b/yarn.lock index f4638ec868..8391bf6214 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15894,7 +15894,7 @@ __metadata: prosemirror-changeset: "npm:2.4.1" prosemirror-codemark: "npm:^0.4.2" prosemirror-commands: "npm:^1.7.1" - prosemirror-dropcursor: "npm:^1.8.2" + prosemirror-dropcursor: "npm:^1.8.3" prosemirror-gapcursor: "npm:^1.4.1" prosemirror-history: "npm:^1.5.0" prosemirror-inputrules: "npm:^1.5.1" @@ -17100,14 +17100,14 @@ __metadata: languageName: node linkType: hard -"prosemirror-dropcursor@npm:^1.8.2": - version: 1.8.2 - resolution: "prosemirror-dropcursor@npm:1.8.2" +"prosemirror-dropcursor@npm:^1.8.3": + version: 1.8.3 + resolution: "prosemirror-dropcursor@npm:1.8.3" dependencies: prosemirror-state: "npm:^1.0.0" prosemirror-transform: "npm:^1.1.0" prosemirror-view: "npm:^1.1.0" - checksum: 10c0/c3d9e456a64fecc77a6e6a0350116598550dee8cb55f74e8b66fdb26150c48340ddd1f43184134b24d0f2e710b6879ff6ec72c215dc618a6a673320a91c90478 + checksum: 10c0/123381f83a1843ee97d98143bde070cef727dbd20228f63bf7ebf30446d4352baf6982702de9907b27b7958a33d46c8c3d1a274331862c8d7a5912c838a6abce languageName: node linkType: hard From 10ee32db4049c184a5cea4ac2121019fb98f7ffd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Aug 2026 17:46:54 -0400 Subject: [PATCH 25/85] chore(deps): bump the aws group with 5 updates (#13543) Bumps the aws group with 5 updates: | Package | From | To | | --- | --- | --- | | [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3) | `3.1111.0` | `3.1115.0` | | [@aws-sdk/lib-storage](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/lib/lib-storage) | `3.1111.0` | `3.1115.0` | | [@aws-sdk/s3-presigned-post](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/s3-presigned-post) | `3.1111.0` | `3.1115.0` | | [@aws-sdk/s3-request-presigner](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/s3-request-presigner) | `3.1111.0` | `3.1115.0` | | [@aws-sdk/signature-v4-crt](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/signature-v4-crt) | `3.1111.0` | `3.1115.0` | Updates `@aws-sdk/client-s3` from 3.1111.0 to 3.1115.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1115.0/clients/client-s3) Updates `@aws-sdk/lib-storage` from 3.1111.0 to 3.1115.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/lib/lib-storage/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1115.0/lib/lib-storage) Updates `@aws-sdk/s3-presigned-post` from 3.1111.0 to 3.1115.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/s3-presigned-post/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1115.0/packages/s3-presigned-post) Updates `@aws-sdk/s3-request-presigner` from 3.1111.0 to 3.1115.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/s3-request-presigner/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1115.0/packages/s3-request-presigner) Updates `@aws-sdk/signature-v4-crt` from 3.1111.0 to 3.1115.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/signature-v4-crt/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1115.0/packages/signature-v4-crt) --- updated-dependencies: - dependency-name: "@aws-sdk/client-s3" dependency-version: 3.1115.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws - dependency-name: "@aws-sdk/lib-storage" dependency-version: 3.1115.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws - dependency-name: "@aws-sdk/s3-presigned-post" dependency-version: 3.1115.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws - dependency-name: "@aws-sdk/s3-request-presigner" dependency-version: 3.1115.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws - dependency-name: "@aws-sdk/signature-v4-crt" dependency-version: 3.1115.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 10 +++++----- yarn.lock | 54 ++++++++++++++++++++++++++-------------------------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/package.json b/package.json index b2befad582..567ac96957 100644 --- a/package.json +++ b/package.json @@ -52,12 +52,12 @@ "> 0.25%, not dead" ], "dependencies": { - "@aws-sdk/client-s3": "^3.1111.0", + "@aws-sdk/client-s3": "^3.1115.0", "@aws-sdk/cloudfront-signer": "^3.1111.0", - "@aws-sdk/lib-storage": "^3.1111.0", - "@aws-sdk/s3-presigned-post": "^3.1111.0", - "@aws-sdk/s3-request-presigner": "^3.1111.0", - "@aws-sdk/signature-v4-crt": "^3.1111.0", + "@aws-sdk/lib-storage": "^3.1115.0", + "@aws-sdk/s3-presigned-post": "^3.1115.0", + "@aws-sdk/s3-request-presigner": "^3.1115.0", + "@aws-sdk/signature-v4-crt": "^3.1115.0", "@benrbray/prosemirror-math": "^0.2.2", "@bull-board/api": "^6.21.3", "@bull-board/koa": "^6.21.3", diff --git a/yarn.lock b/yarn.lock index 8391bf6214..58cc82fe9f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -80,9 +80,9 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/client-s3@npm:3.1111.0, @aws-sdk/client-s3@npm:^3.1111.0": - version: 3.1111.0 - resolution: "@aws-sdk/client-s3@npm:3.1111.0" +"@aws-sdk/client-s3@npm:3.1115.0, @aws-sdk/client-s3@npm:^3.1115.0": + version: 3.1115.0 + resolution: "@aws-sdk/client-s3@npm:3.1115.0" dependencies: "@aws-sdk/checksums": "npm:^3.1000.28" "@aws-sdk/core": "npm:^3.977.8" @@ -95,7 +95,7 @@ __metadata: "@smithy/node-http-handler": "npm:^4.9.13" "@smithy/types": "npm:^4.16.1" tslib: "npm:^2.6.2" - checksum: 10c0/a3c752c2385f705c6ae9ce755d105e645b3f6cba04c350613f82aa3f9223b94359edcb186a7b995988c95a4592663371e503d47fb10308e6c9054a4f30bb635f + checksum: 10c0/ecad08091e9fc61c2f1ba7f71a7f65c0a8861870db8bf3ef02977378f056e00040427918d520d17e3d0608fea07248f73c7a3180d12401a94964461c970a1fe7 languageName: node linkType: hard @@ -260,9 +260,9 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/lib-storage@npm:^3.1111.0": - version: 3.1111.0 - resolution: "@aws-sdk/lib-storage@npm:3.1111.0" +"@aws-sdk/lib-storage@npm:^3.1115.0": + version: 3.1115.0 + resolution: "@aws-sdk/lib-storage@npm:3.1115.0" dependencies: "@smithy/core": "npm:^3.31.1" "@smithy/types": "npm:^4.16.1" @@ -271,8 +271,8 @@ __metadata: stream-browserify: "npm:3.0.0" tslib: "npm:^2.6.2" peerDependencies: - "@aws-sdk/client-s3": ^3.1111.0 - checksum: 10c0/32461dffada61831004abc952304b70f3fc83b991bad42f0acce56fbb2ebb5a16ce818d62fa57a7f14c9194ee698bb5bf0349d40e68a41162cd512a5399ae402 + "@aws-sdk/client-s3": ^3.1115.0 + checksum: 10c0/678be35f73bbe2c97dd16f53969a332fdf19bae7de765b41e9efe9922ce832afa758a68e6a29dab9e5d36d2134f283db52b190cd29a9461c7d640ea360646dcc languageName: node linkType: hard @@ -306,24 +306,24 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/s3-presigned-post@npm:^3.1111.0": - version: 3.1111.0 - resolution: "@aws-sdk/s3-presigned-post@npm:3.1111.0" +"@aws-sdk/s3-presigned-post@npm:^3.1115.0": + version: 3.1115.0 + resolution: "@aws-sdk/s3-presigned-post@npm:3.1115.0" dependencies: - "@aws-sdk/client-s3": "npm:3.1111.0" + "@aws-sdk/client-s3": "npm:3.1115.0" "@aws-sdk/core": "npm:^3.977.8" "@aws-sdk/types": "npm:^3.974.4" "@smithy/core": "npm:^3.31.1" "@smithy/signature-v4": "npm:^5.6.12" "@smithy/types": "npm:^4.16.1" tslib: "npm:^2.6.2" - checksum: 10c0/103d5b5ec6d2fcd8096145cbac7fcbc95613d9242ff4b6770b88bfb97474ccc22a70cba5ddfe7977029026c9ccafa42b79eaf021d2ad8a22d1897dd838b6116e + checksum: 10c0/7ec194e073e0e310072f7c69f3e6f339db14abdf4d338a1b2f14a2f6288c947b5f710a00a2933fa02854a9a0130add94d26cee30cb28bf545a6495398b16a08f languageName: node linkType: hard -"@aws-sdk/s3-request-presigner@npm:^3.1111.0": - version: 3.1111.0 - resolution: "@aws-sdk/s3-request-presigner@npm:3.1111.0" +"@aws-sdk/s3-request-presigner@npm:^3.1115.0": + version: 3.1115.0 + resolution: "@aws-sdk/s3-request-presigner@npm:3.1115.0" dependencies: "@aws-sdk/core": "npm:^3.977.8" "@aws-sdk/signature-v4-multi-region": "npm:^3.996.45" @@ -331,13 +331,13 @@ __metadata: "@smithy/core": "npm:^3.31.1" "@smithy/types": "npm:^4.16.1" tslib: "npm:^2.6.2" - checksum: 10c0/ac02935d089fe4bb568c5b43ba16e1e41eb80a073e991d23fdabdacc20096db36d30c0d07f43ccadbf88fad7c7c924bb6993e12bd3f59449a27197888432b6ec + checksum: 10c0/97a4114101609473e79dbc1175f971957ce9a3dc1bc982c8ae3116044ccf01317d8701e191ed1abca40b21414af61d468a0149732ffae9cc62355d7a01b7e1b0 languageName: node linkType: hard -"@aws-sdk/signature-v4-crt@npm:^3.1111.0": - version: 3.1111.0 - resolution: "@aws-sdk/signature-v4-crt@npm:3.1111.0" +"@aws-sdk/signature-v4-crt@npm:^3.1115.0": + version: 3.1115.0 + resolution: "@aws-sdk/signature-v4-crt@npm:3.1115.0" dependencies: "@aws-sdk/crt-loader": "npm:^3.972.73" "@aws-sdk/signature-v4-multi-region": "npm:^3.996.45" @@ -346,7 +346,7 @@ __metadata: "@smithy/signature-v4": "npm:^5.6.12" "@smithy/types": "npm:^4.16.1" tslib: "npm:^2.6.2" - checksum: 10c0/835d3e32062ddb64254e6bf53b7cd75a636cc608828a8ceb2f3c2faa6b157596857726e7834a23ea0a54a05f71ccb5f46e5fa6c90a454808fa19ab6bf8bf2696 + checksum: 10c0/4f4e26b05dfe71d813d82151248b3f42534f13a801c8dad516b52925e2890a498ed01a70a1c88b2615cc0a590a007c46911e8c08aeda569387d675e0fc6f877e languageName: node linkType: hard @@ -15662,12 +15662,12 @@ __metadata: version: 0.0.0-use.local resolution: "outline@workspace:." dependencies: - "@aws-sdk/client-s3": "npm:^3.1111.0" + "@aws-sdk/client-s3": "npm:^3.1115.0" "@aws-sdk/cloudfront-signer": "npm:^3.1111.0" - "@aws-sdk/lib-storage": "npm:^3.1111.0" - "@aws-sdk/s3-presigned-post": "npm:^3.1111.0" - "@aws-sdk/s3-request-presigner": "npm:^3.1111.0" - "@aws-sdk/signature-v4-crt": "npm:^3.1111.0" + "@aws-sdk/lib-storage": "npm:^3.1115.0" + "@aws-sdk/s3-presigned-post": "npm:^3.1115.0" + "@aws-sdk/s3-request-presigner": "npm:^3.1115.0" + "@aws-sdk/signature-v4-crt": "npm:^3.1115.0" "@benrbray/prosemirror-math": "npm:^0.2.2" "@bull-board/api": "npm:^6.21.3" "@bull-board/koa": "npm:^6.21.3" From f1ebc1edb0475caf93e36607eda5b3cf99d1291e Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Mon, 24 Aug 2026 18:31:34 -0400 Subject: [PATCH 26/85] fix: Refactor `useCollectionTrees` hook (#13555) * fix: Refactor useCollectionTrees hook * Avoid unneccessary work --- app/hooks/useCollectionTrees.ts | 139 +++++++++++++++----------------- 1 file changed, 67 insertions(+), 72 deletions(-) diff --git a/app/hooks/useCollectionTrees.ts b/app/hooks/useCollectionTrees.ts index 192a0c3722..829e50b6b7 100644 --- a/app/hooks/useCollectionTrees.ts +++ b/app/hooks/useCollectionTrees.ts @@ -1,88 +1,83 @@ -import { useMemo } from "react"; -import type { NavigationNode } from "@shared/types"; +import type { CollectionSort, NavigationNode } from "@shared/types"; import { NavigationNodeType } from "@shared/types"; import { sortNavigationNodes } from "@shared/utils/collections"; -import type Collection from "~/models/Collection"; +import { useComputed } from "~/hooks/useComputed"; import useStores from "~/hooks/useStores"; +import type Collection from "~/models/Collection"; /** - * React hook that modifies the document structure - * of all collections present in store. Adds extra attributes - * like type, depth and parent to each of the nodes in document - * structure. + * React hook that returns the document structure of all collections in the + * store as navigation trees. Each node is a copy of the node in the store with + * extra attributes added – type, collectionId, depth, and parent. * - * @return {NavigationNode[]} collectionTrees root collection nodes of modified trees + * @returns the root node of each collection tree. */ export default function useCollectionTrees(): NavigationNode[] { const { collections } = useStores(); - const getCollectionTree = (collection: Collection): NavigationNode => { - const addType = (node: NavigationNode): NavigationNode => { - if (node.children.length > 0) { - node.children = node.children.map(addType); - } + return useComputed( + () => collections.orderedData.map(getCollectionTree), + [collections] + ); +} - node.type = node.type ? node.type : NavigationNodeType.Document; - return node; - }; - - const addParent = ( - node: NavigationNode, - parent: NavigationNode | null = null - ): NavigationNode => { - if (node.children.length > 0) { - node.children = node.children.map((child) => addParent(child, node)); - } - - node.parent = parent; - return node; - }; - - const addDepth = (node: NavigationNode, depth = 0): NavigationNode => { - if (node.children.length > 0) { - node.children = node.children.map((child) => - addDepth(child, depth + 1) - ); - } - - node.depth = depth; - return node; - }; - - const addCollectionId = ( - node: NavigationNode, - collectionId = collection.id - ): NavigationNode => { - if (node.children.length > 0) { - node.children = node.children.map((child) => - addCollectionId(child, collectionId) - ); - } - - node.collectionId = collectionId; - return node; - }; - - const collectionNode: NavigationNode = { - id: collection.id, - title: collection.name, - url: collection.path, - type: NavigationNodeType.Collection, - children: collection.documents - ? sortNavigationNodes(collection.documents, collection.sort, true) - : [], - parent: null, - }; - - return addParent(addCollectionId(addDepth(addType(collectionNode), 1))); +/** + * Builds the navigation tree for a collection. + * + * @param collection The collection to build the tree for. + * @returns the root node of the collection tree. + */ +function getCollectionTree(collection: Collection): NavigationNode { + const root: NavigationNode = { + id: collection.id, + title: collection.name, + url: collection.path, + type: NavigationNodeType.Collection, + collectionId: collection.id, + depth: 1, + parent: null, + children: [], }; - const key = collections.orderedData.map((o) => o.documents?.length).join("-"); - const collectionTrees = useMemo( - () => collections.orderedData.map(getCollectionTree), - // oxlint-disable-next-line react-hooks/exhaustive-deps - [collections.orderedData, key] + root.children = annotateNodes( + collection.documents ?? [], + collection.sort, + root ); - return collectionTrees; + return root; +} + +/** + * Copies the given nodes and their descendants in sorted order, adding the + * attributes needed to traverse and render the tree. + * + * @param nodes The nodes to copy. + * @param sort The sort of the collection the nodes belong to. + * @param parent The node that the given nodes are children of. + * @returns the copied nodes. + */ +function annotateNodes( + nodes: NavigationNode[], + sort: CollectionSort, + parent: NavigationNode +): NavigationNode[] { + if (!nodes.length) { + return []; + } + + return sortNavigationNodes(nodes, sort, false).map((node) => { + const annotated: NavigationNode = { + ...node, + type: node.type ?? NavigationNodeType.Document, + collectionId: parent.collectionId, + depth: (parent.depth ?? 0) + 1, + parent, + children: [], + }; + + annotated.children = annotateNodes(node.children ?? [], sort, annotated); + + return annotated; + }); } From ccbe2fa99bb03b7974eaf24d3c8b050e88a44739 Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Mon, 24 Aug 2026 19:02:31 -0400 Subject: [PATCH 27/85] fix: Enforce import restrictions shadowed by nested oxlint configs (#13558) Nested .oxlintrc.json files replace the root config per-rule rather than merging, so the root's shared/** override for no-restricted-imports was dead config and the sonner restriction was not enforced anywhere. Move the restrictions into shared/.oxlintrc.json, add the prosemirror-tables entry to app/.oxlintrc.json where the same shadowing applies to .tsx files, and drop the dead root override. --- .oxlintrc.json | 26 -------------------------- app/.oxlintrc.json | 12 ++++++++++++ shared/.oxlintrc.json | 16 ++++++++++++++++ 3 files changed, 28 insertions(+), 26 deletions(-) diff --git a/.oxlintrc.json b/.oxlintrc.json index 349f3eea59..7b2243a1a5 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -125,32 +125,6 @@ "react-hooks/exhaustive-deps": "error" }, "plugins": ["eslint", "oxc", "react", "typescript", "import"] - }, - { - "files": ["shared/**/*.{js,jsx,ts,tsx}"], - "rules": { - "no-restricted-imports": [ - "error", - { - "paths": [ - { - "name": "prosemirror-tables", - "importNames": [ - "addRowBefore", - "addRowAfter", - "addColumnBefore", - "addColumnAfter" - ], - "message": "Use the wrappers from shared/editor/commands/table instead, which respect the target index and place the cursor in the inserted cell." - }, - { - "name": "sonner", - "message": "Do not import a toast library within shared; surface notifications through the onNotice callback so shared code stays decoupled from the app's toast implementation." - } - ] - } - ] - } } ] } diff --git a/app/.oxlintrc.json b/app/.oxlintrc.json index c5e7a685e1..9857c6171f 100644 --- a/app/.oxlintrc.json +++ b/app/.oxlintrc.json @@ -16,6 +16,18 @@ "no-restricted-imports": [ "error", { + "paths": [ + { + "name": "prosemirror-tables", + "importNames": [ + "addRowBefore", + "addRowAfter", + "addColumnBefore", + "addColumnAfter" + ], + "message": "Use the wrappers from shared/editor/commands/table instead, which respect the target index and place the cursor in the inserted cell." + } + ], "patterns": [ { "group": ["mime-types"], diff --git a/shared/.oxlintrc.json b/shared/.oxlintrc.json index d42a6acdf0..bab232dafa 100644 --- a/shared/.oxlintrc.json +++ b/shared/.oxlintrc.json @@ -16,6 +16,22 @@ "no-restricted-imports": [ "error", { + "paths": [ + { + "name": "prosemirror-tables", + "importNames": [ + "addRowBefore", + "addRowAfter", + "addColumnBefore", + "addColumnAfter" + ], + "message": "Use the wrappers from shared/editor/commands/table instead, which respect the target index and place the cursor in the inserted cell." + }, + { + "name": "sonner", + "message": "Do not import a toast library within shared; surface notifications through the onNotice callback so shared code stays decoupled from the app's toast implementation." + } + ], "patterns": [ { "group": ["@shared/*"], From aab83e837888bc4b2d6ff1af102619baceddf4a9 Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Mon, 24 Aug 2026 19:14:55 -0400 Subject: [PATCH 28/85] fix: Reliability of count-based limit checks (#13542) * fix: Make count-based limit checks reliable under concurrency Limits enforced by counting rows before an insert could be exceeded by requests that ran at the same time, as each one read the same count before any of them had written. Add a LockHelper that takes a Postgres advisory lock for the remainder of the transaction, and use it to serialize the check for webhook subscriptions, team domains, share subscriptions and pins. The counts now also run on the transaction so they include rows written earlier in the same request. * Remove excessive tests * Also guard simultaneous row removal --- server/commands/pinCreator.ts | 11 +---- server/commands/teamUpdater.ts | 22 +++++----- server/models/Collection.ts | 10 ++++- server/models/GroupMembership.ts | 10 +++++ server/models/Import.ts | 13 +++++- server/models/Pin.ts | 46 ++++++++++++++++++++- server/models/ShareSubscription.ts | 9 ++++ server/models/TeamDomain.ts | 20 ++++++++- server/models/User.ts | 25 +++++++++++ server/models/UserMembership.test.ts | 55 ++++++++++++++++++++++++ server/models/UserMembership.ts | 10 +++++ server/models/WebhookSubscription.ts | 15 ++++++- server/storage/LockHelper.test.ts | 62 ++++++++++++++++++++++++++++ server/storage/LockHelper.ts | 40 ++++++++++++++++++ server/utils/MutexLock.ts | 6 +++ 15 files changed, 328 insertions(+), 26 deletions(-) create mode 100644 server/storage/LockHelper.test.ts create mode 100644 server/storage/LockHelper.ts diff --git a/server/commands/pinCreator.ts b/server/commands/pinCreator.ts index 195825a613..e0ed518cf7 100644 --- a/server/commands/pinCreator.ts +++ b/server/commands/pinCreator.ts @@ -1,8 +1,6 @@ import fractionalIndex from "fractional-index"; import type { WhereOptions } from "sequelize"; import { Sequelize, Op } from "sequelize"; -import { PinValidation } from "@shared/validations"; -import { ValidationError } from "@server/errors"; import type { User } from "@server/models"; import { Pin } from "@server/models"; import type { APIContext } from "@server/types"; @@ -35,22 +33,17 @@ export default async function pinCreator({ ...rest }: Props): Promise<Pin> { let { index } = rest; + const { transaction } = ctx.context; const where: WhereOptions<Pin> = { teamId: user.teamId, ...(collectionId ? { collectionId } : { collectionId: { [Op.is]: null } }), }; - const count = await Pin.count({ where }); - if (count >= PinValidation.max) { - throw ValidationError( - `You cannot pin more than ${PinValidation.max} documents` - ); - } - if (!index) { const pins = await Pin.findAll({ where, attributes: ["id", "index", "updatedAt"], + transaction, limit: 1, order: [ // using LC_COLLATE:"C" because we need byte order to drive the sorting diff --git a/server/commands/teamUpdater.ts b/server/commands/teamUpdater.ts index 407b577cac..8aa08af663 100644 --- a/server/commands/teamUpdater.ts +++ b/server/commands/teamUpdater.ts @@ -50,17 +50,17 @@ const teamUpdater = async (ctx: APIContext, { params, user, team }: Props) => { const newDomains = allowedDomains.filter( (newDomain) => newDomain !== "" && !existingDomains.includes(newDomain) ); - await Promise.all( - newDomains.map(async (newDomain) => { - newAllowedDomains.push( - await TeamDomain.createWithCtx(ctx, { - name: newDomain, - teamId: team.id, - createdById: user.id, - }) - ); - }) - ); + // Created one at a time so that the limit check on each create counts the + // domains added earlier in the same request. + for (const newDomain of newDomains) { + newAllowedDomains.push( + await TeamDomain.createWithCtx(ctx, { + name: newDomain, + teamId: team.id, + createdById: user.id, + }) + ); + } // Destroy the existing TeamDomains that were removed const deletedDomains = existingAllowedDomains.filter( diff --git a/server/models/Collection.ts b/server/models/Collection.ts index b09046f2ac..e3ed2fc796 100644 --- a/server/models/Collection.ts +++ b/server/models/Collection.ts @@ -4,6 +4,7 @@ import { find, findIndex, isNil, keyBy, remove, uniq } from "es-toolkit/compat"; import type { Identifier, Transaction, + DestroyOptions, FindOptions, NonNullFindOptions, InferAttributes, @@ -58,6 +59,7 @@ import { CollectionValidation } from "@shared/validations"; import { parser } from "@server/editor"; import { ValidationError } from "@server/errors"; import type { APIContext } from "@server/types"; +import { LockHelper } from "@server/storage/LockHelper"; import { CacheHelper } from "@server/utils/CacheHelper"; import { RedisPrefixHelper } from "@server/utils/RedisPrefixHelper"; import removeIndexCollision from "@server/utils/removeIndexCollision"; @@ -409,7 +411,13 @@ class Collection extends ParanoidModel< } @BeforeDestroy - static async checkLastCollection(model: Collection) { + static async checkLastCollection(model: Collection, options: DestroyOptions) { + await LockHelper.acquire( + model.sequelize, + `collections:${model.teamId}`, + options.transaction + ); + const total = await this.count({ where: { teamId: model.teamId, diff --git a/server/models/GroupMembership.ts b/server/models/GroupMembership.ts index 65f0fa4000..18de933aa0 100644 --- a/server/models/GroupMembership.ts +++ b/server/models/GroupMembership.ts @@ -24,6 +24,7 @@ import { import type { DocumentPermission } from "@shared/types"; import { CollectionPermission } from "@shared/types"; import { ValidationError } from "@server/errors"; +import { LockHelper } from "@server/storage/LockHelper"; import type { APIContext } from "@server/types"; import Collection from "./Collection"; import Document from "./Document"; @@ -441,6 +442,15 @@ class GroupMembership extends ParanoidModel< model: GroupMembership, { transaction }: APIContext["context"] ) { + // Both models guard the same invariant, so they share one lock name, + // otherwise the last user manager and the last group manager can be + // removed at the same time. + await LockHelper.acquire( + model.sequelize, + `collectionAdmins:${model.collectionId}`, + transaction + ); + const [userMemberships, groupMemberships] = await Promise.all([ UserMembership.count({ where: { diff --git a/server/models/Import.ts b/server/models/Import.ts index 30aada32bc..b53ea2e0bf 100644 --- a/server/models/Import.ts +++ b/server/models/Import.ts @@ -20,6 +20,7 @@ import { type ImportInput, type ImportScratch } from "@shared/schema"; import { ImportableIntegrationService, ImportState } from "@shared/types"; import { ImportValidation } from "@shared/validations"; import { UnprocessableEntityError } from "@server/errors"; +import { LockHelper } from "@server/storage/LockHelper"; import Integration from "./Integration"; import Team from "./Team"; import User from "./User"; @@ -105,6 +106,16 @@ class Import<T extends ImportableIntegrationService> extends ParanoidModel< @BeforeCreate // oxlint-disable-next-line @typescript-eslint/no-explicit-any static async checkInProgress(model: Import<any>, options: SaveOptions) { + const { transaction } = options; + + // Serialize concurrent creation for the team, otherwise every request can + // read the same count and pass the check. + await LockHelper.acquire( + model.sequelize, + `imports:${model.teamId}`, + transaction + ); + const inProgress = await this.count({ where: { teamId: model.teamId, @@ -114,7 +125,7 @@ class Import<T extends ImportableIntegrationService> extends ParanoidModel< ImportState.Processed, ], }, - transaction: options.transaction, + transaction, }); if (inProgress) { throw UnprocessableEntityError("An import is already in progress"); diff --git a/server/models/Pin.ts b/server/models/Pin.ts index f30132808b..67c07855ec 100644 --- a/server/models/Pin.ts +++ b/server/models/Pin.ts @@ -1,12 +1,21 @@ -import type { InferAttributes, InferCreationAttributes } from "sequelize"; +import type { + InferAttributes, + InferCreationAttributes, + SaveOptions, +} from "sequelize"; +import { Op } from "sequelize"; import { DataType, Column, ForeignKey, BelongsTo, + BeforeCreate, Table, Length, } from "sequelize-typescript"; +import { PinValidation } from "@shared/validations"; +import { ValidationError } from "@server/errors"; +import { LockHelper } from "@server/storage/LockHelper"; import Collection from "./Collection"; import Document from "./Document"; import Team from "./Team"; @@ -54,6 +63,41 @@ class Pin extends IdModel< @ForeignKey(() => Team) @Column(DataType.UUID) teamId: string; + + // hooks + + /** + * Limits the number of documents pinned to a single destination, either one + * collection or the home screen. + */ + @BeforeCreate + static async checkLimit(model: Pin, options: SaveOptions) { + const { transaction } = options; + const { teamId, collectionId } = model; + + // Serialize concurrent creation for the destination, otherwise every + // request can read the same count and pass the check. + await LockHelper.acquire( + model.sequelize, + `pins:${teamId}:${collectionId ?? "home"}`, + transaction + ); + + const count = await this.count({ + where: { + teamId, + ...(collectionId + ? { collectionId } + : { collectionId: { [Op.is]: null } }), + }, + transaction, + }); + if (count >= PinValidation.max) { + throw ValidationError( + `You cannot pin more than ${PinValidation.max} documents` + ); + } + } } export default Pin; diff --git a/server/models/ShareSubscription.ts b/server/models/ShareSubscription.ts index 7c3cd335d6..230b41b89e 100644 --- a/server/models/ShareSubscription.ts +++ b/server/models/ShareSubscription.ts @@ -13,6 +13,7 @@ import { import { subHours } from "date-fns"; import { Hour } from "@shared/utils/time"; import { ValidationError } from "@server/errors"; +import { LockHelper } from "@server/storage/LockHelper"; import Document from "./Document"; import Share from "./Share"; import IdModel from "./base/IdModel"; @@ -96,6 +97,14 @@ class ShareSubscription extends IdModel< return; } + // Serialize concurrent creation from the address, otherwise every request + // can read the same count and pass the check. + await LockHelper.acquire( + model.sequelize, + `shareSubscriptions:${model.ipAddress}`, + options.transaction + ); + const results = await this.findAll({ attributes: ["emailFingerprint"], where: { ipAddress: model.ipAddress }, diff --git a/server/models/TeamDomain.ts b/server/models/TeamDomain.ts index 143cd34388..585dd3dba1 100644 --- a/server/models/TeamDomain.ts +++ b/server/models/TeamDomain.ts @@ -1,5 +1,9 @@ import emailProviders from "email-providers"; -import type { InferAttributes, InferCreationAttributes } from "sequelize"; +import type { + InferAttributes, + InferCreationAttributes, + SaveOptions, +} from "sequelize"; import { Column, DataType, @@ -14,6 +18,7 @@ import { import { TeamValidation } from "@shared/validations"; import env from "@server/env"; import { ValidationError } from "@server/errors"; +import { LockHelper } from "@server/storage/LockHelper"; import Team from "./Team"; import User from "./User"; import IdModel from "./base/IdModel"; @@ -62,13 +67,24 @@ class TeamDomain extends IdModel< } @BeforeCreate - static async checkLimit(model: TeamDomain) { + static async checkLimit(model: TeamDomain, options: SaveOptions) { if (!env.isCloudHosted) { return; } + const { transaction } = options; + + // Serialize concurrent creation for the team, otherwise every request can + // read the same count and pass the check. + await LockHelper.acquire( + model.sequelize, + `teamDomains:${model.teamId}`, + transaction + ); + const count = await this.count({ where: { teamId: model.teamId }, + transaction, }); if (count >= TeamValidation.maxDomains) { throw ValidationError( diff --git a/server/models/User.ts b/server/models/User.ts index 10c33974b6..1974d465a1 100644 --- a/server/models/User.ts +++ b/server/models/User.ts @@ -50,6 +50,7 @@ import type { locales } from "@shared/utils/date"; import { UserValidation } from "@shared/validations"; import env from "@server/env"; import DeleteAttachmentTask from "@server/queues/tasks/DeleteAttachmentTask"; +import { LockHelper } from "@server/storage/LockHelper"; import type { APIContext } from "@server/types"; import { VerificationCode } from "@server/utils/VerificationCode"; import parseAttachmentIds from "@server/utils/parseAttachmentIds"; @@ -747,6 +748,14 @@ class User extends ParanoidModel< model: User, { transaction }: { transaction: Transaction } ) { + // Serialize concurrent deletion within the team, otherwise every request + // can read the same count and pass the check. + await LockHelper.acquire( + model.sequelize, + `users:${model.teamId}`, + transaction + ); + const usersCount = await this.count({ where: { teamId: model.teamId, @@ -770,6 +779,14 @@ class User extends ParanoidModel< return; } + // Shares the lock name with the check above, so both counts are taken + // against a settled team. + await LockHelper.acquire( + model.sequelize, + `users:${model.teamId}`, + transaction + ); + const otherAdminsCount = await this.count({ where: { teamId: model.teamId, @@ -824,6 +841,14 @@ class User extends ParanoidModel< previousRole === UserRole.Admin && UserRoleHelper.isRoleLower(model.role, UserRole.Admin) ) { + // Shares the lock name with the deletion checks, so a demotion and a + // deletion cannot each count the other account as the remaining admin. + await LockHelper.acquire( + model.sequelize, + `users:${model.teamId}`, + options.transaction + ); + const { count } = await this.findAndCountAll({ where: { teamId: model.teamId, diff --git a/server/models/UserMembership.test.ts b/server/models/UserMembership.test.ts index 6632dbafa4..fcf7ba0c6f 100644 --- a/server/models/UserMembership.test.ts +++ b/server/models/UserMembership.test.ts @@ -1,9 +1,14 @@ +import { sleep } from "@shared/utils/timers"; +import { CollectionPermission } from "@shared/types"; import { buildCollection, buildDocument, + buildGroup, buildUser, } from "@server/test/factories"; +import { withAPIContext } from "@server/test/support"; import Event from "./Event"; +import GroupMembership from "./GroupMembership"; import UserMembership from "./UserMembership"; describe("UserMembership", () => { @@ -50,4 +55,54 @@ describe("UserMembership", () => { expect(membership?.collection?.id).toEqual(collection.id); }); }); + describe("validateLastAdminPermission", () => { + it("should not allow the last user and group manager to be removed concurrently", async () => { + const user = await buildUser(); + const collection = await buildCollection({ + teamId: user.teamId, + userId: user.id, + }); + const group = await buildGroup({ teamId: user.teamId }); + + // The collection creator is its only user manager. + const userMembership = await UserMembership.findOne({ + where: { collectionId: collection.id, userId: user.id }, + rejectOnEmpty: true, + }); + const groupMembership = await GroupMembership.create({ + createdById: user.id, + groupId: group.id, + collectionId: collection.id, + permission: CollectionPermission.Admin, + }); + + let removed: () => void = () => undefined; + const first = new Promise<void>((resolve) => { + removed = resolve; + }); + let commit: () => void = () => undefined; + const held = new Promise<void>((resolve) => { + commit = resolve; + }); + + // The user membership goes first, leaving the group as the only manager. + const one = withAPIContext(user, async (ctx) => { + await userMembership.destroyWithCtx(ctx); + removed(); + await held; + }); + await first; + + const two = withAPIContext(user, (ctx) => + groupMembership.destroyWithCtx(ctx) + ); + await sleep(250); + commit(); + await one; + + await expect(two).rejects.toThrow( + "At least one user or group must have manage permissions" + ); + }); + }); }); diff --git a/server/models/UserMembership.ts b/server/models/UserMembership.ts index cbd4019b61..1dda32588d 100644 --- a/server/models/UserMembership.ts +++ b/server/models/UserMembership.ts @@ -20,6 +20,7 @@ import { import type { DocumentPermission } from "@shared/types"; import { CollectionPermission } from "@shared/types"; import { ValidationError } from "@server/errors"; +import { LockHelper } from "@server/storage/LockHelper"; import type { APIContext } from "@server/types"; import { CacheHelper } from "@server/utils/CacheHelper"; import { RedisPrefixHelper } from "@server/utils/RedisPrefixHelper"; @@ -422,6 +423,15 @@ class UserMembership extends IdModel< model: UserMembership, { transaction }: APIContext["context"] ) { + // Both models guard the same invariant, so they share one lock name, + // otherwise the last user manager and the last group manager can be + // removed at the same time. + await LockHelper.acquire( + model.sequelize, + `collectionAdmins:${model.collectionId}`, + transaction + ); + const [userMemberships, groupMemberships] = await Promise.all([ this.count({ where: { diff --git a/server/models/WebhookSubscription.ts b/server/models/WebhookSubscription.ts index 75f71cdf22..2bd1d2f62d 100644 --- a/server/models/WebhookSubscription.ts +++ b/server/models/WebhookSubscription.ts @@ -4,6 +4,7 @@ import type { InferAttributes, InferCreationAttributes, InstanceUpdateOptions, + SaveOptions, Transaction, } from "sequelize"; import { @@ -25,6 +26,7 @@ import { Hour } from "@shared/utils/time"; import { WebhookSubscriptionValidation } from "@shared/validations"; import { ValidationError } from "@server/errors"; import type { Event } from "@server/types"; +import { LockHelper } from "@server/storage/LockHelper"; import { CacheHelper } from "@server/utils/CacheHelper"; import { RedisPrefixHelper } from "@server/utils/RedisPrefixHelper"; import Team from "./Team"; @@ -154,9 +156,20 @@ class WebhookSubscription extends ParanoidModel< // hooks @BeforeCreate - static async checkLimit(model: WebhookSubscription) { + static async checkLimit(model: WebhookSubscription, options: SaveOptions) { + const { transaction } = options; + + // Serialize concurrent creation for the team, otherwise every request can + // read the same count and pass the check. + await LockHelper.acquire( + model.sequelize, + `webhookSubscriptions:${model.teamId}`, + transaction + ); + const count = await this.count({ where: { teamId: model.teamId }, + transaction, }); if (count >= WebhookSubscriptionValidation.maxSubscriptions) { throw ValidationError( diff --git a/server/storage/LockHelper.test.ts b/server/storage/LockHelper.test.ts new file mode 100644 index 0000000000..46a9122a3b --- /dev/null +++ b/server/storage/LockHelper.test.ts @@ -0,0 +1,62 @@ +import { sleep } from "@shared/utils/timers"; +import { sequelize } from "./database"; +import { LockHelper } from "./LockHelper"; + +describe("LockHelper", () => { + describe("acquire", () => { + it("should block another transaction holding the same lock", async () => { + const events: string[] = []; + let release: () => void = () => undefined; + const held = new Promise<void>((resolve) => { + release = resolve; + }); + + const first = sequelize.transaction(async (transaction) => { + await LockHelper.acquire(sequelize, "limit:one", transaction); + events.push("first"); + await held; + }); + + while (!events.length) { + await sleep(10); + } + + const second = sequelize.transaction(async (transaction) => { + await LockHelper.acquire(sequelize, "limit:one", transaction); + events.push("second"); + }); + + await sleep(250); + expect(events).toEqual(["first"]); + + release(); + await Promise.all([first, second]); + expect(events).toEqual(["first", "second"]); + }); + + it("should not block a transaction holding a different lock", async () => { + let release: () => void = () => undefined; + const held = new Promise<void>((resolve) => { + release = resolve; + }); + + const first = sequelize.transaction(async (transaction) => { + await LockHelper.acquire(sequelize, "limit:two", transaction); + await held; + }); + + await sequelize.transaction(async (transaction) => { + await LockHelper.acquire(sequelize, "limit:three", transaction); + }); + + release(); + await first; + }); + + it("should not throw without a transaction", async () => { + await expect( + LockHelper.acquire(sequelize, "limit:four") + ).resolves.toBeUndefined(); + }); + }); +}); diff --git a/server/storage/LockHelper.ts b/server/storage/LockHelper.ts new file mode 100644 index 0000000000..c860c2dabb --- /dev/null +++ b/server/storage/LockHelper.ts @@ -0,0 +1,40 @@ +import type { Sequelize, Transaction } from "sequelize"; +import { QueryTypes } from "sequelize"; + +/** + * Helper for taking advisory locks in the database. + * + * These locks are scoped to a transaction. When the routine to serialize is not + * a transaction, or it calls an external service, use `MutexLock` instead. + */ +export class LockHelper { + /** + * Take an advisory lock that is held for the remainder of the given + * transaction, blocking every other transaction that asks for the same name + * until this one commits or rolls back. + * + * Use this to make a read-then-write sequence atomic when there is no row to + * lock, such as counting rows before inserting one more. + * + * @param sequelize the database connection to take the lock on. + * @param name the name of the lock, shared by everything that must serialize. + * @param transaction the transaction to hold the lock for. When none is given + * the lock cannot be held and is skipped. + * @returns a promise that resolves when the lock is held. + */ + public static async acquire( + sequelize: Sequelize, + name: string, + transaction?: Transaction | null + ): Promise<void> { + if (!transaction) { + return; + } + + await sequelize.query("SELECT pg_advisory_xact_lock(hashtext(:name))", { + replacements: { name }, + type: QueryTypes.SELECT, + transaction, + }); + } +} diff --git a/server/utils/MutexLock.ts b/server/utils/MutexLock.ts index c44927c804..081c3b1f3d 100644 --- a/server/utils/MutexLock.ts +++ b/server/utils/MutexLock.ts @@ -20,6 +20,12 @@ type AcquireOptions = { /** * A distributed mutex lock backed by Redis, for coordinating exclusive access * to resources across processes. + * + * Use this when the resource is Redis or an external service, when the routine + * makes network calls, or when it runs long enough that holding a database + * connection would matter. When the routine is database work in a single + * transaction and the lock must be held until that transaction commits, use + * `LockHelper` instead. */ export class MutexLock { /** Default expiry time for acquiring lock in milliseconds. */ From 4cb691c65868508567a4b7b12883069d652b6ac0 Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Thu, 27 Aug 2026 15:07:50 -0400 Subject: [PATCH 29/85] chore: Reduce cardinality of datadog metrics (#13565) * chore: Reduce cardinality of datadog metrics * address feedback --- server/collaboration/MetricsExtension.ts | 39 +++++++----------------- server/middlewares/rateLimiter.ts | 2 +- 2 files changed, 12 insertions(+), 29 deletions(-) diff --git a/server/collaboration/MetricsExtension.ts b/server/collaboration/MetricsExtension.ts index d1880d2780..53aaf82041 100644 --- a/server/collaboration/MetricsExtension.ts +++ b/server/collaboration/MetricsExtension.ts @@ -1,37 +1,27 @@ import type { - onChangePayload, onDisconnectPayload, - onLoadDocumentPayload, Extension, connectedPayload, + onLoadDocumentPayload, } from "@hocuspocus/server"; import Metrics from "@server/logging/Metrics"; import type { withContext } from "./types"; export default class MetricsExtension implements Extension { - async onLoadDocument({ - documentName, - instance, - }: withContext<onLoadDocumentPayload>) { - Metrics.increment("collaboration.load_document", { - documentName, - }); + async onLoadDocument({ instance }: withContext<onLoadDocumentPayload>) { + Metrics.increment("collaboration.load_document"); Metrics.gaugePerInstance( "collaboration.documents_count", instance.getDocumentsCount() ); } - onAuthenticationFailed({ documentName }: { documentName: string }) { - Metrics.increment("collaboration.authentication_failed", { - documentName, - }); + onAuthenticationFailed() { + Metrics.increment("collaboration.authentication_failed"); } - async connected({ documentName, instance }: withContext<connectedPayload>) { - Metrics.increment("collaboration.connect", { - documentName, - }); + async connected({ instance }: withContext<connectedPayload>) { + Metrics.increment("collaboration.connect"); Metrics.gaugePerInstance( "collaboration.connections_count", instance.getConnectionsCount() + 1 @@ -42,13 +32,8 @@ export default class MetricsExtension implements Extension { ); } - async onDisconnect({ - documentName, - instance, - }: withContext<onDisconnectPayload>) { - Metrics.increment("collaboration.disconnect", { - documentName, - }); + async onDisconnect({ instance }: withContext<onDisconnectPayload>) { + Metrics.increment("collaboration.disconnect"); Metrics.gaugePerInstance( "collaboration.connections_count", instance.getConnectionsCount() @@ -59,10 +44,8 @@ export default class MetricsExtension implements Extension { ); } - async onStoreDocument({ documentName }: withContext<onChangePayload>) { - Metrics.increment("collaboration.change", { - documentName, - }); + async onStoreDocument() { + Metrics.increment("collaboration.change"); } async onDestroy() { diff --git a/server/middlewares/rateLimiter.ts b/server/middlewares/rateLimiter.ts index 1ddfb8bc29..7c908470c6 100644 --- a/server/middlewares/rateLimiter.ts +++ b/server/middlewares/rateLimiter.ts @@ -95,7 +95,7 @@ async function consume( ctx.set("RateLimit-Reset", `${resetSeconds}`); Metrics.increment("rate_limit.exceeded", { - path: fullPath, + path: isPathScoped ? "path" : "default", }); throw RateLimitExceededError(); From d2697d354e49435dc37bfc0f14ec58d6ce2c7e8f Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Thu, 27 Aug 2026 15:27:02 -0400 Subject: [PATCH 30/85] fix: Respect heading number preference in HTML export (#13563) Heading numbers are drawn by a ProseMirror decoration, and the server strips all plugin decorations before it serializes, so exported HTML always came out unnumbered. Compute the same labels during export and write them to the rendered headings as a data attribute, which the exported editor styles already render. A revision takes the preference from the document it belongs to. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> --- server/models/helpers/DocumentHelper.test.ts | 47 ++++++++++++++++++++ server/models/helpers/DocumentHelper.tsx | 16 +++++-- server/models/helpers/ProsemirrorHelper.tsx | 19 +++++++- shared/editor/extensions/HeadingPrefix.ts | 34 ++++++++++++++ 4 files changed, 111 insertions(+), 5 deletions(-) diff --git a/server/models/helpers/DocumentHelper.test.ts b/server/models/helpers/DocumentHelper.test.ts index 17c81cff6e..66b4cee329 100644 --- a/server/models/helpers/DocumentHelper.test.ts +++ b/server/models/helpers/DocumentHelper.test.ts @@ -2,6 +2,7 @@ import Revision from "@server/models/Revision"; import { buildCollection, buildDocument } from "@server/test/factories"; import { ChangesetHelper } from "@shared/editor/lib/ChangesetHelper"; import { EditorStyleHelper } from "@shared/editor/styles/EditorStyleHelper"; +import { HeadingPrefixStyle } from "@shared/types"; import { DocumentHelper } from "./DocumentHelper"; describe("DocumentHelper", () => { @@ -181,6 +182,52 @@ describe("DocumentHelper", () => { expect(result).not.toContain("katex.min.css"); }); + it("should number headings according to the document preference", async () => { + const document = await buildDocument({ + text: "# One\n\n## Two\n\n# Three", + preferences: { headingPrefix: HeadingPrefixStyle.Numeric }, + }); + const result = await DocumentHelper.toHTML(document, { + includeTitle: false, + includeStyles: false, + }); + + expect(result).toContain('data-heading-prefix="1"'); + expect(result).toContain('data-heading-prefix="1.1"'); + expect(result).toContain('data-heading-prefix="2"'); + }); + + it("should not number headings without the document preference", async () => { + const document = await buildDocument({ + text: "# One\n\n## Two", + }); + const result = await DocumentHelper.toHTML(document, { + includeTitle: false, + includeStyles: false, + }); + + expect(result).not.toContain("data-heading-prefix"); + }); + + it("should number headings of a revision from its document", async () => { + const document = await buildDocument({ + text: "# One\n\n## Two", + preferences: { headingPrefix: HeadingPrefixStyle.Numeric }, + }); + const revision = new Revision({ + documentId: document.id, + title: document.title, + text: document.text, + }); + const result = await DocumentHelper.toHTML(revision, { + includeTitle: false, + includeStyles: false, + }); + + expect(result).toContain('data-heading-prefix="1"'); + expect(result).toContain('data-heading-prefix="1.1"'); + }); + it("should render diff classes when changes provided", async () => { const doc1 = await buildDocument({ text: "Hello world" }); const doc2 = await buildDocument({ text: "Hello modified world" }); diff --git a/server/models/helpers/DocumentHelper.tsx b/server/models/helpers/DocumentHelper.tsx index ec1b382df2..7f6665c4cd 100644 --- a/server/models/helpers/DocumentHelper.tsx +++ b/server/models/helpers/DocumentHelper.tsx @@ -11,7 +11,7 @@ import headingToSlug from "@shared/editor/lib/headingToSlug"; import textBetween from "@shared/editor/lib/textBetween"; import { EditorStyleHelper } from "@shared/editor/styles/EditorStyleHelper"; import type { NavigationNode, ProsemirrorData } from "@shared/types"; -import { IconType, TextEditMode } from "@shared/types"; +import { DocumentPreference, IconType, TextEditMode } from "@shared/types"; import { determineIconType } from "@shared/utils/icon"; import { ProsemirrorDataHelper } from "@shared/utils/ProsemirrorDataHelper"; import { parser, serializer, schema } from "@server/editor"; @@ -348,6 +348,15 @@ export class DocumentHelper { options?: HTMLOptions ) { const node = DocumentHelper.toProsemirror(model); + // Heading numbering is a preference of the document, which a revision + // inherits from the document it belongs to. + const document = + model instanceof Document + ? model + : model instanceof Revision + ? await model.$get("document") + : null; + let output = await ProsemirrorHelper.toHTML(node, { title: options?.includeTitle !== false @@ -362,6 +371,7 @@ export class DocumentHelper { baseUrl: options?.baseUrl, changes: options?.changes, cspNonce: options?.cspNonce, + headingPrefix: document?.getPreference(DocumentPreference.HeadingPrefix), }); addTags({ @@ -371,9 +381,7 @@ export class DocumentHelper { if (options?.signedUrls) { const teamId = - model instanceof Collection || model instanceof Document - ? model.teamId - : (await model.$get("document"))?.teamId; + model instanceof Collection ? model.teamId : document?.teamId; if (!teamId) { return output; diff --git a/server/models/helpers/ProsemirrorHelper.tsx b/server/models/helpers/ProsemirrorHelper.tsx index 74c46e0036..c758249b5a 100644 --- a/server/models/helpers/ProsemirrorHelper.tsx +++ b/server/models/helpers/ProsemirrorHelper.tsx @@ -20,6 +20,7 @@ import { import * as Y from "yjs"; import { toError, errToString } from "@shared/utils/error"; import Diff from "@shared/editor/extensions/Diff"; +import { HeadingPrefixHelper } from "@shared/editor/extensions/HeadingPrefix"; import { EditorStyleHelper } from "@shared/editor/styles/EditorStyleHelper"; import type { ExtendedChange } from "@shared/editor/lib/ChangesetHelper"; import textBetween from "@shared/editor/lib/textBetween"; @@ -27,7 +28,11 @@ import { withTrailingNode } from "@shared/editor/lib/trailingNode"; import EditorContainer from "@shared/editor/components/Styles"; import GlobalStyles from "@shared/styles/globals"; import light from "@shared/styles/theme"; -import type { ProsemirrorData, UnfurlResponse } from "@shared/types"; +import type { + HeadingPrefixStyle, + ProsemirrorData, + UnfurlResponse, +} from "@shared/types"; import { AttachmentPreset, MentionType } from "@shared/types"; import { attachmentRedirectRegex, @@ -66,6 +71,8 @@ export type HTMLOptions = { changes?: readonly ExtendedChange[]; /** CSP nonce to apply to injected inline scripts */ cspNonce?: string; + /** The style of prefix displayed before headings (defaults to none) */ + headingPrefix?: HeadingPrefixStyle; }; /** The identifiers of a document that another document's content may link to. */ @@ -769,6 +776,16 @@ export class ProsemirrorHelper extends SharedProsemirrorHelper { // (e.g. Frame's iframe) commit before serialization, then rewriting. await this.flushReactEffects(); + // The heading prefix is a decoration in the editor, which the export + // renders without, so the labels are added to the output directly. + if (options?.headingPrefix) { + HeadingPrefixHelper.applyToDOM( + target as HTMLElement, + node, + options.headingPrefix + ); + } + // Components may render editable regions, such as captions, but the // exported document is static. for (const el of doc.querySelectorAll('[contenteditable="true"]')) { diff --git a/shared/editor/extensions/HeadingPrefix.ts b/shared/editor/extensions/HeadingPrefix.ts index 870d362f93..e41b980174 100644 --- a/shared/editor/extensions/HeadingPrefix.ts +++ b/shared/editor/extensions/HeadingPrefix.ts @@ -185,6 +185,40 @@ export class HeadingPrefixHelper { return new Slice(inject(slice.content), slice.openStart, slice.openEnd); } + /** + * Adds the prefix labels to the headings of a rendered document, matching + * the numbering displayed in the editor. Headings inside tables are skipped. + * + * @param container the element that holds the rendered document. + * @param doc the document the container was rendered from. + * @param style the prefix style to format the labels with. + */ + public static applyToDOM( + container: Element, + doc: ProsemirrorNode, + style: HeadingPrefixStyle + ): void { + if (style === HeadingPrefixStyle.None) { + return; + } + + const headings = HeadingPrefixHelper.collectHeadings(doc); + const queue = HeadingPrefixHelper.labels( + headings.map((heading) => heading.level), + style + ); + + container.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach((heading) => { + if (heading.closest("table")) { + return; + } + const label = queue.shift(); + if (label !== undefined) { + heading.setAttribute("data-heading-prefix", label); + } + }); + } + /** * Removes prefix elements from pasted HTML so that copied numbering does * not become part of the document content. From 46cfa0c8d082ff88e3d2edd4d3bb8a75506cc12b Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Thu, 27 Aug 2026 16:09:55 -0400 Subject: [PATCH 31/85] fix: Keep OIDC provider identifier in sync with configured domain (#13574) --- plugins/oidc/server/auth/oidcRouter.ts | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/plugins/oidc/server/auth/oidcRouter.ts b/plugins/oidc/server/auth/oidcRouter.ts index a5e9e517c8..db936004a1 100644 --- a/plugins/oidc/server/auth/oidcRouter.ts +++ b/plugins/oidc/server/auth/oidcRouter.ts @@ -164,9 +164,25 @@ export function createOIDCRouter( // Derive a providerId from the OIDC location if there is no existing provider. const oidcURL = new URL(endpoints.authorizationURL); - const providerId = + let providerId = authenticationProvider?.providerId ?? oidcURL.hostname; + // The provider can move to a different domain, in which case the + // stored identifier must follow the configured location. + if (authenticationProvider && providerId !== oidcURL.hostname) { + try { + await authenticationProvider.update({ + providerId: oidcURL.hostname, + }); + providerId = oidcURL.hostname; + } catch (error) { + Logger.warn( + "Could not update OIDC authentication provider identifier", + { providerId, hostname: oidcURL.hostname, error } + ); + } + } + if (!domain) { throw OIDCMalformedUserInfoError(); } From ace35aaa7d2ea7b9737f5629adf885d8f155a20a Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Thu, 27 Aug 2026 16:10:13 -0400 Subject: [PATCH 32/85] fix: Sidebar context lost when navigating from action menus (#13566) Resolve the sidebar context from location state when no provider supplies one, and preserve it when leaving or deleting a revision from history. --- app/actions/definitions/revisions.tsx | 4 ++-- .../Sidebar/components/CollectionRow.tsx | 4 +++- app/components/Sidebar/components/DocumentRow.tsx | 1 + app/hooks/useActionContext.tsx | 15 +++++++++++++-- app/scenes/Document/hooks/useDocumentSidebar.tsx | 6 +++++- 5 files changed, 24 insertions(+), 6 deletions(-) diff --git a/app/actions/definitions/revisions.tsx b/app/actions/definitions/revisions.tsx index 96bff4050a..98b14fd1c8 100644 --- a/app/actions/definitions/revisions.tsx +++ b/app/actions/definitions/revisions.tsx @@ -94,7 +94,7 @@ export const deleteRevision = createAction({ dangerous: true, visible: ({ activeDocumentId }) => !!activeDocumentId && stores.policies.abilities(activeDocumentId).update, - perform: async ({ t, event, location, activeDocumentId }) => { + perform: async ({ t, event, location, activeDocumentId, sidebarContext }) => { event?.preventDefault(); if (!activeDocumentId) { return; @@ -113,7 +113,7 @@ export const deleteRevision = createAction({ const revision = stores.revisions.get(revisionId); await revision?.delete(); toast.success(t("This version of the document was deleted")); - history.push(documentHistoryPath(document)); + history.push(documentHistoryPath(document), { sidebarContext }); } }, }); diff --git a/app/components/Sidebar/components/CollectionRow.tsx b/app/components/Sidebar/components/CollectionRow.tsx index 93f943db96..b9680146aa 100644 --- a/app/components/Sidebar/components/CollectionRow.tsx +++ b/app/components/Sidebar/components/CollectionRow.tsx @@ -227,7 +227,9 @@ function CollectionRow({ ); return ( - <ActionContextProvider value={{ activeModels: [collection] }}> + <ActionContextProvider + value={{ activeModels: [collection], sidebarContext }} + > <Relative ref={mergedRef}> <DropToImport collectionId={collection.id}> {sidebarLinkElement} diff --git a/app/components/Sidebar/components/DocumentRow.tsx b/app/components/Sidebar/components/DocumentRow.tsx index 5e7b335799..ea64eb8773 100644 --- a/app/components/Sidebar/components/DocumentRow.tsx +++ b/app/components/Sidebar/components/DocumentRow.tsx @@ -284,6 +284,7 @@ function DocumentRow({ <ActionContextProvider value={{ activeModels: document ? [document] : [], + sidebarContext, }} > <Relative ref={parentRef}> diff --git a/app/hooks/useActionContext.tsx b/app/hooks/useActionContext.tsx index b9342e3e7f..46ec02b14e 100644 --- a/app/hooks/useActionContext.tsx +++ b/app/hooks/useActionContext.tsx @@ -67,7 +67,7 @@ export const ActionContextProvider = observer(function ActionContextProvider_({ // navigation does not invalidate the context value. Action perform/visible // callbacks see the current location at call time via history.location, // which react-router updates on every navigation. - const history = useHistory(); + const history = useHistory<{ sidebarContext?: SidebarContextType }>(); const { activeModels: valueModels, @@ -174,7 +174,6 @@ export const ActionContextProvider = observer(function ActionContextProvider_({ ...(isMenu !== undefined ? { isMenu } : {}), ...(isCommandBar !== undefined ? { isCommandBar } : {}), ...(isButton !== undefined ? { isButton } : {}), - ...(sidebarContext !== undefined ? { sidebarContext } : {}), ...(event !== undefined ? { event } : {}), activeCollectionId, activeDocumentId, @@ -193,6 +192,18 @@ export const ActionContextProvider = observer(function ActionContextProvider_({ configurable: true, }); + // The sidebar context is carried in location state, so fall back to the + // current location when no ancestor provider supplies one. A getter for the + // same reason as `location` above. + Object.defineProperty(result, "sidebarContext", { + get: () => + sidebarContext ?? + parentContext?.sidebarContext ?? + history.location.state?.sidebarContext, + enumerable: true, + configurable: true, + }); + return result; }, [ parentContext, diff --git a/app/scenes/Document/hooks/useDocumentSidebar.tsx b/app/scenes/Document/hooks/useDocumentSidebar.tsx index 6c033b0b4a..e1d5441280 100644 --- a/app/scenes/Document/hooks/useDocumentSidebar.tsx +++ b/app/scenes/Document/hooks/useDocumentSidebar.tsx @@ -119,13 +119,17 @@ export default function useDocumentSidebar() { ? documents.get(slugMatch.params.documentSlug) : undefined; if (document) { - paneHistory.push(documentPath(document)); + paneHistory.push({ + pathname: documentPath(document), + state: location.state, + }); } } }, [ panel, isHistoryRoute, location.pathname, + location.state, documents, paneHistory, ui, From 9dc74f445955a11e1d6b7f21e5e091a5040f6fc9 Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Thu, 27 Aug 2026 17:11:56 -0400 Subject: [PATCH 33/85] fix: Insert files dropped around the document at the nearest editor position (#13575) Dropping a file in the margins around a document previously did nothing. react-dnd's window level dragover handler forced dropEffect to "none" for any target outside of .ProseMirror, so the browser never dispatched a drop event there. --- app/components/Editor.tsx | 64 +-------------------- app/components/EditorAwareHTML5Backend.ts | 10 +++- app/editor/index.tsx | 60 ++++++++++++++++++- app/scenes/Document/components/Document.tsx | 34 +++++++++++ shared/editor/commands/insertFiles.ts | 2 +- shared/editor/queries/findNearestPos.ts | 31 ++++++++++ 6 files changed, 137 insertions(+), 64 deletions(-) create mode 100644 shared/editor/queries/findNearestPos.ts diff --git a/app/components/Editor.tsx b/app/components/Editor.tsx index b9b523cc4b..46353cb49a 100644 --- a/app/components/Editor.tsx +++ b/app/components/Editor.tsx @@ -1,22 +1,16 @@ import { difference } from "es-toolkit/compat"; import { observer } from "mobx-react"; -import { DOMParser as ProsemirrorDOMParser } from "prosemirror-model"; -import { TextSelection } from "prosemirror-state"; import * as React from "react"; import { useTranslation } from "react-i18next"; import { toast } from "sonner"; import { mergeRefs } from "react-merge-refs"; import type { Optional } from "utility-types"; -import insertFiles from "@shared/editor/commands/insertFiles"; import EditorContainer from "@shared/editor/components/Styles"; import { AttachmentPreset } from "@shared/types"; import { ProsemirrorHelper } from "@shared/utils/ProsemirrorHelper"; -import { getDataTransferFiles } from "@shared/utils/files"; -import { AttachmentValidation } from "@shared/validations"; import ClickablePadding from "~/components/ClickablePadding"; import ErrorBoundary from "~/components/ErrorBoundary"; import type { Props as EditorProps, Editor as SharedEditor } from "~/editor"; -import { toastNotice } from "~/editor/toastNotice"; import useCurrentUser from "~/hooks/useCurrentUser"; import useEditorClickHandlers from "~/hooks/useEditorClickHandlers"; import useEmbeds from "~/hooks/useEmbeds"; @@ -135,61 +129,9 @@ function Editor(props: Props, ref: React.RefObject<SharedEditor> | null) { }, [localRef]); const handleDrop = React.useCallback( - (event: React.DragEvent<HTMLDivElement>) => { - event.preventDefault(); - event.stopPropagation(); - const files = getDataTransferFiles(event); - - const view = localRef?.current?.view; - if (!view) { - return; - } - - // Find a valid position at the end of the document to insert our content - const pos = TextSelection.near( - view.state.doc.resolve(view.state.doc.nodeSize - 2) - ).from; - - // If there are no files in the drop event attempt to parse the html - // as a fragment and insert it at the end of the document - if (files.length === 0) { - const text = - event.dataTransfer.getData("text/html") || - event.dataTransfer.getData("text/plain"); - - const dom = new DOMParser().parseFromString(text, "text/html"); - - view.dispatch( - view.state.tr.insert( - pos, - ProsemirrorDOMParser.fromSchema(view.state.schema).parse(dom) - ) - ); - - return; - } - - // Insert all files as attachments if any of the files are not images. - const isAttachment = files.some( - (file) => !AttachmentValidation.imageContentTypes.includes(file.type) - ); - - return insertFiles(view, event, pos, files, { - uploadFile: handleUploadFile, - onFileUploadStart: handleFileUploadStart, - onFileUploadStop: handleFileUploadStop, - onFileUploadProgress: handleFileUploadProgress, - onNotice: toastNotice, - isAttachment, - }); - }, - [ - localRef, - handleFileUploadStart, - handleFileUploadStop, - handleFileUploadProgress, - handleUploadFile, - ] + (event: React.DragEvent<HTMLDivElement>) => + localRef.current?.insertDroppedContent(event), + [] ); // see: https://stackoverflow.com/a/50233827/192065 diff --git a/app/components/EditorAwareHTML5Backend.ts b/app/components/EditorAwareHTML5Backend.ts index 3322d22a19..b1924052d4 100644 --- a/app/components/EditorAwareHTML5Backend.ts +++ b/app/components/EditorAwareHTML5Backend.ts @@ -29,6 +29,14 @@ const topHandlerNames = [ const isWithinEditor = (target: EventTarget | null): boolean => target instanceof Element && Boolean(target.closest(".ProseMirror")); +// A file dragged over an element marked `data-drop-area`, which accepts native +// file drops itself. react-dnd never tracks these drags, so its handlers would +// otherwise reject them. +const isFileOverDropArea = (event: DragEvent): boolean => + Boolean(event.dataTransfer?.types.includes("Files")) && + event.target instanceof Element && + Boolean(event.target.closest("[data-drop-area]")); + /** * An HTML5 drag-and-drop backend that ignores drag events originating within the * rich text editor so that ProseMirror can handle them itself. @@ -57,7 +65,7 @@ export const EditorAwareHTML5Backend: BackendFactory = ( const original = handlers[name]; if (typeof original === "function") { handlers[name] = (event: DragEvent) => { - if (isWithinEditor(event.target)) { + if (isWithinEditor(event.target) || isFileOverDropArea(event)) { return; } // A drag that began or entered the page over the editor is never diff --git a/app/editor/index.tsx b/app/editor/index.tsx index d33096aa1d..06a201d204 100644 --- a/app/editor/index.tsx +++ b/app/editor/index.tsx @@ -9,7 +9,11 @@ import { gapCursor } from "prosemirror-gapcursor"; import type { InputRule } from "prosemirror-inputrules"; import { keymap } from "prosemirror-keymap"; import type { NodeSpec, MarkSpec } from "prosemirror-model"; -import { Schema, Node as ProsemirrorNode } from "prosemirror-model"; +import { + Schema, + Node as ProsemirrorNode, + DOMParser as ProsemirrorDOMParser, +} from "prosemirror-model"; import type { Plugin, Transaction } from "prosemirror-state"; import { EditorState, Selection, TextSelection } from "prosemirror-state"; import type { MarkdownParser } from "prosemirror-markdown"; @@ -36,6 +40,7 @@ import { inputRules } from "@shared/editor/lib/inputRules"; import type { MarkdownSerializer } from "@shared/editor/lib/markdown/serializer"; import { isRemoteTransaction } from "@shared/editor/lib/multiplayer"; import textBetween from "@shared/editor/lib/textBetween"; +import { findNearestPos } from "@shared/editor/queries/findNearestPos"; import { basicExtensions as extensions } from "@shared/editor/nodes"; import type ReactNode from "@shared/editor/nodes/ReactNode"; import type { @@ -52,6 +57,8 @@ import { HeadingPrefixStyle } from "@shared/types"; import { headingPrefixPluginKey } from "@shared/editor/extensions/HeadingPrefix"; import { ProsemirrorHelper } from "@shared/utils/ProsemirrorHelper"; import EventEmitter from "@shared/utils/events"; +import { getDataTransferFiles } from "@shared/utils/files"; +import { AttachmentValidation } from "@shared/validations"; import type Document from "~/models/Document"; import Flex from "~/components/Flex"; import { PortalContext } from "~/components/Portal"; @@ -745,6 +752,57 @@ export class Editor extends React.PureComponent< this.props ); + /** + * Insert the content of a drop event at the position nearest to where it + * occurred. Intended for drops that land outside of the editor itself. + * + * @param event The drop event. + */ + public insertDroppedContent = (event: React.DragEvent<HTMLElement>) => { + const { view } = this; + if (!view.editable) { + return; + } + + event.preventDefault(); + event.stopPropagation(); + + const pos = findNearestPos(view, { + left: event.clientX, + top: event.clientY, + }); + const files = getDataTransferFiles(event); + + // Without files, attempt to parse the payload as an HTML fragment. + if (files.length === 0) { + const text = + event.dataTransfer.getData("text/html") || + event.dataTransfer.getData("text/plain"); + if (!text) { + return; + } + + const dom = new DOMParser().parseFromString(text, "text/html"); + view.dispatch( + view.state.tr.insert( + pos, + ProsemirrorDOMParser.fromSchema(view.state.schema).parse(dom) + ) + ); + return; + } + + // Insert all files as attachments if any of the files are not images. + const isAttachment = files.some( + (file) => !AttachmentValidation.imageContentTypes.includes(file.type) + ); + + return insertFiles(view, event, pos, files, { + ...this.props, + isAttachment, + }); + }; + /** * Returns true if the trimmed content of the editor is an empty string. * diff --git a/app/scenes/Document/components/Document.tsx b/app/scenes/Document/components/Document.tsx index 90299bed8b..7f8884b08c 100644 --- a/app/scenes/Document/components/Document.tsx +++ b/app/scenes/Document/components/Document.tsx @@ -206,6 +206,37 @@ function DocumentScene({ [readOnly, abilities.update, history, document, sidebarContext] ); + // Files dropped in the margins around the document are inserted at the + // closest point in the editor, rather than being ignored by the browser. + const isFileDrag = useCallback( + (event: React.DragEvent<HTMLElement>) => + !readOnly && !revision && event.dataTransfer.types.includes("Files"), + [readOnly, revision] + ); + + const handleDragOver = useCallback( + (event: React.DragEvent<HTMLElement>) => { + if (isFileDrag(event)) { + event.dataTransfer.dropEffect = "copy"; + event.preventDefault(); + } + }, + [isFileDrag] + ); + + const handleDrop = useCallback( + (event: React.DragEvent<HTMLElement>) => { + // A drop that landed inside the editor has already been handled. + if (event.defaultPrevented || !isFileDrag(event)) { + return; + } + // Prevent the browser from navigating to the file if it cannot be added. + event.preventDefault(); + void editorRef.current?.insertDroppedContent(event); + }, + [isFileDrag] + ); + const goToHistory = useCallback( (ev: KeyboardEvent) => { if (!readOnly) { @@ -315,6 +346,9 @@ function DocumentScene({ key={revision ? revision.id : document.id} column auto + onDragOver={handleDragOver} + onDrop={handleDrop} + data-drop-area > <PageTitle title={pageTitle} favicon={favicon} /> {(isUploading || isSaving) && <LoadingIndicator />} diff --git a/shared/editor/commands/insertFiles.ts b/shared/editor/commands/insertFiles.ts index c472017262..6aa0495e9e 100644 --- a/shared/editor/commands/insertFiles.ts +++ b/shared/editor/commands/insertFiles.ts @@ -48,7 +48,7 @@ const insertFiles = async function ( event: | Event | React.ChangeEvent<HTMLInputElement> - | React.DragEvent<HTMLDivElement>, + | React.DragEvent<HTMLElement>, pos: number, files: File[], options: Options diff --git a/shared/editor/queries/findNearestPos.ts b/shared/editor/queries/findNearestPos.ts new file mode 100644 index 0000000000..7c84121e53 --- /dev/null +++ b/shared/editor/queries/findNearestPos.ts @@ -0,0 +1,31 @@ +import { clamp } from "es-toolkit"; +import { TextSelection } from "prosemirror-state"; +import type { EditorView } from "prosemirror-view"; + +/** + * Find the position in the document nearest to the given viewport coordinates. + * Unlike `posAtCoords`, coordinates that fall outside of the editor are clamped + * to its bounds so that a position is always returned. + * + * @param view the editor view. + * @param coords the viewport coordinates. + * @returns a position in the document that a selection can be placed at. + */ +export function findNearestPos( + view: EditorView, + coords: { left: number; top: number } +): number { + const { doc } = view.state; + const rect = view.dom.getBoundingClientRect(); + const top = clamp(coords.top, rect.top + 1, rect.bottom - 1); + const result = + view.posAtCoords({ + left: clamp(coords.left, rect.left + 1, rect.right - 1), + top, + }) ?? + // The clamped point can still land in the space between two blocks, in + // which case fall back to the start of the nearest line. + view.posAtCoords({ left: rect.left + 1, top }); + + return TextSelection.near(doc.resolve(result?.pos ?? doc.nodeSize - 2)).from; +} From a7aac841cfb6501407d5098522bcdebb7c0a162c Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Thu, 27 Aug 2026 17:35:21 -0400 Subject: [PATCH 34/85] chore: Vendorize `y-indexeddb` persistence (#12918) * chore: Vendorize y-indexeddb persistence Replaces the y-indexeddb dependency with a small typed module in app/utils/IndexeddbPersistence.ts so we have full control over the underlying database rows. The IndexedDB schema is unchanged and remains compatible with databases created by y-indexeddb, so existing local caches continue to work. Differences from upstream: - Promise-based API (whenSynced) instead of the lib0 Observable events, which simplifies MultiplayerEditor and lets it handle environments where IndexedDB exists but cannot be opened (e.g. Firefox private browsing) by falling back to no local persistence. - Skips writing an empty state row every time a document is opened. - Exposes a public compact() to merge all rows into one on demand. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XYncL4PQ5jaEeMBNgjRzf9 * chore: Remove persistence tests and fake-indexeddb dependency Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XYncL4PQ5jaEeMBNgjRzf9 * chore: Make trim size a private class member, drop unused custom store Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XYncL4PQ5jaEeMBNgjRzf9 * fix: Guard async persistence callbacks against post-cleanup state updates Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XYncL4PQ5jaEeMBNgjRzf9 * Added onversionchange handler --------- Co-authored-by: Claude <noreply@anthropic.com> --- .../Document/components/MultiplayerEditor.tsx | 30 ++- app/utils/IndexeddbPersistence.ts | 234 ++++++++++++++++++ package.json | 1 - vite.config.ts | 2 +- yarn.lock | 14 +- 5 files changed, 258 insertions(+), 23 deletions(-) create mode 100644 app/utils/IndexeddbPersistence.ts diff --git a/app/scenes/Document/components/MultiplayerEditor.tsx b/app/scenes/Document/components/MultiplayerEditor.tsx index a6733f7966..5dd095e824 100644 --- a/app/scenes/Document/components/MultiplayerEditor.tsx +++ b/app/scenes/Document/components/MultiplayerEditor.tsx @@ -13,7 +13,6 @@ import { import { useTranslation } from "react-i18next"; import { useHistory } from "react-router-dom"; import { toast } from "sonner"; -import { IndexeddbPersistence } from "y-indexeddb"; import * as Y from "yjs"; import { EditorUpdateError } from "@shared/collaboration/CloseEvents"; import History from "@shared/editor/extensions/History"; @@ -31,6 +30,7 @@ import useIsMounted from "~/hooks/useIsMounted"; import usePageVisibility from "~/hooks/usePageVisibility"; import useStores from "~/hooks/useStores"; import type { AwarenessChangeEvent } from "~/types"; +import { IndexeddbPersistence } from "~/utils/IndexeddbPersistence"; import Logger from "~/utils/Logger"; import { homePath } from "~/utils/routeHelpers"; import { sleep } from "@shared/utils/timers"; @@ -82,6 +82,9 @@ function MultiplayerEditor( // an orphaned websocket connection. // see: https://github.com/facebook/react/issues/20090#issuecomment-715926549 useLayoutEffect(() => { + // Tracks whether this effect has been cleaned up so async persistence + // callbacks below do not update state afterwards. + let isActive = true; const debug = env.ENVIRONMENT === "development"; const name = `document.${documentId}`; const localProvider = @@ -172,10 +175,23 @@ function MultiplayerEditor( }; provider.on("awarenessChange", showCursorNames); - localProvider?.on("synced", () => - // only set local storage to "synced" if it's loaded a non-empty doc - setLocalSynced(!!ydoc.get("default")._start) - ); + localProvider?.whenSynced + .then(() => { + if (!isActive || !localProvider.synced) { + return; + } + if (debug) { + Logger.debug("collaboration", "local synced"); + } + // only set local storage to "synced" if it's loaded a non-empty doc + setLocalSynced(!!ydoc.get("default")._start); + }) + .catch(() => { + // IndexedDB exists but is unusable, e.g. Firefox private browsing. + if (isActive) { + setHasLocalPersistence(false); + } + }); provider.on("synced", () => { presence.touch(documentId, currentUser.id, false); setRemoteSynced(true); @@ -211,9 +227,6 @@ function MultiplayerEditor( message: ev.message, }) ); - localProvider?.on("synced", () => - Logger.debug("collaboration", "local synced") - ); } provider.on("status", (ev: ConnectionStatusEvent) => { @@ -225,6 +238,7 @@ function MultiplayerEditor( setRemoteProvider(provider); return () => { + isActive = false; window.removeEventListener("click", finishObserving); window.removeEventListener("wheel", finishObserving); window.removeEventListener("scroll", syncScrollPosition); diff --git a/app/utils/IndexeddbPersistence.ts b/app/utils/IndexeddbPersistence.ts new file mode 100644 index 0000000000..7d64223ac1 --- /dev/null +++ b/app/utils/IndexeddbPersistence.ts @@ -0,0 +1,234 @@ +import * as Y from "yjs"; + +/** + * Persists a Y.Doc to IndexedDB so documents can be loaded instantly from the + * local cache and edited offline. + * + * Adapted from y-indexeddb (https://github.com/yjs/y-indexeddb, MIT licensed) + * so that we have full control over the underlying database rows. The schema + * is kept compatible with databases created by y-indexeddb: one database per + * document containing an "updates" object store where each row is a binary + * Yjs update keyed by an auto-incrementing integer. Rows are periodically + * compacted into a single row holding the whole document state. + */ +export class IndexeddbPersistence { + /** Name of the IndexedDB database that backs this instance. */ + public readonly name: string; + + /** The Y.Doc that is being persisted. */ + public readonly doc: Y.Doc; + + /** Whether the state stored in the database has been applied to the document. */ + public synced = false; + + /** + * Resolves once the state stored in the database has been applied to the + * document, or immediately if the instance is destroyed beforehand – check + * `synced` to distinguish the two. + */ + public readonly whenSynced: Promise<IndexeddbPersistence>; + + /** + * @param name Name of the database, unique per persisted document. + * @param doc The Y.Doc to persist. + */ + constructor(name: string, doc: Y.Doc) { + this.name = name; + this.doc = doc; + this.dbPromise = openDatabase(name); + + this.whenSynced = this.dbPromise.then(async (db) => { + this.db = db; + await this.fetchStoredUpdates(true); + + if (!this.destroyed) { + this.synced = true; + } + return this; + }); + + doc.on("update", this.handleDocUpdate); + doc.on("destroy", this.destroy); + } + + /** + * Merges all stored update rows into a single row containing the current + * document state. + * + * @returns a promise that resolves when compaction has completed. + */ + public compact(): Promise<void> { + return this.storeState(true); + } + + /** + * Stops persisting the document and closes the database connection. Data + * already stored is left intact. + * + * @returns a promise that resolves when the database has been closed. + */ + public destroy = (): Promise<void> => { + if (this.destroyed) { + return Promise.resolve(); + } + this.destroyed = true; + + if (this.storeTimeoutId !== undefined) { + clearTimeout(this.storeTimeoutId); + this.storeTimeoutId = undefined; + } + + this.doc.off("update", this.handleDocUpdate); + this.doc.off("destroy", this.destroy); + + return this.dbPromise.then( + (db) => db.close(), + () => undefined + ); + }; + + private dbPromise: Promise<IDBDatabase>; + + private db: IDBDatabase | null = null; + + /** Key of the first update row that has not been applied to the document. */ + private dbref = 0; + + /** Approximate number of rows in the updates store. */ + private dbsize = 0; + + private destroyed = false; + + /** + * Number of stored updates after which they are merged into a single + * database row containing the entire document state, keeping loads fast. + */ + private preferredTrimSize = 500; + + /** Time in ms to debounce compaction once the trim size is reached. */ + private storeTimeout = 1000; + + private storeTimeoutId?: ReturnType<typeof setTimeout>; + + /** + * Appends every local document update as a new row, and schedules a + * compaction once the number of rows grows beyond the preferred trim size. + */ + private handleDocUpdate = (update: Uint8Array, origin: unknown) => { + if (!this.db || origin === this || this.destroyed) { + return; + } + + this.updatesStore(this.db).add(update); + + if (++this.dbsize >= this.preferredTrimSize) { + if (this.storeTimeoutId !== undefined) { + clearTimeout(this.storeTimeoutId); + } + this.storeTimeoutId = setTimeout(() => { + this.storeTimeoutId = undefined; + void this.storeState(false); + }, this.storeTimeout); + } + }; + + /** + * Applies all rows stored since the last read to the document – on first + * call this loads the document, on later calls it picks up rows written by + * other tabs. When `storeCurrentState` is set, any state already in the + * document is written as a new row so it cannot be lost. + * + * @returns the object store, still inside the read-write transaction. + */ + private async fetchStoredUpdates( + storeCurrentState = false + ): Promise<IDBObjectStore | undefined> { + if (!this.db) { + return undefined; + } + const store = this.updatesStore(this.db); + const updates: Uint8Array[] = await requestToPromise( + store.getAll(IDBKeyRange.lowerBound(this.dbref, false)) + ); + + if (!this.destroyed) { + if (storeCurrentState && this.doc.store.clients.size > 0) { + store.add(Y.encodeStateAsUpdate(this.doc)); + } + Y.transact( + this.doc, + () => updates.forEach((update) => Y.applyUpdate(this.doc, update)), + this, + false + ); + } + + const lastKeyPromise = getLastKey(store); + const countPromise = requestToPromise(store.count()); + this.dbref = (await lastKeyPromise) + 1; + this.dbsize = await countPromise; + return store; + } + + /** + * Writes the whole document state as a single row and deletes the rows it + * replaces. Unless `force` is set, this only happens once the number of + * rows has grown beyond the preferred trim size. + */ + private async storeState(force: boolean): Promise<void> { + const store = await this.fetchStoredUpdates(); + + if (!store || this.destroyed) { + return; + } + if (force || this.dbsize >= this.preferredTrimSize) { + store.add(Y.encodeStateAsUpdate(this.doc)); + store.delete(IDBKeyRange.upperBound(this.dbref, true)); + this.dbsize = await requestToPromise(store.count()); + } + } + + private updatesStore(db: IDBDatabase): IDBObjectStore { + return db + .transaction(updatesStoreName, "readwrite") + .objectStore(updatesStoreName); + } +} + +const updatesStoreName = "updates"; + +function requestToPromise<T>(request: IDBRequest<T>): Promise<T> { + return new Promise((resolve, reject) => { + request.onsuccess = () => resolve(request.result); + request.onerror = () => reject(request.error); + }); +} + +function openDatabase(name: string): Promise<IDBDatabase> { + return new Promise((resolve, reject) => { + const request = indexedDB.open(name); + request.onupgradeneeded = () => { + const db = request.result; + if (!db.objectStoreNames.contains(updatesStoreName)) { + db.createObjectStore(updatesStoreName, { autoIncrement: true }); + } + }; + request.onsuccess = () => { + const db = request.result; + // Close the connection when another context deletes or upgrades the + // database, otherwise their request would block indefinitely. + db.onversionchange = () => db.close(); + resolve(db); + }; + request.onerror = () => reject(request.error); + }); +} + +function getLastKey(store: IDBObjectStore): Promise<number> { + return new Promise((resolve, reject) => { + const request = store.openKeyCursor(null, "prev"); + request.onsuccess = () => + resolve(request.result ? Number(request.result.key) : -1); + request.onerror = () => reject(request.error); + }); +} diff --git a/package.json b/package.json index 567ac96957..bf258decfe 100644 --- a/package.json +++ b/package.json @@ -274,7 +274,6 @@ "vite-plugin-pwa": "1.3.0", "winston": "^3.17.0", "ws": "^7.5.11", - "y-indexeddb": "^9.0.12", "y-prosemirror": "^1.3.7", "y-protocols": "^1.0.7", "yauzl": "^3.3.1", diff --git a/vite.config.ts b/vite.config.ts index 70ef306888..1498a81502 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -229,7 +229,7 @@ export default ({ mode }: ConfigEnv) => }, { name: "vendor-collab", - test: /node_modules[\\/](yjs|y-prosemirror|y-indexeddb|@hocuspocus|lib0)/, + test: /node_modules[\\/](yjs|y-prosemirror|@hocuspocus|lib0)/, priority: 20, }, { diff --git a/yarn.lock b/yarn.lock index 58cc82fe9f..84d551a4f3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -14065,7 +14065,7 @@ __metadata: languageName: node linkType: hard -"lib0@npm:^0.2.109, lib0@npm:^0.2.46, lib0@npm:^0.2.47, lib0@npm:^0.2.74, lib0@npm:^0.2.85, lib0@npm:^0.2.99": +"lib0@npm:^0.2.109, lib0@npm:^0.2.46, lib0@npm:^0.2.47, lib0@npm:^0.2.85, lib0@npm:^0.2.99": version: 0.2.114 resolution: "lib0@npm:0.2.114" dependencies: @@ -15974,7 +15974,6 @@ __metadata: vitest: "npm:^4.1.10" winston: "npm:^3.17.0" ws: "npm:^7.5.11" - y-indexeddb: "npm:^9.0.12" y-prosemirror: "npm:^1.3.7" y-protocols: "npm:^1.0.7" yauzl: "npm:^3.3.1" @@ -21533,17 +21532,6 @@ __metadata: languageName: node linkType: hard -"y-indexeddb@npm:^9.0.12": - version: 9.0.12 - resolution: "y-indexeddb@npm:9.0.12" - dependencies: - lib0: "npm:^0.2.74" - peerDependencies: - yjs: ^13.0.0 - checksum: 10c0/b31fbc12ef4a7d71f09212db02570af07c6a17b02537ce4cbb29f0549137adcbebf613cb2af63fa1d13e0932645be0293a4e7189cb5bf5dc6263cf2f72b65004 - languageName: node - linkType: hard - "y-prosemirror@npm:^1.3.7": version: 1.3.7 resolution: "y-prosemirror@npm:1.3.7" From 1ed8ca2b78b3a794c9ceee51a9c9d40c7b585f75 Mon Sep 17 00:00:00 2001 From: chenniannian90 <1028630307@qq.com> Date: Fri, 28 Aug 2026 05:39:59 +0800 Subject: [PATCH 35/85] fix(History): show revision author in meta when viewing a revision (#13571) The revision branch of DocumentMeta keys the "You updated" case off revision.createdBy, but the displayed name falls back to the document's current updatedBy. Viewing a revision created by another user therefore attributes it to whoever last edited the document, next to the revision's own timestamp. Display revision.createdBy's name instead, falling back to "Unknown" when the author is unavailable, matching the existing deletedBy handling. Fixes #13570 Co-authored-by: Claude <noreply@anthropic.com> --- app/components/DocumentMeta.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/components/DocumentMeta.tsx b/app/components/DocumentMeta.tsx index f9e5413f2c..8e0180938d 100644 --- a/app/components/DocumentMeta.tsx +++ b/app/components/DocumentMeta.tsx @@ -86,7 +86,9 @@ const DocumentMeta: React.FC<Props> = ({ <span> {revision.createdBy?.id === user.id ? t("You updated") - : t("{{ userName }} updated", { userName })}{" "} + : t("{{ userName }} updated", { + userName: revision.createdBy?.name ?? t("Unknown"), + })}{" "} <Time dateTime={revision.createdAt} addSuffix /> </span> ); From f49b047648ea9d2ece1630485ff883d9eae2dadb Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Thu, 27 Aug 2026 17:42:28 -0400 Subject: [PATCH 36/85] feat: Convert @ prefixed Markdown links to mentions on server writes (#13403) * checkpoint * feat: Convert @ prefixed links to mentions on server Markdown writes A Markdown link preceded by "@" now becomes a mention when brought in through the documents API, MCP, or an import, so an exported mention survives a round trip instead of degrading to a plain link. The editor rule creates a generic mention carrying the href, and the type of resource it points at is resolved by the plugin that recognizes the URL through a new MentionProvider hook. Mentions of external resources also serialize to their real URL rather than a mention:// URI, so the reference resolves outside of Outline. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix: Escape values interpolated into rendered mention HTML markdown-it leaves markup in a link label intact when html is disabled, so the label and attributes are escaped before being written into the tag. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> --- plugins/github/server/index.ts | 5 ++ plugins/github/shared/GitHubUtils.ts | 24 ++++++ plugins/gitlab/server/index.ts | 7 ++ plugins/gitlab/shared/GitLabUtils.ts | 28 ++++++- plugins/linear/server/index.ts | 5 ++ plugins/linear/shared/LinearUtils.ts | 22 +++++ server/editor/index.ts | 5 +- server/editor/rules/mentions.test.ts | 72 ++++++++++++++++ server/editor/rules/mentions.ts | 55 +++++++++++++ .../models/helpers/ProseMirrorHelper.test.ts | 65 ++++++++++++++- server/types.ts | 8 ++ server/utils/PluginManager.ts | 8 +- shared/editor/nodes/Mention.test.ts | 25 ++++-- shared/editor/nodes/Mention.tsx | 29 ++++++- shared/editor/rules/mention.test.ts | 54 ++++++++++++ shared/editor/rules/mention.ts | 82 +++++++++++++++---- 16 files changed, 464 insertions(+), 30 deletions(-) create mode 100644 server/editor/rules/mentions.test.ts create mode 100644 server/editor/rules/mentions.ts diff --git a/plugins/github/server/index.ts b/plugins/github/server/index.ts index 1c47fbac26..68f31193a9 100644 --- a/plugins/github/server/index.ts +++ b/plugins/github/server/index.ts @@ -1,6 +1,7 @@ import { Minute } from "@shared/utils/time"; import { PluginManager, Hook } from "@server/utils/PluginManager"; import config from "../plugin.json"; +import { GitHubUtils } from "../shared/GitHubUtils"; import { GitHubIssueProvider } from "./GitHubIssueProvider"; import router from "./api/github"; import env from "./env"; @@ -34,6 +35,10 @@ if (enabled) { type: Hook.UnfurlProvider, value: { unfurl: GitHub.unfurl, cacheExpiry: Minute.seconds }, }, + { + type: Hook.MentionProvider, + value: (url: URL) => GitHubUtils.mentionType(url), + }, { type: Hook.Uninstall, value: uninstall, diff --git a/plugins/github/shared/GitHubUtils.ts b/plugins/github/shared/GitHubUtils.ts index 0b9a70aa7a..dffc2e390e 100644 --- a/plugins/github/shared/GitHubUtils.ts +++ b/plugins/github/shared/GitHubUtils.ts @@ -1,5 +1,6 @@ import queryString from "query-string"; import env from "@shared/env"; +import { MentionType } from "@shared/types"; import { integrationSettingsPath } from "@shared/utils/routeHelpers"; export const GitHubOAuthNonceCookie = "githubOAuthNonce"; @@ -60,6 +61,29 @@ export class GitHubUtils { return `${this.url}?install_request=true`; } + /** + * Determines the type of mention a GitHub URL represents. + * + * @param url the URL to evaluate. + * @returns the mention type, or undefined if this is not a GitHub URL for a + * resource that can be mentioned. + */ + public static mentionType(url: URL): MentionType | undefined { + if (url.hostname !== "github.com") { + return undefined; + } + + const type = url.pathname.split("/")[3]; + + return type === "pull" + ? MentionType.PullRequest + : type === "issues" + ? MentionType.Issue + : type === "projects" + ? MentionType.Project + : undefined; + } + public static getColorForStatus(status: string, isDraftPR: boolean = false) { switch (status) { case "open": diff --git a/plugins/gitlab/server/index.ts b/plugins/gitlab/server/index.ts index c4f9c11d09..b98988445e 100644 --- a/plugins/gitlab/server/index.ts +++ b/plugins/gitlab/server/index.ts @@ -1,6 +1,7 @@ import { Minute } from "@shared/utils/time"; import { PluginManager, Hook } from "@server/utils/PluginManager"; import config from "../plugin.json"; +import { GitLabUtils } from "../shared/GitLabUtils"; import { GitLabIssueProvider } from "./GitLabIssueProvider"; import router from "./api/gitlab"; import { GitLab } from "./gitlab"; @@ -20,6 +21,12 @@ PluginManager.add([ type: Hook.UnfurlProvider, value: { unfurl: GitLab.unfurl, cacheExpiry: Minute.seconds }, }, + { + // Only the public host is recognized here, a self-hosted instance is not + // known without the settings of a connected integration. + type: Hook.MentionProvider, + value: (url: URL) => GitLabUtils.mentionType(url), + }, { type: Hook.Task, value: GitLabWebhookTask, diff --git a/plugins/gitlab/shared/GitLabUtils.ts b/plugins/gitlab/shared/GitLabUtils.ts index 4834960652..a37e83a774 100644 --- a/plugins/gitlab/shared/GitLabUtils.ts +++ b/plugins/gitlab/shared/GitLabUtils.ts @@ -1,6 +1,6 @@ import env from "@shared/env"; import { integrationSettingsPath } from "@shared/utils/routeHelpers"; -import { UnfurlResourceType } from "@shared/types"; +import { MentionType, UnfurlResourceType } from "@shared/types"; export const GitLabOAuthNonceCookie = "gitlabOAuthNonce"; @@ -244,6 +244,32 @@ export class GitLabUtils { } } + /** + * Determines the type of mention a GitLab URL represents. + * + * @param url the URL to evaluate. + * @param customUrl optional custom GitLab URL from integration settings. + * @returns the mention type, or undefined if this is not a GitLab URL for a + * resource that can be mentioned. + */ + public static mentionType( + url: URL, + customUrl?: string + ): MentionType | undefined { + const parsed = this.parseUrl(url.toString(), customUrl); + + switch (parsed?.type) { + case UnfurlResourceType.PR: + return MentionType.PullRequest; + case UnfurlResourceType.Issue: + return MentionType.Issue; + case UnfurlResourceType.Project: + return MentionType.Project; + default: + return undefined; + } + } + /** * Checks if the first path segment is a known GitLab system path. * diff --git a/plugins/linear/server/index.ts b/plugins/linear/server/index.ts index 9b533dcbaa..69c62b065d 100644 --- a/plugins/linear/server/index.ts +++ b/plugins/linear/server/index.ts @@ -1,6 +1,7 @@ import { Minute } from "@shared/utils/time"; import { Hook, PluginManager } from "@server/utils/PluginManager"; import config from "../plugin.json"; +import { LinearUtils } from "../shared/LinearUtils"; import router from "./api/linear"; import env from "./env"; import { Linear } from "./linear"; @@ -24,6 +25,10 @@ if (enabled) { type: Hook.UnfurlProvider, value: { unfurl: Linear.unfurl, cacheExpiry: Minute.seconds }, }, + { + type: Hook.MentionProvider, + value: (url: URL) => LinearUtils.mentionType(url), + }, { type: Hook.Uninstall, value: uninstall, diff --git a/plugins/linear/shared/LinearUtils.ts b/plugins/linear/shared/LinearUtils.ts index 6c2e3f1b13..e362805675 100644 --- a/plugins/linear/shared/LinearUtils.ts +++ b/plugins/linear/shared/LinearUtils.ts @@ -1,5 +1,6 @@ import queryString from "query-string"; import env from "@shared/env"; +import { MentionType } from "@shared/types"; import { integrationSettingsPath } from "@shared/utils/routeHelpers"; export const LinearOAuthNonceCookie = "linearOAuthNonce"; @@ -26,6 +27,27 @@ export class LinearUtils { } } + /** + * Determines the type of mention a Linear URL represents. + * + * @param url the URL to evaluate. + * @returns the mention type, or undefined if this is not a Linear URL for a + * resource that can be mentioned. + */ + public static mentionType(url: URL): MentionType | undefined { + if (url.hostname !== "linear.app") { + return undefined; + } + + const type = url.pathname.split("/")[2]; + + return type === "issue" + ? MentionType.Issue + : type === "project" + ? MentionType.Project + : undefined; + } + static successUrl() { return this.settingsUrl; } diff --git a/server/editor/index.ts b/server/editor/index.ts index c66728ef0b..57a1f9d721 100644 --- a/server/editor/index.ts +++ b/server/editor/index.ts @@ -13,6 +13,7 @@ import { import CodeBlock from "@shared/editor/nodes/CodeBlock"; import CodeFence from "@shared/editor/nodes/CodeFence"; import Mention from "@shared/editor/nodes/Mention"; +import mentionRules from "./rules/mentions"; populateEmojiData(data as EmojiMartData); @@ -43,7 +44,7 @@ for (const extension of extensionManager.extensions) { export const parser = extensionManager.parser({ schema, - plugins: extensionManager.rulePlugins, + plugins: [...extensionManager.rulePlugins, mentionRules], }); export const serializer = extensionManager.serializer(); @@ -80,5 +81,5 @@ for (const extension of commentExtensionManager.extensions) { export const commentParser = commentExtensionManager.parser({ schema: commentSchema, - plugins: commentExtensionManager.rulePlugins, + plugins: [...commentExtensionManager.rulePlugins, mentionRules], }); diff --git a/server/editor/rules/mentions.test.ts b/server/editor/rules/mentions.test.ts new file mode 100644 index 0000000000..2630d74256 --- /dev/null +++ b/server/editor/rules/mentions.test.ts @@ -0,0 +1,72 @@ +import type { Node } from "prosemirror-model"; +import { MentionType } from "@shared/types"; +import { parser } from ".."; + +function firstMention(markdown: string): Node | undefined { + const doc = parser.parse(markdown); + let mention: Node | undefined; + + doc?.descendants((node: Node) => { + if (!mention && node.type.name === "mention") { + mention = node; + } + }); + + return mention; +} + +describe("mention type rule", () => { + it("should resolve a GitHub issue link", () => { + const mention = firstMention( + "@[Fix parser](https://github.com/acme/infra/issues/2)" + ); + + expect(mention?.attrs.type).toBe(MentionType.Issue); + expect(mention?.attrs.href).toBe("https://github.com/acme/infra/issues/2"); + expect(mention?.attrs.label).toBe("Fix parser"); + }); + + it("should resolve a GitHub pull request link", () => { + const mention = firstMention( + "@[Add parser](https://github.com/acme/infra/pull/5)" + ); + + expect(mention?.attrs.type).toBe(MentionType.PullRequest); + }); + + it("should resolve a GitHub project link", () => { + const mention = firstMention( + "@[Roadmap](https://github.com/orgs/acme/projects/1)" + ); + + expect(mention?.attrs.type).toBe(MentionType.Project); + }); + + it("should leave a GitHub link to an unmentionable resource generic", () => { + const mention = firstMention("@[Repo](https://github.com/acme/infra)"); + + expect(mention?.attrs.type).toBe(MentionType.URL); + }); + + it("should leave a link no plugin recognizes generic", () => { + const mention = firstMention("@[Example](https://example.com/page)"); + + expect(mention?.attrs.type).toBe(MentionType.URL); + expect(mention?.attrs.href).toBe("https://example.com/page"); + }); + + it("should not affect mention:// links", () => { + const mention = firstMention( + "@[John Doe](mention://a1b2c3d4-e5f6-7890-abcd-ef1234567890/user/f0e1d2c3-b4a5-6789-0abc-def123456789)" + ); + + expect(mention?.attrs.type).toBe(MentionType.User); + expect(mention?.attrs.href).toBeUndefined(); + }); + + it("should not convert a link without an @ prefix", () => { + expect( + firstMention("[Fix parser](https://github.com/acme/infra/issues/2)") + ).toBeUndefined(); + }); +}); diff --git a/server/editor/rules/mentions.ts b/server/editor/rules/mentions.ts new file mode 100644 index 0000000000..9d4f53ec3f --- /dev/null +++ b/server/editor/rules/mentions.ts @@ -0,0 +1,55 @@ +import type MarkdownIt from "markdown-it"; +import type StateCore from "markdown-it/lib/rules_core/state_core.mjs"; +import { Hook, PluginManager } from "@server/utils/PluginManager"; + +/** + * Narrows the generic mentions produced for external links to the resource + * they point at, by asking each plugin whether it recognizes the URL. + * + * @param state the markdown-it parser state. + */ +function resolveMentionTypes(state: StateCore) { + const providers = PluginManager.getHooks(Hook.MentionProvider); + if (!providers.length) { + return; + } + + for (const token of state.tokens) { + if (token.type !== "inline" || !token.children) { + continue; + } + + for (const child of token.children) { + const href = child.type === "mention" ? child.attrGet("href") : null; + if (!href) { + continue; + } + + let url: URL; + try { + url = new URL(href); + } catch { + continue; + } + + for (const provider of providers) { + const type = provider.value(url); + if (type) { + child.attrSet("type", type); + break; + } + } + } + } +} + +/** + * Markdown-it plugin that resolves the type of mentions created from external + * links. It is only applied to parsers on the server, where the plugins that + * recognize a URL are registered. + * + * @param md the markdown-it instance. + */ +export default function mentions(md: MarkdownIt) { + md.core.ruler.after("mention", "mention_type", resolveMentionTypes); +} diff --git a/server/models/helpers/ProseMirrorHelper.test.ts b/server/models/helpers/ProseMirrorHelper.test.ts index b89ec2821c..005ac55049 100644 --- a/server/models/helpers/ProseMirrorHelper.test.ts +++ b/server/models/helpers/ProseMirrorHelper.test.ts @@ -7,7 +7,7 @@ import type { ProsemirrorData } from "@shared/types"; import { MentionType } from "@shared/types"; import { ProsemirrorHelper as SharedProsemirrorHelper } from "@shared/utils/ProsemirrorHelper"; import { createContext } from "@server/context"; -import { parser, schema } from "@server/editor"; +import { parser, schema, serializer } from "@server/editor"; import env from "@server/env"; import { Attachment } from "@server/models"; import { buildProseMirrorDoc, buildUser } from "@server/test/factories"; @@ -1055,6 +1055,69 @@ describe("ProsemirrorHelper", () => { expect(thirdItem.attrs.checked).toBe(true); expect(thirdItem.textContent).toBe("Third"); }); + + it("should convert an @ prefixed GitHub link to an issue mention", () => { + const markdown = + "Please review @[Fix parser](https://github.com/acme/infra/issues/2)"; + + const doc = ProsemirrorHelper.toProsemirror(markdown); + const paragraph = doc.content.child(0); + const mention = paragraph.content.child(1); + + expect(mention.type.name).toBe("mention"); + expect(mention.attrs.type).toBe(MentionType.Issue); + expect(mention.attrs.href).toBe("https://github.com/acme/infra/issues/2"); + expect(mention.attrs.label).toBe("Fix parser"); + expect(paragraph.content.child(0).text).toBe("Please review "); + }); + + it("should convert an @ prefixed GitHub pull request link", () => { + const markdown = "@[Add parser](https://github.com/acme/infra/pull/5)"; + + const doc = ProsemirrorHelper.toProsemirror(markdown); + const mention = doc.content.child(0).content.child(0); + + expect(mention.attrs.type).toBe(MentionType.PullRequest); + }); + + it("should convert an @ prefixed link to an unclaimed host to a url mention", () => { + const markdown = "@[Example](https://example.com/page)"; + + const doc = ProsemirrorHelper.toProsemirror(markdown); + const mention = doc.content.child(0).content.child(0); + + expect(mention.attrs.type).toBe(MentionType.URL); + expect(mention.attrs.href).toBe("https://example.com/page"); + }); + + it("should keep a link without an @ prefix as a link", () => { + const markdown = + "Please review [Fix parser](https://github.com/acme/infra/issues/2)"; + + const doc = ProsemirrorHelper.toProsemirror(markdown); + const paragraph = doc.content.child(0); + + expect( + paragraph.content + .child(1) + .marks.some((mark) => mark.type.name === "link") + ).toBe(true); + }); + + it("should round-trip an external mention through Markdown", () => { + const markdown = "@[Fix parser](https://github.com/acme/infra/issues/2)"; + + const doc = ProsemirrorHelper.toProsemirror(markdown); + const mention = doc.content.child(0).content.child(0); + + expect(mention.type.name).toBe("mention"); + expect(mention.attrs.type).toBe(MentionType.Issue); + // Markdown that leaves Outline carries the url, so it comes back in as a + // mention rather than a plain link. + expect(serializer.serialize(doc, { commonMark: true }).trim()).toBe( + "@[Fix parser](https://github.com/acme/infra/issues/2)" + ); + }); }); describe("replaceDocumentReferences", () => { diff --git a/server/types.ts b/server/types.ts index 49037c1435..adad7772a5 100644 --- a/server/types.ts +++ b/server/types.ts @@ -9,6 +9,7 @@ import type { Client, CollectionPermission, JSONValue, + MentionType, UnfurlResourceType, ProsemirrorData, UnfurlResponse, @@ -623,6 +624,13 @@ export type UnfurlSignature = ( actor?: User ) => Promise<Unfurl | UnfurlError | undefined>; +/** + * Recognizes the URL of a resource belonging to the service and returns the + * type of mention that represents it, or undefined when the URL is not one the + * service can mention. + */ +export type MentionSignature = (url: URL) => MentionType | undefined; + export type UninstallSignature = (integration: Integration) => Promise<void>; export type Replace<T, K extends keyof T, N extends string> = { diff --git a/server/utils/PluginManager.ts b/server/utils/PluginManager.ts index 9caa54e6e3..0ba1057554 100644 --- a/server/utils/PluginManager.ts +++ b/server/utils/PluginManager.ts @@ -7,7 +7,11 @@ import env from "@server/env"; import Logger from "@server/logging/Logger"; import type BaseProcessor from "@server/queues/processors/BaseProcessor"; import type { BaseTask } from "@server/queues/tasks/base/BaseTask"; -import type { UnfurlSignature, UninstallSignature } from "@server/types"; +import type { + MentionSignature, + UnfurlSignature, + UninstallSignature, +} from "@server/types"; import type { BaseIssueProvider } from "./BaseIssueProvider"; import type { GroupSyncProvider } from "./GroupSyncProvider"; import type { BaseSearchProvider } from "./BaseSearchProvider"; @@ -34,6 +38,7 @@ export enum Hook { IssueProvider = "issueProvider", Processor = "processor", SearchProvider = "searchProvider", + MentionProvider = "mentionProvider", Task = "task", UnfurlProvider = "unfurl", Uninstall = "uninstall", @@ -50,6 +55,7 @@ type PluginValueMap = { // eslint-disable-next-line @typescript-eslint/no-explicit-any -- typeof BaseEmail<EmailProps> isn't assignable from BaseEmail<Subtype>; plugins register heterogeneous template Props. [Hook.EmailTemplate]: typeof BaseEmail<any>; [Hook.IssueProvider]: BaseIssueProvider; + [Hook.MentionProvider]: MentionSignature; [Hook.Processor]: typeof BaseProcessor; [Hook.SearchProvider]: BaseSearchProvider; [Hook.Task]: typeof BaseTask<object>; diff --git a/shared/editor/nodes/Mention.test.ts b/shared/editor/nodes/Mention.test.ts index 2177ef2cf9..bf3eb087c1 100644 --- a/shared/editor/nodes/Mention.test.ts +++ b/shared/editor/nodes/Mention.test.ts @@ -22,7 +22,7 @@ const serializeMention = ( describe("Mention serialization", () => { describe("markdown leaving Outline", () => { - it("serializes an issue mention as a link to the external url", () => { + it("serializes an issue mention as an @ prefixed link to the external url", () => { expect( serializeMention( { @@ -33,11 +33,11 @@ describe("Mention serialization", () => { { commonMark: true } ) ).toBe( - "[Epic 1: Control plane Helm chart](https://github.com/acme/infra/issues/2)" + "@[Epic 1: Control plane Helm chart](https://github.com/acme/infra/issues/2)" ); }); - it("serializes a pull request mention as a link to the external url", () => { + it("serializes a pull request mention as an @ prefixed link to the external url", () => { expect( serializeMention( { @@ -47,10 +47,10 @@ describe("Mention serialization", () => { }, { commonMark: true } ) - ).toBe("[Add Helm chart](https://github.com/acme/infra/pull/42)"); + ).toBe("@[Add Helm chart](https://github.com/acme/infra/pull/42)"); }); - it("serializes a project mention as a link to the external url", () => { + it("serializes a project mention as an @ prefixed link to the external url", () => { expect( serializeMention( { @@ -60,7 +60,20 @@ describe("Mention serialization", () => { }, { commonMark: true } ) - ).toBe("[Q3 Roadmap](https://github.com/orgs/acme/projects/7)"); + ).toBe("@[Q3 Roadmap](https://github.com/orgs/acme/projects/7)"); + }); + + it("serializes a url mention as an @ prefixed link", () => { + expect( + serializeMention( + { + type: MentionType.URL, + label: "Example", + href: "https://example.com/page", + }, + { commonMark: true } + ) + ).toBe("@[Example](https://example.com/page)"); }); it("sanitizes an unsafe url", () => { diff --git a/shared/editor/nodes/Mention.tsx b/shared/editor/nodes/Mention.tsx index 46a91fb7d4..9813247ce8 100644 --- a/shared/editor/nodes/Mention.tsx +++ b/shared/editor/nodes/Mention.tsx @@ -65,6 +65,15 @@ function isExternalMention(type: MentionType): boolean { ); } +/** The mention type that represents each kind of unfurled resource. */ +const MentionTypeForResource: Partial<Record<UnfurlResourceType, MentionType>> = + { + [UnfurlResourceType.Issue]: MentionType.Issue, + [UnfurlResourceType.PR]: MentionType.PullRequest, + [UnfurlResourceType.Project]: MentionType.Project, + [UnfurlResourceType.URL]: MentionType.URL, + }; + export default class Mention extends Node { get name() { return "mention"; @@ -394,12 +403,13 @@ export default class Mention extends Node { state.write(`[${label}](/collection/${mId})`); } else if ( state.options.commonMark && - isExternalMention(mType) && + (isExternalMention(mType) || mType === MentionType.URL) && node.attrs.href ) { // Markdown that leaves Outline cannot resolve a mention:// reference, so - // external mentions fall back to the URL they already carry. - state.write(`[${label}](${sanitizeUrl(node.attrs.href)})`); + // external mentions fall back to the URL they already carry. The "@" + // prefix allows them to be parsed back into a mention on the way in. + state.write(`@[${label}](${sanitizeUrl(node.attrs.href)})`); } else { // Keep the mention:// format for everything else, it round-trips back // into a live mention through Outline's own parser. @@ -414,6 +424,7 @@ export default class Mention extends Node { id: tok.attrGet("id"), type: tok.attrGet("type"), modelId: tok.attrGet("modelId"), + href: tok.attrGet("href") ?? undefined, label: tok.content, }), }; @@ -456,6 +467,18 @@ export default class Mention extends Node { const overrides: Record<string, unknown> = label ? { label } : {}; overrides.unfurl = unfurl; + // The resource an external link points at is only known once it has been + // unfurled, so narrow a generic URL mention to the type it turned out to + // be – an issue, pull request or project. + const unfurledType = MentionTypeForResource[unfurl.type]; + if ( + unfurledType && + node.attrs.type === MentionType.URL && + unfurledType !== node.attrs.type + ) { + overrides.type = unfurledType; + } + const pos = getPos(); if (!isMatch(node.attrs, overrides)) { diff --git a/shared/editor/rules/mention.test.ts b/shared/editor/rules/mention.test.ts index c403b71eb6..65193101ae 100644 --- a/shared/editor/rules/mention.test.ts +++ b/shared/editor/rules/mention.test.ts @@ -1,4 +1,5 @@ import markdownit from "markdown-it"; +import { MentionType } from "../../types"; import mentionRule from "./mention"; function findMentionTokens(tokens: ReturnType<markdownit["parse"]>) { @@ -6,6 +7,7 @@ function findMentionTokens(tokens: ReturnType<markdownit["parse"]>) { id: string | null; type: string | null; modelId: string | null; + href: string | null; label: string; }> = []; @@ -17,6 +19,7 @@ function findMentionTokens(tokens: ReturnType<markdownit["parse"]>) { id: child.attrGet("id"), type: child.attrGet("type"), modelId: child.attrGet("modelId"), + href: child.attrGet("href"), label: child.content, }); } @@ -43,6 +46,7 @@ describe("mention rule", () => { id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890", type: "user", modelId: "f0e1d2c3-b4a5-6789-0abc-def123456789", + href: null, label: "John Doe", }); }); @@ -165,6 +169,56 @@ describe("mention rule", () => { }); }); + describe("external links", () => { + it("should parse an external link as a generic mention carrying the href", () => { + const result = md.parse("@[Example](https://example.com/page)", {}); + const mentions = findMentionTokens(result); + + expect(mentions).toHaveLength(1); + expect(mentions[0].type).toBe(MentionType.URL); + expect(mentions[0].href).toBe("https://example.com/page"); + expect(mentions[0].label).toBe("Example"); + expect(mentions[0].id).toBeTruthy(); + expect(mentions[0].modelId).toBeTruthy(); + }); + + it("should parse an external link within text", () => { + const result = md.parse( + "Please review @[Example](https://example.com/page) today", + {} + ); + const mentions = findMentionTokens(result); + + expect(mentions).toHaveLength(1); + expect(mentions[0].href).toBe("https://example.com/page"); + }); + + it("should not parse a link with an unsupported protocol", () => { + const result = md.parse("@[Mail](mailto:jane@example.com)", {}); + const mentions = findMentionTokens(result); + + expect(mentions).toHaveLength(0); + }); + }); + + describe("rendering", () => { + it("should escape markup in the label", () => { + const html = md.render( + "@[<img src=x onerror=alert(1)>](mention://user/abc123)" + ); + + expect(html).not.toContain("<img"); + expect(html).toContain("<img"); + }); + + it("should not allow an external href to break out of the attribute", () => { + const html = md.render('@[Example](https://example.com/"onmouseover=1)'); + + expect(html).not.toContain('"onmouseover'); + expect(html).toContain('href="https://example.com/%22onmouseover=1"'); + }); + }); + describe("non-mentions", () => { it("should not parse regular links as mentions", () => { const result = md.parse("[John Doe](https://example.com)", {}); diff --git a/shared/editor/rules/mention.ts b/shared/editor/rules/mention.ts index 3d04e5cde5..11919df2d2 100644 --- a/shared/editor/rules/mention.ts +++ b/shared/editor/rules/mention.ts @@ -2,7 +2,9 @@ import type MarkdownIt from "markdown-it"; import type StateCore from "markdown-it/lib/rules_core/state_core.mjs"; import type Token from "markdown-it/lib/token.mjs"; import { v4 as uuidv4 } from "uuid"; +import { MentionType } from "../../types"; import parseMentionUrl from "@shared/utils/parseMentionUrl"; +import { sanitizeUrl } from "@shared/utils/urls"; /** * Check whether a URL is a valid mention:// href. @@ -15,6 +17,24 @@ function isMentionHref(href: string) { return mentionType !== undefined && modelId !== undefined; } +/** + * Parse an href that points at an external resource that can be represented as + * a mention. + * + * @param href the URL string to parse. + * @returns the parsed URL, or undefined when the href cannot be mentioned. + */ +function parseExternalHref(href: string): URL | undefined { + try { + const url = new URL(href); + return url.protocol === "http:" || url.protocol === "https:" + ? url + : undefined; + } catch { + return undefined; + } +} + /** * Parse a mention:// href into the id, type and modelId needed by the editor. * For 2-segment URLs (no instance id) a fresh UUID is generated. @@ -37,14 +57,22 @@ function parseMentionHref(href: string): { return { id: id ?? uuidv4(), type: mentionType, modelId }; } -function renderMention(tokens: Token[], idx: number) { - const id = tokens[idx].attrGet("id"); - const mType = tokens[idx].attrGet("type"); - const mId = tokens[idx].attrGet("modelId"); - const label = tokens[idx].content; +const renderMention = (md: MarkdownIt) => (tokens: Token[], idx: number) => { + // The label and attributes originate in the document, and markdown-it leaves + // any markup in them intact when `html` is disabled, so everything written + // into the tag is escaped here. + const esc = (value: string | null) => md.utils.escapeHtml(value ?? ""); - return `<span id="${id}" class="mention" data-type="${mType}" data-id="${mId}">${label}</span>`; -} + const id = esc(tokens[idx].attrGet("id")); + const mType = esc(tokens[idx].attrGet("type")); + const mId = esc(tokens[idx].attrGet("modelId")); + const href = tokens[idx].attrGet("href"); + const label = esc(tokens[idx].content); + + return href + ? `<a id="${id}" class="mention" href="${esc(sanitizeUrl(href) ?? "")}" data-type="${mType}" data-id="${mId}">${label}</a>` + : `<span id="${id}" class="mention" data-type="${mType}" data-id="${mId}">${label}</span>`; +}; function parseMentions(state: StateCore) { for (let i = 0; i < state.tokens.length; i++) { @@ -75,9 +103,16 @@ function parseMentions(state: StateCore) { return false; } - // "link_open" token should have valid href + // "link_open" token should have a mention:// href, or an external href + // that can be represented as a mention. const attr = openToken.attrs?.[0]; - if (!(attr && attr[0] === "href" && isMentionHref(attr[1]))) { + if ( + !( + attr && + attr[0] === "href" && + (isMentionHref(attr[1]) || parseExternalHref(attr[1])) + ) + ) { return false; } @@ -91,15 +126,30 @@ function parseMentions(state: StateCore) { // remove "@" from preceding token precToken.content = precToken.content.slice(0, -1); - // href must be present, otherwise the isMentionHref test would've failed + // href must be present, otherwise the href test would've failed // oxlint-disable-next-line @typescript-eslint/no-non-null-assertion const href = openToken.attrs![0][1]; - const { id, type: mType, modelId: mId } = parseMentionHref(href); - const mentionToken = new state.Token("mention", "", 0); - mentionToken.attrSet("id", id); - mentionToken.attrSet("type", mType); - mentionToken.attrSet("modelId", mId); + const externalUrl = isMentionHref(href) + ? undefined + : parseExternalHref(href); + + if (externalUrl) { + // External links carry their identity in the href, so the ids are + // generated the same way a paste in the editor would. The mention is + // generic here and is narrowed to the resource it points at by the + // service that recognizes the URL. + mentionToken.attrSet("id", uuidv4()); + mentionToken.attrSet("type", MentionType.URL); + mentionToken.attrSet("modelId", uuidv4()); + mentionToken.attrSet("href", href); + } else { + const { id, type: mType, modelId: mId } = parseMentionHref(href); + mentionToken.attrSet("id", id); + mentionToken.attrSet("type", mType); + mentionToken.attrSet("modelId", mId); + } + mentionToken.content = textToken.content; // "link_open", followed by "text" and "link_close" tokens are coalesced @@ -129,6 +179,6 @@ function parseMentions(state: StateCore) { } export default function mention(md: MarkdownIt) { - md.renderer.rules.mention = renderMention; + md.renderer.rules.mention = renderMention(md); md.core.ruler.after("inline", "mention", parseMentions); } From d8d8f2fffed97eaf3e9d48d820c8f1e1facf4008 Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Fri, 28 Aug 2026 00:13:56 -0400 Subject: [PATCH 37/85] Support HEIC and HEIF avatar uploads with in-browser conversion (#13577) * feat: Support HEIC avatar uploads with in-browser conversion HEIC and HEIF images picked for an avatar are now converted to JPEG in the browser before the cropper opens. The browser's own decoder is used when it supports the format, otherwise a WebAssembly decoder is loaded on demand. Also collects the image utilities into an ImageHelper class, fixes the crop dialog's submit button never disabling, and stops the upload from forwarding request headers the browser controls itself. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * refactor: Use only the browser's own HEIC decoder Drops the bundled WebAssembly decoder in favour of the browser's native support. This removes an LGPL dependency and a 3MB lazy chunk, and lets the Content Security Policy stay as it was. Browsers without HEIC support now get a message asking for a JPEG or PNG. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * docs: Add class-level JSDoc to ImageHelper Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> --- .../EmojiDialog/EmojiCreateDialog.tsx | 4 +- .../EmojiDialog/EmojiReplaceDialog.tsx | 4 +- .../components/ShareSettingsPopover.tsx | 4 +- .../Settings/components/ImageUpload.tsx | 65 ++++++---- app/utils/ImageHelper.test.ts | 31 +++++ app/utils/ImageHelper.ts | 95 ++++++++++++++ app/utils/compressImage.ts | 21 ---- app/utils/files.ts | 51 ++++++++ shared/i18n/locales/en_US/translation.json | 1 + shared/validations.ts | 16 +++ yarn.lock | 116 +----------------- 11 files changed, 244 insertions(+), 164 deletions(-) create mode 100644 app/utils/ImageHelper.test.ts create mode 100644 app/utils/ImageHelper.ts delete mode 100644 app/utils/compressImage.ts diff --git a/app/components/EmojiDialog/EmojiCreateDialog.tsx b/app/components/EmojiDialog/EmojiCreateDialog.tsx index ac23e76fb0..eaa4fcc7ee 100644 --- a/app/components/EmojiDialog/EmojiCreateDialog.tsx +++ b/app/components/EmojiDialog/EmojiCreateDialog.tsx @@ -8,7 +8,7 @@ import Input, { LabelText } from "~/components/Input"; import Text from "~/components/Text"; import useStores from "~/hooks/useStores"; import { uploadFile } from "~/utils/files"; -import { compressImage } from "~/utils/compressImage"; +import { ImageHelper } from "~/utils/ImageHelper"; import { generateEmojiNameFromFilename } from "~/utils/emoji"; import { useEmojiFileUpload, EmojiImageDropZone } from "./Components"; @@ -55,7 +55,7 @@ export function EmojiCreateDialog({ onSubmit }: Props) { const fileToUpload = file.type === "image/gif" ? file - : await compressImage(file, { + : await ImageHelper.compress(file, { maxHeight: 64, maxWidth: 64, }); diff --git a/app/components/EmojiDialog/EmojiReplaceDialog.tsx b/app/components/EmojiDialog/EmojiReplaceDialog.tsx index e2a891ffa1..0ea06bc6a0 100644 --- a/app/components/EmojiDialog/EmojiReplaceDialog.tsx +++ b/app/components/EmojiDialog/EmojiReplaceDialog.tsx @@ -7,7 +7,7 @@ import Text from "~/components/Text"; import type Emoji from "~/models/Emoji"; import useStores from "~/hooks/useStores"; import { uploadFile } from "~/utils/files"; -import { compressImage } from "~/utils/compressImage"; +import { ImageHelper } from "~/utils/ImageHelper"; import { useEmojiFileUpload, EmojiImageDropZone } from "./Components"; interface Props { @@ -38,7 +38,7 @@ export function EmojiReplaceDialog({ emoji, onSubmit }: Props) { const fileToUpload = file.type === "image/gif" ? file - : await compressImage(file, { + : await ImageHelper.compress(file, { maxHeight: 64, maxWidth: 64, }); diff --git a/app/components/Sharing/components/ShareSettingsPopover.tsx b/app/components/Sharing/components/ShareSettingsPopover.tsx index 14e62a08ad..3f3baaabcc 100644 --- a/app/components/Sharing/components/ShareSettingsPopover.tsx +++ b/app/components/Sharing/components/ShareSettingsPopover.tsx @@ -29,7 +29,7 @@ import Tooltip from "~/components/Tooltip"; import env from "~/env"; import { useMenuAction } from "~/hooks/useMenuAction"; import useStores from "~/hooks/useStores"; -import { compressImage } from "~/utils/compressImage"; +import { ImageHelper } from "~/utils/ImageHelper"; import { uploadFile } from "~/utils/files"; import { Popover, @@ -90,7 +90,7 @@ function ShareSettingsPopover({ share, children }: Props) { setIsUploading(true); try { - const compressed = await compressImage(file, { + const compressed = await ImageHelper.compress(file, { maxHeight: 512, maxWidth: 512, }); diff --git a/app/scenes/Settings/components/ImageUpload.tsx b/app/scenes/Settings/components/ImageUpload.tsx index fe81288e2d..97c6be5ec4 100644 --- a/app/scenes/Settings/components/ImageUpload.tsx +++ b/app/scenes/Settings/components/ImageUpload.tsx @@ -14,8 +14,8 @@ import ButtonLarge from "~/components/ButtonLarge"; import Flex from "~/components/Flex"; import LoadingIndicator from "~/components/LoadingIndicator"; import useStores from "~/hooks/useStores"; -import { compressImage } from "~/utils/compressImage"; import { uploadFile, dataUrlToBlob } from "~/utils/files"; +import { ImageHelper } from "~/utils/ImageHelper"; export type Props = { onSuccess: (url: string | null) => void | Promise<void>; @@ -34,13 +34,13 @@ const ImageUpload: React.FC<Props> = ({ const { dialogs } = useStores(); const { t } = useTranslation(); - const [isUploading, setIsUploading] = useState(false); const [isCropping, setIsCropping] = useState(false); + const [isConverting, setIsConverting] = useState(false); const uploadImage = React.useCallback( async (blob: Blob, file: File) => { try { - const compressed = await compressImage(blob, { + const compressed = await ImageHelper.compress(blob, { maxHeight: 512, maxWidth: 512, }); @@ -52,7 +52,6 @@ const ImageUpload: React.FC<Props> = ({ } catch (err) { onError(errToString(err)); } finally { - setIsUploading(false); setIsCropping(false); dialogs.closeAllModals(); } @@ -62,29 +61,44 @@ const ImageUpload: React.FC<Props> = ({ const handleUpload = React.useCallback( (blob: Blob, file: File) => { - setIsUploading(true); - // allow the UI to update before converting the canvas to a Blob - // for large images this can cause the page rendering to hang. - setTimeout(() => uploadImage(blob, file), 0); + void uploadImage(blob, file); }, [uploadImage] ); const handleClose = React.useCallback(() => { - setIsUploading(false); setIsCropping(false); }, []); const onDropAccepted = React.useCallback( async (files: File[]) => { + let file = files[0]; + + // Most browsers cannot display HEIC images, so convert to JPEG before + // the image is shown in the cropper. + if (ImageHelper.isHeic(file)) { + setIsConverting(true); + const converted = await ImageHelper.convertHeicToJpeg(file); + setIsConverting(false); + + if (!converted) { + onError( + t( + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first" + ) + ); + return; + } + file = converted; + } + setIsCropping(true); dialogs.openModal({ title: "", content: ( <AvatarEditorDialog - file={files[0]} + file={file} onUpload={handleUpload} - isUploading={isUploading} borderRadius={borderRadius ?? 150} submitText={submitText || t("Crop image")} /> @@ -92,19 +106,11 @@ const ImageUpload: React.FC<Props> = ({ onClose: handleClose, }); }, - [ - t, - dialogs, - handleUpload, - handleClose, - isUploading, - borderRadius, - submitText, - ] + [t, dialogs, handleUpload, handleClose, onError, borderRadius, submitText] ); const { getRootProps, getInputProps } = useDropzone({ - accept: AttachmentValidation.avatarContentTypes.join(", "), + accept: AttachmentValidation.avatarInputContentTypes.join(", "), onDropAccepted, }); @@ -114,6 +120,7 @@ const ImageUpload: React.FC<Props> = ({ return ( <div {...getRootProps()}> + {isConverting && <LoadingIndicator />} <input {...getInputProps()} /> {children} </div> @@ -123,23 +130,27 @@ const ImageUpload: React.FC<Props> = ({ type AvatarEditorDialogProps = { file: File; onUpload: (blob: Blob, file: File) => void; - isUploading: boolean; borderRadius: number; submitText: string; }; const AvatarEditorDialog: React.FC<AvatarEditorDialogProps> = observer( - ({ file, onUpload, isUploading, borderRadius, submitText }) => { + ({ file, onUpload, borderRadius, submitText }) => { const { ui } = useStores(); const { t } = useTranslation(); const [zoom, setZoom] = useState(1); + const [isUploading, setIsUploading] = useState(false); const avatarEditorRef = useRef<AvatarEditor>(null); const handleUpload = React.useCallback(() => { - const canvas = avatarEditorRef.current?.getImage(); - invariant(canvas, "canvas is not defined"); - const blob = dataUrlToBlob(canvas.toDataURL()); - onUpload(blob, file); + setIsUploading(true); + // Allow the button to render as disabled before the canvas is converted, + // which hangs rendering for large images. + setTimeout(() => { + const canvas = avatarEditorRef.current?.getImage(); + invariant(canvas, "canvas is not defined"); + onUpload(dataUrlToBlob(canvas.toDataURL()), file); + }, 0); }, [file, onUpload]); const handleZoom = React.useCallback( diff --git a/app/utils/ImageHelper.test.ts b/app/utils/ImageHelper.test.ts new file mode 100644 index 0000000000..cf231606d0 --- /dev/null +++ b/app/utils/ImageHelper.test.ts @@ -0,0 +1,31 @@ +import { ImageHelper } from "./ImageHelper"; + +const fileWith = (name: string, type: string) => new File([], name, { type }); + +describe("ImageHelper", () => { + describe("isHeic", () => { + it("matches HEIC and HEIF mime-types", () => { + expect(ImageHelper.isHeic(fileWith("photo", "image/heic"))).toBe(true); + expect(ImageHelper.isHeic(fileWith("photo", "image/heif"))).toBe(true); + expect(ImageHelper.isHeic(fileWith("photo", "image/heic-sequence"))).toBe( + true + ); + expect(ImageHelper.isHeic(fileWith("photo", "IMAGE/HEIC"))).toBe(true); + }); + + it("matches by extension when the mime-type is missing", () => { + expect(ImageHelper.isHeic(fileWith("photo.heic", ""))).toBe(true); + expect(ImageHelper.isHeic(fileWith("photo.HEIF", ""))).toBe(true); + }); + + it("does not match other images", () => { + expect(ImageHelper.isHeic(fileWith("photo.png", "image/png"))).toBe( + false + ); + expect(ImageHelper.isHeic(fileWith("photo.jpg", "image/jpeg"))).toBe( + false + ); + expect(ImageHelper.isHeic(fileWith("heic.png", "image/png"))).toBe(false); + }); + }); +}); diff --git a/app/utils/ImageHelper.ts b/app/utils/ImageHelper.ts new file mode 100644 index 0000000000..bfc6593c85 --- /dev/null +++ b/app/utils/ImageHelper.ts @@ -0,0 +1,95 @@ +import Compressor from "compressorjs"; + +/** + * Helpers for inspecting and transforming images in the browser. + */ +export class ImageHelper { + /** + * Checks whether a file is a HEIC or HEIF image. The extension is also + * checked because some platforms report an empty mime-type for these files. + * + * @param file the file to check. + * @returns true if the file is a HEIC or HEIF image. + */ + public static isHeic(file: File): boolean { + const contentTypes = [ + "image/heic", + "image/heif", + "image/heic-sequence", + "image/heif-sequence", + ]; + const extensions = [".heic", ".heif"]; + + return ( + contentTypes.includes(file.type.toLowerCase()) || + extensions.some((extension) => + file.name.toLowerCase().endsWith(extension) + ) + ); + } + + /** + * Compresses an image file or blob, optionally constraining its dimensions. + * + * @param file the image file or blob to compress. + * @param options optional compression options, the result is returned by the + * promise rather than the success and error callbacks. + * @returns a promise resolving to the compressed image blob. + */ + public static compress( + file: File | Blob, + options?: Omit<Compressor.Options, "success" | "error"> + ): Promise<Blob> { + return new Promise((resolve, reject) => { + new Compressor(file, { ...options, success: resolve, error: reject }); + }); + } + + /** + * Converts a HEIC or HEIF image to a JPEG that all browsers can display, + * using the browser's own decoder. Support is limited, so callers must + * handle an undefined result. + * + * @param file the HEIC or HEIF file to convert. + * @returns a promise resolving to the converted JPEG file, or undefined if + * the browser cannot decode the format. + */ + public static async convertHeicToJpeg(file: File): Promise<File | undefined> { + if (typeof createImageBitmap === "undefined") { + return undefined; + } + + let bitmap: ImageBitmap; + try { + bitmap = await createImageBitmap(file, { + imageOrientation: "from-image", + }); + } catch (_err) { + return undefined; + } + + try { + const canvas = document.createElement("canvas"); + canvas.width = bitmap.width; + canvas.height = bitmap.height; + + const context = canvas.getContext("2d"); + if (!context) { + return undefined; + } + context.drawImage(bitmap, 0, 0); + + const blob = await new Promise<Blob | null>((resolve) => { + canvas.toBlob(resolve, "image/jpeg", 0.92); + }); + if (!blob) { + return undefined; + } + + const name = `${file.name.replace(/\.(heic|heif)$/i, "")}.jpg`; + return new File([blob], name, { type: "image/jpeg" }); + } finally { + bitmap.close(); + } + } +} diff --git a/app/utils/compressImage.ts b/app/utils/compressImage.ts deleted file mode 100644 index 69397d2dce..0000000000 --- a/app/utils/compressImage.ts +++ /dev/null @@ -1,21 +0,0 @@ -import Compressor from "compressorjs"; - -type Options = { - maxWidth?: number; - maxHeight?: number; -}; - -/** - * Compresses an image file or blob, optionally constraining its dimensions. - * - * @param file the image file or blob to compress. - * @param options optional maximum width and height constraints. - * @returns a promise resolving to the compressed image blob. - */ -export const compressImage = async ( - file: File | Blob, - options?: Options -): Promise<Blob> => - new Promise((resolve, reject) => { - new Compressor(file, { ...options, success: resolve, error: reject }); - }); diff --git a/app/utils/files.ts b/app/utils/files.ts index 6cb719e80f..181e181c6d 100644 --- a/app/utils/files.ts +++ b/app/utils/files.ts @@ -101,6 +101,9 @@ export const uploadFile = async ( for (const [key, value] of Object.entries( data.headers as Record<string, string> )) { + if (isForbiddenRequestHeader(key)) { + continue; + } xhr.setRequestHeader(key, value); } } @@ -145,6 +148,54 @@ export const uploadFile = async ( export { dataUrlToBlob }; +/** + * Header names the browser controls itself - it silently ignores an attempt to + * set one and logs an error to the console. + * + * @see https://fetch.spec.whatwg.org/#forbidden-request-header + */ +const forbiddenRequestHeaders = [ + "accept-charset", + "accept-encoding", + "access-control-request-headers", + "access-control-request-method", + "connection", + "content-length", + "cookie", + "cookie2", + "date", + "dnt", + "expect", + "host", + "keep-alive", + "origin", + "referer", + "set-cookie", + "te", + "trailer", + "transfer-encoding", + "upgrade", + "via", +]; + +const forbiddenRequestHeaderPrefixes = ["proxy-", "sec-"]; + +/** + * Checks whether the browser refuses to let a header be set on a request. + * + * @param name the header name to check. + * @returns true if the header cannot be set. + */ +const isForbiddenRequestHeader = (name: string): boolean => { + const lowercased = name.toLowerCase(); + return ( + forbiddenRequestHeaders.includes(lowercased) || + forbiddenRequestHeaderPrefixes.some((prefix) => + lowercased.startsWith(prefix) + ) + ); +}; + const CHAR_FORWARD_SLASH = 47; /* / */ const CHAR_DOT = 46; /* . */ diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index 698f972104..16bd66767c 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -1325,6 +1325,7 @@ "Synced <2></2>": "Synced <2></2>", "Date created": "Date created", "Crop Image": "Crop Image", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Your browser cannot read HEIC images, please convert it to JPEG or PNG first", "Crop image": "Crop image", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open <em>Export</em> in the Settings sidebar and click on <em>Export Data</em>.": "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open <em>Export</em> in the Settings sidebar and click on <em>Export Data</em>.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload", diff --git a/shared/validations.ts b/shared/validations.ts index 31e99421f8..4831ff20fd 100644 --- a/shared/validations.ts +++ b/shared/validations.ts @@ -2,6 +2,22 @@ export const AttachmentValidation = { /** The limited allowable mime-types for user and team avatars */ avatarContentTypes: ["image/jpg", "image/jpeg", "image/png"], + /** + * The mime-types and file extensions offered by the avatar file picker. HEIC + * and HEIF images are converted to a type in `avatarContentTypes` by the + * client before they are uploaded. Extensions are included because some + * platforms report an empty mime-type for these files. + */ + avatarInputContentTypes: [ + "image/jpg", + "image/jpeg", + "image/png", + "image/heic", + "image/heif", + ".heic", + ".heif", + ], + /** The most widely supported mime-types across modern browsers */ emojiContentTypes: [ "image/png", diff --git a/yarn.lock b/yarn.lock index 84d551a4f3..9997b80164 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3293,23 +3293,7 @@ __metadata: languageName: node linkType: hard -"@octokit/auth-app@npm:^8.1.2": - version: 8.2.0 - resolution: "@octokit/auth-app@npm:8.2.0" - dependencies: - "@octokit/auth-oauth-app": "npm:^9.0.3" - "@octokit/auth-oauth-user": "npm:^6.0.2" - "@octokit/request": "npm:^10.0.6" - "@octokit/request-error": "npm:^7.0.2" - "@octokit/types": "npm:^16.0.0" - toad-cache: "npm:^3.7.0" - universal-github-app-jwt: "npm:^2.2.0" - universal-user-agent: "npm:^7.0.0" - checksum: 10c0/7f1b113c9f2ef4d0aac06ffb0b1930a256c6a8985744c709c36fe8c4565c5c184de742de4c4a52e4d9f25baef00c9b855732cfaeb81db8abe238d6c2ee54d6d6 - languageName: node - linkType: hard - -"@octokit/auth-app@npm:^8.3.0": +"@octokit/auth-app@npm:^8.1.2, @octokit/auth-app@npm:^8.3.0": version: 8.3.0 resolution: "@octokit/auth-app@npm:8.3.0" dependencies: @@ -3325,20 +3309,7 @@ __metadata: languageName: node linkType: hard -"@octokit/auth-oauth-app@npm:^9.0.2, @octokit/auth-oauth-app@npm:^9.0.3": - version: 9.0.3 - resolution: "@octokit/auth-oauth-app@npm:9.0.3" - dependencies: - "@octokit/auth-oauth-device": "npm:^8.0.3" - "@octokit/auth-oauth-user": "npm:^6.0.2" - "@octokit/request": "npm:^10.0.6" - "@octokit/types": "npm:^16.0.0" - universal-user-agent: "npm:^7.0.0" - checksum: 10c0/1b47dc2a6ea480c04cc3b03d03f4836916ef666047b639c78134d49bbf9fb112a0610021aa017abaa30d8a63a5e66117b3d2b3a4d3976d10153bd5efef54da8b - languageName: node - linkType: hard - -"@octokit/auth-oauth-app@npm:^9.0.4": +"@octokit/auth-oauth-app@npm:^9.0.2, @octokit/auth-oauth-app@npm:^9.0.4": version: 9.0.4 resolution: "@octokit/auth-oauth-app@npm:9.0.4" dependencies: @@ -3351,18 +3322,6 @@ __metadata: languageName: node linkType: hard -"@octokit/auth-oauth-device@npm:^8.0.3": - version: 8.0.3 - resolution: "@octokit/auth-oauth-device@npm:8.0.3" - dependencies: - "@octokit/oauth-methods": "npm:^6.0.2" - "@octokit/request": "npm:^10.0.6" - "@octokit/types": "npm:^16.0.0" - universal-user-agent: "npm:^7.0.0" - checksum: 10c0/2c43d131fbd0b60abef5f37e6168e31f5ec1b8361bac1d71c19499e1960e5e00957c54db9836d88754b467ad48c4e15f60409b0d66dc740468c49834e787e971 - languageName: node - linkType: hard - "@octokit/auth-oauth-device@npm:^8.0.4": version: 8.0.4 resolution: "@octokit/auth-oauth-device@npm:8.0.4" @@ -3375,20 +3334,7 @@ __metadata: languageName: node linkType: hard -"@octokit/auth-oauth-user@npm:^6.0.1, @octokit/auth-oauth-user@npm:^6.0.2": - version: 6.0.2 - resolution: "@octokit/auth-oauth-user@npm:6.0.2" - dependencies: - "@octokit/auth-oauth-device": "npm:^8.0.3" - "@octokit/oauth-methods": "npm:^6.0.2" - "@octokit/request": "npm:^10.0.6" - "@octokit/types": "npm:^16.0.0" - universal-user-agent: "npm:^7.0.0" - checksum: 10c0/7af66189e7c0b19c456462d571f61ac787d8464554375b12ded245d0d209a7a0f873f9189d7a3e9afef8aa59eb268c573f8e98b0ee683ebf0989625c20e2125a - languageName: node - linkType: hard - -"@octokit/auth-oauth-user@npm:^6.0.3": +"@octokit/auth-oauth-user@npm:^6.0.1, @octokit/auth-oauth-user@npm:^6.0.3": version: 6.0.3 resolution: "@octokit/auth-oauth-user@npm:6.0.3" dependencies: @@ -3477,19 +3423,7 @@ __metadata: languageName: node linkType: hard -"@octokit/oauth-methods@npm:^6.0.1, @octokit/oauth-methods@npm:^6.0.2": - version: 6.0.2 - resolution: "@octokit/oauth-methods@npm:6.0.2" - dependencies: - "@octokit/oauth-authorization-url": "npm:^8.0.0" - "@octokit/request": "npm:^10.0.6" - "@octokit/request-error": "npm:^7.0.2" - "@octokit/types": "npm:^16.0.0" - checksum: 10c0/51d2f3218839ce37609e6e0adc274efcc198bdcae57ef3ecf3ada95f6f30dcc3052f6db34e4aa3a1bc94545d7025baa44058d5c044fdd6bdd83562eb9b8510c2 - languageName: node - linkType: hard - -"@octokit/oauth-methods@npm:^6.0.3": +"@octokit/oauth-methods@npm:^6.0.1, @octokit/oauth-methods@npm:^6.0.3": version: 6.0.4 resolution: "@octokit/oauth-methods@npm:6.0.4" dependencies: @@ -3578,16 +3512,7 @@ __metadata: languageName: node linkType: hard -"@octokit/request-error@npm:^7.0.0, @octokit/request-error@npm:^7.0.2": - version: 7.1.0 - resolution: "@octokit/request-error@npm:7.1.0" - dependencies: - "@octokit/types": "npm:^16.0.0" - checksum: 10c0/62b90a54545c36a30b5ffdda42e302c751be184d85b68ffc7f1242c51d7ca54dbd185b7d0027b491991776923a910c85c9c51269fe0d86111bac187507a5abc4 - languageName: node - linkType: hard - -"@octokit/request-error@npm:^7.1.1": +"@octokit/request-error@npm:^7.0.0, @octokit/request-error@npm:^7.0.2, @octokit/request-error@npm:^7.1.1": version: 7.1.1 resolution: "@octokit/request-error@npm:7.1.1" dependencies: @@ -3596,7 +3521,7 @@ __metadata: languageName: node linkType: hard -"@octokit/request@npm:^10.0.13": +"@octokit/request@npm:^10.0.13, @octokit/request@npm:^10.0.6": version: 10.0.15 resolution: "@octokit/request@npm:10.0.15" dependencies: @@ -3610,21 +3535,6 @@ __metadata: languageName: node linkType: hard -"@octokit/request@npm:^10.0.6": - version: 10.0.9 - resolution: "@octokit/request@npm:10.0.9" - dependencies: - "@octokit/endpoint": "npm:^11.0.3" - "@octokit/request-error": "npm:^7.0.2" - "@octokit/types": "npm:^16.0.0" - content-type: "npm:^2.0.0" - fast-content-type-parse: "npm:^3.0.0" - json-with-bigint: "npm:^3.5.3" - universal-user-agent: "npm:^7.0.2" - checksum: 10c0/2a642870202117c8cf0021b7c01a92e18acdec4826c103f7749a942537a265251e033c0ac5178807f0c63b9759e149ce9701015454167d4c1627d30218ddf9f2 - languageName: node - linkType: hard - "@octokit/types@npm:^16.0.0": version: 16.0.0 resolution: "@octokit/types@npm:16.0.0" @@ -11339,13 +11249,6 @@ __metadata: languageName: node linkType: hard -"fast-content-type-parse@npm:^3.0.0": - version: 3.0.0 - resolution: "fast-content-type-parse@npm:3.0.0" - checksum: 10c0/06251880c83b7118af3a5e66e8bcee60d44f48b39396fc60acc2b4630bd5f3e77552b999b5c8e943d45a818854360e5e97164c374ec4b562b4df96a2cdf2e188 - languageName: node - linkType: hard - "fast-deep-equal@npm:^3.1.3": version: 3.1.3 resolution: "fast-deep-equal@npm:3.1.3" @@ -13668,13 +13571,6 @@ __metadata: languageName: node linkType: hard -"json-with-bigint@npm:^3.5.3": - version: 3.5.8 - resolution: "json-with-bigint@npm:3.5.8" - checksum: 10c0/a0c4e37626d74a9a493539f9f9a94855933fa15ea2f028859a787229a42c5f11803db6f94f1ce7b1d89756c1e80a7c1f11006bac266ec7ce819b75701765ca0a - languageName: node - linkType: hard - "json5@npm:^2.2.3": version: 2.2.3 resolution: "json5@npm:2.2.3" From d55e7f37e551a72d7b959ededa79e267fb946f1d Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Sat, 29 Aug 2026 19:49:28 -0400 Subject: [PATCH 38/85] fix: Raise OAuth redirect_uris limit and log client errors (#13583) Dynamic client registration rejected any client sending more than 10 redirect URIs. The limit is now 20, shared between the register and update schemas, and the error reports how many were received. OAuth client errors were swallowed without reaching logs or Sentry, leaving a failing integration invisible beyond its status code. 4xx responses are now logged with the reason. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> --- .../oauth/middlewares/oauthErrorHandler.ts | 57 ++++++++++++------- server/routes/oauth/oauth.test.ts | 41 +++++++++++++ server/routes/oauth/schema.ts | 22 ++++--- shared/validations.ts | 3 + 4 files changed, 95 insertions(+), 28 deletions(-) diff --git a/server/routes/oauth/middlewares/oauthErrorHandler.ts b/server/routes/oauth/middlewares/oauthErrorHandler.ts index 5994c2618f..2be36ad603 100644 --- a/server/routes/oauth/middlewares/oauthErrorHandler.ts +++ b/server/routes/oauth/middlewares/oauthErrorHandler.ts @@ -4,6 +4,12 @@ import { EmptyResultError as SequelizeEmptyResultError, } from "sequelize"; import { errToString } from "@shared/utils/error"; +import Logger from "@server/logging/Logger"; + +interface OAuthErrorBody { + error: string; + error_description: string; +} /** Extract the first numeric status-like property from an unknown error. */ function statusCodeFromError(err: unknown): number { @@ -31,36 +37,47 @@ export default function oauthErrorHandler() { try { await next(); } catch (err) { + let status: number; + let body: OAuthErrorBody; + if (err instanceof SequelizeEmptyResultError) { - ctx.status = 404; - ctx.body = { + status = 404; + body = { error: "invalid_request", error_description: "Resource not found", }; - return; - } - if (err instanceof SequelizeValidationError) { - ctx.status = 400; - ctx.body = { + } else if (err instanceof SequelizeValidationError) { + status = 400; + body = { error: "invalid_request", error_description: err.errors[0].message, }; - return; + } else { + status = statusCodeFromError(err); + // Map common HTTP status codes to OAuth error types + let errorType = "server_error"; + if (status === 400) { + errorType = "invalid_request"; + } else if (status === 401) { + errorType = "invalid_client"; + } + + body = { + error: errorType, + error_description: errToString(err), + }; } - ctx.status = statusCodeFromError(err); - // Map common HTTP status codes to OAuth error types - let errorType = "server_error"; - if (ctx.status === 400) { - errorType = "invalid_request"; - } else if (ctx.status === 401) { - errorType = "invalid_client"; - } + ctx.status = status; + ctx.body = body; - ctx.body = { - error: errorType, - error_description: errToString(err), - }; + if (status < 500) { + Logger.info("authentication", "OAuth request rejected", { + path: ctx.path, + status, + ...body, + }); + } } }; } diff --git a/server/routes/oauth/oauth.test.ts b/server/routes/oauth/oauth.test.ts index 14a115fca6..c86e274f47 100644 --- a/server/routes/oauth/oauth.test.ts +++ b/server/routes/oauth/oauth.test.ts @@ -1,6 +1,7 @@ import { faker } from "@faker-js/faker"; import sharedEnv from "@shared/env"; import { TeamPreference } from "@shared/types"; +import { OAuthClientValidation } from "@shared/validations"; import env from "@server/env"; import { OAuthClient } from "@server/models"; import { @@ -156,6 +157,46 @@ describe("#oauth.register", () => { expect(res.status).toEqual(400); }); + it("should allow the maximum number of redirect_uris", async () => { + const res = await server.post("/oauth/register", { + body: { + client_name: "Test Client", + redirect_uris: Array.from( + { length: OAuthClientValidation.maxRedirectUris }, + (_, index) => `https://example.com/callback/${index}` + ), + }, + headers: { + host: `${subdomain}.outline.dev`, + }, + }); + + expect(res.status).toEqual(201); + }); + + it("should reject too many redirect_uris and report the received count", async () => { + const count = OAuthClientValidation.maxRedirectUris + 1; + const res = await server.post("/oauth/register", { + body: { + client_name: "Test Client", + redirect_uris: Array.from( + { length: count }, + (_, index) => `https://example.com/callback/${index}` + ), + }, + headers: { + host: `${subdomain}.outline.dev`, + }, + }); + + expect(res.status).toEqual(400); + const body = await res.json(); + expect(body.error).toEqual("invalid_request"); + expect(body.error_description).toEqual( + `redirect_uris: expected array to have <=${OAuthClientValidation.maxRedirectUris} items, received ${count}` + ); + }); + it("should reject unsupported grant types", async () => { const res = await server.post("/oauth/register", { body: { diff --git a/server/routes/oauth/schema.ts b/server/routes/oauth/schema.ts index e639f046b6..da2e875bb8 100644 --- a/server/routes/oauth/schema.ts +++ b/server/routes/oauth/schema.ts @@ -25,6 +25,18 @@ export const TokenRevokeSchema = BaseSchema.extend({ export type TokenRevokeReq = z.infer<typeof TokenRevokeSchema>; +// The received count is included in the message so that clients registering an +// oversized list, and our own logs, show how far over the limit they are. +const redirectUris = z + .array(z.url().max(OAuthClientValidation.maxRedirectUriLength)) + .min(1) + .max(OAuthClientValidation.maxRedirectUris, { + error: (issue) => + `expected array to have <=${OAuthClientValidation.maxRedirectUris} items, received ${ + Array.isArray(issue.input) ? issue.input.length : "unknown" + }`, + }); + export const RegisterSchema = BaseSchema.extend({ body: z.object({ // RFC 7591 §2 marks every metadata field as OPTIONAL; some MCP clients @@ -35,10 +47,7 @@ export const RegisterSchema = BaseSchema.extend({ .min(1) .max(OAuthClientValidation.maxNameLength) .optional(), - redirect_uris: z - .array(z.url().max(OAuthClientValidation.maxRedirectUriLength)) - .min(1) - .max(10), + redirect_uris: redirectUris, grant_types: z .array(z.enum(["authorization_code", "refresh_token"])) .default(["authorization_code"]), @@ -66,10 +75,7 @@ export type RegisterReq = z.infer<typeof RegisterSchema>; export const RegisterUpdateSchema = BaseSchema.extend({ body: z.object({ client_name: z.string().min(1).max(OAuthClientValidation.maxNameLength), - redirect_uris: z - .array(z.url().max(OAuthClientValidation.maxRedirectUriLength)) - .min(1) - .max(10), + redirect_uris: redirectUris, client_uri: z .string() .url() diff --git a/shared/validations.ts b/shared/validations.ts index 4831ff20fd..074381e3c0 100644 --- a/shared/validations.ts +++ b/shared/validations.ts @@ -116,6 +116,9 @@ export const OAuthClientValidation = { /** The maximum length of an OAuth client redirect URI */ maxRedirectUriLength: 1024, + /** The maximum number of redirect URIs for an OAuth client */ + maxRedirectUris: 20, + /** The allowed OAuth client types */ clientTypes: ["confidential", "public"] as const, }; From f44fad43807694248bc6cf4b036e0bac6b79b293 Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Tue, 1 Sep 2026 02:12:39 -0400 Subject: [PATCH 39/85] fix: Preserve MCP attachment form values (#13597) * fix: Preserve MCP attachment form values * fix: Escape MCP attachment form arguments * fix: Support current TypeScript library target --- server/tools/attachments.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/server/tools/attachments.ts b/server/tools/attachments.ts index ab79ffcff7..24e4325e71 100644 --- a/server/tools/attachments.ts +++ b/server/tools/attachments.ts @@ -147,7 +147,9 @@ export function attachmentTools(server: McpServer, scopes: string[]) { }; const formArgs = Object.entries(form) - .map(([k, v]) => `-F '${k}=${v}'`) + .map( + ([k, v]) => `--form-string ${quoteShellArgument(`${k}=${v}`)}` + ) .join(" "); const curlCommand = `curl -X POST ${formArgs} -F 'file=@/path/to/file' '${uploadUrl}'`; @@ -171,3 +173,7 @@ export function attachmentTools(server: McpServer, scopes: string[]) { ); } } + +function quoteShellArgument(value: string) { + return `'${value.replace(/'/g, "'\\''")}'`; +} From 2dfc26f14bca5bb00d96748e0f59bc7eb394ed12 Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Tue, 1 Sep 2026 02:36:21 -0400 Subject: [PATCH 40/85] fix: Provision OIDC users with locale claim (#13601) --- app/hooks/useFormatNumber.ts | 4 +- app/scenes/Document/components/Editor.tsx | 2 +- app/utils/language.ts | 59 -------------- plugins/oidc/server/auth/oidcRouter.ts | 4 + shared/utils/language.test.ts | 41 ++++++++++ shared/utils/language.ts | 93 +++++++++++++++++++++++ 6 files changed, 141 insertions(+), 62 deletions(-) create mode 100644 shared/utils/language.test.ts create mode 100644 shared/utils/language.ts diff --git a/app/hooks/useFormatNumber.ts b/app/hooks/useFormatNumber.ts index e492a7cd9f..9750243d0b 100644 --- a/app/hooks/useFormatNumber.ts +++ b/app/hooks/useFormatNumber.ts @@ -1,6 +1,6 @@ -import { formatNumber } from "~/utils/language"; -import useUserLocale from "./useUserLocale"; import { unicodeCLDRtoBCP47 } from "@shared/utils/date"; +import { formatNumber } from "@shared/utils/language"; +import useUserLocale from "./useUserLocale"; /** * Hook that returns a function to format numbers based on the user's locale. diff --git a/app/scenes/Document/components/Editor.tsx b/app/scenes/Document/components/Editor.tsx index 91ed7abdd8..fe50489980 100644 --- a/app/scenes/Document/components/Editor.tsx +++ b/app/scenes/Document/components/Editor.tsx @@ -7,6 +7,7 @@ import styled from "styled-components"; import Text from "@shared/components/Text"; import type { CommentAnchor } from "@shared/editor/commands/comment"; import { richExtensions, withComments } from "@shared/editor/nodes"; +import { getLangFor } from "@shared/utils/language"; import { DocumentPreference } from "@shared/types"; import { colorPalette } from "@shared/constants"; import Comment from "~/models/Comment"; @@ -38,7 +39,6 @@ import MultiplayerEditor from "./AsyncMultiplayerEditor"; import DocumentMeta from "./DocumentMeta"; import DocumentTitle from "./DocumentTitle"; import { first } from "es-toolkit/compat"; -import { getLangFor } from "~/utils/language"; import useShare from "@shared/hooks/useShare"; import CodeWordBreak from "@shared/editor/extensions/CodeWordBreak"; diff --git a/app/utils/language.ts b/app/utils/language.ts index 7095dc7284..a9e53a08d5 100644 --- a/app/utils/language.ts +++ b/app/utils/language.ts @@ -4,22 +4,6 @@ import { unicodeCLDRtoBCP47 } from "@shared/utils/date"; import { isRTLLanguage } from "@shared/utils/rtl"; import Desktop from "./Desktop"; -/** - * Formats a number using the user's locale where possible. Use `useFormatNumber` hook - * instead of this function in React components, to automatically use the user's locale. - * - * @param number The number to format - * @param locale The locale to use for formatting (BCP47 format) - * @returns The formatted number as a string - */ -export function formatNumber(number: number, locale: string) { - try { - return new Intl.NumberFormat(locale).format(number); - } catch (_err) { - return number.toString(); - } -} - /** * Detects the user's language based on the browser's language settings. * @@ -55,46 +39,3 @@ export async function changeLanguage( document.documentElement.dir = isRTLLanguage(locale) ? "rtl" : "ltr"; } } - -/** - * Languages with special styling, in ISO 639-1 format. - */ -const scriptsWithLang = new Set([ - "th", // Thai - "lo", // Lao - "km", // Khmer - "my", // Burmese - "hi", // Hindi - "mr", // Marathi - "ne", // Nepali - "bn", // Bengali - "gu", // Gujarati - "pa", // Punjabi - "te", // Telugu - "ta", // Tamil - "ml", // Malayalam - "si", // Sinhala - "bo", // Tibetan - "ar", // Arabic - "fa", // Persian - "ur", // Urdu - "he", // Hebrew - "am", // Amharic - "mn", // Mongolian -]); - -/** - * Returns the language code if it requires special text styling, otherwise undefined. - * This is used to determine if a lang attribute should be set on elements for CSS styling. - * - * @param langCode The language code to check, in ISO 639-1 format - * @returns The language code if it requires special styling, otherwise undefined - */ -export function getLangFor( - langCode: string | null | undefined -): string | undefined { - if (!langCode) { - return undefined; - } - return scriptsWithLang.has(langCode) ? langCode : undefined; -} diff --git a/plugins/oidc/server/auth/oidcRouter.ts b/plugins/oidc/server/auth/oidcRouter.ts index db936004a1..e7e959b55d 100644 --- a/plugins/oidc/server/auth/oidcRouter.ts +++ b/plugins/oidc/server/auth/oidcRouter.ts @@ -6,6 +6,7 @@ import { get } from "es-toolkit/compat"; import { toError } from "@shared/utils/error"; import { slugifyDomain } from "@shared/utils/domains"; import { parseEmail } from "@shared/utils/email"; +import { getSupportedLanguage } from "@shared/utils/language"; import { isBase64Url } from "@shared/utils/urls"; import accountProvisioner from "@server/commands/accountProvisioner"; import { @@ -112,6 +113,7 @@ export function createOIDCRouter( return decoded as { email?: string; email_verified?: boolean | string; + locale?: string; preferred_username?: string; sub?: string; }; @@ -122,6 +124,7 @@ export function createOIDCRouter( })(); const email = profile.email ?? token.email ?? null; + const language = getSupportedLanguage(profile.locale, token.locale); if (!email) { throw AuthenticationError( @@ -241,6 +244,7 @@ export function createOIDCRouter( email, emailVerified, avatarUrl, + language, }, authenticationProvider: { name: config.id, diff --git a/shared/utils/language.test.ts b/shared/utils/language.test.ts new file mode 100644 index 0000000000..af699a3451 --- /dev/null +++ b/shared/utils/language.test.ts @@ -0,0 +1,41 @@ +import { formatNumber, getLangFor, getSupportedLanguage } from "./language"; + +describe("formatNumber", () => { + it("formats a number with the specified locale", () => { + expect(formatNumber(1234, "en-US")).toEqual("1,234"); + }); + + it("returns the unformatted number for an invalid locale", () => { + expect(formatNumber(1234, "invalid_locale")).toEqual("1234"); + }); +}); + +describe("getSupportedLanguage", () => { + it("converts a supported BCP 47 locale", () => { + expect(getSupportedLanguage("pt-BR")).toEqual("pt_BR"); + }); + + it("accepts a supported CLDR locale", () => { + expect(getSupportedLanguage("pt_BR")).toEqual("pt_BR"); + }); + + it("returns the first supported locale", () => { + expect(getSupportedLanguage(undefined, "en-US")).toEqual("en_US"); + }); + + it("ignores unsupported and malformed locales", () => { + expect(getSupportedLanguage("invalid_locale", "en-US")).toEqual("en_US"); + expect(getSupportedLanguage("en-CA")).toBeUndefined(); + }); +}); + +describe("getLangFor", () => { + it("returns languages that need special text styling", () => { + expect(getLangFor("fa")).toEqual("fa"); + }); + + it("ignores other or empty languages", () => { + expect(getLangFor("en")).toBeUndefined(); + expect(getLangFor(null)).toBeUndefined(); + }); +}); diff --git a/shared/utils/language.ts b/shared/utils/language.ts new file mode 100644 index 0000000000..4220a9ad82 --- /dev/null +++ b/shared/utils/language.ts @@ -0,0 +1,93 @@ +import { languages } from "../i18n"; +import { unicodeBCP47toCLDR, unicodeCLDRtoBCP47 } from "./date"; + +/** + * Formats a number using the specified locale where possible. + * + * @param number the number to format. + * @param locale the locale to use in BCP 47 format. + * @return the formatted number as a string. + */ +export function formatNumber(number: number, locale: string): string { + try { + return new Intl.NumberFormat(locale).format(number); + } catch { + return number.toString(); + } +} + +/** + * Returns the first supported language from BCP 47 or CLDR locale values. + * + * @param locales the locale values in priority order. + * @return the supported language in CLDR format, or undefined. + */ +export function getSupportedLanguage( + ...locales: unknown[] +): string | undefined { + for (const locale of locales) { + if (typeof locale !== "string") { + continue; + } + + let canonicalLocale; + try { + [canonicalLocale] = Intl.getCanonicalLocales(unicodeCLDRtoBCP47(locale)); + } catch { + continue; + } + + const language = unicodeBCP47toCLDR(canonicalLocale); + const supportedLanguage = languages.find( + (candidate) => candidate === language + ); + if (supportedLanguage) { + return supportedLanguage; + } + } + + return undefined; +} + +/** + * Returns the language code if it needs special text styling. + * + * @param language the language code to check in ISO 639-1 format. + * @return the language code if it needs special styling, or undefined. + */ +export function getLangFor( + language: string | null | undefined +): string | undefined { + if (!language) { + return undefined; + } + + return scriptsWithLang.has(language) ? language : undefined; +} + +/** + * Languages with special styling, in ISO 639-1 format. + */ +const scriptsWithLang = new Set([ + "th", // Thai + "lo", // Lao + "km", // Khmer + "my", // Burmese + "hi", // Hindi + "mr", // Marathi + "ne", // Nepali + "bn", // Bengali + "gu", // Gujarati + "pa", // Punjabi + "te", // Telugu + "ta", // Tamil + "ml", // Malayalam + "si", // Sinhala + "bo", // Tibetan + "ar", // Arabic + "fa", // Persian + "ur", // Urdu + "he", // Hebrew + "am", // Amharic + "mn", // Mongolian +]); From 22a1e1d45b3c4181970c886ab6440a0d6dc1ec09 Mon Sep 17 00:00:00 2001 From: Tom Moor <tom@getoutline.com> Date: Tue, 1 Sep 2026 02:36:30 -0400 Subject: [PATCH 41/85] fix: Match PWA chrome to active theme (#13599) --- app/components/PageTheme.ts | 20 ++++++++++----- app/stores/UiStore.ts | 4 +++ server/static/index.html | 51 +++++++++++++++++++++++++++++-------- 3 files changed, 58 insertions(+), 17 deletions(-) diff --git a/app/components/PageTheme.ts b/app/components/PageTheme.ts index e78a12a744..6dfee07cbf 100644 --- a/app/components/PageTheme.ts +++ b/app/components/PageTheme.ts @@ -2,12 +2,18 @@ import { useEffect } from "react"; import { useTheme } from "styled-components"; import { light } from "@shared/styles/theme"; +/** + * Synchronizes browser page colors with the active application theme. + * + * @returns null. + */ export default function PageTheme() { const theme = useTheme(); + const { background, isDark } = theme; useEffect(() => { - // theme-color adjusts the title bar color for desktop PWA - const themeElement = document.querySelector('meta[name="theme-color"]'); + // theme-color adjusts the browser chrome for installed PWAs + const themeElements = document.querySelectorAll('meta[name="theme-color"]'); // color-scheme controls user-agent controls, scrollbars and the page canvas const colorSchemeElement = document.querySelector( @@ -19,17 +25,19 @@ export default function PageTheme() { if (document.body) { document.body.style.background = background; } - themeElement?.setAttribute("content", background); + themeElements.forEach((element) => { + element.setAttribute("content", background); + }); colorSchemeElement?.setAttribute("content", isDark ? "dark" : "light"); }; - applyTheme(theme.background, theme.isDark); + applyTheme(background, isDark); const handleChange = (event: MediaQueryListEvent) => { if (event.matches) { applyTheme(light.background, false); } else { - applyTheme(theme.background, theme.isDark); + applyTheme(background, isDark); } }; @@ -39,7 +47,7 @@ export default function PageTheme() { const mediaQuery = window.matchMedia("print"); mediaQuery.addEventListener("change", handleChange); return () => mediaQuery.removeEventListener("change", handleChange); - }, [theme]); + }, [background, isDark]); return null; } diff --git a/app/stores/UiStore.ts b/app/stores/UiStore.ts index d0c441b007..2bb5bdc65c 100644 --- a/app/stores/UiStore.ts +++ b/app/stores/UiStore.ts @@ -16,6 +16,8 @@ import { startViewTransition } from "~/utils/viewTransition"; import type RootStore from "./RootStore"; const UI_STORE = "UI_STORE"; +// Used by the static page before the UI store is available. +const THEME_STORAGE_KEY = "theme"; export enum Theme { Light = "light", @@ -175,6 +177,7 @@ class UiStore { this.tocVisible = data.tocVisible; this.rightSidebar = data.rightSidebar ?? null; this.theme = data.theme || Theme.System; + Storage.set(THEME_STORAGE_KEY, this.theme); // system theme listeners if (window.matchMedia) { @@ -312,6 +315,7 @@ class UiStore { flushSync(() => { this.theme = theme; this.persist(); + Storage.set(THEME_STORAGE_KEY, this.theme); }); }); }; diff --git a/server/static/index.html b/server/static/index.html index f3efa1469e..03a54a1cc2 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -2,7 +2,43 @@ <html lang="{lang}"> <head> <title>{title} - + + + {env} {script-tags}
{content}
From 9d29580e7f6f03291a492740d76f438c0b799304 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 1 Sep 2026 03:14:30 -0400 Subject: [PATCH 42/85] fix: Apply document download policy to revision export (#13603) Co-authored-by: Claude Opus 5 (1M context) --- server/routes/api/revisions/revisions.test.ts | 54 ++++++++++++++++++- server/routes/api/revisions/revisions.ts | 1 + 2 files changed, 54 insertions(+), 1 deletion(-) diff --git a/server/routes/api/revisions/revisions.test.ts b/server/routes/api/revisions/revisions.test.ts index e13166c6ee..788b6ab620 100644 --- a/server/routes/api/revisions/revisions.test.ts +++ b/server/routes/api/revisions/revisions.test.ts @@ -1,4 +1,8 @@ -import { DocumentPermission, ExportContentType } from "@shared/types"; +import { + DocumentPermission, + ExportContentType, + TeamPreference, +} from "@shared/types"; import { createContext } from "@server/context"; import { UserMembership, Revision } from "@server/models"; import FileStorage from "@server/storage/files"; @@ -7,7 +11,9 @@ import { buildAttachment, buildCollection, buildDocument, + buildTeam, buildUser, + buildViewer, } from "@server/test/factories"; import { getTestServer, readZipResponse } from "@server/test/support"; @@ -531,4 +537,50 @@ describe("#revisions.export", () => { }); expect(res.status).toEqual(403); }); + + it("should not allow viewer to export when disabled for team", async () => { + const team = await buildTeam(); + team.setPreference(TeamPreference.ViewersCanExport, false); + await team.save(); + + const author = await buildUser({ teamId: team.id }); + const viewer = await buildViewer({ teamId: team.id }); + const document = await buildDocument({ + teamId: team.id, + userId: author.id, + }); + const revision = await Revision.createFromDocument( + createContext({ user: author }), + document + ); + const res = await server.post("/api/revisions.export", viewer, { + body: { + id: revision.id, + }, + }); + expect(res.status).toEqual(403); + }); + + it("should allow viewer to export when enabled for team", async () => { + const team = await buildTeam(); + team.setPreference(TeamPreference.ViewersCanExport, true); + await team.save(); + + const author = await buildUser({ teamId: team.id }); + const viewer = await buildViewer({ teamId: team.id }); + const document = await buildDocument({ + teamId: team.id, + userId: author.id, + }); + const revision = await Revision.createFromDocument( + createContext({ user: author }), + document + ); + const res = await server.post("/api/revisions.export", viewer, { + body: { + id: revision.id, + }, + }); + expect(res.status).toEqual(200); + }); }); diff --git a/server/routes/api/revisions/revisions.ts b/server/routes/api/revisions/revisions.ts index 789140150b..36f2afb750 100644 --- a/server/routes/api/revisions/revisions.ts +++ b/server/routes/api/revisions/revisions.ts @@ -150,6 +150,7 @@ router.post( includeViews: false, }); authorize(user, "listRevisions", document); + authorize(user, "download", document); let contentType: string; let content: string; From 0a3851edb3417e3cd32be4f1cb16e7fe7c7f8b76 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 1 Sep 2026 03:14:41 -0400 Subject: [PATCH 43/85] fix: Keep expanded code blocks open after undo (#13600) * fix: Preserve expanded code blocks after undo * refactor: Rename used editor state parameter --- shared/editor/nodes/CodeFence.ts | 50 ++++++++++++++++++++++++++++---- 1 file changed, 44 insertions(+), 6 deletions(-) diff --git a/shared/editor/nodes/CodeFence.ts b/shared/editor/nodes/CodeFence.ts index 792caf529f..3ebf21ce1a 100644 --- a/shared/editor/nodes/CodeFence.ts +++ b/shared/editor/nodes/CodeFence.ts @@ -42,7 +42,7 @@ import { setRecentlyUsedCodeLanguage, } from "../lib/code"; import { isCode, isMermaid } from "../lib/isCode"; -import { isRemoteTransaction } from "../lib/multiplayer"; +import { isRemoteTransaction, mapDecorations } from "../lib/multiplayer"; import { findBlockNodes } from "../queries/findChildren"; import type { MarkdownSerializerState } from "../lib/markdown/serializer"; import { escapeRawTableCell } from "../lib/markdown/tableCell"; @@ -445,7 +445,7 @@ export default class CodeFence extends Node { const tallBlocks = findTallBlocks(state.doc); return build(state.doc, tallBlocks, new Set(tallBlocks)); }, - apply: (tr, prev, _oldState, newState) => { + apply: (tr, prev, oldState, newState) => { const meta = tr.getMeta(collapseKey); // Toggle collapsed state @@ -477,14 +477,52 @@ export default class CodeFence extends Node { const tallBlocks = findTallBlocks(newState.doc); const collapsedBlocks = new Set(); const isRemote = isRemoteTransaction(tr, newState); + const previousBlockDecorations: Decoration[] = []; + for (const pos of prev.tallBlocks) { + const node = oldState.doc.nodeAt(pos); + if (!node || !isCode(node)) { + continue; + } + + previousBlockDecorations.push( + Decoration.node( + pos, + pos + node.nodeSize, + {}, + { + collapsed: prev.collapsedBlocks.has(pos), + trackedCodeBlock: true, + } + ) + ); + } + + const mappedTallBlocks = new Set(); + const mappedCollapsedBlocks = new Set(); + const previousBlocks = DecorationSet.create( + oldState.doc, + previousBlockDecorations + ); + for (const decoration of mapDecorations( + previousBlocks, + tr, + newState + ).find()) { + if (!decoration.spec.trackedCodeBlock) { + continue; + } + + mappedTallBlocks.add(decoration.from); + if (decoration.spec.collapsed) { + mappedCollapsedBlocks.add(decoration.from); + } + } - const inverse = tr.mapping.invert(); for (const pos of tallBlocks) { - const oldPos = inverse.map(pos); - if (isRemote && !prev.tallBlocks.has(oldPos)) { + if (isRemote && !mappedTallBlocks.has(pos)) { // Newly tall blocks start collapsed on load collapsedBlocks.add(pos); - } else if (prev.collapsedBlocks.has(oldPos)) { + } else if (mappedCollapsedBlocks.has(pos)) { // Preserve previous collapsed state collapsedBlocks.add(pos); } From 92af44f4b6ef5cf051483476a3ef41332b4ac7fb Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 1 Sep 2026 03:23:52 -0400 Subject: [PATCH 44/85] fix: preserve quoted tables during document patches (#13604) --- server/commands/documentUpdater.test.ts | 126 ++++++++++++++++++++++- shared/editor/lib/markdown/serializer.ts | 3 + 2 files changed, 128 insertions(+), 1 deletion(-) diff --git a/server/commands/documentUpdater.test.ts b/server/commands/documentUpdater.test.ts index 0e1cf5b565..81cf43567f 100644 --- a/server/commands/documentUpdater.test.ts +++ b/server/commands/documentUpdater.test.ts @@ -1,6 +1,6 @@ import { randomUUID } from "node:crypto"; import * as Y from "yjs"; -import { TextEditMode } from "@shared/types"; +import { TextEditMode, type ProsemirrorData } from "@shared/types"; import { APIUpdateExtension } from "@server/collaboration/APIUpdateExtension"; import { Event } from "@server/models"; import { parser } from "@server/editor"; @@ -1393,6 +1393,130 @@ describe("documentUpdater", () => { expect(blockquote.content![1]).toEqual(secondPara); }); + it("should preserve a blockquote containing a table when patching a later link", async () => { + const user = await buildUser(); + const document = await buildDocument({ teamId: user.teamId }); + const fillerParagraphs: ProsemirrorData[] = Array.from( + { length: 242 }, + (_, index) => ({ + type: "paragraph", + content: [{ type: "text", text: `Quoted paragraph ${index + 1}` }], + }) + ); + + document.content = { + type: "doc", + content: [ + { + type: "paragraph", + content: [{ type: "text", text: "Before quote" }], + }, + { + type: "blockquote", + content: [ + { + type: "heading", + attrs: { level: 1 }, + content: [{ type: "text", text: "Quoted source" }], + }, + { + type: "table", + content: [ + { + type: "tr", + content: [ + { + type: "th", + content: [ + { + type: "paragraph", + content: [{ type: "text", text: "Key" }], + }, + ], + }, + { + type: "th", + content: [ + { + type: "paragraph", + content: [{ type: "text", text: "Value" }], + }, + ], + }, + ], + }, + { + type: "tr", + content: [ + { + type: "td", + content: [ + { + type: "paragraph", + content: [{ type: "text", text: "Alpha" }], + }, + ], + }, + { + type: "td", + content: [ + { + type: "paragraph", + content: [{ type: "text", text: "Keep this row" }], + }, + ], + }, + ], + }, + ], + }, + ...fillerParagraphs, + { + type: "paragraph", + content: [ + { type: "text", text: "See " }, + { + type: "text", + marks: [ + { + type: "link", + attrs: { href: "https://example.com/reference" }, + }, + ], + text: "Reference", + }, + { type: "text", text: "." }, + ], + }, + { + type: "paragraph", + content: [{ type: "text", text: "Tail sentinel." }], + }, + ], + }, + { + type: "paragraph", + content: [{ type: "text", text: "After quote" }], + }, + ], + }; + await document.save(); + + const beforeDoc = DocumentHelper.toProsemirror(document).toJSON(); + const expected = structuredClone(beforeDoc); + expected.content[1].content[244].content[1].marks[0].attrs.href = + "https://example.com/reference#h-target"; + + const result = DocumentHelper.applyMarkdownToDocument( + document, + "> See [Reference](https://example.com/reference#h-target).", + TextEditMode.Patch, + "> See [Reference](https://example.com/reference)." + ); + + expect(result.content).toEqual(expected); + }); + it("should always patch the first occurrence when findText appears multiple times", async () => { const user = await buildUser(); let document = await buildDocument({ diff --git a/shared/editor/lib/markdown/serializer.ts b/shared/editor/lib/markdown/serializer.ts index 83612816c4..476bfe25dd 100644 --- a/shared/editor/lib/markdown/serializer.ts +++ b/shared/editor/lib/markdown/serializer.ts @@ -482,10 +482,12 @@ export class MarkdownSerializerState { }); // Ensure there is an empty newline above all tables + this.write(); this.append("\n"); // Render rows node.forEach((row, _, i) => { + this.write(); row.forEach((cell, _, j) => { this.append(j === 0 ? "| " : " | "); @@ -528,6 +530,7 @@ export class MarkdownSerializerState { // Header separator after first row if (i === 0) { + this.write(); headerRow.forEach((cell, _, j) => { const width = columnWidths[j]; if (cell.attrs.alignment === "center") { From d9f78bbeb1414c6d11a7ac28d92759bc76347fab Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 1 Sep 2026 08:51:00 -0400 Subject: [PATCH 45/85] fix: Deadlock on cleanup task retry (#13598) * fix: Deadlock on cleanup task retry * Add transaction advisory lock around team deletion --- server/commands/teamPermanentDeleter.ts | 14 +++++ .../tasks/CleanupDeletedDocumentsTask.ts | 7 ++- .../queues/tasks/CleanupDeletedTeamsTask.ts | 11 +++- server/storage/LockHelper.test.ts | 55 +++++++++++++++++++ server/storage/LockHelper.ts | 29 ++++++++++ 5 files changed, 112 insertions(+), 4 deletions(-) diff --git a/server/commands/teamPermanentDeleter.ts b/server/commands/teamPermanentDeleter.ts index 5408d7ef72..67943d5373 100644 --- a/server/commands/teamPermanentDeleter.ts +++ b/server/commands/teamPermanentDeleter.ts @@ -19,6 +19,7 @@ import { Share, } from "@server/models"; import { sequelize } from "@server/storage/database"; +import { LockHelper } from "@server/storage/LockHelper"; /** * Permanently deletes a team and all related data from the database. Note that this does not happen @@ -109,6 +110,19 @@ async function teamPermanentDeleter(team: Team) { // Destory team-relation models await sequelize.transaction(async (transaction) => { + const acquired = await LockHelper.tryAcquire( + sequelize, + `teamPermanentDeleter:${teamId}`, + transaction + ); + if (!acquired) { + Logger.info( + "commands", + `Team ${teamId} is already being destroyed, skipping` + ); + return; + } + await AuthenticationProvider.destroy({ where: { teamId, diff --git a/server/queues/tasks/CleanupDeletedDocumentsTask.ts b/server/queues/tasks/CleanupDeletedDocumentsTask.ts index 42224c3219..21c537b6b4 100644 --- a/server/queues/tasks/CleanupDeletedDocumentsTask.ts +++ b/server/queues/tasks/CleanupDeletedDocumentsTask.ts @@ -31,7 +31,12 @@ export default class CleanupDeletedDocumentsTask extends CronTask { public get options() { return { - attempts: 1, + attempts: 3, + backoff: { + type: "exponential", + // Wait until the active partition window has ended before retrying. + delay: 15 * Minute.ms, + }, priority: TaskPriority.Background, }; } diff --git a/server/queues/tasks/CleanupDeletedTeamsTask.ts b/server/queues/tasks/CleanupDeletedTeamsTask.ts index fb5e6eb83b..9dbeaf3e02 100644 --- a/server/queues/tasks/CleanupDeletedTeamsTask.ts +++ b/server/queues/tasks/CleanupDeletedTeamsTask.ts @@ -27,9 +27,14 @@ export default class CleanupDeletedTeamsTask extends CronTask { }); for (const team of teams) { - await new CleanupDeletedTeamTask().schedule({ - teamId: team.id, - }); + await new CleanupDeletedTeamTask().schedule( + { + teamId: team.id, + }, + { + jobId: `cleanup-team:${team.id}`, + } + ); } } diff --git a/server/storage/LockHelper.test.ts b/server/storage/LockHelper.test.ts index 46a9122a3b..cd143aa792 100644 --- a/server/storage/LockHelper.test.ts +++ b/server/storage/LockHelper.test.ts @@ -59,4 +59,59 @@ describe("LockHelper", () => { ).resolves.toBeUndefined(); }); }); + + describe("tryAcquire", () => { + it("should return false rather than block when the lock is held", async () => { + let release: () => void = () => undefined; + const held = new Promise((resolve) => { + release = resolve; + }); + let acquired = false; + + const first = sequelize.transaction(async (transaction) => { + await LockHelper.acquire(sequelize, "try:one", transaction); + acquired = true; + await held; + }); + + while (!acquired) { + await sleep(10); + } + + await expect( + sequelize.transaction((transaction) => + LockHelper.tryAcquire(sequelize, "try:one", transaction) + ) + ).resolves.toBe(false); + + release(); + await first; + }); + + it("should return true when the lock is free", async () => { + await expect( + sequelize.transaction((transaction) => + LockHelper.tryAcquire(sequelize, "try:two", transaction) + ) + ).resolves.toBe(true); + }); + + it("should release the lock when the transaction ends", async () => { + await sequelize.transaction((transaction) => + LockHelper.tryAcquire(sequelize, "try:three", transaction) + ); + + await expect( + sequelize.transaction((transaction) => + LockHelper.tryAcquire(sequelize, "try:three", transaction) + ) + ).resolves.toBe(true); + }); + + it("should allow the caller to proceed without a transaction", async () => { + await expect(LockHelper.tryAcquire(sequelize, "try:four")).resolves.toBe( + true + ); + }); + }); }); diff --git a/server/storage/LockHelper.ts b/server/storage/LockHelper.ts index c860c2dabb..08f5e475a9 100644 --- a/server/storage/LockHelper.ts +++ b/server/storage/LockHelper.ts @@ -37,4 +37,33 @@ export class LockHelper { transaction, }); } + + /** + * Attempts to acquire a transaction advisory lock without waiting. + * + * @param sequelize the database connection. + * @param name the lock name. + * @param transaction the lock transaction. + * @returns true if the lock was acquired. + */ + public static async tryAcquire( + sequelize: Sequelize, + name: string, + transaction?: Transaction | null + ): Promise { + if (!transaction) { + return true; + } + + const rows = await sequelize.query<{ locked: boolean }>( + "SELECT pg_try_advisory_xact_lock(hashtext(:name)) AS locked", + { + replacements: { name }, + type: QueryTypes.SELECT, + transaction, + } + ); + + return rows[0]?.locked ?? false; + } } From 2420d8eb8bfa6bdf6dd5b41ba779d2896b168448 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 18:46:20 -0400 Subject: [PATCH 46/85] chore(deps-dev): bump @vitest/ui from 4.1.10 to 4.1.11 (#13593) Bumps [@vitest/ui](https://github.com/vitest-dev/vitest/tree/HEAD/packages/ui) from 4.1.10 to 4.1.11. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.11/packages/ui) --- updated-dependencies: - dependency-name: "@vitest/ui" dependency-version: 4.1.11 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 34 +++++++++++++++++++++++++++------- 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index bf258decfe..ada938dd91 100644 --- a/package.json +++ b/package.json @@ -349,7 +349,7 @@ "@types/validator": "^13.15.10", "@types/yauzl": "^2.10.3", "@types/yazl": "^3.3.1", - "@vitest/ui": "^4.1.10", + "@vitest/ui": "^4.1.11", "browserslist-to-esbuild": "^1.2.0", "concurrently": "^8.2.2", "discord-api-types": "^0.38.48", diff --git a/yarn.lock b/yarn.lock index 9997b80164..cd175134b8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7658,6 +7658,15 @@ __metadata: languageName: node linkType: hard +"@vitest/pretty-format@npm:4.1.11": + version: 4.1.11 + resolution: "@vitest/pretty-format@npm:4.1.11" + dependencies: + tinyrainbow: "npm:^3.1.0" + checksum: 10c0/ad32525c73807c0b72f38dc29bc51fd5a17879dc650f37995a9c5adbb8526e15f787691f76aa8768448ec7ed5bf5ba2b12329eac8fda1428b4d6b8c036390f71 + languageName: node + linkType: hard + "@vitest/runner@npm:4.1.10": version: 4.1.10 resolution: "@vitest/runner@npm:4.1.10" @@ -7687,11 +7696,11 @@ __metadata: languageName: node linkType: hard -"@vitest/ui@npm:^4.1.10": - version: 4.1.10 - resolution: "@vitest/ui@npm:4.1.10" +"@vitest/ui@npm:^4.1.11": + version: 4.1.11 + resolution: "@vitest/ui@npm:4.1.11" dependencies: - "@vitest/utils": "npm:4.1.10" + "@vitest/utils": "npm:4.1.11" fflate: "npm:^0.8.2" flatted: "npm:^3.4.2" pathe: "npm:^2.0.3" @@ -7699,8 +7708,8 @@ __metadata: tinyglobby: "npm:^0.2.15" tinyrainbow: "npm:^3.1.0" peerDependencies: - vitest: 4.1.10 - checksum: 10c0/59cd54e3a3c512de00828f0b739323d0c076dc3577fd13678b270f716120d92d10f4922a55363ab9e1de78c42a6b68831f6b7eaaad2d3df86ed9ab856e17b469 + vitest: 4.1.11 + checksum: 10c0/8e6099bab10c1f713f83cbdf1543147824a4312478c96967da8dcb72b5f2a9133574543dd7f3659259046ccdbaec727cc097003e47046c81ef5a2c6c02c5b7c1 languageName: node linkType: hard @@ -7715,6 +7724,17 @@ __metadata: languageName: node linkType: hard +"@vitest/utils@npm:4.1.11": + version: 4.1.11 + resolution: "@vitest/utils@npm:4.1.11" + dependencies: + "@vitest/pretty-format": "npm:4.1.11" + convert-source-map: "npm:^2.0.0" + tinyrainbow: "npm:^3.1.0" + checksum: 10c0/a2c1ddc64333458c3e031465c1ee0440a7660fd1b298c54ccbf865ef1e5cf3ebdd6c5c75a5ea235d8a672498b394e7121f992b096f021f45014ab25e9abd1b52 + languageName: node + linkType: hard + "@xhmikosr/archive-type@npm:^8.0.1": version: 8.1.0 resolution: "@xhmikosr/archive-type@npm:8.1.0" @@ -15689,7 +15709,7 @@ __metadata: "@types/yauzl": "npm:^2.10.3" "@types/yazl": "npm:^3.3.1" "@vitejs/plugin-react": "npm:^6.0.5" - "@vitest/ui": "npm:^4.1.10" + "@vitest/ui": "npm:^4.1.11" addressparser: "npm:^1.0.1" async-sema: "npm:^3.1.1" browserslist-to-esbuild: "npm:^1.2.0" From 656b7f6e6419fc42283cadee7a2a4e8af60cc21d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 18:46:33 -0400 Subject: [PATCH 47/85] chore(deps): bump ws from 7.5.11 to 7.5.13 (#13592) Bumps [ws](https://github.com/websockets/ws) from 7.5.11 to 7.5.13. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/7.5.11...7.5.13) --- updated-dependencies: - dependency-name: ws dependency-version: 7.5.13 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ada938dd91..d0c89a0012 100644 --- a/package.json +++ b/package.json @@ -273,7 +273,7 @@ "vite": "^8.1.5", "vite-plugin-pwa": "1.3.0", "winston": "^3.17.0", - "ws": "^7.5.11", + "ws": "^7.5.13", "y-prosemirror": "^1.3.7", "y-protocols": "^1.0.7", "yauzl": "^3.3.1", diff --git a/yarn.lock b/yarn.lock index cd175134b8..6b1f3220f5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15889,7 +15889,7 @@ __metadata: vite-tsconfig-paths: "npm:^6.1.1" vitest: "npm:^4.1.10" winston: "npm:^3.17.0" - ws: "npm:^7.5.11" + ws: "npm:^7.5.13" y-prosemirror: "npm:^1.3.7" y-protocols: "npm:^1.0.7" yauzl: "npm:^3.3.1" @@ -21391,7 +21391,22 @@ __metadata: languageName: node linkType: hard -"ws@npm:^7.5.11, ws@npm:^7.5.5": +"ws@npm:^7.5.13": + version: 7.5.13 + resolution: "ws@npm:7.5.13" + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ^5.0.2 + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + checksum: 10c0/e223726bbda5768ed58ec9252d04eda7018ef380ea122bb94e595a4d7a02b5baeb423933936576fddb8fa51b642375f7ae814bf0f6f5d9a3ce290566578a8c5a + languageName: node + linkType: hard + +"ws@npm:^7.5.5": version: 7.5.11 resolution: "ws@npm:7.5.11" peerDependencies: From 30e96d9e6fb26703f7619a19dcf9a88513282bd3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 18:47:05 -0400 Subject: [PATCH 48/85] chore(deps-dev): bump @types/node from 20.19.39 to 20.19.43 (#13591) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.19.39 to 20.19.43. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 20.19.43 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index d0c89a0012..49978df490 100644 --- a/package.json +++ b/package.json @@ -318,7 +318,7 @@ "@types/markdown-it-emoji": "^3.0.1", "@types/mime-types": "^3.0.1", "@types/natural-sort": "^0.0.24", - "@types/node": "20.19.39", + "@types/node": "20.19.43", "@types/node-fetch": "^2.6.13", "@types/nodemailer": "^6.4.23", "@types/passport-oauth2": "^1.8.0", diff --git a/yarn.lock b/yarn.lock index 6b1f3220f5..49ccc24b1b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7152,12 +7152,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:20.19.39": - version: 20.19.39 - resolution: "@types/node@npm:20.19.39" +"@types/node@npm:20.19.43": + version: 20.19.43 + resolution: "@types/node@npm:20.19.43" dependencies: undici-types: "npm:~6.21.0" - checksum: 10c0/1d16da7b5f47a7415b827fcf3b94d279febf4c14671afec74a03e47856b5270023d9beb1b9aeab4d3b622fd97d61a60206cfc2cca588663181331bc592468289 + checksum: 10c0/9bcec3b5295bdd77ff0b44a528a69f7e22028c347507ba2c69be47ec84e30299f45043b222e9c86c510e138c9c53b2419dd5cd34920602a4a5a381c288075318 languageName: node linkType: hard @@ -15675,7 +15675,7 @@ __metadata: "@types/markdown-it-emoji": "npm:^3.0.1" "@types/mime-types": "npm:^3.0.1" "@types/natural-sort": "npm:^0.0.24" - "@types/node": "npm:20.19.39" + "@types/node": "npm:20.19.43" "@types/node-fetch": "npm:^2.6.13" "@types/nodemailer": "npm:^6.4.23" "@types/pako": "npm:^2.0.4" From c0c93527360f9fddaa431d62c4588b75a9626786 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 18:48:06 -0400 Subject: [PATCH 49/85] chore(deps): bump the sentry group with 2 updates (#13589) Bumps the sentry group with 2 updates: [@sentry/node](https://github.com/getsentry/sentry-javascript) and [@sentry/react](https://github.com/getsentry/sentry-javascript). Updates `@sentry/node` from 10.70.0 to 10.72.0 - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/10.72.0/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/10.70.0...10.72.0) Updates `@sentry/react` from 10.70.0 to 10.72.0 - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/10.72.0/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/10.70.0...10.72.0) --- updated-dependencies: - dependency-name: "@sentry/node" dependency-version: 10.72.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: sentry - dependency-name: "@sentry/react" dependency-version: 10.72.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: sentry ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 4 +- yarn.lock | 221 ++++++++++++++++----------------------------------- 2 files changed, 72 insertions(+), 153 deletions(-) diff --git a/package.json b/package.json index 49978df490..f9ad8f726f 100644 --- a/package.json +++ b/package.json @@ -105,8 +105,8 @@ "@radix-ui/react-toolbar": "^1.1.19", "@radix-ui/react-tooltip": "^1.2.16", "@radix-ui/react-visually-hidden": "^1.2.11", - "@sentry/node": "^10.70.0", - "@sentry/react": "^10.70.0", + "@sentry/node": "^10.72.0", + "@sentry/react": "^10.72.0", "@simplewebauthn/browser": "^13.3.0", "@simplewebauthn/server": "^13.3.1", "@tanstack/react-table": "^8.21.3", diff --git a/yarn.lock b/yarn.lock index 49ccc24b1b..f903cc6188 100644 --- a/yarn.lock +++ b/yarn.lock @@ -28,45 +28,6 @@ __metadata: languageName: node linkType: hard -"@apm-js-collab/code-transformer-bundler-plugins@npm:^0.7.3": - version: 0.7.3 - resolution: "@apm-js-collab/code-transformer-bundler-plugins@npm:0.7.3" - dependencies: - "@apm-js-collab/code-transformer": "npm:^0.18.0" - es-module-lexer: "npm:^2.1.0" - magic-string: "npm:^0.30.21" - module-details-from-path: "npm:^1.0.4" - checksum: 10c0/e7882a3c14f5f52fc2e21347fc5777672305520a1707c2ce4bc6ba1a070519ebf256b3f2a49a2a4ee78d30b23ebfdcd2a0122d75dd42260e9fbc221e65cd1b74 - languageName: node - linkType: hard - -"@apm-js-collab/code-transformer@npm:^0.18.0": - version: 0.18.1 - resolution: "@apm-js-collab/code-transformer@npm:0.18.1" - dependencies: - "@types/estree": "npm:^1.0.8" - astring: "npm:^1.9.0" - esquery: "npm:^1.7.0" - meriyah: "npm:^6.1.4" - semifies: "npm:^1.0.0" - source-map: "npm:^0.6.0" - bin: - code-transformer: cli.js - checksum: 10c0/253ba76f7efec39a337327e5f23029ab5a8c5b3e3db4e1c41b97636b8e842372c285301f7a3e3a19d344eb9a680091926f6f38e06bdd6233f33a958777094322 - languageName: node - linkType: hard - -"@apm-js-collab/tracing-hooks@npm:^0.13.0": - version: 0.13.0 - resolution: "@apm-js-collab/tracing-hooks@npm:0.13.0" - dependencies: - "@apm-js-collab/code-transformer": "npm:^0.18.0" - debug: "npm:^4.4.1" - module-details-from-path: "npm:^1.0.4" - checksum: 10c0/2891fc52b8aa2b68d59674f40f1340ce71ac68f6aff07394146565a5afcc10d99b8efe2d05af1346c188d440fcbb53c9d48eb017012417109740207e8a85e390 - languageName: node - linkType: hard - "@aws-sdk/checksums@npm:^3.1000.28": version: 3.1000.28 resolution: "@aws-sdk/checksums@npm:3.1000.28" @@ -5733,27 +5694,27 @@ __metadata: languageName: node linkType: hard -"@sentry/browser-utils@npm:10.70.0": - version: 10.70.0 - resolution: "@sentry/browser-utils@npm:10.70.0" +"@sentry/browser-utils@npm:10.72.0": + version: 10.72.0 + resolution: "@sentry/browser-utils@npm:10.72.0" dependencies: "@sentry/conventions": "npm:^0.16.0" - "@sentry/core": "npm:10.70.0" - checksum: 10c0/fd08a54bb43a674714786a0d8b7e80e6b72025347907c581cdddb37b42bca9d08c4091fed9877ff0e596fb95a1d4f98ed74dcd4702ccf1bccaef9feded6c64a5 + "@sentry/core": "npm:10.72.0" + checksum: 10c0/2ec35c405a83aa24bc455178db04ec30b0784508ed129cefb7321aa7da2a4e5f966494fbac6c3a658db3dfa90d6d849784257bc82d7afe7e574d312368efd9ca languageName: node linkType: hard -"@sentry/browser@npm:10.70.0": - version: 10.70.0 - resolution: "@sentry/browser@npm:10.70.0" +"@sentry/browser@npm:10.72.0": + version: 10.72.0 + resolution: "@sentry/browser@npm:10.72.0" dependencies: - "@sentry/browser-utils": "npm:10.70.0" + "@sentry/browser-utils": "npm:10.72.0" "@sentry/conventions": "npm:^0.16.0" - "@sentry/core": "npm:10.70.0" - "@sentry/feedback": "npm:10.70.0" - "@sentry/replay": "npm:10.70.0" - "@sentry/replay-canvas": "npm:10.70.0" - checksum: 10c0/bdd88eab14b5b61612fabcfc2857b5f83211f5729d4a72eb1e441b0aff65ce8b5ff2577eead1ae4eb38b883071c1478c4f8087ee547f0454602a1f5f952ac3c1 + "@sentry/core": "npm:10.72.0" + "@sentry/feedback": "npm:10.72.0" + "@sentry/replay": "npm:10.72.0" + "@sentry/replay-canvas": "npm:10.72.0" + checksum: 10c0/86facf754ab024407b12ca57e00ba8b8a1495c3f58bcdc17491209264fe6173285d9920dde7134a700a52f5d57bf4bfd860a31eab788baf07d710f76d3c549f1 languageName: node linkType: hard @@ -5764,31 +5725,31 @@ __metadata: languageName: node linkType: hard -"@sentry/core@npm:10.70.0": - version: 10.70.0 - resolution: "@sentry/core@npm:10.70.0" +"@sentry/core@npm:10.72.0": + version: 10.72.0 + resolution: "@sentry/core@npm:10.72.0" dependencies: "@sentry/conventions": "npm:^0.16.0" - checksum: 10c0/4625428ed269c00375d2436968d7a24e5235a9c83c2968dc237543bba606d42326b5922e2d8d08a76a15e5f8734b940c607b1d911da8906987e1259763d36e21 + checksum: 10c0/6b923a7d89c746ac87b9f1037ab08017d3c22ca1c8d295ac19bac580f58d5c354d16bd6c017c4834ded7f7a9c124c3dd876dbf256430ee6eabfed8f808b417b9 languageName: node linkType: hard -"@sentry/feedback@npm:10.70.0": - version: 10.70.0 - resolution: "@sentry/feedback@npm:10.70.0" +"@sentry/feedback@npm:10.72.0": + version: 10.72.0 + resolution: "@sentry/feedback@npm:10.72.0" dependencies: - "@sentry/core": "npm:10.70.0" - checksum: 10c0/c88d07c16454692955b6018feb93f9898384b682acfc5eb83d2813c424cad9f0beab060696dcf11fc76a50ed20bdaf0e7d77a8fef47b87b2ee83f69a718cc086 + "@sentry/core": "npm:10.72.0" + checksum: 10c0/fcfb4820c67bf1684d46a295c60e711123be518ee5d5e917efc0da36fffe4701ffaa4fc7065d1064e58f4f5af0ef84c01f18dbbc51a7fe4705c1b0919fb09278 languageName: node linkType: hard -"@sentry/node-core@npm:10.70.0": - version: 10.70.0 - resolution: "@sentry/node-core@npm:10.70.0" +"@sentry/node-core@npm:10.72.0": + version: 10.72.0 + resolution: "@sentry/node-core@npm:10.72.0" dependencies: "@sentry/conventions": "npm:^0.16.0" - "@sentry/core": "npm:10.70.0" - "@sentry/opentelemetry": "npm:10.70.0" + "@sentry/core": "npm:10.72.0" + "@sentry/opentelemetry": "npm:10.72.0" import-in-the-middle: "npm:^3.0.0" peerDependencies: "@opentelemetry/api": ^1.9.0 @@ -5807,84 +5768,81 @@ __metadata: optional: true "@opentelemetry/sdk-trace-base": optional: true - checksum: 10c0/1dfe79bb0c290bc8623d037262e1e22c70acf7ca76be29379e4f32900b48cce5219ac73d8dd765722d8325b69b4a2333a4a75f5c6135adae62105009e810ea45 + checksum: 10c0/b1d25d00a8c6ec1f21700d9a7e4146830b66f311362fae51162be8b702990d4b883c9ed449d55c0ae57a410b6d440e8384cb65dfa9dccab6eb6ceabafb66974d languageName: node linkType: hard -"@sentry/node@npm:^10.70.0": - version: 10.70.0 - resolution: "@sentry/node@npm:10.70.0" +"@sentry/node@npm:^10.72.0": + version: 10.72.0 + resolution: "@sentry/node@npm:10.72.0" dependencies: "@opentelemetry/api": "npm:^1.9.1" "@opentelemetry/instrumentation": "npm:^0.220.0" "@opentelemetry/sdk-trace-base": "npm:^2.9.0" "@sentry/conventions": "npm:^0.16.0" - "@sentry/core": "npm:10.70.0" - "@sentry/node-core": "npm:10.70.0" - "@sentry/opentelemetry": "npm:10.70.0" - "@sentry/server-utils": "npm:10.70.0" + "@sentry/core": "npm:10.72.0" + "@sentry/node-core": "npm:10.72.0" + "@sentry/opentelemetry": "npm:10.72.0" + "@sentry/server-utils": "npm:10.72.0" import-in-the-middle: "npm:^3.0.0" - checksum: 10c0/3cb3b3fcab412528b27045d87b8e42a9b1af4eb845ac515e3eda77cbcbf61e534c7589b54980d6076b4ed869ec536c477b66c74a563cc9409dbe83287cfcb8b0 + checksum: 10c0/5c687a074d5b16611edede72cd46276644527fd9e99265f07c5739684900c4ba6ea4b0238739859d10088bcfd494a89e860442b505c9bab92982c626445f9a88 languageName: node linkType: hard -"@sentry/opentelemetry@npm:10.70.0": - version: 10.70.0 - resolution: "@sentry/opentelemetry@npm:10.70.0" +"@sentry/opentelemetry@npm:10.72.0": + version: 10.72.0 + resolution: "@sentry/opentelemetry@npm:10.72.0" dependencies: "@sentry/conventions": "npm:^0.16.0" - "@sentry/core": "npm:10.70.0" + "@sentry/core": "npm:10.72.0" peerDependencies: "@opentelemetry/api": ^1.9.0 "@opentelemetry/core": ^1.30.1 || ^2.1.0 "@opentelemetry/sdk-trace-base": ^1.30.1 || ^2.1.0 - checksum: 10c0/fd20e1696571ec13aff345e2eaa0a385a50627436ed1b0bb01b7aa0ba91c8fc2d8ca0e0192fb33c543f40116ca43af739f54ec41972036f1108b57d285687673 + checksum: 10c0/5e54a591ea9b361b36b95e45344c5a5c036798959bd03fe8664bda4dce3434476734be58d0e1228e0dd28b397c0ba83e022a73999363d61999abe570babce99f languageName: node linkType: hard -"@sentry/react@npm:^10.70.0": - version: 10.70.0 - resolution: "@sentry/react@npm:10.70.0" +"@sentry/react@npm:^10.72.0": + version: 10.72.0 + resolution: "@sentry/react@npm:10.72.0" dependencies: - "@sentry/browser": "npm:10.70.0" + "@sentry/browser": "npm:10.72.0" "@sentry/conventions": "npm:^0.16.0" - "@sentry/core": "npm:10.70.0" + "@sentry/core": "npm:10.72.0" peerDependencies: react: ^16.14.0 || 17.x || 18.x || 19.x - checksum: 10c0/4aa5d80609fd6188a1957a605c31c2c38e93b09add9a713b3972fb25f4b86f0b140fcd5cfdc7a40457d32c69ce26cd20bac2c58ec2640bb6bbb005d74377a315 + checksum: 10c0/b593a0bd7579ef95acf94c96a129bb2156140e758635a8e3a196c01dae635f192052f98a9a00677644e08fdb5ff827edfc6858f2b86d135be1e1a31d413f522b languageName: node linkType: hard -"@sentry/replay-canvas@npm:10.70.0": - version: 10.70.0 - resolution: "@sentry/replay-canvas@npm:10.70.0" +"@sentry/replay-canvas@npm:10.72.0": + version: 10.72.0 + resolution: "@sentry/replay-canvas@npm:10.72.0" dependencies: - "@sentry/core": "npm:10.70.0" - "@sentry/replay": "npm:10.70.0" - checksum: 10c0/a78d7bfe87cdd12718e85024dabcd25c2fcc03f051275a2d4252c8b7f827a3fe39db9093ee250e1843e1f316ffee6565dd31340d3a8220ea6ac44f683dadd417 + "@sentry/core": "npm:10.72.0" + "@sentry/replay": "npm:10.72.0" + checksum: 10c0/514081d5972dab76a09649457788ab9f58d819c62208c32f415e9531b33c246488b6135f44f12be8ceeb47f585ee48f0d08df24f66f4794553f15bebdf8e5c69 languageName: node linkType: hard -"@sentry/replay@npm:10.70.0": - version: 10.70.0 - resolution: "@sentry/replay@npm:10.70.0" +"@sentry/replay@npm:10.72.0": + version: 10.72.0 + resolution: "@sentry/replay@npm:10.72.0" dependencies: - "@sentry/browser-utils": "npm:10.70.0" - "@sentry/core": "npm:10.70.0" - checksum: 10c0/9d00373df75095d9b25c421f68945dd4df182c1d0fad541fe43ee8cd6a3cde78174b82e404677cb839e14ddcb63f0c3ad4b38e99453f54238a7712fc4bf07cd1 + "@sentry/browser-utils": "npm:10.72.0" + "@sentry/core": "npm:10.72.0" + checksum: 10c0/5a3dbe1c6e4aee63187a9705d824014a44121ac87c4daa297ff12ad8f91199f4d3dac3c61b467f579f400e63aa6e4e5ffaf46a3e47dc07bb9ead8cee22b70bfb languageName: node linkType: hard -"@sentry/server-utils@npm:10.70.0": - version: 10.70.0 - resolution: "@sentry/server-utils@npm:10.70.0" +"@sentry/server-utils@npm:10.72.0": + version: 10.72.0 + resolution: "@sentry/server-utils@npm:10.72.0" dependencies: - "@apm-js-collab/code-transformer-bundler-plugins": "npm:^0.7.3" - "@apm-js-collab/tracing-hooks": "npm:^0.13.0" "@sentry/conventions": "npm:^0.16.0" - "@sentry/core": "npm:10.70.0" - meriyah: "npm:^6.1.4" - checksum: 10c0/9d9b76920dba534db40bbfb904a1bb2bf3bf8260afd6788c1ec4a143241d9ee16e7b91572bb7fcc48192d4f2a063fa28a1779dc9c4d0d7c93be0e626c30ae145 + "@sentry/core": "npm:10.72.0" + checksum: 10c0/99e9133c80f280c744fe8a0507a5a07f9d34a4a064ec43e9017b2c0d2979f513079ebe0ff62957276f64591f406d1068b8cb5b782d7bd77bad66b7b2ce26afc2 languageName: node linkType: hard @@ -6737,7 +6695,7 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:^1.0.0, @types/estree@npm:^1.0.8": +"@types/estree@npm:^1.0.0": version: 1.0.9 resolution: "@types/estree@npm:1.0.9" checksum: 10c0/3ad3286ca2988cd550dafb8f2ad599c8474868e954fa601a36655bdfefd8039f7c714b8c1c7f2ae219ffbd58bd4660e66fa7479a0120fc02d4777057d4865387 @@ -8135,15 +8093,6 @@ __metadata: languageName: node linkType: hard -"astring@npm:^1.9.0": - version: 1.9.0 - resolution: "astring@npm:1.9.0" - bin: - astring: bin/astring - checksum: 10c0/e7519544d9824494e80ef0e722bb3a0c543a31440d59691c13aeaceb75b14502af536b23f08db50aa6c632dafaade54caa25f0788aa7550b6b2d6e2df89e0830 - languageName: node - linkType: hard - "async-function@npm:^1.0.0": version: 1.0.0 resolution: "async-function@npm:1.0.0" @@ -10114,7 +10063,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:4.4.3, debug@npm:^4, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.4, debug@npm:^4.3.5, debug@npm:^4.3.6, debug@npm:^4.4.0, debug@npm:^4.4.1, debug@npm:^4.4.3, debug@npm:~4.4.1": +"debug@npm:4, debug@npm:4.4.3, debug@npm:^4, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.4, debug@npm:^4.3.5, debug@npm:^4.3.6, debug@npm:^4.4.0, debug@npm:^4.4.3, debug@npm:~4.4.1": version: 4.4.3 resolution: "debug@npm:4.4.3" dependencies: @@ -10850,7 +10799,7 @@ __metadata: languageName: node linkType: hard -"es-module-lexer@npm:^2.0.0, es-module-lexer@npm:^2.1.0, es-module-lexer@npm:^2.2.0": +"es-module-lexer@npm:^2.0.0, es-module-lexer@npm:^2.2.0": version: 2.3.1 resolution: "es-module-lexer@npm:2.3.1" checksum: 10c0/ada8b222772b5b8ea92eb6054c383233207418621855a07b480fdd36979b658a41414be09e793fcdd8a67a182741475f47830a01ff2ebd4353d7f6965c7c45f9 @@ -11020,22 +10969,6 @@ __metadata: languageName: node linkType: hard -"esquery@npm:^1.7.0": - version: 1.7.0 - resolution: "esquery@npm:1.7.0" - dependencies: - estraverse: "npm:^5.1.0" - checksum: 10c0/77d5173db450b66f3bc685d11af4c90cffeedb340f34a39af96d43509a335ce39c894fd79233df32d38f5e4e219fa0f7076f6ec90bae8320170ba082c0db4793 - languageName: node - linkType: hard - -"estraverse@npm:^5.1.0": - version: 5.3.0 - resolution: "estraverse@npm:5.3.0" - checksum: 10c0/1ff9447b96263dec95d6d67431c5e0771eb9776427421260a3e2f0fdd5d6bd4f8e37a7338f5ad2880c9f143450c9b1e4fc2069060724570a49cf9cf0312bd107 - languageName: node - linkType: hard - "estree-walker@npm:^2.0.2": version: 2.0.2 resolution: "estree-walker@npm:2.0.2" @@ -14636,13 +14569,6 @@ __metadata: languageName: node linkType: hard -"meriyah@npm:^6.1.4": - version: 6.1.4 - resolution: "meriyah@npm:6.1.4" - checksum: 10c0/d792a12df453b9e86c2bb70e73adf41b2d0fa88125381143e4d339d309ddcbb7aeb108e286411dcb19be82539d29b881279c613ae03ce514b7c296c72e9a8d00 - languageName: node - linkType: hard - "mermaid@npm:11.17.1": version: 11.17.1 resolution: "mermaid@npm:11.17.1" @@ -15633,8 +15559,8 @@ __metadata: "@radix-ui/react-tooltip": "npm:^1.2.16" "@radix-ui/react-visually-hidden": "npm:^1.2.11" "@relative-ci/agent": "npm:^4.3.1" - "@sentry/node": "npm:^10.70.0" - "@sentry/react": "npm:^10.70.0" + "@sentry/node": "npm:^10.72.0" + "@sentry/react": "npm:^10.72.0" "@simplewebauthn/browser": "npm:^13.3.0" "@simplewebauthn/server": "npm:^13.3.1" "@swc/cli": "npm:^0.8.1" @@ -18475,13 +18401,6 @@ __metadata: languageName: node linkType: hard -"semifies@npm:^1.0.0": - version: 1.0.0 - resolution: "semifies@npm:1.0.0" - checksum: 10c0/d93d5e8d2c0b7d5f972b9378736ed5cc1f2ab40d043234b4156665872f08cb0da914ee8c8b35c59dc6b17880a4c5502588c7515c6bb4dbc3ce5565746428d31d - languageName: node - linkType: hard - "semver-regex@npm:^4.0.5": version: 4.0.5 resolution: "semver-regex@npm:4.0.5" From 5f35f43c9e0d93c5ba806e2a8cbf9096bd4870fc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 19:03:20 -0400 Subject: [PATCH 50/85] chore(deps): bump browserslist from 4.28.2 to 4.28.8 (#13606) Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.28.2 to 4.28.8. - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](https://github.com/browserslist/browserslist/compare/4.28.2...4.28.8) --- updated-dependencies: - dependency-name: browserslist dependency-version: 4.28.8 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 56 +++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/yarn.lock b/yarn.lock index f903cc6188..5cd3bbfbcc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8314,12 +8314,12 @@ __metadata: languageName: node linkType: hard -"baseline-browser-mapping@npm:^2.10.12": - version: 2.10.18 - resolution: "baseline-browser-mapping@npm:2.10.18" +"baseline-browser-mapping@npm:^2.11.12": + version: 2.11.20 + resolution: "baseline-browser-mapping@npm:2.11.20" bin: baseline-browser-mapping: dist/cli.cjs - checksum: 10c0/cab0138dd70b3aefe83e27cd03013bfdea772d2329e6458178cceed34b7e3fde72b697c9e4c21fb3c796bcfb831d348bc947b017d8b64417045a34bf014c87b7 + checksum: 10c0/67588b7edafa4e6c52996ec4b96b6e007312961cefc5a179cb49232f6681a38ba68d4d43990081e9d0e1dcadcbd28f13105ee7dc3e43b267385d0beb14824ecc languageName: node linkType: hard @@ -8544,17 +8544,17 @@ __metadata: linkType: hard "browserslist@npm:^4.17.3, browserslist@npm:^4.24.0, browserslist@npm:^4.28.1": - version: 4.28.2 - resolution: "browserslist@npm:4.28.2" + version: 4.28.8 + resolution: "browserslist@npm:4.28.8" dependencies: - baseline-browser-mapping: "npm:^2.10.12" - caniuse-lite: "npm:^1.0.30001782" - electron-to-chromium: "npm:^1.5.328" - node-releases: "npm:^2.0.36" - update-browserslist-db: "npm:^1.2.3" + baseline-browser-mapping: "npm:^2.11.12" + caniuse-lite: "npm:^1.0.30001809" + electron-to-chromium: "npm:^1.5.402" + node-releases: "npm:^2.0.53" + update-browserslist-db: "npm:^1.3.0" bin: browserslist: cli.js - checksum: 10c0/c0228b6330f785b7fa59d2d360124ec6d9322f96ed9f3ee1f873e33ecc9503a6f0ffc3b71191a28c4ff6e930b753b30043da1c33844a9548f3018d491f09ce60 + checksum: 10c0/047dd517c8d1f1f56a253d752c3127b8ad01c58e4cbb7e21cb5cd07ebd13e083a2237c3afb13eb60674282c9132bd4534aea2c3ff7c6f7d29be0687a00cbd537 languageName: node linkType: hard @@ -8725,10 +8725,10 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001782": - version: 1.0.30001788 - resolution: "caniuse-lite@npm:1.0.30001788" - checksum: 10c0/d3c4695d0e7a1e95194cc5072e26db59cbcd25adfff64253859213c1a04ce9bc17f7b8ec8b11908ac1ecc6c1a0caf95fae0aec064a64b8df03286dffa629ce8a +"caniuse-lite@npm:^1.0.30001809": + version: 1.0.30001810 + resolution: "caniuse-lite@npm:1.0.30001810" + checksum: 10c0/d29bc73f33c888025d54c7ff2984372d3b350b15a6a9e174884fb40976175e9177f202e2a72c2d428dddfc032784bc8ba635a31d168fcab9fac65756d7b3d6b4 languageName: node linkType: hard @@ -10494,10 +10494,10 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.5.328": - version: 1.5.336 - resolution: "electron-to-chromium@npm:1.5.336" - checksum: 10c0/8d4f4422f7360e22d7faa308259b74ec66bf92450db5d8da3a26c7976d158b23d4abfdf7ee87377e2ddc551e2288906ea7eca187b1216bd771fc13f172ffa183 +"electron-to-chromium@npm:^1.5.402": + version: 1.5.420 + resolution: "electron-to-chromium@npm:1.5.420" + checksum: 10c0/0c4a4932991cefc9aa655cbb00b3b693680709df9e4eb2fc1a51cab851b735a2be9510c345b5ed6cad571e58e6d27867731607741df82de9535a7eb041fceda2 languageName: node linkType: hard @@ -15173,10 +15173,10 @@ __metadata: languageName: node linkType: hard -"node-releases@npm:^2.0.36": - version: 2.0.37 - resolution: "node-releases@npm:2.0.37" - checksum: 10c0/306df89190b3225d0cb001260de52f0befd225a782ec85311ce97b0aa3b2e22f5e4e4c00395c6dc9bc9ef440c64723f6205fe1e27d32b8dd1d140891fbadf901 +"node-releases@npm:^2.0.53": + version: 2.0.54 + resolution: "node-releases@npm:2.0.54" + checksum: 10c0/196b54ab06fd03b742816b6ca8185c69af42735b283083036e2579682c430b8f9ff89046891fe8c625557e5885793a2032d28070100bb2e57e6d6586b2f483c1 languageName: node linkType: hard @@ -20440,9 +20440,9 @@ __metadata: languageName: node linkType: hard -"update-browserslist-db@npm:^1.2.3": - version: 1.2.3 - resolution: "update-browserslist-db@npm:1.2.3" +"update-browserslist-db@npm:^1.3.0": + version: 1.3.2 + resolution: "update-browserslist-db@npm:1.3.2" dependencies: escalade: "npm:^3.2.0" picocolors: "npm:^1.1.1" @@ -20450,7 +20450,7 @@ __metadata: browserslist: ">= 4.21.0" bin: update-browserslist-db: cli.js - checksum: 10c0/13a00355ea822388f68af57410ce3255941d5fb9b7c49342c4709a07c9f230bbef7f7499ae0ca7e0de532e79a82cc0c4edbd125f1a323a1845bf914efddf8bec + checksum: 10c0/837b4ea8c4934228c5c2a922ea747a54b0ec9d1c408d2fbc9220a9b98327c04109776e6ea1206fa056ea61ed8534863af472d9f2cfce569d35f04e98c95db739 languageName: node linkType: hard From 65be53c3eb093a535ce260eb2f2da897bb07a29e Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 2 Sep 2026 08:36:36 +0900 Subject: [PATCH 51/85] v1.10.0 --- LICENSE | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index e3cc6c8ba5..3ba5896f6a 100644 --- a/LICENSE +++ b/LICENSE @@ -3,7 +3,7 @@ Business Source License 1.1 Parameters Licensor: General Outline, Inc. -Licensed Work: Outline 1.9.1 +Licensed Work: Outline 1.10.0 The Licensed Work is (c) 2026 General Outline, Inc. Additional Use Grant: You may make use of the Licensed Work, provided that you may not use the Licensed Work for a Document @@ -15,7 +15,7 @@ Additional Use Grant: You may make use of the Licensed Work, provided that Licensed Work by creating teams and documents controlled by such third parties. -Change Date: 2030-07-13 +Change Date: 2030-09-01 Change License: Apache License, Version 2.0 diff --git a/package.json b/package.json index f9ad8f726f..25cfb90e2b 100644 --- a/package.json +++ b/package.json @@ -388,6 +388,6 @@ "deepmerge-ts@npm:^7.1.5": "^8.0.1", "i18next-parser/i18next": "^23.16.8" }, - "version": "1.9.1", + "version": "1.10.0", "packageManager": "yarn@4.11.0" } From 7c34b797f35520a218c29475546c33cd00629f8d Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 1 Sep 2026 21:29:36 -0400 Subject: [PATCH 52/85] chore: Upgrade query-string (#13608) --- package.json | 2 +- yarn.lock | 48 ++++++++++++++++++++---------------------------- 2 files changed, 21 insertions(+), 29 deletions(-) diff --git a/package.json b/package.json index 25cfb90e2b..8ef92e29e8 100644 --- a/package.json +++ b/package.json @@ -215,7 +215,7 @@ "prosemirror-transform": "1.10.5", "prosemirror-view": "^1.41.8", "proxy-from-env": "^1.1.0", - "query-string": "^7.1.3", + "query-string": "^9.5.0", "rate-limiter-flexible": "^2.4.2", "react": "^17.0.2", "react-avatar-editor": "^13.0.2", diff --git a/yarn.lock b/yarn.lock index 5cd3bbfbcc..fd18a6450d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10124,10 +10124,10 @@ __metadata: languageName: node linkType: hard -"decode-uri-component@npm:^0.2.2": - version: 0.2.2 - resolution: "decode-uri-component@npm:0.2.2" - checksum: 10c0/1f4fa54eb740414a816b3f6c24818fbfcabd74ac478391e9f4e2282c994127db02010ce804f3d08e38255493cfe68608b3f5c8e09fd6efc4ae46c807691f7a31 +"decode-uri-component@npm:^0.5.0": + version: 0.5.0 + resolution: "decode-uri-component@npm:0.5.0" + checksum: 10c0/b913bb2ec3a83b4c96d961dcd7808c538f2f69f9a8581ab1bfbbb3d48c90e36779cc4580334198315d4c17f9c32d88ae4467c96582419a70b5f35df2c5a05cb1 languageName: node linkType: hard @@ -11404,10 +11404,10 @@ __metadata: languageName: node linkType: hard -"filter-obj@npm:^1.1.0": - version: 1.1.0 - resolution: "filter-obj@npm:1.1.0" - checksum: 10c0/071e0886b2b50238ca5026c5bbf58c26a7c1a1f720773b8c7813d16ba93d0200de977af14ac143c5ac18f666b2cfc83073f3a5fe6a4e996c49e0863d5500fccf +"filter-obj@npm:^5.1.0": + version: 5.1.0 + resolution: "filter-obj@npm:5.1.0" + checksum: 10c0/716e8ad2bc352e206556b3e5695b3cdff8aab80c53ea4b00c96315bbf467b987df3640575100aef8b84e812cf5ea4251db4cd672bbe33b1e78afea88400c67dd languageName: node linkType: hard @@ -15749,7 +15749,7 @@ __metadata: prosemirror-transform: "npm:1.10.5" prosemirror-view: "npm:^1.41.8" proxy-from-env: "npm:^1.1.0" - query-string: "npm:^7.1.3" + query-string: "npm:^9.5.0" rate-limiter-flexible: "npm:^2.4.2" react: "npm:^17.0.2" react-avatar-editor: "npm:^13.0.2" @@ -17168,15 +17168,14 @@ __metadata: languageName: node linkType: hard -"query-string@npm:^7.1.3": - version: 7.1.3 - resolution: "query-string@npm:7.1.3" +"query-string@npm:^9.5.0": + version: 9.5.0 + resolution: "query-string@npm:9.5.0" dependencies: - decode-uri-component: "npm:^0.2.2" - filter-obj: "npm:^1.1.0" - split-on-first: "npm:^1.0.0" - strict-uri-encode: "npm:^2.0.0" - checksum: 10c0/a896c08e9e0d4f8ffd89a572d11f668c8d0f7df9c27c6f49b92ab31366d3ba0e9c331b9a620ee747893436cd1f2f821a6327e2bc9776bde2402ac6c270b801b2 + decode-uri-component: "npm:^0.5.0" + filter-obj: "npm:^5.1.0" + split-on-first: "npm:^3.0.0" + checksum: 10c0/a5b71d4541f1b8e8b02e69d5a687fa8749a34fd259343cdeb617bc3a4651d626285f458f3f312ac5d7eda58587ac58b908c9f13c2c9381706d6cbf72b4650021 languageName: node linkType: hard @@ -19002,10 +19001,10 @@ __metadata: languageName: node linkType: hard -"split-on-first@npm:^1.0.0": - version: 1.1.0 - resolution: "split-on-first@npm:1.1.0" - checksum: 10c0/56df8344f5a5de8521898a5c090023df1d8b8c75be6228f56c52491e0fc1617a5236f2ac3a066adb67a73231eac216ccea7b5b4a2423a543c277cb2f48d24c29 +"split-on-first@npm:^3.0.0": + version: 3.0.0 + resolution: "split-on-first@npm:3.0.0" + checksum: 10c0/a1262eae12b68de235e1a08e011bf5b42c42621985ddf807e6221fb1e2b3304824913ae7019f18436b96b8fab8aef5f1ad80dedd2385317fdc51b521c3882cd0 languageName: node linkType: hard @@ -19151,13 +19150,6 @@ __metadata: languageName: node linkType: hard -"strict-uri-encode@npm:^2.0.0": - version: 2.0.0 - resolution: "strict-uri-encode@npm:2.0.0" - checksum: 10c0/010cbc78da0e2cf833b0f5dc769e21ae74cdc5d5f5bd555f14a4a4876c8ad2c85ab8b5bdf9a722dc71a11dcd3184085e1c3c0bd50ec6bb85fffc0f28cf82597d - languageName: node - linkType: hard - "strictdom@npm:^1.0.1": version: 1.0.1 resolution: "strictdom@npm:1.0.1" From b2a1e10e483e657b988ccac812be8ae45d89236c Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 2 Sep 2026 06:12:12 -0400 Subject: [PATCH 53/85] Batch large table deletes in teamPermanentDeleter (#13610) * fix: batch large deletes in teamPermanentDeleter to shorten lock time Delete events, collections, and documents in batches of ids outside the final transaction so row locks are held briefly instead of for the whole team deletion, which blocked the hourly old-events cleanup for hours. * fix: type batched destroy helper structurally Co-Authored-By: Claude Fable 5.1 * fix: guard whole team deletion with a non-blocking mutex Move the concurrency guard from the final transaction to the whole routine so a second worker skips before running the batched deletes. Co-Authored-By: Claude Fable 5.1 --------- Co-authored-by: Claude Fable 5.1 --- server/commands/teamPermanentDeleter.ts | 109 +++++++++++++++--------- server/utils/MutexLock.ts | 31 +++++++ server/utils/__mocks__/MutexLock.ts | 22 +++++ 3 files changed, 124 insertions(+), 38 deletions(-) diff --git a/server/commands/teamPermanentDeleter.ts b/server/commands/teamPermanentDeleter.ts index 67943d5373..735f351665 100644 --- a/server/commands/teamPermanentDeleter.ts +++ b/server/commands/teamPermanentDeleter.ts @@ -1,3 +1,4 @@ +import type { WhereOptions } from "sequelize"; import Logger from "@server/logging/Logger"; import { traceFunction } from "@server/logging/tracing"; import type { Team } from "@server/models"; @@ -18,8 +19,10 @@ import { SearchQuery, Share, } from "@server/models"; +import type Model from "@server/models/base/Model"; import { sequelize } from "@server/storage/database"; -import { LockHelper } from "@server/storage/LockHelper"; +import { MutexLock } from "@server/utils/MutexLock"; +import { Minute } from "@shared/utils/time"; /** * Permanently deletes a team and all related data from the database. Note that this does not happen @@ -35,11 +38,32 @@ async function teamPermanentDeleter(team: Team) { ); } + const teamId = team.id; + + // A non-blocking lock so that concurrent runs for the same team skip rather + // than repeat the batched deletes below. + const ran = await MutexLock.tryUsing( + `teamPermanentDeleter:${teamId}`, + 5 * Minute.ms, + async () => { + await destroyTeamData(team); + return true; + } + ); + if (!ran) { + Logger.info( + "commands", + `Team ${teamId} is already being destroyed, skipping` + ); + } +} + +async function destroyTeamData(team: Team) { + const teamId = team.id; Logger.info( "commands", - `Permanently destroying team ${team.name} (${team.id})` + `Permanently destroying team ${team.name} (${teamId})` ); - const teamId = team.id; // Attachments are destroyed as individual instances (rather than a bulk // delete) so the BeforeDestroy hook runs and removes the associated file from @@ -108,21 +132,15 @@ async function teamPermanentDeleter(team: Team) { } ); + // The largest tables are destroyed in batches outside of a transaction so + // that row locks are held briefly, rather than for the whole deletion. + // events must be first due to db constraints + await destroyInBatches(Event, { teamId }); + await destroyInBatches(Collection, { teamId }); + await destroyInBatches(Document.unscoped(), { teamId }); + // Destory team-relation models await sequelize.transaction(async (transaction) => { - const acquired = await LockHelper.tryAcquire( - sequelize, - `teamPermanentDeleter:${teamId}`, - transaction - ); - if (!acquired) { - Logger.info( - "commands", - `Team ${teamId} is already being destroyed, skipping` - ); - return; - } - await AuthenticationProvider.destroy({ where: { teamId, @@ -130,28 +148,6 @@ async function teamPermanentDeleter(team: Team) { force: true, transaction, }); - // events must be first due to db constraints - await Event.destroy({ - where: { - teamId, - }, - force: true, - transaction, - }); - await Collection.destroy({ - where: { - teamId, - }, - force: true, - transaction, - }); - await Document.unscoped().destroy({ - where: { - teamId, - }, - force: true, - transaction, - }); await FileOperation.destroy({ where: { teamId, @@ -217,6 +213,43 @@ async function teamPermanentDeleter(team: Team) { }); } +interface BatchDestroyable { + findAllInBatches: typeof Model.findAllInBatches; + destroy(options: { + where: { id: string[] }; + force: boolean; + }): Promise; +} + +/** + * Permanently deletes every row of a model matching the where clause, in + * batches of ids so that each statement is short and locks few rows. + */ +async function destroyInBatches( + model: BatchDestroyable, + where: WhereOptions +): Promise { + await model.findAllInBatches( + { + attributes: ["id"], + where, + batchLimit: 1000, + paranoid: false, + }, + async (rows) => { + if (rows.length === 0) { + return; + } + await model.destroy({ + where: { + id: rows.map((row) => row.id), + }, + force: true, + }); + } + ); +} + export default traceFunction({ spanName: "teamPermanentDeleter", })(teamPermanentDeleter); diff --git a/server/utils/MutexLock.ts b/server/utils/MutexLock.ts index 081c3b1f3d..f56603e577 100644 --- a/server/utils/MutexLock.ts +++ b/server/utils/MutexLock.ts @@ -109,6 +109,37 @@ export class MutexLock { return this.lock.using([resource], timeout, routine); } + /** + * Execute a routine in the context of an auto-extending lock, without + * waiting when the lock is already held elsewhere. Use this for long + * routines that must never run concurrently but can be skipped. + * + * @param resource The resource to lock. + * @param timeout The initial lock duration in milliseconds (auto-extended while running). + * @param routine The async routine to execute while holding the lock. + * @returns A promise that resolves with the routine's return value, or + * undefined if the lock was held elsewhere and the routine did not run. + */ + public static async tryUsing( + resource: string, + timeout: number, + routine: (signal: RedlockAbortSignal) => Promise + ): Promise { + try { + return await this.lock.using( + [resource], + timeout, + { retryCount: 0 }, + routine + ); + } catch (err) { + if (err instanceof ExecutionError || err instanceof ResourceLockedError) { + return undefined; + } + throw err; + } + } + /** * Safely release a lock. Releasing is best-effort – a lock that has already * expired or been taken over by another process cannot be released, and that diff --git a/server/utils/__mocks__/MutexLock.ts b/server/utils/__mocks__/MutexLock.ts index 2e1a5f9af5..cc5f094f53 100644 --- a/server/utils/__mocks__/MutexLock.ts +++ b/server/utils/__mocks__/MutexLock.ts @@ -12,6 +12,28 @@ export class MutexLock { expiration: Date.now() + 10000, }); + /** + * Runs the routine without a lock. + */ + public static using = vi.fn( + ( + _resource: string, + _timeout: number, + routine: (signal: never) => unknown + ) => routine(undefined as never) + ); + + /** + * Runs the routine without a lock. + */ + public static tryUsing = vi.fn( + ( + _resource: string, + _timeout: number, + routine: (signal: never) => unknown + ) => routine(undefined as never) + ); + /** * Releases a mock lock. */ From 00b83901fd305921b00db374f36c33b2164f397d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Sep 2026 06:12:24 -0400 Subject: [PATCH 54/85] chore(deps): bump the aws group across 1 directory with 6 updates (#13590) Bumps the aws group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3) | `3.1115.0` | `3.1121.0` | | [@aws-sdk/cloudfront-signer](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/cloudfront-signer) | `3.1111.0` | `3.1116.0` | | [@aws-sdk/lib-storage](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/lib/lib-storage) | `3.1115.0` | `3.1121.0` | | [@aws-sdk/s3-presigned-post](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/s3-presigned-post) | `3.1115.0` | `3.1121.0` | | [@aws-sdk/s3-request-presigner](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/s3-request-presigner) | `3.1115.0` | `3.1121.0` | | [@aws-sdk/signature-v4-crt](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/signature-v4-crt) | `3.1115.0` | `3.1121.0` | Updates `@aws-sdk/client-s3` from 3.1115.0 to 3.1121.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1121.0/clients/client-s3) Updates `@aws-sdk/cloudfront-signer` from 3.1111.0 to 3.1116.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/cloudfront-signer/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1116.0/packages/cloudfront-signer) Updates `@aws-sdk/lib-storage` from 3.1115.0 to 3.1121.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/lib/lib-storage/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1121.0/lib/lib-storage) Updates `@aws-sdk/s3-presigned-post` from 3.1115.0 to 3.1121.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/s3-presigned-post/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1121.0/packages/s3-presigned-post) Updates `@aws-sdk/s3-request-presigner` from 3.1115.0 to 3.1121.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/s3-request-presigner/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1121.0/packages/s3-request-presigner) Updates `@aws-sdk/signature-v4-crt` from 3.1115.0 to 3.1121.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/signature-v4-crt/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1121.0/packages/signature-v4-crt) --- updated-dependencies: - dependency-name: "@aws-sdk/client-s3" dependency-version: 3.1120.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws - dependency-name: "@aws-sdk/cloudfront-signer" dependency-version: 3.1116.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws - dependency-name: "@aws-sdk/lib-storage" dependency-version: 3.1120.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws - dependency-name: "@aws-sdk/s3-presigned-post" dependency-version: 3.1120.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws - dependency-name: "@aws-sdk/s3-request-presigner" dependency-version: 3.1120.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws - dependency-name: "@aws-sdk/signature-v4-crt" dependency-version: 3.1120.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 12 +- yarn.lock | 497 ++++++++++++++++++++++++++------------------------- 2 files changed, 264 insertions(+), 245 deletions(-) diff --git a/package.json b/package.json index 8ef92e29e8..fcceefca7d 100644 --- a/package.json +++ b/package.json @@ -52,12 +52,12 @@ "> 0.25%, not dead" ], "dependencies": { - "@aws-sdk/client-s3": "^3.1115.0", - "@aws-sdk/cloudfront-signer": "^3.1111.0", - "@aws-sdk/lib-storage": "^3.1115.0", - "@aws-sdk/s3-presigned-post": "^3.1115.0", - "@aws-sdk/s3-request-presigner": "^3.1115.0", - "@aws-sdk/signature-v4-crt": "^3.1115.0", + "@aws-sdk/client-s3": "^3.1121.0", + "@aws-sdk/cloudfront-signer": "^3.1116.0", + "@aws-sdk/lib-storage": "^3.1121.0", + "@aws-sdk/s3-presigned-post": "^3.1121.0", + "@aws-sdk/s3-request-presigner": "^3.1121.0", + "@aws-sdk/signature-v4-crt": "^3.1121.0", "@benrbray/prosemirror-math": "^0.2.2", "@bull-board/api": "^6.21.3", "@bull-board/koa": "^6.21.3", diff --git a/yarn.lock b/yarn.lock index fd18a6450d..ab58494ce9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -28,322 +28,322 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/checksums@npm:^3.1000.28": - version: 3.1000.28 - resolution: "@aws-sdk/checksums@npm:3.1000.28" +"@aws-sdk/checksums@npm:^3.1000.29": + version: 3.1000.29 + resolution: "@aws-sdk/checksums@npm:3.1000.29" dependencies: - "@aws-sdk/core": "npm:^3.977.8" - "@aws-sdk/types": "npm:^3.974.4" - "@smithy/core": "npm:^3.31.1" - "@smithy/types": "npm:^4.16.1" + "@aws-sdk/core": "npm:^3.977.9" + "@aws-sdk/types": "npm:^3.974.5" + "@smithy/core": "npm:^3.33.3" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/d609a809f6886245e81854ecb7886100810feb3e1e7ea5d7fc1475eea21dc7e1fbecf520c45f2b73f7aa21134f746d0a7dea4960301246853ad0447e6df475c7 + checksum: 10c0/efa6dfb66366f8f1591cde5669d40153e2caff11c06b19a3aa3957e38084cc6a7df133c0485e10c3d6fdc5b6d7022e90b0c6816dd2c0c08574424f9429c4f9c0 languageName: node linkType: hard -"@aws-sdk/client-s3@npm:3.1115.0, @aws-sdk/client-s3@npm:^3.1115.0": - version: 3.1115.0 - resolution: "@aws-sdk/client-s3@npm:3.1115.0" +"@aws-sdk/client-s3@npm:3.1121.0, @aws-sdk/client-s3@npm:^3.1121.0": + version: 3.1121.0 + resolution: "@aws-sdk/client-s3@npm:3.1121.0" dependencies: - "@aws-sdk/checksums": "npm:^3.1000.28" - "@aws-sdk/core": "npm:^3.977.8" - "@aws-sdk/credential-provider-node": "npm:^3.972.80" - "@aws-sdk/middleware-sdk-s3": "npm:^3.972.74" - "@aws-sdk/signature-v4-multi-region": "npm:^3.996.45" - "@aws-sdk/types": "npm:^3.974.4" - "@smithy/core": "npm:^3.31.1" - "@smithy/fetch-http-handler": "npm:^5.6.13" - "@smithy/node-http-handler": "npm:^4.9.13" - "@smithy/types": "npm:^4.16.1" + "@aws-sdk/checksums": "npm:^3.1000.29" + "@aws-sdk/core": "npm:^3.977.9" + "@aws-sdk/credential-provider-node": "npm:^3.972.81" + "@aws-sdk/middleware-sdk-s3": "npm:^3.972.75" + "@aws-sdk/signature-v4-multi-region": "npm:^3.996.46" + "@aws-sdk/types": "npm:^3.974.5" + "@smithy/core": "npm:^3.33.3" + "@smithy/fetch-http-handler": "npm:^5.7.2" + "@smithy/node-http-handler": "npm:^4.11.3" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/ecad08091e9fc61c2f1ba7f71a7f65c0a8861870db8bf3ef02977378f056e00040427918d520d17e3d0608fea07248f73c7a3180d12401a94964461c970a1fe7 + checksum: 10c0/ed715f4e8a25c22da391ed984d489664c3e1e575f35cda0e8c17adacedfd33b6265ec811824dadf28c2f001e55c6847369cbf9774b03dc05175e4e56f5111b45 languageName: node linkType: hard -"@aws-sdk/cloudfront-signer@npm:^3.1111.0": - version: 3.1111.0 - resolution: "@aws-sdk/cloudfront-signer@npm:3.1111.0" +"@aws-sdk/cloudfront-signer@npm:^3.1116.0": + version: 3.1116.0 + resolution: "@aws-sdk/cloudfront-signer@npm:3.1116.0" dependencies: - "@smithy/core": "npm:^3.31.1" + "@smithy/core": "npm:^3.33.3" tslib: "npm:^2.6.2" - checksum: 10c0/5f20ad4b1499dbf1ac591d8263ce152d2ef747f23902b3b7ff4159e4df57bafa5080c4139a699e879fd268919ff357a866a234e997afec46b8e38f313180b2a3 + checksum: 10c0/15692d584f2498c549b68cdebf4b774f0fac70c12c2a7924c2c0701665e29c9df5f3e387b5570f84712fdf9807fd0997e83310ee50c4d43d0925d067367d0e9b languageName: node linkType: hard -"@aws-sdk/core@npm:^3.977.8": - version: 3.977.8 - resolution: "@aws-sdk/core@npm:3.977.8" +"@aws-sdk/core@npm:^3.977.9": + version: 3.977.9 + resolution: "@aws-sdk/core@npm:3.977.9" dependencies: - "@aws-sdk/types": "npm:^3.974.4" - "@aws-sdk/xml-builder": "npm:^3.972.39" + "@aws-sdk/types": "npm:^3.974.5" + "@aws-sdk/xml-builder": "npm:^3.972.40" "@aws/lambda-invoke-store": "npm:^0.3.0" - "@smithy/core": "npm:^3.31.1" + "@smithy/core": "npm:^3.33.3" "@smithy/signature-v4": "npm:^5.6.12" - "@smithy/types": "npm:^4.16.1" + "@smithy/types": "npm:^4.17.2" bowser: "npm:^2.11.0" tslib: "npm:^2.6.2" - checksum: 10c0/54eb6fb07240ffe0af5d9dbf401b6b5de2da019be5f4aa82aa8326a2fcc2403ffe857dee801039bff54bf9aa1829533d228eff27192aeff80cda840b46f6dbc4 + checksum: 10c0/9118a8d05b7c27fe55fb5e793840193d1b311b6c0c2958e591bcada391a71783536ed9c8f4913cc9c4b7258dba650d625ed782669a12875348544c33f35aa8d6 languageName: node linkType: hard -"@aws-sdk/credential-provider-env@npm:^3.972.69": - version: 3.972.69 - resolution: "@aws-sdk/credential-provider-env@npm:3.972.69" +"@aws-sdk/credential-provider-env@npm:^3.972.70": + version: 3.972.70 + resolution: "@aws-sdk/credential-provider-env@npm:3.972.70" dependencies: - "@aws-sdk/core": "npm:^3.977.8" - "@aws-sdk/types": "npm:^3.974.4" - "@smithy/core": "npm:^3.31.1" - "@smithy/types": "npm:^4.16.1" + "@aws-sdk/core": "npm:^3.977.9" + "@aws-sdk/types": "npm:^3.974.5" + "@smithy/core": "npm:^3.33.3" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/c81fd8fb18ecd49db7ee2b0793bfbf0ab232c5e4dca3d4b9529df88b830cd5bbc86fa6a52c8f2baabb1b6ebbe1a0e07134e2132e2b32f2bd55aa1e125bcacdec + checksum: 10c0/f5d8f3f1021a83911f617dd6b36277486d0bdb174c107c4f7776a7e2c609a101aa03ada1cca9d97229ac79aea7797ec6392fe449029b87f7cd013360592bddf3 languageName: node linkType: hard -"@aws-sdk/credential-provider-http@npm:^3.972.71": - version: 3.972.71 - resolution: "@aws-sdk/credential-provider-http@npm:3.972.71" +"@aws-sdk/credential-provider-http@npm:^3.972.72": + version: 3.972.72 + resolution: "@aws-sdk/credential-provider-http@npm:3.972.72" dependencies: - "@aws-sdk/core": "npm:^3.977.8" - "@aws-sdk/types": "npm:^3.974.4" - "@smithy/core": "npm:^3.31.1" - "@smithy/fetch-http-handler": "npm:^5.6.13" - "@smithy/node-http-handler": "npm:^4.9.13" - "@smithy/types": "npm:^4.16.1" + "@aws-sdk/core": "npm:^3.977.9" + "@aws-sdk/types": "npm:^3.974.5" + "@smithy/core": "npm:^3.33.3" + "@smithy/fetch-http-handler": "npm:^5.7.2" + "@smithy/node-http-handler": "npm:^4.11.3" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/b57f2fea7cb6fc38f3ce0369cb6b3a39f2789757838c25b44c0797676353a9ccbcb215ad9c3d5288ce5d8fbea0c34c04d0b884c6adcee1c6d7ebced986b0dd15 + checksum: 10c0/aaa67dc42ce00713d92f931c620e36cb199533e6f1f892a6be76553986c86977442924e76f3743732a7b65e6f6777271789a6edbc70d5a86e0a9b6b5a3ef25f3 languageName: node linkType: hard -"@aws-sdk/credential-provider-ini@npm:^3.973.14": +"@aws-sdk/credential-provider-ini@npm:^3.973.15": + version: 3.973.15 + resolution: "@aws-sdk/credential-provider-ini@npm:3.973.15" + dependencies: + "@aws-sdk/core": "npm:^3.977.9" + "@aws-sdk/credential-provider-env": "npm:^3.972.70" + "@aws-sdk/credential-provider-http": "npm:^3.972.72" + "@aws-sdk/credential-provider-login": "npm:^3.972.77" + "@aws-sdk/credential-provider-process": "npm:^3.972.70" + "@aws-sdk/credential-provider-sso": "npm:^3.973.14" + "@aws-sdk/credential-provider-web-identity": "npm:^3.972.76" + "@aws-sdk/nested-clients": "npm:^3.997.44" + "@aws-sdk/types": "npm:^3.974.5" + "@smithy/core": "npm:^3.33.3" + "@smithy/credential-provider-imds": "npm:^4.4.16" + "@smithy/types": "npm:^4.17.2" + tslib: "npm:^2.6.2" + checksum: 10c0/1fe5f8c84cb9877a62084f9cbedebaed605ecc34891c44254d979ccd1282a5e164840d6dbb340773c311c028568f9ea642649bebf4b38cebb2d6d0039ad9de12 + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-login@npm:^3.972.77": + version: 3.972.77 + resolution: "@aws-sdk/credential-provider-login@npm:3.972.77" + dependencies: + "@aws-sdk/core": "npm:^3.977.9" + "@aws-sdk/nested-clients": "npm:^3.997.44" + "@aws-sdk/types": "npm:^3.974.5" + "@smithy/core": "npm:^3.33.3" + "@smithy/types": "npm:^4.17.2" + tslib: "npm:^2.6.2" + checksum: 10c0/9be54fdf406325d462abdc0a2a182ba1ed39009fa18b60035705e6c3fae92dfe1afe5dba24a4fa3c8376f7cd2e1dad7a91152909f3b96dde0b215a88dfcd5330 + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-node@npm:^3.972.81": + version: 3.972.81 + resolution: "@aws-sdk/credential-provider-node@npm:3.972.81" + dependencies: + "@aws-sdk/credential-provider-env": "npm:^3.972.70" + "@aws-sdk/credential-provider-http": "npm:^3.972.72" + "@aws-sdk/credential-provider-ini": "npm:^3.973.15" + "@aws-sdk/credential-provider-process": "npm:^3.972.70" + "@aws-sdk/credential-provider-sso": "npm:^3.973.14" + "@aws-sdk/credential-provider-web-identity": "npm:^3.972.76" + "@aws-sdk/types": "npm:^3.974.5" + "@smithy/core": "npm:^3.33.3" + "@smithy/credential-provider-imds": "npm:^4.4.16" + "@smithy/types": "npm:^4.17.2" + tslib: "npm:^2.6.2" + checksum: 10c0/b0e60a641a4648dcae0e20b3f2fe3866bb1b5aeba64617146888b4208d94878a8421cd74bbf1f8b921a50cc1e8410fa707ca30af0349ec54be43ce5e8004a748 + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-process@npm:^3.972.70": + version: 3.972.70 + resolution: "@aws-sdk/credential-provider-process@npm:3.972.70" + dependencies: + "@aws-sdk/core": "npm:^3.977.9" + "@aws-sdk/types": "npm:^3.974.5" + "@smithy/core": "npm:^3.33.3" + "@smithy/types": "npm:^4.17.2" + tslib: "npm:^2.6.2" + checksum: 10c0/87ea5f575f611461a538312b6c502baf86ce33eef6974bb2f9e85bd32147cb8f6b518e80f5a5d8ef371fceb03d517f4d3b6c07ddeb7f15d5a2f56c6dcbf8e8ba + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-sso@npm:^3.973.14": version: 3.973.14 - resolution: "@aws-sdk/credential-provider-ini@npm:3.973.14" + resolution: "@aws-sdk/credential-provider-sso@npm:3.973.14" dependencies: - "@aws-sdk/core": "npm:^3.977.8" - "@aws-sdk/credential-provider-env": "npm:^3.972.69" - "@aws-sdk/credential-provider-http": "npm:^3.972.71" - "@aws-sdk/credential-provider-login": "npm:^3.972.76" - "@aws-sdk/credential-provider-process": "npm:^3.972.69" - "@aws-sdk/credential-provider-sso": "npm:^3.973.13" - "@aws-sdk/credential-provider-web-identity": "npm:^3.972.75" - "@aws-sdk/nested-clients": "npm:^3.997.43" - "@aws-sdk/types": "npm:^3.974.4" - "@smithy/core": "npm:^3.31.1" - "@smithy/credential-provider-imds": "npm:^4.4.16" - "@smithy/types": "npm:^4.16.1" + "@aws-sdk/core": "npm:^3.977.9" + "@aws-sdk/nested-clients": "npm:^3.997.44" + "@aws-sdk/token-providers": "npm:3.1116.0" + "@aws-sdk/types": "npm:^3.974.5" + "@smithy/core": "npm:^3.33.3" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/1925d730eb675cb1ef95e35e58964ed61a8ff817e6297176eaf59e3d51cdbf0e8d3f5725637785edf097143bf7ecddd83b4a5b9fbcdeded627d0239738a290e6 + checksum: 10c0/12132e57c07277b4c115c835bb7a14b2a62e4f30a69998eca501a171d46be469439b3e7b33c970165362bd261b8689389dd06ba0a959657d97330f3e5172ec52 languageName: node linkType: hard -"@aws-sdk/credential-provider-login@npm:^3.972.76": +"@aws-sdk/credential-provider-web-identity@npm:^3.972.76": version: 3.972.76 - resolution: "@aws-sdk/credential-provider-login@npm:3.972.76" + resolution: "@aws-sdk/credential-provider-web-identity@npm:3.972.76" dependencies: - "@aws-sdk/core": "npm:^3.977.8" - "@aws-sdk/nested-clients": "npm:^3.997.43" - "@aws-sdk/types": "npm:^3.974.4" - "@smithy/core": "npm:^3.31.1" - "@smithy/types": "npm:^4.16.1" + "@aws-sdk/core": "npm:^3.977.9" + "@aws-sdk/nested-clients": "npm:^3.997.44" + "@aws-sdk/types": "npm:^3.974.5" + "@smithy/core": "npm:^3.33.3" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/15fb81fb904a47aee0f2954b66b21c5e3358499b7f33dea3546de5d6d82793bac1774bb53f57c8c396a277861d20a13b4bcf22df5dcae39559825938eed1f307 + checksum: 10c0/5efcf6a4b10e49b5b3f9bf76b638ff0b0ce84d26126197f0d28cecbd01458f5d84a074a4cdc8817a7310a940a36a8ad164c1531eb031713bd1485d52bef8c877 languageName: node linkType: hard -"@aws-sdk/credential-provider-node@npm:^3.972.80": - version: 3.972.80 - resolution: "@aws-sdk/credential-provider-node@npm:3.972.80" +"@aws-sdk/crt-loader@npm:^3.972.74": + version: 3.972.74 + resolution: "@aws-sdk/crt-loader@npm:3.972.74" dependencies: - "@aws-sdk/credential-provider-env": "npm:^3.972.69" - "@aws-sdk/credential-provider-http": "npm:^3.972.71" - "@aws-sdk/credential-provider-ini": "npm:^3.973.14" - "@aws-sdk/credential-provider-process": "npm:^3.972.69" - "@aws-sdk/credential-provider-sso": "npm:^3.973.13" - "@aws-sdk/credential-provider-web-identity": "npm:^3.972.75" - "@aws-sdk/types": "npm:^3.974.4" - "@smithy/core": "npm:^3.31.1" - "@smithy/credential-provider-imds": "npm:^4.4.16" - "@smithy/types": "npm:^4.16.1" - tslib: "npm:^2.6.2" - checksum: 10c0/e3c679e83bb81e9946a67f67578f9b81813c03d8ebea80d811f3cabb7bbf4c87659be9bbe4de2ad95b4da180189e949d99c632141c9964162ca6c3a8d69aa601 - languageName: node - linkType: hard - -"@aws-sdk/credential-provider-process@npm:^3.972.69": - version: 3.972.69 - resolution: "@aws-sdk/credential-provider-process@npm:3.972.69" - dependencies: - "@aws-sdk/core": "npm:^3.977.8" - "@aws-sdk/types": "npm:^3.974.4" - "@smithy/core": "npm:^3.31.1" - "@smithy/types": "npm:^4.16.1" - tslib: "npm:^2.6.2" - checksum: 10c0/73216e292ee76085c92108237e52c4c6ec9f6fdcfcb87ad9388a829fe590e0464b6b7887dd8365f4ecb0db1f4a35eb14c0874c908b9e79a6de5003d6b72d2551 - languageName: node - linkType: hard - -"@aws-sdk/credential-provider-sso@npm:^3.973.13": - version: 3.973.13 - resolution: "@aws-sdk/credential-provider-sso@npm:3.973.13" - dependencies: - "@aws-sdk/core": "npm:^3.977.8" - "@aws-sdk/nested-clients": "npm:^3.997.43" - "@aws-sdk/token-providers": "npm:3.1111.0" - "@aws-sdk/types": "npm:^3.974.4" - "@smithy/core": "npm:^3.31.1" - "@smithy/types": "npm:^4.16.1" - tslib: "npm:^2.6.2" - checksum: 10c0/b9b628c2dd54770f6e54687c73745f33eb6f4baf53dc48f8b340cc6b245f0759ee5801f5d2446da4f8a8c17b4665d5e5da489381947ef1d997ae511d79bd8e4d - languageName: node - linkType: hard - -"@aws-sdk/credential-provider-web-identity@npm:^3.972.75": - version: 3.972.75 - resolution: "@aws-sdk/credential-provider-web-identity@npm:3.972.75" - dependencies: - "@aws-sdk/core": "npm:^3.977.8" - "@aws-sdk/nested-clients": "npm:^3.997.43" - "@aws-sdk/types": "npm:^3.974.4" - "@smithy/core": "npm:^3.31.1" - "@smithy/types": "npm:^4.16.1" - tslib: "npm:^2.6.2" - checksum: 10c0/2b84691ae132f0cb146a8240991fa31295f6112423a1314979a424c2408124fc92b8b76bf74ce1d442777e7dc39dcc910ab29bacd26e02af49ac6b0e7330e538 - languageName: node - linkType: hard - -"@aws-sdk/crt-loader@npm:^3.972.73": - version: 3.972.73 - resolution: "@aws-sdk/crt-loader@npm:3.972.73" - dependencies: - "@aws-sdk/core": "npm:^3.977.8" + "@aws-sdk/core": "npm:^3.977.9" aws-crt: "npm:^1.31.0" tslib: "npm:^2.6.2" - checksum: 10c0/1bf80d52cf6a77efd556f5409be0ecd4099cb6e62e52b3ba6bd52e63d657d9902290245a04b9b053c2f0cfe29a66fe57d73741e00ddc2a2c3539f66017ab1b19 + checksum: 10c0/cc9ac8f7249c24191d614341aeb1b003b7b135f97179d6b7ba4e9765197d3e5156e36a1f0a56010855140d866770b71c4f0ccd19672a1b05ca6d1373bab45dc6 languageName: node linkType: hard -"@aws-sdk/lib-storage@npm:^3.1115.0": - version: 3.1115.0 - resolution: "@aws-sdk/lib-storage@npm:3.1115.0" +"@aws-sdk/lib-storage@npm:^3.1121.0": + version: 3.1121.0 + resolution: "@aws-sdk/lib-storage@npm:3.1121.0" dependencies: - "@smithy/core": "npm:^3.31.1" - "@smithy/types": "npm:^4.16.1" + "@smithy/core": "npm:^3.33.3" + "@smithy/types": "npm:^4.17.2" buffer: "npm:5.6.0" events: "npm:3.3.0" stream-browserify: "npm:3.0.0" tslib: "npm:^2.6.2" peerDependencies: - "@aws-sdk/client-s3": ^3.1115.0 - checksum: 10c0/678be35f73bbe2c97dd16f53969a332fdf19bae7de765b41e9efe9922ce832afa758a68e6a29dab9e5d36d2134f283db52b190cd29a9461c7d640ea360646dcc + "@aws-sdk/client-s3": ^3.1121.0 + checksum: 10c0/50b139eae0d78bab254aa2fd6c1ae3a3f183e72ee1442f11b8a91cfc199437bf19da083f60752968b6dc5f7f02f44437ece1fbcc5f5bda048a34e7ab6bcd1f66 languageName: node linkType: hard -"@aws-sdk/middleware-sdk-s3@npm:^3.972.74": - version: 3.972.74 - resolution: "@aws-sdk/middleware-sdk-s3@npm:3.972.74" +"@aws-sdk/middleware-sdk-s3@npm:^3.972.75": + version: 3.972.75 + resolution: "@aws-sdk/middleware-sdk-s3@npm:3.972.75" dependencies: - "@aws-sdk/core": "npm:^3.977.8" - "@aws-sdk/signature-v4-multi-region": "npm:^3.996.45" - "@aws-sdk/types": "npm:^3.974.4" - "@smithy/core": "npm:^3.31.1" - "@smithy/types": "npm:^4.16.1" + "@aws-sdk/core": "npm:^3.977.9" + "@aws-sdk/signature-v4-multi-region": "npm:^3.996.46" + "@aws-sdk/types": "npm:^3.974.5" + "@smithy/core": "npm:^3.33.3" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/6c4008031d66a97add7c44c8e5d9f148a966236ed0a1cb15f1c92255db3dfaa87ba02a876ada7265e30a0f3ec9b85427e772d600f5f7fb6c75838ff746af7d36 + checksum: 10c0/a78eab5895803f3763bf09da2fdcabcd3008c35a57b339523868b84e028a836b1e065af57780975041eb8fb2d2420da5d462e3e1638a956c79777f1ec940d220 languageName: node linkType: hard -"@aws-sdk/nested-clients@npm:^3.997.43": - version: 3.997.43 - resolution: "@aws-sdk/nested-clients@npm:3.997.43" +"@aws-sdk/nested-clients@npm:^3.997.44": + version: 3.997.44 + resolution: "@aws-sdk/nested-clients@npm:3.997.44" dependencies: - "@aws-sdk/core": "npm:^3.977.8" - "@aws-sdk/signature-v4-multi-region": "npm:^3.996.45" - "@aws-sdk/types": "npm:^3.974.4" - "@smithy/core": "npm:^3.31.1" - "@smithy/fetch-http-handler": "npm:^5.6.13" - "@smithy/node-http-handler": "npm:^4.9.13" - "@smithy/types": "npm:^4.16.1" + "@aws-sdk/core": "npm:^3.977.9" + "@aws-sdk/signature-v4-multi-region": "npm:^3.996.46" + "@aws-sdk/types": "npm:^3.974.5" + "@smithy/core": "npm:^3.33.3" + "@smithy/fetch-http-handler": "npm:^5.7.2" + "@smithy/node-http-handler": "npm:^4.11.3" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/ed4ed90c77b2538dc2a356d2d8dd9b9ac56d3a92e7230541a0d7c6879449c41553c1b680263fb7bc783ad2898b5b31bd321c0eb7c05719f446d8662268ed4a98 + checksum: 10c0/947c2049a69a02399f600bd448f34bcaaf3a97b5bbb9b43e9ce932e84d4e9c3131687d330b9c48391da4365582890dd72bf4b8dfafe0693c041e48aa0f5c972d languageName: node linkType: hard -"@aws-sdk/s3-presigned-post@npm:^3.1115.0": - version: 3.1115.0 - resolution: "@aws-sdk/s3-presigned-post@npm:3.1115.0" +"@aws-sdk/s3-presigned-post@npm:^3.1121.0": + version: 3.1121.0 + resolution: "@aws-sdk/s3-presigned-post@npm:3.1121.0" dependencies: - "@aws-sdk/client-s3": "npm:3.1115.0" - "@aws-sdk/core": "npm:^3.977.8" - "@aws-sdk/types": "npm:^3.974.4" - "@smithy/core": "npm:^3.31.1" + "@aws-sdk/client-s3": "npm:3.1121.0" + "@aws-sdk/core": "npm:^3.977.9" + "@aws-sdk/types": "npm:^3.974.5" + "@smithy/core": "npm:^3.33.3" "@smithy/signature-v4": "npm:^5.6.12" - "@smithy/types": "npm:^4.16.1" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/7ec194e073e0e310072f7c69f3e6f339db14abdf4d338a1b2f14a2f6288c947b5f710a00a2933fa02854a9a0130add94d26cee30cb28bf545a6495398b16a08f + checksum: 10c0/927f53e0824329ab8f1756e49d38b89a2b13ba119f2f926ae732b3b9e5bd86e4fe909f1a61b83f2537317fb7b434860e2091f917bb016bdbc27b2019804220ef languageName: node linkType: hard -"@aws-sdk/s3-request-presigner@npm:^3.1115.0": - version: 3.1115.0 - resolution: "@aws-sdk/s3-request-presigner@npm:3.1115.0" +"@aws-sdk/s3-request-presigner@npm:^3.1121.0": + version: 3.1121.0 + resolution: "@aws-sdk/s3-request-presigner@npm:3.1121.0" dependencies: - "@aws-sdk/core": "npm:^3.977.8" - "@aws-sdk/signature-v4-multi-region": "npm:^3.996.45" - "@aws-sdk/types": "npm:^3.974.4" - "@smithy/core": "npm:^3.31.1" - "@smithy/types": "npm:^4.16.1" + "@aws-sdk/core": "npm:^3.977.9" + "@aws-sdk/signature-v4-multi-region": "npm:^3.996.46" + "@aws-sdk/types": "npm:^3.974.5" + "@smithy/core": "npm:^3.33.3" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/97a4114101609473e79dbc1175f971957ce9a3dc1bc982c8ae3116044ccf01317d8701e191ed1abca40b21414af61d468a0149732ffae9cc62355d7a01b7e1b0 + checksum: 10c0/416e9de4a9e2e7bfeb9e97d95bdb15664880b485eb429ed812641f3555878e9577948e695cf05ecdb191283033200c7ee9388c71069b34670e514d98be039b52 languageName: node linkType: hard -"@aws-sdk/signature-v4-crt@npm:^3.1115.0": - version: 3.1115.0 - resolution: "@aws-sdk/signature-v4-crt@npm:3.1115.0" +"@aws-sdk/signature-v4-crt@npm:^3.1121.0": + version: 3.1121.0 + resolution: "@aws-sdk/signature-v4-crt@npm:3.1121.0" dependencies: - "@aws-sdk/crt-loader": "npm:^3.972.73" - "@aws-sdk/signature-v4-multi-region": "npm:^3.996.45" - "@aws-sdk/types": "npm:^3.974.4" - "@smithy/core": "npm:^3.31.1" + "@aws-sdk/crt-loader": "npm:^3.972.74" + "@aws-sdk/signature-v4-multi-region": "npm:^3.996.46" + "@aws-sdk/types": "npm:^3.974.5" + "@smithy/core": "npm:^3.33.3" "@smithy/signature-v4": "npm:^5.6.12" - "@smithy/types": "npm:^4.16.1" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/4f4e26b05dfe71d813d82151248b3f42534f13a801c8dad516b52925e2890a498ed01a70a1c88b2615cc0a590a007c46911e8c08aeda569387d675e0fc6f877e + checksum: 10c0/f4c3eddd670e30b26ef7dd9ad8995cccc885dd0fc97d1aa06da93e69d406e8a9a39b9fdf09cf5674e1ea0767a25790a899390c8a95e7efc3fcc90c75c0718a40 languageName: node linkType: hard -"@aws-sdk/signature-v4-multi-region@npm:^3.996.45": - version: 3.996.45 - resolution: "@aws-sdk/signature-v4-multi-region@npm:3.996.45" +"@aws-sdk/signature-v4-multi-region@npm:^3.996.46": + version: 3.996.46 + resolution: "@aws-sdk/signature-v4-multi-region@npm:3.996.46" dependencies: - "@aws-sdk/types": "npm:^3.974.4" + "@aws-sdk/types": "npm:^3.974.5" "@smithy/signature-v4": "npm:^5.6.12" - "@smithy/types": "npm:^4.16.1" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/ffa87cfef6a90a9f2b122eb9c1cb88cc70062f9ad22f8a2b88d16ea6d52b5a26fc5d3a85647feab7c4938bce1d7d0d749c7793120d7781045281a2b6221740cb + checksum: 10c0/069dfb7a95663cad2e0aec1d87df8a800abad33cb49dfbe9412dad2d63ab6350328c6165166b12d50e609d8dbe5a5536aa6b1101be4d91584fbca76b2fea4d00 languageName: node linkType: hard -"@aws-sdk/token-providers@npm:3.1111.0": - version: 3.1111.0 - resolution: "@aws-sdk/token-providers@npm:3.1111.0" +"@aws-sdk/token-providers@npm:3.1116.0": + version: 3.1116.0 + resolution: "@aws-sdk/token-providers@npm:3.1116.0" dependencies: - "@aws-sdk/core": "npm:^3.977.8" - "@aws-sdk/nested-clients": "npm:^3.997.43" - "@aws-sdk/types": "npm:^3.974.4" - "@smithy/core": "npm:^3.31.1" - "@smithy/types": "npm:^4.16.1" + "@aws-sdk/core": "npm:^3.977.9" + "@aws-sdk/nested-clients": "npm:^3.997.44" + "@aws-sdk/types": "npm:^3.974.5" + "@smithy/core": "npm:^3.33.3" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/845dae0fac654149f733dc3ae740d8745b586b2abfc848d20b11ab044a51506a972ebdc29ee402e160b359c2f1a2d61c723ed676022b65ff97af2e3266b843af + checksum: 10c0/e720401f6b6d5682984cf1927d3e4c86663b750086bac3b58827a3b9b8585c8b06fb93af82a03a40d5a8ca48c89c0f47c1ac48ea81822c52ddecc3e36ef7cf17 languageName: node linkType: hard -"@aws-sdk/types@npm:^3.974.4": - version: 3.974.4 - resolution: "@aws-sdk/types@npm:3.974.4" +"@aws-sdk/types@npm:^3.974.5": + version: 3.974.5 + resolution: "@aws-sdk/types@npm:3.974.5" dependencies: - "@smithy/types": "npm:^4.16.1" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/64f6ed62d7da705c6af02ec3579f49a9dee800d198fcbdf5b2b6a11cc5f03f64f5105429edc5a454fc3c8672237dfa851d6002ec24a25914267750f63e184e1b + checksum: 10c0/803aaaa1c0675dcb564803993f3c47d96302fad461af8af80e75afc40c72228ebf669593c18e44ca09fc5acf0d1bd25966261de07844d8f11ad82aa2650252d0 languageName: node linkType: hard @@ -356,13 +356,13 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/xml-builder@npm:^3.972.39": - version: 3.972.39 - resolution: "@aws-sdk/xml-builder@npm:3.972.39" +"@aws-sdk/xml-builder@npm:^3.972.40": + version: 3.972.40 + resolution: "@aws-sdk/xml-builder@npm:3.972.40" dependencies: - "@smithy/types": "npm:^4.16.1" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/0f217f53264c943aaeba61450b95a479adaf435bfb19716a2cefb9f6f2b90848e202eb210ecc9371616138c9c0ae931294033582ee1aaa8288790684bef75514 + checksum: 10c0/5b06fa0466b5ddb0e33138dc16f6a30e11e52fc5ea71f3ed72af7b24621d29c9e8103df3eed9c4f14cef50f4d345dd9e7021242a8c155a67869ee4ce79982bb4 languageName: node linkType: hard @@ -5893,6 +5893,16 @@ __metadata: languageName: node linkType: hard +"@smithy/core@npm:^3.33.2, @smithy/core@npm:^3.33.3": + version: 3.33.3 + resolution: "@smithy/core@npm:3.33.3" + dependencies: + "@smithy/types": "npm:^4.17.2" + tslib: "npm:^2.6.2" + checksum: 10c0/57c5c6c1834d84eddfff905932350973afa20e1006024b82d6599af4c8d1e75b243e06b93c998acc95946399f1342ddc298c6941e0030384e6541ceec4007376 + languageName: node + linkType: hard + "@smithy/credential-provider-imds@npm:^4.4.16": version: 4.4.16 resolution: "@smithy/credential-provider-imds@npm:4.4.16" @@ -5904,25 +5914,25 @@ __metadata: languageName: node linkType: hard -"@smithy/fetch-http-handler@npm:^5.6.13": - version: 5.6.13 - resolution: "@smithy/fetch-http-handler@npm:5.6.13" +"@smithy/fetch-http-handler@npm:^5.7.2": + version: 5.7.2 + resolution: "@smithy/fetch-http-handler@npm:5.7.2" dependencies: - "@smithy/core": "npm:^3.31.1" - "@smithy/types": "npm:^4.16.1" + "@smithy/core": "npm:^3.33.2" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/028ba8794a6c487ebefae7f40d0124f70e51a1f4e0e465457845c1a44fd607320cd3c64d4a961f159aef59470f0fd43f0d2011b44ee5ef753b7e1dccbdf32ca3 + checksum: 10c0/9f4541cb743a5207f33d6abd135642a5310cc24f0ed5d46836bf3692901110216f64e09df977488a652762332156fe914b934c780f6a95ef8b1c7d3235c99c7f languageName: node linkType: hard -"@smithy/node-http-handler@npm:^4.9.13": - version: 4.9.13 - resolution: "@smithy/node-http-handler@npm:4.9.13" +"@smithy/node-http-handler@npm:^4.11.3": + version: 4.11.3 + resolution: "@smithy/node-http-handler@npm:4.11.3" dependencies: - "@smithy/core": "npm:^3.31.1" - "@smithy/types": "npm:^4.16.1" + "@smithy/core": "npm:^3.33.3" + "@smithy/types": "npm:^4.17.2" tslib: "npm:^2.6.2" - checksum: 10c0/2f1cdef7a300ad49c3bb698c2ca4773af5e9202d291cfcd855c1b21ab08b3c4ddf56f3722d3251db4e9b7ac39ec1ebc551b156abf3fa70f74c5491bec421f6b5 + checksum: 10c0/b1ec5956281d7ab5a5d1d4ca890b5d9f84f6540bb80c07e5b0eb31426bad27ff03ae56851e95c3fc8efb52ac9d432df86f9735e1be01db7ecdd1559a85683589 languageName: node linkType: hard @@ -5946,6 +5956,15 @@ __metadata: languageName: node linkType: hard +"@smithy/types@npm:^4.17.2": + version: 4.17.2 + resolution: "@smithy/types@npm:4.17.2" + dependencies: + tslib: "npm:^2.6.2" + checksum: 10c0/7a11f38e6dacdf2247c17bcd50a68ce6200a09dc6a7ecd8d563de94855a25c1da45c4d98f586e3c6fe94727ddbbde6d88ff212ac8eabf7d49779902d1a99a715 + languageName: node + linkType: hard + "@so-ric/colorspace@npm:^1.1.6": version: 1.1.6 resolution: "@so-ric/colorspace@npm:1.1.6" @@ -15504,12 +15523,12 @@ __metadata: version: 0.0.0-use.local resolution: "outline@workspace:." dependencies: - "@aws-sdk/client-s3": "npm:^3.1115.0" - "@aws-sdk/cloudfront-signer": "npm:^3.1111.0" - "@aws-sdk/lib-storage": "npm:^3.1115.0" - "@aws-sdk/s3-presigned-post": "npm:^3.1115.0" - "@aws-sdk/s3-request-presigner": "npm:^3.1115.0" - "@aws-sdk/signature-v4-crt": "npm:^3.1115.0" + "@aws-sdk/client-s3": "npm:^3.1121.0" + "@aws-sdk/cloudfront-signer": "npm:^3.1116.0" + "@aws-sdk/lib-storage": "npm:^3.1121.0" + "@aws-sdk/s3-presigned-post": "npm:^3.1121.0" + "@aws-sdk/s3-request-presigner": "npm:^3.1121.0" + "@aws-sdk/signature-v4-crt": "npm:^3.1121.0" "@benrbray/prosemirror-math": "npm:^0.2.2" "@bull-board/api": "npm:^6.21.3" "@bull-board/koa": "npm:^6.21.3" From 9e6b98e12b54f8e289267b54ef46f3cc72c716f0 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 2 Sep 2026 09:10:21 -0400 Subject: [PATCH 55/85] perf: limit document search trigger updates (#13615) --- ...5149-limit-document-search-trigger-columns.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 server/migrations/20260902125149-limit-document-search-trigger-columns.js diff --git a/server/migrations/20260902125149-limit-document-search-trigger-columns.js b/server/migrations/20260902125149-limit-document-search-trigger-columns.js new file mode 100644 index 0000000000..b3fbfe172f --- /dev/null +++ b/server/migrations/20260902125149-limit-document-search-trigger-columns.js @@ -0,0 +1,16 @@ +"use strict"; + +/** @type {import('sequelize-cli').Migration} */ +module.exports = { + async up(queryInterface) { + await queryInterface.sequelize.query( + 'CREATE OR REPLACE TRIGGER documents_tsvectorupdate BEFORE INSERT OR UPDATE OF title, text, "previousTitles" ON documents FOR EACH ROW EXECUTE PROCEDURE documents_search_trigger();' + ); + }, + + async down(queryInterface) { + await queryInterface.sequelize.query( + "CREATE OR REPLACE TRIGGER documents_tsvectorupdate BEFORE INSERT OR UPDATE ON documents FOR EACH ROW EXECUTE PROCEDURE documents_search_trigger();" + ); + }, +}; From 8b799966b75d4c7522b037fe6a3ea54f78bc21e4 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 2 Sep 2026 19:02:57 -0400 Subject: [PATCH 56/85] perf: move cleanup reads to follower (#13616) * perf: run cleanup scans on follower * perf: move document cleanup reads to follower --- server/commands/documentPermanentDeleter.ts | 21 ++++++---- .../tasks/CleanupDeletedDocumentsTask.ts | 24 ++++++----- server/queues/tasks/CleanupOldEventsTask.ts | 42 ++++++++++--------- .../tasks/CleanupOldSearchQueriesTask.ts | 42 ++++++++++--------- 4 files changed, 72 insertions(+), 57 deletions(-) diff --git a/server/commands/documentPermanentDeleter.ts b/server/commands/documentPermanentDeleter.ts index 6432d055e7..a52a3aee65 100644 --- a/server/commands/documentPermanentDeleter.ts +++ b/server/commands/documentPermanentDeleter.ts @@ -6,7 +6,7 @@ import { Document, Attachment } from "@server/models"; import { DocumentHelper } from "@server/models/helpers/DocumentHelper"; import { ProsemirrorHelper } from "@server/models/helpers/ProsemirrorHelper"; import DeleteAttachmentTask from "@server/queues/tasks/DeleteAttachmentTask"; -import { sequelize } from "@server/storage/database"; +import { sequelizeReadOnly } from "@server/storage/database"; export default async function documentPermanentDeleter(documents: Document[]) { const activeDocument = documents.find((doc) => !doc.deletedAt); @@ -52,14 +52,17 @@ export default async function documentPermanentDeleter(documents: Document[]) { // Check if the attachment is referenced in any other documents – this // is needed as it's easy to copy and paste content between documents. // An uploaded attachment may end up referenced in multiple documents. - const [{ count }] = await sequelize.query<{ count: string }>(query, { - type: QueryTypes.SELECT, - replacements: { - documentId: document.id, - teamId: document.teamId, - query: attachmentId, - }, - }); + const [{ count }] = await sequelizeReadOnly.query<{ count: string }>( + query, + { + type: QueryTypes.SELECT, + replacements: { + documentId: document.id, + teamId: document.teamId, + query: attachmentId, + }, + } + ); // If the attachment is not referenced in any other documents then // delete it from the database and the storage provider. diff --git a/server/queues/tasks/CleanupDeletedDocumentsTask.ts b/server/queues/tasks/CleanupDeletedDocumentsTask.ts index 21c537b6b4..f5b3f06074 100644 --- a/server/queues/tasks/CleanupDeletedDocumentsTask.ts +++ b/server/queues/tasks/CleanupDeletedDocumentsTask.ts @@ -3,6 +3,7 @@ import { Op } from "sequelize"; import documentPermanentDeleter from "@server/commands/documentPermanentDeleter"; import Logger from "@server/logging/Logger"; import { Document } from "@server/models"; +import { sequelizeReadOnly } from "@server/storage/database"; import { TaskPriority } from "./base/BaseTask"; import { Minute } from "@shared/utils/time"; import type { Props } from "./base/CronTask"; @@ -14,17 +15,20 @@ export default class CleanupDeletedDocumentsTask extends CronTask { "task", `Permanently destroying upto ${limit} documents older than 30 days…` ); - const documents = await Document.unscoped().findAll({ - attributes: ["id", "teamId", "deletedAt", "content", "state", "text"], - where: { - deletedAt: { - [Op.lt]: subDays(new Date(), 30), + const documents = await sequelizeReadOnly.transaction((transaction) => + Document.unscoped().findAll({ + attributes: ["id", "teamId", "deletedAt", "content", "state", "text"], + where: { + deletedAt: { + [Op.lt]: subDays(new Date(), 30), + }, + ...this.getPartitionWhereClause("id", partition), }, - ...this.getPartitionWhereClause("id", partition), - }, - paranoid: false, - limit, - }); + paranoid: false, + limit, + transaction, + }) + ); const countDeletedDocument = await documentPermanentDeleter(documents); Logger.info("task", `Destroyed ${countDeletedDocument} documents`); } diff --git a/server/queues/tasks/CleanupOldEventsTask.ts b/server/queues/tasks/CleanupOldEventsTask.ts index c1183c7719..f0609a467d 100644 --- a/server/queues/tasks/CleanupOldEventsTask.ts +++ b/server/queues/tasks/CleanupOldEventsTask.ts @@ -2,6 +2,7 @@ import { subDays } from "date-fns"; import { Op } from "sequelize"; import Logger from "@server/logging/Logger"; import { Event } from "@server/models"; +import { sequelizeReadOnly } from "@server/storage/database"; import { TaskPriority } from "./base/BaseTask"; import type { Props } from "./base/CronTask"; import { CronTask, TaskInterval } from "./base/CronTask"; @@ -16,28 +17,31 @@ export default class CleanupOldEventsTask extends CronTask { let totalEventsDeleted = 0; try { - await Event.findAllInBatches( - { - attributes: ["id"], - where: { - createdAt: { - [Op.lt]: cutoffDate, - }, - ...this.getPartitionWhereClause("id", partition), - }, - batchLimit: 1000, - totalLimit: maxEventsPerTask, - order: [["createdAt", "ASC"]], - }, - async (events) => { - totalEventsDeleted += await Event.destroy({ + await sequelizeReadOnly.transaction(async (transaction) => + Event.findAllInBatches( + { + attributes: ["id"], where: { - id: { - [Op.in]: events.map((event) => event.id), + createdAt: { + [Op.lt]: cutoffDate, }, + ...this.getPartitionWhereClause("id", partition), }, - }); - } + batchLimit: 1000, + totalLimit: maxEventsPerTask, + order: [["createdAt", "ASC"]], + transaction, + }, + async (events) => { + totalEventsDeleted += await Event.destroy({ + where: { + id: { + [Op.in]: events.map((event) => event.id), + }, + }, + }); + } + ) ); } finally { if (totalEventsDeleted > 0) { diff --git a/server/queues/tasks/CleanupOldSearchQueriesTask.ts b/server/queues/tasks/CleanupOldSearchQueriesTask.ts index 9c21137a80..4a48efd393 100644 --- a/server/queues/tasks/CleanupOldSearchQueriesTask.ts +++ b/server/queues/tasks/CleanupOldSearchQueriesTask.ts @@ -2,6 +2,7 @@ import { subDays } from "date-fns"; import { Op } from "sequelize"; import Logger from "@server/logging/Logger"; import { SearchQuery } from "@server/models"; +import { sequelizeReadOnly } from "@server/storage/database"; import { TaskPriority } from "./base/BaseTask"; import type { Props } from "./base/CronTask"; import { CronTask, TaskInterval } from "./base/CronTask"; @@ -16,28 +17,31 @@ export default class CleanupOldSearchQueriesTask extends CronTask { let totalSearchQueriesDeleted = 0; try { - await SearchQuery.findAllInBatches( - { - attributes: ["id"], - where: { - createdAt: { - [Op.lt]: cutoffDate, - }, - ...this.getPartitionWhereClause("id", partition), - }, - batchLimit: 1000, - totalLimit: maxSearchQueriesPerTask, - order: [["createdAt", "ASC"]], - }, - async (searchQueries) => { - totalSearchQueriesDeleted += await SearchQuery.destroy({ + await sequelizeReadOnly.transaction(async (transaction) => + SearchQuery.findAllInBatches( + { + attributes: ["id"], where: { - id: { - [Op.in]: searchQueries.map((searchQuery) => searchQuery.id), + createdAt: { + [Op.lt]: cutoffDate, }, + ...this.getPartitionWhereClause("id", partition), }, - }); - } + batchLimit: 1000, + totalLimit: maxSearchQueriesPerTask, + order: [["createdAt", "ASC"]], + transaction, + }, + async (searchQueries) => { + totalSearchQueriesDeleted += await SearchQuery.destroy({ + where: { + id: { + [Op.in]: searchQueries.map((searchQuery) => searchQuery.id), + }, + }, + }); + } + ) ); } finally { if (totalSearchQueriesDeleted > 0) { From 495f2a5830bc3c4f3570deacb461ae7933b6a7f7 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 2 Sep 2026 19:06:15 -0400 Subject: [PATCH 57/85] perf: Use follower for exports (#13617) * perf: Use follower for exports * fix: Skip empty attachment queries in JSON exports --- server/queues/tasks/ExportDocumentTreeTask.ts | 44 +++++++----- server/queues/tasks/ExportJSONTask.test.ts | 50 +++++++++++++ server/queues/tasks/ExportJSONTask.ts | 72 ++++++++++++------- server/queues/tasks/ExportTask.ts | 30 ++++---- 4 files changed, 143 insertions(+), 53 deletions(-) create mode 100644 server/queues/tasks/ExportJSONTask.test.ts diff --git a/server/queues/tasks/ExportDocumentTreeTask.ts b/server/queues/tasks/ExportDocumentTreeTask.ts index e9a405f235..e803fae5d7 100644 --- a/server/queues/tasks/ExportDocumentTreeTask.ts +++ b/server/queues/tasks/ExportDocumentTreeTask.ts @@ -12,6 +12,7 @@ import { DocumentHelper } from "@server/models/helpers/DocumentHelper"; import HTMLHelper from "@server/models/helpers/HTMLHelper"; import { ProsemirrorHelper } from "@server/models/helpers/ProsemirrorHelper"; import TextBundleHelper from "@server/models/helpers/TextBundleHelper"; +import { sequelizeReadOnly } from "@server/storage/database"; import ZipHelper from "@server/utils/ZipHelper"; import { serializeFilename } from "@server/utils/fs"; import ExportTask from "./ExportTask"; @@ -60,11 +61,36 @@ export default abstract class ExportDocumentTreeTask extends ExportTask { pathMap: Map; }) { Logger.debug("task", `Adding document to archive`, { documentId }); - const document = await Document.findByPk(documentId); - if (!document) { + const result = await sequelizeReadOnly.transaction(async (transaction) => { + const document = await Document.findByPk(documentId, { transaction }); + if (!document) { + return; + } + + const attachmentIds = includeAttachments + ? ProsemirrorHelper.parseAttachmentIds( + DocumentHelper.toProsemirror(document) + ) + : []; + const attachments = attachmentIds.length + ? await Attachment.findAll({ + where: { + teamId: document.teamId, + id: attachmentIds, + }, + transaction, + }) + : []; + + return { attachments, document }; + }); + + if (!result) { return; } + const { attachments, document } = result; + let text = format === FileOperationFormat.HTMLZip ? await DocumentHelper.toHTML(document, { centered: true }) @@ -79,20 +105,6 @@ export default abstract class ExportDocumentTreeTask extends ExportTask { : pathInZip; const usedAssetNames = new Set(); - const attachmentIds = includeAttachments - ? ProsemirrorHelper.parseAttachmentIds( - DocumentHelper.toProsemirror(document) - ) - : []; - const attachments = attachmentIds.length - ? await Attachment.findAll({ - where: { - teamId: document.teamId, - id: attachmentIds, - }, - }) - : []; - // Add any referenced attachments to the zip file and replace the // reference in the document with the path to the attachment in the zip for (const attachment of attachments) { diff --git a/server/queues/tasks/ExportJSONTask.test.ts b/server/queues/tasks/ExportJSONTask.test.ts new file mode 100644 index 0000000000..ed8b4b58a7 --- /dev/null +++ b/server/queues/tasks/ExportJSONTask.test.ts @@ -0,0 +1,50 @@ +import fs from "fs-extra"; +import { vi } from "vitest"; +import { Attachment } from "@server/models"; +import { + buildCollection, + buildDocument, + buildFileOperation, + buildTeam, + buildUser, +} from "@server/test/factories"; +import ExportJSONTask from "./ExportJSONTask"; + +describe("ExportJSONTask", () => { + afterEach(() => { + vi.restoreAllMocks(); + }); + + it("should not query attachments when no attachment IDs are present", async () => { + const team = await buildTeam(); + const user = await buildUser({ teamId: team.id }); + const collection = await buildCollection({ + teamId: team.id, + userId: user.id, + description: "No attachments", + }); + const document = await buildDocument({ + teamId: team.id, + userId: user.id, + collectionId: collection.id, + text: "No attachments", + }); + await collection.addDocumentToStructure(document); + const fileOperation = await buildFileOperation({ + teamId: team.id, + userId: user.id, + }); + const findAll = vi.spyOn(Attachment, "findAll"); + + const filePath = await new ExportJSONTask().exportCollections( + [collection], + fileOperation + ); + + try { + expect(findAll).not.toHaveBeenCalled(); + } finally { + await fs.remove(filePath); + } + }); +}); diff --git a/server/queues/tasks/ExportJSONTask.ts b/server/queues/tasks/ExportJSONTask.ts index 6761d80321..9023b38192 100644 --- a/server/queues/tasks/ExportJSONTask.ts +++ b/server/queues/tasks/ExportJSONTask.ts @@ -7,6 +7,7 @@ import { Attachment, Document } from "@server/models"; import { DocumentHelper } from "@server/models/helpers/DocumentHelper"; import { ProsemirrorHelper } from "@server/models/helpers/ProsemirrorHelper"; import { presentAttachment, presentCollection } from "@server/presenters"; +import { sequelizeReadOnly } from "@server/storage/database"; import type { CollectionJSONExport, JSONExportMetadata } from "@server/types"; import ZipHelper from "@server/utils/ZipHelper"; import { serializeFilename } from "@server/utils/fs"; @@ -97,26 +98,43 @@ export default class ExportJSONTask extends ExportTask { const addDocumentTree = async (nodes: NavigationNode[]) => { for (const node of nodes) { - const document = await Document.findByPk(node.id, { - includeState: true, - }); + const result = await sequelizeReadOnly.transaction( + async (transaction) => { + const document = await Document.findByPk(node.id, { + includeState: true, + transaction, + }); - if (!document) { + if (!document) { + return; + } + + const attachmentIds = includeAttachments + ? ProsemirrorHelper.parseAttachmentIds( + DocumentHelper.toProsemirror(document) + ) + : []; + const attachments = attachmentIds.length + ? await Attachment.findAll({ + where: { + teamId: document.teamId, + id: attachmentIds, + }, + transaction, + }) + : []; + + return { attachments, document }; + } + ); + + if (!result) { continue; } - const documentAttachments = includeAttachments - ? await Attachment.findAll({ - where: { - teamId: document.teamId, - id: ProsemirrorHelper.parseAttachmentIds( - DocumentHelper.toProsemirror(document) - ), - }, - }) - : []; + const { attachments, document } = result; - addAttachments(documentAttachments); + addAttachments(attachments); output.documents[document.id] = { id: document.id, @@ -143,15 +161,21 @@ export default class ExportJSONTask extends ExportTask { } }; - const collectionAttachments = includeAttachments - ? await Attachment.findAll({ - where: { - teamId: collection.teamId, - id: ProsemirrorHelper.parseAttachmentIds( - DocumentHelper.toProsemirror(collection) - ), - }, - }) + const collectionAttachmentIds = includeAttachments + ? ProsemirrorHelper.parseAttachmentIds( + DocumentHelper.toProsemirror(collection) + ) + : []; + const collectionAttachments = collectionAttachmentIds.length + ? await sequelizeReadOnly.transaction((transaction) => + Attachment.findAll({ + where: { + teamId: collection.teamId, + id: collectionAttachmentIds, + }, + transaction, + }) + ) : []; addAttachments(collectionAttachments); diff --git a/server/queues/tasks/ExportTask.ts b/server/queues/tasks/ExportTask.ts index 4054f2bd01..2a927b240a 100644 --- a/server/queues/tasks/ExportTask.ts +++ b/server/queues/tasks/ExportTask.ts @@ -1,6 +1,8 @@ import { Readable } from "node:stream"; import fs from "fs-extra"; import { truncate } from "es-toolkit/compat"; +import { Op } from "sequelize"; +import type { WhereOptions } from "sequelize"; import type { ZipFile } from "yazl"; import { toError } from "@shared/utils/error"; import type { NavigationNode } from "@shared/types"; @@ -21,11 +23,9 @@ import { User, } from "@server/models"; import fileOperationPresenter from "@server/presenters/fileOperation"; +import { sequelizeReadOnly } from "@server/storage/database"; import FileStorage from "@server/storage/files"; import { BaseTask, TaskPriority } from "./base/BaseTask"; -import { Op } from "sequelize"; -import { sequelizeReadOnly } from "@server/storage/database"; -import type { WhereOptions } from "sequelize"; type Props = { fileOperationId: string; @@ -126,13 +126,16 @@ export default abstract class ExportTask extends BaseTask { user: User ): Promise { if (fileOperation.documentId) { - const document = await Document.findByPk(fileOperation.documentId!, { - include: { - model: Collection.scope("withDocumentStructure"), - as: "collection", - }, - rejectOnEmpty: true, - }); + const document = await sequelizeReadOnly.transaction((transaction) => + Document.findByPk(fileOperation.documentId!, { + include: { + model: Collection.scope("withDocumentStructure"), + as: "collection", + }, + rejectOnEmpty: true, + transaction, + }) + ); const documentStructure = document.collection?.getDocumentTree( document.id @@ -189,10 +192,11 @@ export default abstract class ExportTask extends BaseTask { }; } - const collections = await Collection.scope("withDocumentStructure").findAll( - { + const collections = await sequelizeReadOnly.transaction((transaction) => + Collection.scope("withDocumentStructure").findAll({ where, - } + transaction, + }) ); return this.exportCollections(collections, fileOperation); From 1eee828f73a69f70a60e56c9bdfe31ca13d545d2 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 2 Sep 2026 19:09:14 -0400 Subject: [PATCH 58/85] fix: Allow null webhook subscription secrets (#13622) --- plugins/webhooks/server/api/schema.ts | 4 +-- .../server/api/webhookSubscriptions.test.ts | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/plugins/webhooks/server/api/schema.ts b/plugins/webhooks/server/api/schema.ts index 88c2fe3b2c..a9ec09ab44 100644 --- a/plugins/webhooks/server/api/schema.ts +++ b/plugins/webhooks/server/api/schema.ts @@ -45,7 +45,7 @@ export const WebhookSubscriptionsCreateSchema = z.object({ body: z.object({ name: z.string(), url: webhookUrl, - secret: z.string().optional(), + secret: z.string().nullish(), events: z.array(z.string()), }), }); @@ -59,7 +59,7 @@ export const WebhookSubscriptionsUpdateSchema = z.object({ id: z.uuid(), name: z.string(), url: webhookUrl, - secret: z.string().optional(), + secret: z.string().nullish(), events: z.array(z.string()), }), }); diff --git a/plugins/webhooks/server/api/webhookSubscriptions.test.ts b/plugins/webhooks/server/api/webhookSubscriptions.test.ts index 7d3cf3783e..c855be6ad1 100644 --- a/plugins/webhooks/server/api/webhookSubscriptions.test.ts +++ b/plugins/webhooks/server/api/webhookSubscriptions.test.ts @@ -256,6 +256,31 @@ describe("#webhookSubscriptions.update", () => { expect(webhook.enabled).toEqual(true); }); + it("should update a webhook subscription without a signing secret", async () => { + const user = await buildAdmin(); + const name = "Updated webhook name"; + const existingWebhook = await buildWebhookSubscription({ + createdById: user.id, + teamId: user.teamId, + secret: null, + }); + + const res = await server.post("/api/webhookSubscriptions.update", user, { + body: { + id: existingWebhook.id, + name, + url: existingWebhook.url, + events: existingWebhook.events, + secret: null, + }, + }); + const body = await res.json(); + + expect(res.status).toEqual(200); + expect(body.data.name).toEqual(name); + expect(body.data.secret).toBeNull(); + }); + it("should activate a disabled webhook subscription when it's updated", async () => { const user = await buildAdmin(); const name = "Updated webhook name"; From 182c60c6960a55df967534c7538de66a47ad2b9e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Sep 2026 23:20:23 +0000 Subject: [PATCH 59/85] chore(deps-dev): bump @faker-js/faker from 8.4.1 to 10.5.0 (#13618) * chore(deps-dev): bump @faker-js/faker from 8.4.1 to 10.5.0 Bumps [@faker-js/faker](https://github.com/faker-js/faker) from 8.4.1 to 10.5.0. - [Release notes](https://github.com/faker-js/faker/releases) - [Changelog](https://github.com/faker-js/faker/blob/next/CHANGELOG.md) - [Commits](https://github.com/faker-js/faker/compare/v8.4.1...v10.5.0) --- updated-dependencies: - dependency-name: "@faker-js/faker" dependency-version: 10.5.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] * faker.name -> faker.person * chore: update vulnerable transitive dependencies --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Moor --- package.json | 2 +- .../models/helpers/ProseMirrorHelper.test.ts | 6 +- server/test/factories.ts | 2 +- yarn.lock | 62 +++++-------------- 4 files changed, 19 insertions(+), 53 deletions(-) diff --git a/package.json b/package.json index fcceefca7d..fc95ef598e 100644 --- a/package.json +++ b/package.json @@ -282,7 +282,7 @@ "zod": "^4.4.3" }, "devDependencies": { - "@faker-js/faker": "^8.4.1", + "@faker-js/faker": "^10.5.0", "@relative-ci/agent": "^4.3.1", "@swc/cli": "^0.8.1", "@swc/core": "^1.15.32", diff --git a/server/models/helpers/ProseMirrorHelper.test.ts b/server/models/helpers/ProseMirrorHelper.test.ts index 005ac55049..aa55c6dec6 100644 --- a/server/models/helpers/ProseMirrorHelper.test.ts +++ b/server/models/helpers/ProseMirrorHelper.test.ts @@ -157,7 +157,7 @@ describe("ProsemirrorHelper", () => { }; await user.update({ - name: faker.name.firstName(), + name: faker.person.firstName(), }); const mentionedParagraph: DeepPartial = { @@ -215,8 +215,8 @@ describe("ProsemirrorHelper", () => { modelId: secondUser.id, }; - const firstNewName = faker.name.firstName(); - const secondNewName = faker.name.firstName(); + const firstNewName = faker.person.firstName(); + const secondNewName = faker.person.firstName(); await firstUser.update({ name: firstNewName, diff --git a/server/test/factories.ts b/server/test/factories.ts index 2c4b252850..098b707640 100644 --- a/server/test/factories.ts +++ b/server/test/factories.ts @@ -961,7 +961,7 @@ export function buildMention(overrides: { attrs: { id: overrides.id ?? randomUUID(), type: overrides.type ?? MentionType.User, - label: overrides.label ?? faker.name.fullName(), + label: overrides.label ?? faker.person.fullName(), modelId: overrides.modelId, actorId: overrides.actorId, }, diff --git a/yarn.lock b/yarn.lock index ab58494ce9..f7fdbcb834 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2089,10 +2089,10 @@ __metadata: languageName: node linkType: hard -"@faker-js/faker@npm:^8.4.1": - version: 8.4.1 - resolution: "@faker-js/faker@npm:8.4.1" - checksum: 10c0/4f2aecddcfdc2cc8b50b2d15d1e37302a7c7a5bbd184ae910a9d271bc11248533ca74dcdd4a9ccbe20410553e7af0f6a4d334c5b955635e09a32ddf4a64942d4 +"@faker-js/faker@npm:^10.5.0": + version: 10.5.0 + resolution: "@faker-js/faker@npm:10.5.0" + checksum: 10c0/2de3c7b8f41592d52cefc3ab4c99536656249bca78d5ad184a3b7ac43ecc9d946056cef2c4d37060373ef06ad992d82530de08479fabe16fdbe77b911d842446 languageName: node linkType: hard @@ -5883,17 +5883,7 @@ __metadata: languageName: node linkType: hard -"@smithy/core@npm:^3.31.1": - version: 3.31.1 - resolution: "@smithy/core@npm:3.31.1" - dependencies: - "@smithy/types": "npm:^4.16.1" - tslib: "npm:^2.6.2" - checksum: 10c0/b953c792dea2c13249b58c1799e4d6aaf21eb1a61e203b83e8e3a9156bebe14ca0585f0ca1ffdf65a193294dddff92a06fbe5c3fbd63ff0c174c88130b47a128 - languageName: node - linkType: hard - -"@smithy/core@npm:^3.33.2, @smithy/core@npm:^3.33.3": +"@smithy/core@npm:^3.31.1, @smithy/core@npm:^3.33.2, @smithy/core@npm:^3.33.3": version: 3.33.3 resolution: "@smithy/core@npm:3.33.3" dependencies: @@ -5947,16 +5937,7 @@ __metadata: languageName: node linkType: hard -"@smithy/types@npm:^4.16.1": - version: 4.16.1 - resolution: "@smithy/types@npm:4.16.1" - dependencies: - tslib: "npm:^2.6.2" - checksum: 10c0/e024d9d148deca7bd21d032a9316db109bbe7cf256ffbb8d3981655b9f4f7695c08ec9b87f5a8cf1442e783ba26cb27e4f09603c5bfa3ba1e526c41b1b3e94d2 - languageName: node - linkType: hard - -"@smithy/types@npm:^4.17.2": +"@smithy/types@npm:^4.16.1, @smithy/types@npm:^4.17.2": version: 4.17.2 resolution: "@smithy/types@npm:4.17.2" dependencies: @@ -10167,9 +10148,9 @@ __metadata: linkType: hard "deepmerge-ts@npm:^8.0.1": - version: 8.0.1 - resolution: "deepmerge-ts@npm:8.0.1" - checksum: 10c0/5d41e24ac88f652698179f1ddad02269ac7f91af216a359e528bf35d60fa660046d82001a500a1fa984fc895a8c505249f348a414215da88722fca90108ac083 + version: 8.0.2 + resolution: "deepmerge-ts@npm:8.0.2" + checksum: 10c0/2be1628a305b8621e4e1abec9ec397aba9745d3c50da714a12e1ac60dc3eb32ee4ea8e1be4c240baf18bbc26f6c6c3e75a4492cfa74cebef70321e5a4ad4f1c2 languageName: node linkType: hard @@ -11266,9 +11247,9 @@ __metadata: linkType: hard "fast-uri@npm:^3.0.1": - version: 3.1.5 - resolution: "fast-uri@npm:3.1.5" - checksum: 10c0/2bf60eb800dd610c65e17be436425dcb21c92aff3a87d442a8bccab0b7b071e88cf1a5d7d1ea946370b937e6fc0375c405c0296c10587e57de4f78be4646d1d0 + version: 3.1.6 + resolution: "fast-uri@npm:3.1.6" + checksum: 10c0/77fa4f966f7d2cf83c34af2d3eb88882872fe90634f27a6bd309551db65377d3ca55616467c7cb4dcc57e33523d149e2fec1952d51cc2f00bfce68a66c3711ea languageName: node linkType: hard @@ -15539,7 +15520,7 @@ __metadata: "@dnd-kit/sortable": "npm:^7.0.2" "@dotenvx/dotenvx": "npm:^1.75.1" "@emoji-mart/data": "npm:^1.2.1" - "@faker-js/faker": "npm:^8.4.1" + "@faker-js/faker": "npm:^10.5.0" "@fast-csv/parse": "npm:^5.0.7" "@firecrawl/pdf-inspector": "npm:^1.11.2" "@fortawesome/fontawesome-svg-core": "npm:^7.3.1" @@ -21321,7 +21302,7 @@ __metadata: languageName: node linkType: hard -"ws@npm:^7.5.13": +"ws@npm:^7.5.13, ws@npm:^7.5.5": version: 7.5.13 resolution: "ws@npm:7.5.13" peerDependencies: @@ -21336,21 +21317,6 @@ __metadata: languageName: node linkType: hard -"ws@npm:^7.5.5": - version: 7.5.11 - resolution: "ws@npm:7.5.11" - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - checksum: 10c0/7972670b676fb1ccba73b0899ca3c2e04e8c2075629c2614cced7f556536f96a672bbf4619fc5a06c8b8720bb839a47ca88c69c95dc14c9c61a99fbecba1c866 - languageName: node - linkType: hard - "xcase@npm:^2.0.1": version: 2.0.1 resolution: "xcase@npm:2.0.1" From 33f2b9353087718722ed61808b633bcd9b122563 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 2 Sep 2026 19:20:53 -0400 Subject: [PATCH 60/85] fix: Escape MCP attachment PUT upload command arguments (#13613) Applies the same shell quoting introduced for the POST branch in #13597 to the presigned PUT branch, so user-supplied content type and filename values cannot break out of the suggested curl command's quoting. Claude-Session: https://claude.ai/code/session_011rde2HKVLJC4GWU4wHcrKz Co-authored-by: Claude --- server/tools/attachments.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/tools/attachments.ts b/server/tools/attachments.ts index 24e4325e71..aa36e62e26 100644 --- a/server/tools/attachments.ts +++ b/server/tools/attachments.ts @@ -113,10 +113,10 @@ export function attachmentTools(server: McpServer, scopes: string[]) { const curlCommand = `curl -X PUT ${Object.entries( presignedPut.headers ) - .map(([k, v]) => `-H '${k}: ${v}'`) - .join( - " " - )} --data-binary '@/path/to/file' '${presignedPut.url}'`; + .map(([k, v]) => `-H ${quoteShellArgument(`${k}: ${v}`)}`) + .join(" ")} --data-binary '@/path/to/file' ${quoteShellArgument( + presignedPut.url + )}`; return success({ mode: "put", From a4066aedd2cd253f8ac3f6bfd4d7d8a69e109b9a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Sep 2026 19:21:14 -0400 Subject: [PATCH 61/85] chore(deps): bump fast-uri from 3.1.5 to 3.1.6 (#13623) Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.5 to 3.1.6. - [Release notes](https://github.com/fastify/fast-uri/releases) - [Commits](https://github.com/fastify/fast-uri/compare/v3.1.5...v3.1.6) --- updated-dependencies: - dependency-name: fast-uri dependency-version: 3.1.6 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> From b123af7e2102a747c08bee0f51f57918d01d27b8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Sep 2026 19:28:05 -0400 Subject: [PATCH 62/85] chore(deps): bump @xmldom/xmldom from 0.8.13 to 0.8.15 (#13624) Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom) from 0.8.13 to 0.8.15. - [Release notes](https://github.com/xmldom/xmldom/releases) - [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md) - [Commits](https://github.com/xmldom/xmldom/compare/0.8.13...0.8.15) --- updated-dependencies: - dependency-name: "@xmldom/xmldom" dependency-version: 0.8.15 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index f7fdbcb834..b5b84f3bc8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7809,9 +7809,9 @@ __metadata: linkType: hard "@xmldom/xmldom@npm:^0.8.6": - version: 0.8.13 - resolution: "@xmldom/xmldom@npm:0.8.13" - checksum: 10c0/06405ee6fffba631abf715a305ace338420ebcea8baf1317f19f2752f5c505952b7df45159908e7be8451a42faa54326b780616ab4d08242b20477b2973da24b + version: 0.8.15 + resolution: "@xmldom/xmldom@npm:0.8.15" + checksum: 10c0/59d09b85824b684fba5a0a224d5b43abea1a0d745e8d8b8136a7013e996eb6da122fdbb3deb32ed1621923a10e1937b1f7917cea43481d9d5b976e8c1ff836c1 languageName: node linkType: hard From bf831f365ec9ebaa6d78878c9a244d2c17d4af60 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Sep 2026 19:28:22 -0400 Subject: [PATCH 63/85] chore(deps): bump qs from 6.15.3 to 6.16.0 (#13625) Bumps [qs](https://github.com/ljharb/qs) from 6.15.3 to 6.16.0. - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](https://github.com/ljharb/qs/compare/v6.15.3...v6.16.0) --- updated-dependencies: - dependency-name: qs dependency-version: 6.16.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index b5b84f3bc8..26688d1743 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17159,12 +17159,12 @@ __metadata: linkType: hard "qs@npm:^6.11.0, qs@npm:^6.14.0, qs@npm:^6.15.2, qs@npm:^6.5.2": - version: 6.15.3 - resolution: "qs@npm:6.15.3" + version: 6.16.0 + resolution: "qs@npm:6.16.0" dependencies: es-define-property: "npm:^1.0.1" side-channel: "npm:^1.1.1" - checksum: 10c0/8f3f6e45ece255347d57696628401cde29e9ec649fff698b53bd3150dea7cefdf33036e1bc1826b9f110bfa7cb0ec4ab9f5297eca628ce216c55af82c304e08e + checksum: 10c0/eb3e31992fbd70e31a1791e571ed817d70975de7d3bfcbbbec93d77d1dd305877e9e8fdbcc62303c228ee5c3606685622cd6231c042dbc4790bb4e7c65fcbe18 languageName: node linkType: hard From 7483b23cb7259db848ced7227f50a5e2d614657d Mon Sep 17 00:00:00 2001 From: Translate-O-Tron <75237327+outline-translations@users.noreply.github.com> Date: Wed, 2 Sep 2026 20:17:27 -0400 Subject: [PATCH 64/85] New Crowdin updates (#13539) * fix: New Spanish translations * fix: New Catalan translations * fix: New Czech translations * fix: New Danish translations * fix: New German translations * fix: New Hebrew translations * fix: New Hungarian translations * fix: New Italian translations * fix: New Japanese translations * fix: New Korean translations * fix: New Dutch translations * fix: New Polish translations * fix: New Portuguese translations * fix: New Swedish translations * fix: New Turkish translations * fix: New Ukrainian translations * fix: New Chinese Simplified translations * fix: New Chinese Traditional translations * fix: New Vietnamese translations * fix: New Portuguese, Brazilian translations * fix: New Indonesian translations * fix: New Persian translations * fix: New Thai translations * fix: New English, United Kingdom translations * fix: New Norwegian Bokmal translations * fix: New French translations * fix: New Spanish translations * fix: New Catalan translations * fix: New Czech translations * fix: New Danish translations * fix: New German translations * fix: New Hebrew translations * fix: New Hungarian translations * fix: New Italian translations * fix: New Japanese translations * fix: New Korean translations * fix: New Dutch translations * fix: New Polish translations * fix: New Portuguese translations * fix: New Swedish translations * fix: New Turkish translations * fix: New Ukrainian translations * fix: New Vietnamese translations * fix: New Portuguese, Brazilian translations * fix: New Indonesian translations * fix: New Persian translations * fix: New Thai translations * fix: New Norwegian Bokmal translations * fix: New French translations * fix: New Spanish translations * fix: New Catalan translations * fix: New Czech translations * fix: New Danish translations * fix: New German translations * fix: New Hebrew translations * fix: New Hungarian translations * fix: New Italian translations * fix: New Japanese translations * fix: New Korean translations * fix: New Dutch translations * fix: New Polish translations * fix: New Portuguese translations * fix: New Swedish translations * fix: New Turkish translations * fix: New Ukrainian translations * fix: New Chinese Simplified translations * fix: New Chinese Traditional translations * fix: New Vietnamese translations * fix: New Portuguese, Brazilian translations * fix: New Indonesian translations * fix: New Persian translations * fix: New Thai translations * fix: New English, United Kingdom translations * fix: New Norwegian Bokmal translations * fix: New French translations * fix: New Swedish translations --- shared/i18n/locales/ca_ES/translation.json | 21 ++++--- shared/i18n/locales/cs_CZ/translation.json | 21 ++++--- shared/i18n/locales/da_DK/translation.json | 21 ++++--- shared/i18n/locales/de_DE/translation.json | 21 ++++--- shared/i18n/locales/en_GB/translation.json | 21 ++++--- shared/i18n/locales/es_ES/translation.json | 21 ++++--- shared/i18n/locales/fa_IR/translation.json | 21 ++++--- shared/i18n/locales/fr_FR/translation.json | 21 ++++--- shared/i18n/locales/he_IL/translation.json | 21 ++++--- shared/i18n/locales/hu_HU/translation.json | 21 ++++--- shared/i18n/locales/id_ID/translation.json | 21 ++++--- shared/i18n/locales/it_IT/translation.json | 21 ++++--- shared/i18n/locales/ja_JP/translation.json | 21 ++++--- shared/i18n/locales/ko_KR/translation.json | 21 ++++--- shared/i18n/locales/nb_NO/translation.json | 21 ++++--- shared/i18n/locales/nl_NL/translation.json | 21 ++++--- shared/i18n/locales/pl_PL/translation.json | 21 ++++--- shared/i18n/locales/pt_BR/translation.json | 21 ++++--- shared/i18n/locales/pt_PT/translation.json | 21 ++++--- shared/i18n/locales/sv_SE/translation.json | 65 ++++++++++++---------- shared/i18n/locales/th_TH/translation.json | 21 ++++--- shared/i18n/locales/tr_TR/translation.json | 21 ++++--- shared/i18n/locales/uk_UA/translation.json | 21 ++++--- shared/i18n/locales/vi_VN/translation.json | 21 ++++--- shared/i18n/locales/zh_CN/translation.json | 21 ++++--- shared/i18n/locales/zh_TW/translation.json | 21 ++++--- 26 files changed, 386 insertions(+), 204 deletions(-) diff --git a/shared/i18n/locales/ca_ES/translation.json b/shared/i18n/locales/ca_ES/translation.json index 2498cbd1c8..90db034031 100644 --- a/shared/i18n/locales/ca_ES/translation.json +++ b/shared/i18n/locales/ca_ES/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Avís d'alerta", "Tip notice": "Avís de recomanació", "Wrap text": "Ajusta el text", + "Heading": "Capçalera", + "Subheading": "Subtítol", + "Merge cells": "Fusiona les cel·les", + "Split cell": "Divideix la cel·la", + "Outdent": "Redueix el sagnat", + "Indent": "Sagnat", "Placeholder": "Marcador de posició", "Bold": "Negreta", "Italic": "Cursiva", @@ -751,12 +757,6 @@ "Background color": "Color de fons", "Highlight": "Ressalta", "Code": "Codi", - "Heading": "Capçalera", - "Subheading": "Subtítol", - "Merge cells": "Fusiona les cel·les", - "Split cell": "Divideix la cel·la", - "Outdent": "Redueix el sagnat", - "Indent": "Sagnat", "Create link": "Crea un enllaç", "Comment": "Comentar", "Align left": "Alinea a l'esquerra", @@ -855,6 +855,13 @@ "No expiration": "Sense data de venciment", "The document archive is empty at the moment.": "L'arxiu de documents està buit en aquest moment", "Done editing": "Edició finalitzada", + "Only members with access can view": "Només els membres amb accés poden visualitzar-ho", + "All members in the workspace can view": "Tots els membres de l'espai de treball poden visualitzar-ho", + "Private": "Privat", + "Anyone with the link can view": "Qualsevol persona amb l'enllaç pot visualitzar-ho", + "Publicly shared": "Compartit públicament", + "{{ count }} document": "{{ count }} document", + "{{ count }} document_plural": "{{ count }} documents", "Drop documents to import": "Deixeu anar els documents a importar", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} no conté cap\n document encara.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} usuari i {{ groupsCount }} grups amb accés", @@ -1318,6 +1325,7 @@ "Synced <2>": "Sincronitzat <2>", "Date created": "Data de creació", "Crop Image": "Retalla la imatge", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "El vostre navegador no pot llegir imatges HEIC; convertiu-les primer a JPEG o PNG", "Crop image": "Retalla la imatge", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "Podeu importar un fitxer ZIP que s'ha exportat prèviament des de l'opció JSON en una altra instància. A {{ appName }}, obriu Exporta a la barra lateral de configuració i feu clic a Exporta les dades.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Arrossegueu i deixeu anar el fitxer ZIP des de l'opció d'exportació JSON a {{appName}}, o feu clic per penjar", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "un grup", "All users": "Tots els usuaris", - "Private": "Privat", "View and edit": "Visualitzar i editar", "Sharing enabled": "Compartició activada", "Date archived": "Data d'arxivat", diff --git a/shared/i18n/locales/cs_CZ/translation.json b/shared/i18n/locales/cs_CZ/translation.json index 0568bf2a9e..c7af2b44ee 100644 --- a/shared/i18n/locales/cs_CZ/translation.json +++ b/shared/i18n/locales/cs_CZ/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Varování", "Tip notice": "Tip", "Wrap text": "Zalamovat text", + "Heading": "Nadpis", + "Subheading": "Podnadpis", + "Merge cells": "Sloučit buňky", + "Split cell": "Rozdělit buňku", + "Outdent": "Zmenšit odsazení", + "Indent": "Zvětšit odsazení", "Placeholder": "Zástupný text", "Bold": "Tučné", "Italic": "Kurzíva", @@ -751,12 +757,6 @@ "Background color": "Barva pozadí", "Highlight": "Zvýraznění", "Code": "Kód", - "Heading": "Nadpis", - "Subheading": "Podnadpis", - "Merge cells": "Sloučit buňky", - "Split cell": "Rozdělit buňku", - "Outdent": "Zmenšit odsazení", - "Indent": "Zvětšit odsazení", "Create link": "Vytvořit odkaz", "Comment": "Komentář", "Align left": "Zarovnat doleva", @@ -855,6 +855,13 @@ "No expiration": "Bez vypršení platnosti", "The document archive is empty at the moment.": "Archiv dokumentů je momentálně prázdný.", "Done editing": "Dokončit úpravy", + "Only members with access can view": "Zobrazit mohou pouze členové s přístupem.", + "All members in the workspace can view": "Zobrazit mohou všichni členové pracovního prostoru.", + "Private": "Soukromé", + "Anyone with the link can view": "Kdokoli s odkazem může zobrazit.", + "Publicly shared": "Veřejně sdíleno", + "{{ count }} document": "{{ count }} dokument", + "{{ count }} document_plural": "{{ count }} dokumentů", "Drop documents to import": "Přetáhněte dokumenty k importu", "{{ collectionName }} doesn’t contain any\n documents yet.": "V kolekci {{ collectionName }} zatím nejsou žádné dokumenty.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "Počet uživatelů a skupin s přístupem: {{ usersCount }} uživatelů a {{ groupsCount }} skupin", @@ -1318,6 +1325,7 @@ "Synced <2>": "Synchronizováno <2>", "Date created": "Datum vytvoření", "Crop Image": "Oříznout obrázek", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Váš prohlížeč neumí načíst obrázky HEIC, nejprve je převeďte do formátu JPEG nebo PNG", "Crop image": "Oříznout obrázek", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "Můžete importovat ZIP soubor dříve vyexportovaný jako JSON z jiné instance. V aplikaci {{ appName }} otevřete Export v nastavení a klikněte na Exportovat data.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Přetáhněte ZIP soubor z exportu JSON aplikace {{appName}}, nebo jej nahrajte kliknutím.", @@ -1592,7 +1600,6 @@ "IP": "IP adresa", "a group": "skupinu", "All users": "Všichni uživatelé", - "Private": "Soukromé", "View and edit": "Prohlížení a úpravy", "Sharing enabled": "Sdílení povoleno", "Date archived": "Datum archivace", diff --git a/shared/i18n/locales/da_DK/translation.json b/shared/i18n/locales/da_DK/translation.json index 5d1a542404..d1c9c05b4a 100644 --- a/shared/i18n/locales/da_DK/translation.json +++ b/shared/i18n/locales/da_DK/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Advarselsmeddelelse", "Tip notice": "Tipmeddelelse", "Wrap text": "Ombryd tekst", + "Heading": "Overskrift", + "Subheading": "Underoverskrift", + "Merge cells": "Flet celler", + "Split cell": "Opdel celle", + "Outdent": "Ryk ud", + "Indent": "Indryk", "Placeholder": "Pladsholder", "Bold": "Fed", "Italic": "Kursiv", @@ -751,12 +757,6 @@ "Background color": "Baggrundsfarve", "Highlight": "Fremhæv", "Code": "Kode", - "Heading": "Overskrift", - "Subheading": "Underoverskrift", - "Merge cells": "Flet celler", - "Split cell": "Opdel celle", - "Outdent": "Ryk ud", - "Indent": "Indryk", "Create link": "Opret link", "Comment": "Kommentar", "Align left": "Venstrejustér", @@ -855,6 +855,13 @@ "No expiration": "Intet udløb", "The document archive is empty at the moment.": "Dokumentarkivet er tomt i øjeblikket.", "Done editing": "Færdig med at redigere", + "Only members with access can view": "Kun medlemmer med adgang kan se", + "All members in the workspace can view": "Alle medlemmer i arbejdsområdet kan se", + "Private": "Privat", + "Anyone with the link can view": "Alle med linket kan se", + "Publicly shared": "Delt offentligt", + "{{ count }} document": "{{ count }} document", + "{{ count }} document_plural": "{{ count }} documents", "Drop documents to import": "Slip dokumenter for at importere", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} indeholder endnu ingen\n dokumenter.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} bruger og {{ groupsCount }} grupper med adgang", @@ -1318,6 +1325,7 @@ "Synced <2>": "Synkroniseret <2>", "Date created": "Oprettelsesdato", "Crop Image": "Beskær billede", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Din browser kan ikke læse HEIC-billeder. Konvertér dem venligst først til JPEG eller PNG.", "Crop image": "Beskær billede", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "Du kan importere en zip-fil, der tidligere er eksporteret fra JSON-indstillingen i en anden instans. I {{ appName }} skal du åbne Eksport i indstillingssidepanelet og klikke på Eksportér data.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Træk og slip zip-filen fra JSON-eksportindstillingen i {{appName}}, eller klik for at uploade", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "en gruppe", "All users": "Alle brugere", - "Private": "Privat", "View and edit": "Se og redigér", "Sharing enabled": "Deling aktiveret", "Date archived": "Dato arkiveret", diff --git a/shared/i18n/locales/de_DE/translation.json b/shared/i18n/locales/de_DE/translation.json index d24f40d560..98caf0a473 100644 --- a/shared/i18n/locales/de_DE/translation.json +++ b/shared/i18n/locales/de_DE/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Warnhinweis", "Tip notice": "Tipp Hinweis", "Wrap text": "Mit Text umschließen", + "Heading": "Überschrift", + "Subheading": "Untertitel", + "Merge cells": "Zellen zusammenführen", + "Split cell": "Zelle aufteilen", + "Outdent": "Ausrückung", + "Indent": "Einrückung", "Placeholder": "Platzhalter", "Bold": "Fett", "Italic": "Kursiv", @@ -751,12 +757,6 @@ "Background color": "Hintergrundfarbe", "Highlight": "Hervorheben", "Code": "Code", - "Heading": "Überschrift", - "Subheading": "Untertitel", - "Merge cells": "Zellen zusammenführen", - "Split cell": "Zelle aufteilen", - "Outdent": "Ausrückung", - "Indent": "Einrückung", "Create link": "Link erstellen", "Comment": "Kommentieren", "Align left": "Links ausrichten", @@ -855,6 +855,13 @@ "No expiration": "Ohne Ablaufdatum", "The document archive is empty at the moment.": "Das Dokumentenarchiv ist momentan leer.", "Done editing": "Bearbeitung abschließen", + "Only members with access can view": "Nur Mitglieder mit Zugriff können es ansehen.", + "All members in the workspace can view": "Alle Mitglieder im Arbeitsbereich können es ansehen.", + "Private": "Privat", + "Anyone with the link can view": "Jeder mit dem Link kann es ansehen.", + "Publicly shared": "Öffentlich geteilt", + "{{ count }} document": "{{ count }} Dokument", + "{{ count }} document_plural": "{{ count }} Dokumente", "Drop documents to import": "Dokumente zum Importieren hier ablegen", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} enthält noch keine\n Dokumente.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} Benutzer und {{ groupsCount }} Gruppen mit Zugriff", @@ -1318,6 +1325,7 @@ "Synced <2>": "Synchronisiert <2>", "Date created": "Erstellungsdatum", "Crop Image": "Bild zuschneiden", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Ihr Browser kann HEIC-Bilder nicht lesen. Bitte konvertieren Sie sie zuerst in JPEG oder PNG.", "Crop image": "Bild zuschneiden", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "Du kannst eine ZIP-Datei importieren, die zuvor mithilfe der JSON-Export Funktion exportiert wurde. Öffne dazu in {{ appName }} Exportieren in der Seitenleiste Einstellungen und klicke auf Daten exportieren.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Drag-and-Drop die Zip-Datei von JSON-Export Funktion in {{appName}}, oder klicke auf Upload", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "eine Gruppe", "All users": "Alle Nutzer", - "Private": "Privat", "View and edit": "Anzeigen und bearbeiten", "Sharing enabled": "Freigabe aktiviert", "Date archived": "Archivierungsdatum", diff --git a/shared/i18n/locales/en_GB/translation.json b/shared/i18n/locales/en_GB/translation.json index cdae86cbcd..4dd12e789f 100644 --- a/shared/i18n/locales/en_GB/translation.json +++ b/shared/i18n/locales/en_GB/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Warning notice", "Tip notice": "Tip notice", "Wrap text": "Wrap text", + "Heading": "Heading", + "Subheading": "Subheading", + "Merge cells": "Merge cells", + "Split cell": "Split cell", + "Outdent": "Outdent", + "Indent": "Indent", "Placeholder": "Placeholder", "Bold": "Bold", "Italic": "Italic", @@ -751,12 +757,6 @@ "Background color": "Background color", "Highlight": "Highlight", "Code": "Code", - "Heading": "Heading", - "Subheading": "Subheading", - "Merge cells": "Merge cells", - "Split cell": "Split cell", - "Outdent": "Outdent", - "Indent": "Indent", "Create link": "Create link", "Comment": "Comment", "Align left": "Align left", @@ -855,6 +855,13 @@ "No expiration": "No expiration", "The document archive is empty at the moment.": "The document archive is empty at the moment.", "Done editing": "Done editing", + "Only members with access can view": "Only members with access can view", + "All members in the workspace can view": "All members in the workspace can view", + "Private": "Private", + "Anyone with the link can view": "Anyone with the link can view", + "Publicly shared": "Publicly shared", + "{{ count }} document": "{{ count }} document", + "{{ count }} document_plural": "{{ count }} documents", "Drop documents to import": "Drop documents to import", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} doesn’t contain any\n documents yet.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} user and {{ groupsCount }} groups with access", @@ -1318,6 +1325,7 @@ "Synced <2>": "Synced <2>", "Date created": "Date created", "Crop Image": "Crop Image", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Your browser cannot read HEIC images. Please convert them to JPEG or PNG first.", "Crop image": "Crop image", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "a group", "All users": "All users", - "Private": "Private", "View and edit": "View and edit", "Sharing enabled": "Sharing enabled", "Date archived": "Date archived", diff --git a/shared/i18n/locales/es_ES/translation.json b/shared/i18n/locales/es_ES/translation.json index 879d485032..b0da4f5441 100644 --- a/shared/i18n/locales/es_ES/translation.json +++ b/shared/i18n/locales/es_ES/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Aviso de advertencia", "Tip notice": "Aviso de sugerencia", "Wrap text": "Ajustar texto", + "Heading": "Encabezado", + "Subheading": "Sub-encabezado", + "Merge cells": "Combinar celdas", + "Split cell": "Dividir la celda", + "Outdent": "Reducir sangría", + "Indent": "Aumentar sangría", "Placeholder": "Marcador", "Bold": "Negrita", "Italic": "Cursiva", @@ -751,12 +757,6 @@ "Background color": "Color de fondo", "Highlight": "Resaltar", "Code": "Código", - "Heading": "Encabezado", - "Subheading": "Sub-encabezado", - "Merge cells": "Combinar celdas", - "Split cell": "Dividir la celda", - "Outdent": "Reducir sangría", - "Indent": "Aumentar sangría", "Create link": "Nuevo enlace", "Comment": "Comentar", "Align left": "Alinear a la izquierda", @@ -855,6 +855,13 @@ "No expiration": "Sin expiración", "The document archive is empty at the moment.": "El archivo está vacío en este momento.", "Done editing": "Edición finalizada", + "Only members with access can view": "Solo los miembros con acceso pueden ver", + "All members in the workspace can view": "Todos los miembros del espacio de trabajo pueden ver", + "Private": "Privado", + "Anyone with the link can view": "Cualquier persona con el enlace puede ver", + "Publicly shared": "Compartido públicamente", + "{{ count }} document": "{{ count }} document", + "{{ count }} document_plural": "{{ count }} documents", "Drop documents to import": "Arrastra los documentos para importar", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} no contiene documentos aún.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} usuario y {{ groupsCount }} grupos con acceso", @@ -1318,6 +1325,7 @@ "Synced <2>": "Sincronizado <2>", "Date created": "Fecha de creación", "Crop Image": "Recortar imagen", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Tu navegador no puede leer imágenes HEIC; conviértelas primero a JPEG o PNG.", "Crop image": "Recortar imagen", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "Puedes importar un archivo zip que se exportó previamente desde la opción JSON en otra instancia. En {{ appName }}, abre Exportar en la barra lateral de configuración y haz clic en Exportar datos.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Arrastra y suelta el archivo zip de la opción de exportación JSON de {{appName}}, o haz clic para cargarlo", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "un grupo", "All users": "Todos los usuarios", - "Private": "Privado", "View and edit": "Ver y editar", "Sharing enabled": "Habilitar compartir", "Date archived": "Fecha archivado", diff --git a/shared/i18n/locales/fa_IR/translation.json b/shared/i18n/locales/fa_IR/translation.json index 4af6f2c15a..85d917afd6 100644 --- a/shared/i18n/locales/fa_IR/translation.json +++ b/shared/i18n/locales/fa_IR/translation.json @@ -744,6 +744,12 @@ "Warning notice": "بلوک هشدار", "Tip notice": "بلوک نکته", "Wrap text": "Wrap text", + "Heading": "عنوان", + "Subheading": "زیرعنوان", + "Merge cells": "ادغام سلول‌ها", + "Split cell": "تقسیم سلول", + "Outdent": "کاهش تورفتگی", + "Indent": "افزایش تورفتگی", "Placeholder": "محل نگهدارنده", "Bold": "پررنگ", "Italic": "مورب", @@ -751,12 +757,6 @@ "Background color": "Background color", "Highlight": "هایلایت", "Code": "کد", - "Heading": "عنوان", - "Subheading": "زیرعنوان", - "Merge cells": "ادغام سلول‌ها", - "Split cell": "تقسیم سلول", - "Outdent": "کاهش تورفتگی", - "Indent": "افزایش تورفتگی", "Create link": "ایجاد لینک", "Comment": "نظر", "Align left": "چپ‌چین", @@ -855,6 +855,13 @@ "No expiration": "بدون انقضا", "The document archive is empty at the moment.": "آرشیو اسناد در حال حاضر خالی است.", "Done editing": "اتمام ویرایش", + "Only members with access can view": "فقط اعضای دارای دسترسی می‌توانند مشاهده کنند.", + "All members in the workspace can view": "همه اعضای فضای کاری می‌توانند مشاهده کنند.", + "Private": "خصوصی", + "Anyone with the link can view": "هر کسی که پیوند را دارد می‌تواند مشاهده کند.", + "Publicly shared": "به‌صورت عمومی به اشتراک گذاشته شده", + "{{ count }} document": "{{ count }} سند", + "{{ count }} document_plural": "{{ count }} سند", "Drop documents to import": "اسناد را بکشید تا وارد شوند", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} هنوز هیچ سندی ندارد.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} کاربر و {{ groupsCount }} گروه دارای دسترسی هستند", @@ -1318,6 +1325,7 @@ "Synced <2>": "Synced <2>", "Date created": "تاریخ ایجاد", "Crop Image": "برش تصویر", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "مرورگر شما نمی‌تواند تصاویر HEIC را بخواند؛ لطفاً ابتدا آن‌ها را به JPEG یا PNG تبدیل کنید.", "Crop image": "برش تصویر", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "شما می‌توانید یک فایل zip را که قبلاً از گزینه JSON در یک نمونه دیگر خروجی شده است وارد کنید. در {{ appName }}, Export را در نوار کناری تنظیمات باز کنید و روی Export Data کلیک کنید.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "فایل zip را از گزینه خروجی ها JSON در {{appName}} بکشید و رها کنید یا برای بارگذاری کلیک کنید", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "یک گروه", "All users": "تمام کاربران", - "Private": "خصوصی", "View and edit": "مشاهده و ویرایش", "Sharing enabled": "اشتراک گذاری فعال است", "Date archived": "تاریخ بایگانی شده", diff --git a/shared/i18n/locales/fr_FR/translation.json b/shared/i18n/locales/fr_FR/translation.json index 0f8e591fa6..53157a9c75 100644 --- a/shared/i18n/locales/fr_FR/translation.json +++ b/shared/i18n/locales/fr_FR/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Avertissement", "Tip notice": "Astuce", "Wrap text": "Retour à la ligne", + "Heading": "Titre", + "Subheading": "Sous-titre", + "Merge cells": "Fusionner les cellules", + "Split cell": "Diviser la cellule", + "Outdent": "Désindenter", + "Indent": "Indenter", "Placeholder": "Indication", "Bold": "Gras", "Italic": "Italique", @@ -751,12 +757,6 @@ "Background color": "Couleur d'arrière-plan", "Highlight": "Surligné", "Code": "Code", - "Heading": "Titre", - "Subheading": "Sous-titre", - "Merge cells": "Fusionner les cellules", - "Split cell": "Diviser la cellule", - "Outdent": "Désindenter", - "Indent": "Indenter", "Create link": "Créer un lien", "Comment": "Commenter", "Align left": "Aligner à gauche", @@ -855,6 +855,13 @@ "No expiration": "Pas d'expiration", "The document archive is empty at the moment.": "Les archives sont vides pour le moment.", "Done editing": "Édition terminée", + "Only members with access can view": "Seuls les membres disposant d’un accès peuvent consulter", + "All members in the workspace can view": "Tous les membres de l’espace de travail peuvent consulter", + "Private": "Privé", + "Anyone with the link can view": "Toute personne disposant du lien peut consulter", + "Publicly shared": "Partagé publiquement", + "{{ count }} document": "{{ count }} document", + "{{ count }} document_plural": "{{ count }} documents", "Drop documents to import": "Déposer les documents à importer", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} ne contient aucun document.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} utilisateur et {{ groupsCount }} groupes ont accès", @@ -1318,6 +1325,7 @@ "Synced <2>": "Synchronisé <2>", "Date created": "Créé le", "Crop Image": "Rogner l'image", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Votre navigateur ne peut pas lire les images HEIC, veuillez d’abord les convertir en JPEG ou PNG", "Crop image": "Rogner l’image", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "Vous pouvez importer un fichier zip provenant de l'export JSON d'une autre installation Outline. Dans {{ appName }}, ouvrez Exporter dans les paramètres et cliquez sur Exporter les données.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Glissez et déposez le fichier zip provenant d'un export JSON de {{appName}}, ou cliquez pour le téléverser", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "un groupe", "All users": "Tous les utilisateurs", - "Private": "Privé", "View and edit": "Voir et éditer", "Sharing enabled": "Partage activé", "Date archived": "Date d'archivage", diff --git a/shared/i18n/locales/he_IL/translation.json b/shared/i18n/locales/he_IL/translation.json index b1713d2c0a..9ad545de19 100644 --- a/shared/i18n/locales/he_IL/translation.json +++ b/shared/i18n/locales/he_IL/translation.json @@ -744,6 +744,12 @@ "Warning notice": "הערת אזהרה", "Tip notice": "הודעת טיפ", "Wrap text": "גלישת טקסט", + "Heading": "כּוֹתֶרֶת", + "Subheading": "כּוֹתֶרֶת מִשְׁנֶה", + "Merge cells": "מיזוג תאים", + "Split cell": "פיצול תא", + "Outdent": "Outdent", + "Indent": "לְשַׁנֵן", "Placeholder": "מציין מקום", "Bold": "נוֹעָז", "Italic": "נטוי", @@ -751,12 +757,6 @@ "Background color": "צבע רקע", "Highlight": "שִׂיא", "Code": "קוד", - "Heading": "כּוֹתֶרֶת", - "Subheading": "כּוֹתֶרֶת מִשְׁנֶה", - "Merge cells": "מיזוג תאים", - "Split cell": "פיצול תא", - "Outdent": "Outdent", - "Indent": "לְשַׁנֵן", "Create link": "צור קישור", "Comment": "הֶעָרָה", "Align left": "יישר שמאלה", @@ -855,6 +855,13 @@ "No expiration": "אין תפוגה", "The document archive is empty at the moment.": "ארכיון המסמכים ריק כרגע.", "Done editing": "סיים לערוך", + "Only members with access can view": "רק חברים בעלי גישה יכולים לצפות", + "All members in the workspace can view": "כל החברים בסביבת העבודה יכולים לצפות", + "Private": "פְּרָטִי", + "Anyone with the link can view": "כל מי שיש לו את הקישור יכול לצפות", + "Publicly shared": "שותף באופן ציבורי", + "{{ count }} document": "{{ count }} מסמך", + "{{ count }} document_plural": "{{ count }} מסמכים", "Drop documents to import": "שחרר מסמכים לייבוא", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} אינו מכיל\n מסמכים עדיין.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} משתמשים וקבוצות {{ groupsCount }} עם גישה", @@ -1318,6 +1325,7 @@ "Synced <2>": "מסונכרן <2>", "Date created": "תאריך יצירה", "Crop Image": "חתוך תמונה", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "הדפדפן שלך אינו יכול לקרוא תמונות HEIC, נא להמיר אותן תחילה ל-JPEG או PNG", "Crop image": "חתוך תמונה", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "אתה יכול לייבא קובץ zip שיוצא בעבר מאפשרות JSON במופע אחר. ב-{{ appName }}, פתח את יצוא בסרגל הצד של ההגדרות ולחץ על ייצא נתונים.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "גרור ושחרר את קובץ ה-zip מאפשרות הייצוא של JSON ב-{{appName}}, או לחץ כדי להעלות", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "קבוצה", "All users": "כל המשתמשים", - "Private": "פְּרָטִי", "View and edit": "הצג וערוך", "Sharing enabled": "השיתוף מופעל", "Date archived": "תאריך הועבר לארכיון", diff --git a/shared/i18n/locales/hu_HU/translation.json b/shared/i18n/locales/hu_HU/translation.json index a2f20ca0ab..6f71c7bc2e 100644 --- a/shared/i18n/locales/hu_HU/translation.json +++ b/shared/i18n/locales/hu_HU/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Figyelmeztető értesítés", "Tip notice": "Tipp értesítés", "Wrap text": "Wrap text", + "Heading": "Címsor", + "Subheading": "Alcímsor", + "Merge cells": "Merge cells", + "Split cell": "Split cell", + "Outdent": "Behúzás csökkentése", + "Indent": "Behúzás növelése", "Placeholder": "Helykitöltő", "Bold": "Félkövér", "Italic": "Dőlt", @@ -751,12 +757,6 @@ "Background color": "Background color", "Highlight": "Kiemelés", "Code": "Kód", - "Heading": "Címsor", - "Subheading": "Alcímsor", - "Merge cells": "Merge cells", - "Split cell": "Split cell", - "Outdent": "Behúzás csökkentése", - "Indent": "Behúzás növelése", "Create link": "Hivatkozás létrehozása", "Comment": "Hozzászólás", "Align left": "Balra igazítás", @@ -855,6 +855,13 @@ "No expiration": "Nincs lejárat", "The document archive is empty at the moment.": "A dokumentum archívum jelenleg üres.", "Done editing": "Változtatások mentése", + "Only members with access can view": "Csak hozzáféréssel rendelkező tagok tekinthetik meg", + "All members in the workspace can view": "A munkaterület minden tagja megtekintheti", + "Private": "Privát", + "Anyone with the link can view": "A hivatkozással bárki megtekintheti", + "Publicly shared": "Nyilvánosan megosztva", + "{{ count }} document": "{{ count }} dokumentum", + "{{ count }} document_plural": "{{ count }} dokumentum", "Drop documents to import": "Engedje el itt a dokumentumot az importáláshoz", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} nem tartalmaz egyetlen\n dokumentumot sem.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} felhasználó és {{ groupsCount }} csoport rendelkezik hozzáféréssel", @@ -1318,6 +1325,7 @@ "Synced <2>": "Synced <2>", "Date created": "Létrehozás dátuma", "Crop Image": "Crop Image", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "A böngészője nem tudja beolvasni a HEIC-képeket, először alakítsa át őket JPEG- vagy PNG-formátumba.", "Crop image": "Crop image", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "a group", "All users": "All users", - "Private": "Privát", "View and edit": "Megtekintés és szerkesztés", "Sharing enabled": "Sharing enabled", "Date archived": "Date archived", diff --git a/shared/i18n/locales/id_ID/translation.json b/shared/i18n/locales/id_ID/translation.json index 928a1f4fcf..6d0961d1a7 100644 --- a/shared/i18n/locales/id_ID/translation.json +++ b/shared/i18n/locales/id_ID/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Pemberitahuan peringatan", "Tip notice": "Pemberitahuan tip", "Wrap text": "Wrap text", + "Heading": "Judul", + "Subheading": "Subjudul", + "Merge cells": "Merge cells", + "Split cell": "Split cell", + "Outdent": "Outdent", + "Indent": "Indentasi", "Placeholder": "Placeholder", "Bold": "Tebal", "Italic": "Miring", @@ -751,12 +757,6 @@ "Background color": "Background color", "Highlight": "Sorot", "Code": "Kode", - "Heading": "Judul", - "Subheading": "Subjudul", - "Merge cells": "Merge cells", - "Split cell": "Split cell", - "Outdent": "Outdent", - "Indent": "Indentasi", "Create link": "Buat tautan", "Comment": "Komentari", "Align left": "Rata kiri", @@ -855,6 +855,13 @@ "No expiration": "No expiration", "The document archive is empty at the moment.": "Arsip dokumen kosong saat ini.", "Done editing": "Selesai menyunting", + "Only members with access can view": "Hanya anggota dengan akses yang dapat melihat", + "All members in the workspace can view": "Semua anggota di ruang kerja dapat melihat", + "Private": "Privat", + "Anyone with the link can view": "Siapa pun yang memiliki tautan dapat melihat", + "Publicly shared": "Dibagikan secara publik", + "{{ count }} document": "{{ count }} dokumen", + "{{ count }} document_plural": "{{ count }} dokumen", "Drop documents to import": "Dokumen untuk diimpor dengan drop", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} belum berisi\n dokumen.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} pengguna dan {{ groupsCount }} grup dengan akses", @@ -1318,6 +1325,7 @@ "Synced <2>": "Synced <2>", "Date created": "Date created", "Crop Image": "Crop Image", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Browser Anda tidak dapat membaca gambar HEIC, harap ubah terlebih dahulu ke JPEG atau PNG", "Crop image": "Crop image", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "Anda dapat mengimpor file zip yang sebelumnya diekspor dari opsi JSON di contoh lain. Di {{ appName }}, buka Ekspor di sidebar Pengaturan dan klik Ekspor Data.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Drag and drop file zip dari opsi ekspor JSON di {{appName}}, atau klik untuk mengunggah", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "a group", "All users": "All users", - "Private": "Privat", "View and edit": "Lihat dan sunting", "Sharing enabled": "Sharing enabled", "Date archived": "Date archived", diff --git a/shared/i18n/locales/it_IT/translation.json b/shared/i18n/locales/it_IT/translation.json index d22332813b..40fdb063de 100644 --- a/shared/i18n/locales/it_IT/translation.json +++ b/shared/i18n/locales/it_IT/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Nota di avviso", "Tip notice": "Nota di suggerimento", "Wrap text": "Testo a capo", + "Heading": "Titolo", + "Subheading": "Sottotitolo", + "Merge cells": "Unisci celle", + "Split cell": "Dividi cella", + "Outdent": "Riduci rientro", + "Indent": "Rientro", "Placeholder": "Segnaposto", "Bold": "Grassetto", "Italic": "Corsivo", @@ -751,12 +757,6 @@ "Background color": "Colore di sfondo", "Highlight": "In evidenza", "Code": "Codice", - "Heading": "Titolo", - "Subheading": "Sottotitolo", - "Merge cells": "Unisci celle", - "Split cell": "Dividi cella", - "Outdent": "Riduci rientro", - "Indent": "Rientro", "Create link": "Crea collegamento", "Comment": "Commenta", "Align left": "Allinea a sinistra", @@ -855,6 +855,13 @@ "No expiration": "Nessuna scadenza", "The document archive is empty at the moment.": "L'archivio documenti è vuoto al momento.", "Done editing": "Modifica Completata", + "Only members with access can view": "Solo i membri autorizzati possono visualizzare il contenuto.", + "All members in the workspace can view": "Tutti i membri dello spazio di lavoro possono visualizzare", + "Private": "Privato", + "Anyone with the link can view": "Chiunque abbia il link può visualizzare", + "Publicly shared": "Condiviso pubblicamente", + "{{ count }} document": "{{ count }} documento", + "{{ count }} document_plural": "{{ count }} documenti", "Drop documents to import": "Trascina qui i documenti oppure", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} non contiene ancora\n documenti.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} utente e {{ groupsCount }} gruppi con accesso", @@ -1318,6 +1325,7 @@ "Synced <2>": "Sincronizzato <2>", "Date created": "Data creazione", "Crop Image": "Ritaglia immagine", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Il tuo browser non è in grado di leggere le immagini HEIC. Convertile prima in JPEG o PNG.", "Crop image": "Ritaglia immagine", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "È possibile importare un file zip precedentemente esportato con l'opzione JSON in un'altra istanza. Su {{ appName }} apri Esporta nella barra laterale delle impostazioni e fai clic su Esporta dati.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Trascina e rilascia il file zip dall'export JSON in {{appName}} o fai clic per caricarlo", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "un gruppo", "All users": "Tutti gli utenti", - "Private": "Privato", "View and edit": "Visualizza e modifica", "Sharing enabled": "Condivisione abilitata", "Date archived": "Data di archiviazione", diff --git a/shared/i18n/locales/ja_JP/translation.json b/shared/i18n/locales/ja_JP/translation.json index 176034abd2..69bcb61e06 100644 --- a/shared/i18n/locales/ja_JP/translation.json +++ b/shared/i18n/locales/ja_JP/translation.json @@ -744,6 +744,12 @@ "Warning notice": "アラート - WARNING", "Tip notice": "アラート - TIP", "Wrap text": "テキストを折り返す", + "Heading": "見出し", + "Subheading": "小見出し", + "Merge cells": "セルを結合", + "Split cell": "セルを分割", + "Outdent": "インデント解除", + "Indent": "インデント", "Placeholder": "プレースホルダー", "Bold": "太字", "Italic": "斜体", @@ -751,12 +757,6 @@ "Background color": "背景色", "Highlight": "ハイライト", "Code": "コード", - "Heading": "見出し", - "Subheading": "小見出し", - "Merge cells": "セルを結合", - "Split cell": "セルを分割", - "Outdent": "インデント解除", - "Indent": "インデント", "Create link": "リンクを作成", "Comment": "コメント", "Align left": "左揃え", @@ -855,6 +855,13 @@ "No expiration": "無期限", "The document archive is empty at the moment.": "アーカイブにはなにもありません。", "Done editing": "編集完了", + "Only members with access can view": "アクセス権を持つメンバーのみが閲覧できます", + "All members in the workspace can view": "ワークスペース内のすべてのメンバーが閲覧できます", + "Private": "非公開", + "Anyone with the link can view": "リンクを知っている全員が閲覧できます", + "Publicly shared": "公開共有済み", + "{{ count }} document": "{{ count }} 件のドキュメント", + "{{ count }} document_plural": "{{ count }} 件のドキュメント", "Drop documents to import": "インポートするドキュメントをドロップ", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} にはまだ\n ドキュメントがありません。", "{{ usersCount }} users and {{ groupsCount }} groups with access": "アクセス権を持つ {{ usersCount }} 人のユーザーと {{ groupsCount }} 個のグループ", @@ -1318,6 +1325,7 @@ "Synced <2>": "同期済み <2>", "Date created": "作成日時", "Crop Image": "画像をトリミング", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "お使いのブラウザではHEIC画像を読み込めません。先にJPEGまたはPNGに変換してください。", "Crop image": "画像を切り取る", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "以前にエクスポートした zip ファイルをインポートできます。 {{ appName }} で、サイドバーの エクスポート画面 を開き、 データのエクスポート をクリックします。", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "{{appName}} の JSON エクスポートオプションから zip ファイルをドラッグ&ドロップするか、クリックしてアップロードします", @@ -1592,7 +1600,6 @@ "IP": "IPアドレス", "a group": "グループ", "All users": "すべてのユーザー", - "Private": "非公開", "View and edit": "表示・編集", "Sharing enabled": "共有の有効化", "Date archived": "アーカイブ日", diff --git a/shared/i18n/locales/ko_KR/translation.json b/shared/i18n/locales/ko_KR/translation.json index 776ab9324f..e3d9f0f87c 100644 --- a/shared/i18n/locales/ko_KR/translation.json +++ b/shared/i18n/locales/ko_KR/translation.json @@ -744,6 +744,12 @@ "Warning notice": "주의 공지", "Tip notice": "팁 공지", "Wrap text": "텍스트 줄바꿈", + "Heading": "제목", + "Subheading": "부제목", + "Merge cells": "셀 병합", + "Split cell": "셀 나누기", + "Outdent": "내어쓰기", + "Indent": "들여쓰기", "Placeholder": "플레이스홀더", "Bold": "굵게", "Italic": "이탤릭체", @@ -751,12 +757,6 @@ "Background color": "배경색", "Highlight": "강조", "Code": "코드", - "Heading": "제목", - "Subheading": "부제목", - "Merge cells": "셀 병합", - "Split cell": "셀 나누기", - "Outdent": "내어쓰기", - "Indent": "들여쓰기", "Create link": "링크 생성", "Comment": "댓글", "Align left": "왼쪽 정렬", @@ -855,6 +855,13 @@ "No expiration": "만료 없음", "The document archive is empty at the moment.": "현재 보관 문서함이 비어 있습니다.", "Done editing": "수정 완료", + "Only members with access can view": "액세스 권한이 있는 멤버만 볼 수 있습니다.", + "All members in the workspace can view": "워크스페이스의 모든 멤버가 볼 수 있습니다.", + "Private": "비공개", + "Anyone with the link can view": "링크가 있는 모든 사용자가 볼 수 있습니다.", + "Publicly shared": "공개 공유됨", + "{{ count }} document": "문서 {{ count }}개", + "{{ count }} document_plural": "문서 {{ count }}개", "Drop documents to import": "가져올 문서 내려놓기", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} 컬렉션에 문서가 없습니다.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "액세스 권한이 있는 사용자 {{ usersCount }} 명 및 그룹 {{ groupsCount }} 개", @@ -1318,6 +1325,7 @@ "Synced <2>": "동기화됨<2>", "Date created": "생성 일자", "Crop Image": "이미지 자르기", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "브라우저에서 HEIC 이미지를 읽을 수 없습니다. 먼저 JPEG 또는 PNG로 변환해 주세요.", "Crop image": "이미지 자르기", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "다른 인스턴스의 JSON 옵션에서 이전에 내보낸 압축 파일을 가져올 수 있습니다. {{ appName }} 에서 설정 사이드바에서 내보내기를 열고 데이터 내보내기클릭합니다.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "{{appName}}의 JSON 내보내기 옵션에서 zip 파일을 드래그 앤 드롭하거나 클릭하여 업로드", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "그룹", "All users": "전체 사용자", - "Private": "비공개", "View and edit": "보기 및 편집", "Sharing enabled": "공유 활성화됨", "Date archived": "보관 날짜", diff --git a/shared/i18n/locales/nb_NO/translation.json b/shared/i18n/locales/nb_NO/translation.json index e1f3269206..1da025e5f0 100644 --- a/shared/i18n/locales/nb_NO/translation.json +++ b/shared/i18n/locales/nb_NO/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Advarselvarsel", "Tip notice": "Tipsvarsel", "Wrap text": "Wrap text", + "Heading": "Overskrift", + "Subheading": "Underoverskrift", + "Merge cells": "Slå sammen celler", + "Split cell": "Del celle", + "Outdent": "Utrykk", + "Indent": "Innrykk", "Placeholder": "Plassholder", "Bold": "Fet", "Italic": "Kursiv", @@ -751,12 +757,6 @@ "Background color": "Background color", "Highlight": "Uthev", "Code": "Kode", - "Heading": "Overskrift", - "Subheading": "Underoverskrift", - "Merge cells": "Slå sammen celler", - "Split cell": "Del celle", - "Outdent": "Utrykk", - "Indent": "Innrykk", "Create link": "Opprett lenke", "Comment": "Kommentar", "Align left": "Venstrejuster", @@ -855,6 +855,13 @@ "No expiration": "Ingen utløpsdato", "The document archive is empty at the moment.": "Dokumentarkivet er tomt for øyeblikket.", "Done editing": "Ferdig med redigering", + "Only members with access can view": "Bare medlemmer med tilgang kan se", + "All members in the workspace can view": "Alle medlemmer i arbeidsområdet kan se", + "Private": "Privat", + "Anyone with the link can view": "Alle med lenken kan se", + "Publicly shared": "Delt offentlig", + "{{ count }} document": "{{ count }} dokument", + "{{ count }} document_plural": "{{ count }} dokumenter", "Drop documents to import": "Slipp dokumenter for å importere", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} inneholder ingen\n dokumenter ennå.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} brukere og {{ groupsCount }} grupper med tilgang", @@ -1318,6 +1325,7 @@ "Synced <2>": "Synced <2>", "Date created": "Dato opprettet", "Crop Image": "Beskjær bilde", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Nettleseren din kan ikke lese HEIC-bilder. Konverter dem til JPEG eller PNG først.", "Crop image": "Beskjær bilde", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "Du kan importere en zip-fil som tidligere ble eksportert fra JSON-alternativet i en annen instans. I {{ appName }}, åpne Eksport i innstillingssidestolpen og klikk på Eksporter Data.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Dra og slipp zip-filen fra JSON-eksportalternativet i {{appName}}, eller klikk for å laste opp", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "a group", "All users": "All users", - "Private": "Privat", "View and edit": "Vis og rediger", "Sharing enabled": "Sharing enabled", "Date archived": "Date archived", diff --git a/shared/i18n/locales/nl_NL/translation.json b/shared/i18n/locales/nl_NL/translation.json index 9014076b4a..3e5254997e 100644 --- a/shared/i18n/locales/nl_NL/translation.json +++ b/shared/i18n/locales/nl_NL/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Waarschuwing opmerking", "Tip notice": "Tip opmerking", "Wrap text": "Tekst-terugloop", + "Heading": "Kop", + "Subheading": "Subtitel", + "Merge cells": "Cellen samenvoegen", + "Split cell": "Cel splitsen", + "Outdent": "Uitspringen", + "Indent": "Inspringen", "Placeholder": "Tijdelijke aanduiding", "Bold": "Dikgedrukt", "Italic": "Cursief", @@ -751,12 +757,6 @@ "Background color": "Achtergrondkleur", "Highlight": "Markeer", "Code": "Code", - "Heading": "Kop", - "Subheading": "Subtitel", - "Merge cells": "Cellen samenvoegen", - "Split cell": "Cel splitsen", - "Outdent": "Uitspringen", - "Indent": "Inspringen", "Create link": "Link maken", "Comment": "Reageer", "Align left": "Links uitlijnen", @@ -855,6 +855,13 @@ "No expiration": "Geen vervaldatum", "The document archive is empty at the moment.": "Het documentenarchief is momenteel leeg.", "Done editing": "Klaar met bewerken", + "Only members with access can view": "Alleen leden met toegang kunnen dit bekijken.", + "All members in the workspace can view": "Alle leden in de werkruimte kunnen dit bekijken.", + "Private": "Privé", + "Anyone with the link can view": "Iedereen met de link kan dit bekijken.", + "Publicly shared": "Openbaar gedeeld", + "{{ count }} document": "{{ count }} document", + "{{ count }} document_plural": "{{ count }} documenten", "Drop documents to import": "Sleep documenten hier naartoe om ze te importeren", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} bevat nog geen documenten.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} gebruikers en {{ groupsCount }} groepen met toegang", @@ -1318,6 +1325,7 @@ "Synced <2>": "Gesynchroniseerd <2>", "Date created": "Aanmaakdatum", "Crop Image": "Afbeelding bijsnijden", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Uw browser kan HEIC-afbeeldingen niet lezen. Converteer deze eerst naar JPEG of PNG.", "Crop image": "Afbeelding bijsnijden", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "Je kunt een zipbestand importeren dat eerder is geëxporteerd vanuit de JSON-optie in een andere instantie. In {{ appName }}, open Exporteren in de zijbalk in Voorkeuren en klik op Exporteer gegevens.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Sleep het zip-bestand vanuit de JSON exportoptie in {{appName}}, of klik om te uploaden", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "een groep", "All users": "Alle gebruikers", - "Private": "Privé", "View and edit": "Weergeven en bewerken", "Sharing enabled": "Delen ingeschakeld", "Date archived": "Datum gearchiveerd", diff --git a/shared/i18n/locales/pl_PL/translation.json b/shared/i18n/locales/pl_PL/translation.json index ce80cef2a9..6cc73713cb 100644 --- a/shared/i18n/locales/pl_PL/translation.json +++ b/shared/i18n/locales/pl_PL/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Zawiadomienie ostrzegawcze", "Tip notice": "Zawiadomienie z poradą", "Wrap text": "Wrap text", + "Heading": "Nagłówek", + "Subheading": "Podtytuł", + "Merge cells": "Scal komórki", + "Split cell": "Podziel komórkę", + "Outdent": "Zmniejsz wcięcie", + "Indent": "Wcięcie", "Placeholder": "Symbol zastępczy", "Bold": "Pogrubienie", "Italic": "Kursywa", @@ -751,12 +757,6 @@ "Background color": "Background color", "Highlight": "Wyróżnienie", "Code": "Kod", - "Heading": "Nagłówek", - "Subheading": "Podtytuł", - "Merge cells": "Scal komórki", - "Split cell": "Podziel komórkę", - "Outdent": "Zmniejsz wcięcie", - "Indent": "Wcięcie", "Create link": "Utwórz link", "Comment": "Komentarz", "Align left": "Wyrównanie do lewej", @@ -855,6 +855,13 @@ "No expiration": "Bez daty wygaśnięcia", "The document archive is empty at the moment.": "Archiwum dokumentów jest obecnie puste.", "Done editing": "Zakończ edycję", + "Only members with access can view": "Tylko członkowie z dostępem mogą wyświetlać.", + "All members in the workspace can view": "Wszyscy członkowie obszaru roboczego mogą wyświetlać.", + "Private": "Prywatne", + "Anyone with the link can view": "Każdy, kto ma link, może wyświetlać.", + "Publicly shared": "Udostępnione publicznie", + "{{ count }} document": "{{ count }} dokument", + "{{ count }} document_plural": "{{ count }} dokumentów", "Drop documents to import": "Upuść dokumenty do zaimportowania", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} nie zawiera jeszcze żadnych dokumentów.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} użytkownik i {{ groupsCount }} grupy z dostępem", @@ -1318,6 +1325,7 @@ "Synced <2>": "Synced <2>", "Date created": "Data utworzenia", "Crop Image": "Przytnij obraz", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Twoja przeglądarka nie może odczytać obrazów HEIC. Najpierw przekonwertuj je do formatu JPEG lub PNG.", "Crop image": "Przytnij obraz", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "Możesz zaimportować plik zip, który został wcześniej wyeksportowany z opcji JSON w innej instancji. W {{ appName }} otwórz Eksport w pasku bocznym Ustawień i kliknij Eksportuj dane.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Przeciągnij i upuść plik zip z opcji eksportu JSON w {{appName}} lub kliknij, aby wybrać plik do przesłania", @@ -1592,7 +1600,6 @@ "IP": "Adres IP", "a group": "grupa", "All users": "Wszyscy użytkownicy", - "Private": "Prywatne", "View and edit": "Podgląd i edycja", "Sharing enabled": "Udostępnianie włączone", "Date archived": "Data archiwizacji", diff --git a/shared/i18n/locales/pt_BR/translation.json b/shared/i18n/locales/pt_BR/translation.json index f3b700eff2..0f6a3a1d06 100644 --- a/shared/i18n/locales/pt_BR/translation.json +++ b/shared/i18n/locales/pt_BR/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Aviso de atenção", "Tip notice": "Aviso de dica", "Wrap text": "Wrap text", + "Heading": "Cabeçalho", + "Subheading": "Subtítulo", + "Merge cells": "Mesclar células", + "Split cell": "Dividir célula", + "Outdent": "Remover indentação", + "Indent": "Indentar", "Placeholder": "Placeholder", "Bold": "Negrito", "Italic": "Itálico", @@ -751,12 +757,6 @@ "Background color": "Cor de fundo", "Highlight": "Destaque", "Code": "Código", - "Heading": "Cabeçalho", - "Subheading": "Subtítulo", - "Merge cells": "Mesclar células", - "Split cell": "Dividir célula", - "Outdent": "Remover indentação", - "Indent": "Indentar", "Create link": "Criar atalho", "Comment": "Comentar", "Align left": "Alinhar à esquerda", @@ -855,6 +855,13 @@ "No expiration": "Sem expiração", "The document archive is empty at the moment.": "O arquivo de documento está vazio no momento.", "Done editing": "Edição concluída", + "Only members with access can view": "Somente membros com acesso podem visualizar", + "All members in the workspace can view": "Todos os membros no espaço de trabalho podem visualizar", + "Private": "Privado", + "Anyone with the link can view": "Qualquer pessoa com o link pode visualizar", + "Publicly shared": "Compartilhado publicamente", + "{{ count }} document": "{{ count }} document", + "{{ count }} document_plural": "{{ count }} documents", "Drop documents to import": "Solte documentos para importar", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} não contém nenhum\n documento ainda.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} usuário e {{ groupsCount }} grupos com acesso", @@ -1318,6 +1325,7 @@ "Synced <2>": "Synced <2>", "Date created": "Data de criação", "Crop Image": "Cortar Imagem", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Seu navegador não consegue ler imagens HEIC. Converta-as para JPEG ou PNG primeiro.", "Crop image": "Cortar imagem", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "Você pode importar um arquivo zip que foi exportado anteriormente da opção JSON em outra instância. Em {{ appName }}, abra Exportar na barra lateral de Configurações e clique em Exportar Dados.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Arraste e solte o arquivo zip da opção de exportação JSON em {{appName}}, ou clique para realizar o upload", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "a group", "All users": "All users", - "Private": "Privado", "View and edit": "Ver e editar", "Sharing enabled": "Sharing enabled", "Date archived": "Date archived", diff --git a/shared/i18n/locales/pt_PT/translation.json b/shared/i18n/locales/pt_PT/translation.json index 3e2a8f1c49..cc671f4407 100644 --- a/shared/i18n/locales/pt_PT/translation.json +++ b/shared/i18n/locales/pt_PT/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Aviso de alerta", "Tip notice": "Aviso de dica", "Wrap text": "Wrap text", + "Heading": "Cabeçalho", + "Subheading": "Subtítulo", + "Merge cells": "Merge cells", + "Split cell": "Split cell", + "Outdent": "Recuar", + "Indent": "Indentar", "Placeholder": "Espaço em branco", "Bold": "Negrito", "Italic": "Itálico", @@ -751,12 +757,6 @@ "Background color": "Background color", "Highlight": "Destaque", "Code": "Código", - "Heading": "Cabeçalho", - "Subheading": "Subtítulo", - "Merge cells": "Merge cells", - "Split cell": "Split cell", - "Outdent": "Recuar", - "Indent": "Indentar", "Create link": "Criar link", "Comment": "Comentar", "Align left": "Alinhar à esquerda", @@ -855,6 +855,13 @@ "No expiration": "Sem expiração", "The document archive is empty at the moment.": "O arquivo do documento está vazio neste momento.", "Done editing": "Edição concluída", + "Only members with access can view": "Apenas membros com acesso podem visualizar", + "All members in the workspace can view": "Todos os membros no espaço de trabalho podem visualizar", + "Private": "Privado", + "Anyone with the link can view": "Qualquer pessoa com o link pode visualizar", + "Publicly shared": "Compartilhado publicamente", + "{{ count }} document": "{{ count }} document", + "{{ count }} document_plural": "{{ count }} documents", "Drop documents to import": "Arraste documentos para importar", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} não contém\n documentos ainda.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} utilizador e {{ groupsCount }} grupos com acesso", @@ -1318,6 +1325,7 @@ "Synced <2>": "Synced <2>", "Date created": "Date created", "Crop Image": "Crop Image", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Seu navegador não consegue ler imagens HEIC. Converta-as para JPEG ou PNG primeiro.", "Crop image": "Crop image", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "Pode importar um ficheiro ZIP que foi exportado anteriormente a partir da opção JSON de outra instância. Em {{ appName }}, abra Exportar na barra lateral de Configurações e clique em Exportar Dados.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Arraste e solte o ficheiro ZIP da opção de exportação JSON em {{appName}}ou clique para carregar", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "a group", "All users": "All users", - "Private": "Privado", "View and edit": "View and edit", "Sharing enabled": "Sharing enabled", "Date archived": "Date archived", diff --git a/shared/i18n/locales/sv_SE/translation.json b/shared/i18n/locales/sv_SE/translation.json index 9f7b70c9c6..f89d644a9f 100644 --- a/shared/i18n/locales/sv_SE/translation.json +++ b/shared/i18n/locales/sv_SE/translation.json @@ -400,9 +400,9 @@ "Choose a name": "Choose a name", "name can only contain lowercase letters, numbers, and underscores.": "name can only contain lowercase letters, numbers, and underscores.", "This emoji will be available as": "This emoji will be available as", - "Emoji deleted": "Emoji deleted", + "Emoji deleted": "Emoji raderad", "Are you sure you want to delete the {{emojiName}} emoji? You will no longer be able to use it in your documents or collections.": "Är du säker på att du vill ta bort {{emojiName}}-emojin? Du kommer inte längre att kunna använda den i dina dokument eller samlingar.", - "Emoji replaced": "Emoji replaced", + "Emoji replaced": "Emoji ersatt", "Upload a new image to replace the current one for {{emojiName}}. All existing uses of this emoji will be updated automatically.": "Upload a new image to replace the current one for {{emojiName}}. All existing uses of this emoji will be updated automatically.", "Module failed to load": "Modulen kunde inte laddas", "Loading Failed": "Laddning misslyckades", @@ -430,8 +430,8 @@ "{{ count }} members_plural": "{{ count }} members", "{{authorName}} created <3>": "{{authorName}} öppnade <3>", "Lead": "Lead", - "Target date": "Target date", - "Labels": "Labels", + "Target date": "Måldatum", + "Labels": "Etiketter", "{{authorName}} opened <3>": "{{authorName}} öppnade <3>", "Search emoji": "Sök efter emoji", "Search icons": "Sök efter ikon", @@ -463,7 +463,7 @@ "Can edit": "Kan redigera", "No access": "Ingen access", "Permission": "Behörighet", - "or": "or", + "or": "eller", "plus": "plus", "then": "then", "Change Language": "Byt språk", @@ -471,8 +471,8 @@ "Unable to download image": "Unable to download image", "Lightbox": "Lightbox", "View, navigate, or download images in the document": "View, navigate, or download images in the document", - "Zoom in": "Zoom in", - "Zoom out": "Zoom out", + "Zoom in": "Zooma in", + "Zoom out": "Zooma ut", "Download": "Ladda ned", "Edit diagram": "Edit diagram", "Close": "Stäng", @@ -488,26 +488,26 @@ "{{ count }} selected_plural": "{{ count }} markerade", "Clear selection": "Rensa markering", "Can view the document": "Can view the document", - "Can view and edit the document": "Can view and edit the document", + "Can view and edit the document": "Kan se och redigera dokumentet", "Manage": "Administrera", - "Full access including sharing": "Full access including sharing", + "Full access including sharing": "Full åtkomst inklusive delning", "Permissions for {{ userName }} updated": "Behörigheter för {{ userName }} uppdaterat", - "Failed to approve access request": "Failed to approve access request", - "Access request dismissed": "Access request dismissed", - "Failed to dismiss access request": "Failed to dismiss access request", - "Approve": "Approve", - "Notification options": "Notification options", + "Failed to approve access request": "Det gick inte att godkänna åtkomstförfrågan", + "Access request dismissed": "Begäran om åtkomst avfärdad", + "Failed to dismiss access request": "Misslyckades att avfärda åtkomstbegäran", + "Approve": "Godkänn", + "Notification options": "Inställningar för aviseringar", "Unknown": "Okänd", - "Mentions": "Mentions", - "Comments and replies": "Comments and replies", - "Document events": "Document events", + "Mentions": "Omnämnanden", + "Comments and replies": "Kommentarer och svar", + "Document events": "Dokumenthändelser", "Collection events": "Samlingshändelser", "Mark all as read": "Markera alla som lästa", "You're all caught up": "Inga olästa meddelanden", - "Client type": "Client type", - "Confidential": "Confidential", + "Client type": "Kundtyp", + "Confidential": "Konfidentiell", "Suitable for server-side applications": "Suitable for server-side applications", - "Public": "Public", + "Public": "Publik", "Suitable for client-side or mobile applications": "Suitable for client-side or mobile applications", "Icon": "Ikon", "OAuth client icon": "OAuth klient ikon", @@ -538,7 +538,7 @@ "Public link copied to clipboard": "Offentlig länk har kopierats till urklipp", "Only lowercase letters, digits and dashes allowed": "Endast små bokstäver, siffror och bindestreck tillåts", "Sorry, this link has already been used": "Tyvärr, denna länk har redan använts", - "Publish to web": "Publish to web", + "Publish to web": "Publicera till webben", "Allow anyone with the link to access": "Tillåt vem som helst med länken att komma åt", "Publish to internet": "Publicera på internet", "All documents in this collection will be shared on the web, including any new documents added later": "Alla dokument i denna samling kommer att delas på webben, inklusive nya dokument som läggs till senare", @@ -550,7 +550,7 @@ "{{ count }} people and {{ count2 }} groups added to the collection_plural": "{{ count }} personer och {{ count2 }} grupper tillagda i samlingarna", "Switch to dark": "Växla till mörkt", "Switch to light": "Växla till ljust", - "Subscribe to updates": "Subscribe to updates", + "Subscribe to updates": "Prenumerera på uppdateringar", "Display settings": "Display settings", "Edit {{noun}}": "Redigera {{noun}}", "Logo": "Logo", @@ -744,6 +744,12 @@ "Warning notice": "Varningsmeddelande", "Tip notice": "Tipsnotis", "Wrap text": "Wrap text", + "Heading": "Rubrik", + "Subheading": "Underrubrik", + "Merge cells": "Sammanfoga celler", + "Split cell": "Dela cell", + "Outdent": "Minska indrag", + "Indent": "Indrag", "Placeholder": "Platshållare", "Bold": "Fetstil", "Italic": "Kursiv", @@ -751,12 +757,6 @@ "Background color": "Background color", "Highlight": "Markera", "Code": "Kod", - "Heading": "Rubrik", - "Subheading": "Underrubrik", - "Merge cells": "Sammanfoga celler", - "Split cell": "Dela cell", - "Outdent": "Minska indrag", - "Indent": "Indrag", "Create link": "Skapa länk", "Comment": "Kommentar", "Align left": "Vänsterjustera", @@ -855,6 +855,13 @@ "No expiration": "Ingen utgång", "The document archive is empty at the moment.": "Dokumentarkivet är för närvarande tomt.", "Done editing": "Redigering klar", + "Only members with access can view": "Endast medlemmar med åtkomst kan visa", + "All members in the workspace can view": "Alla medlemmar i arbetsytan kan visa", + "Private": "Privat", + "Anyone with the link can view": "Alla med länken kan visa", + "Publicly shared": "Delat offentligt", + "{{ count }} document": "{{ count }} document", + "{{ count }} document_plural": "{{ count }} documents", "Drop documents to import": "Släpp dokument att importera", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} innehåller inga\n -dokument ännu.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} användare och {{ groupsCount }} grupper med åtkomst", @@ -1318,6 +1325,7 @@ "Synced <2>": "Synced <2>", "Date created": "Datum skapad", "Crop Image": "Beskär bild", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Din webbläsare kan inte läsa HEIC-bilder. Konvertera dem till JPEG eller PNG först.", "Crop image": "Beskär bild", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "Du kan importera en zip-fil som tidigare exporterades från JSON-alternativet i ett annat fall. I {{ appName }}, öppna Exportera i inställningspanelen och klicka på Exportera data.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Dra och släpp zip-filen från JSON-exportalternativet i {{appName}}, eller klicka för att ladda upp", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "a group", "All users": "All users", - "Private": "Privat", "View and edit": "Visa och redigera", "Sharing enabled": "Sharing enabled", "Date archived": "Date archived", diff --git a/shared/i18n/locales/th_TH/translation.json b/shared/i18n/locales/th_TH/translation.json index d461ea0006..c7ea4cfbd1 100644 --- a/shared/i18n/locales/th_TH/translation.json +++ b/shared/i18n/locales/th_TH/translation.json @@ -744,6 +744,12 @@ "Warning notice": "คำเตือน", "Tip notice": "ข้อควรทราบ", "Wrap text": "Wrap text", + "Heading": "หัวเรื่อง", + "Subheading": "หัวเรื่องย่อย", + "Merge cells": "Merge cells", + "Split cell": "Split cell", + "Outdent": "Outdent", + "Indent": "Indent", "Placeholder": "ตัวยึด", "Bold": "ตัวหนา", "Italic": "ตัวเอียง", @@ -751,12 +757,6 @@ "Background color": "Background color", "Highlight": "ไฮไลท์", "Code": "Code", - "Heading": "หัวเรื่อง", - "Subheading": "หัวเรื่องย่อย", - "Merge cells": "Merge cells", - "Split cell": "Split cell", - "Outdent": "Outdent", - "Indent": "Indent", "Create link": "สร้างลิงก์", "Comment": "Comment", "Align left": "จัดตำแหน่งชิดซ้าย", @@ -855,6 +855,13 @@ "No expiration": "No expiration", "The document archive is empty at the moment.": "ไม่มีเอกสารในที่เก็บเอกสารถาวรในขณะนี้", "Done editing": "Done editing", + "Only members with access can view": "เฉพาะสมาชิกที่มีสิทธิ์เข้าถึงเท่านั้นที่ดูได้", + "All members in the workspace can view": "สมาชิกทุกคนในเวิร์กสเปซดูได้", + "Private": "Private", + "Anyone with the link can view": "ทุกคนที่มีลิงก์ดูได้", + "Publicly shared": "แชร์แบบสาธารณะ", + "{{ count }} document": "เอกสาร {{ count }} รายการ", + "{{ count }} document_plural": "เอกสาร {{ count }} รายการ", "Drop documents to import": "Drop documents to import", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} doesn’t contain any\n documents yet.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} user and {{ groupsCount }} groups with access", @@ -1318,6 +1325,7 @@ "Synced <2>": "Synced <2>", "Date created": "Date created", "Crop Image": "Crop Image", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "เบราว์เซอร์ของคุณไม่สามารถอ่านภาพ HEIC ได้ โปรดแปลงเป็น JPEG หรือ PNG ก่อน", "Crop image": "Crop image", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "a group", "All users": "All users", - "Private": "Private", "View and edit": "ดูและแก้ไข", "Sharing enabled": "Sharing enabled", "Date archived": "Date archived", diff --git a/shared/i18n/locales/tr_TR/translation.json b/shared/i18n/locales/tr_TR/translation.json index 616db352a8..7983d6c64d 100644 --- a/shared/i18n/locales/tr_TR/translation.json +++ b/shared/i18n/locales/tr_TR/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Uyarı bildirimi", "Tip notice": "İpucu bildirimi", "Wrap text": "Metni kaydır", + "Heading": "Başlık", + "Subheading": "Alt başlık", + "Merge cells": "Hücreleri birleştir", + "Split cell": "Hücreyi böl", + "Outdent": "Girintiyi azalt", + "Indent": "Girintiyi arttır", "Placeholder": "Yer tutucu", "Bold": "Kalın", "Italic": "İtalik", @@ -751,12 +757,6 @@ "Background color": "Arka plan rengi", "Highlight": "Vurgula", "Code": "Kod", - "Heading": "Başlık", - "Subheading": "Alt başlık", - "Merge cells": "Hücreleri birleştir", - "Split cell": "Hücreyi böl", - "Outdent": "Girintiyi azalt", - "Indent": "Girintiyi arttır", "Create link": "Bağlantı oluştur", "Comment": "Yorum", "Align left": "Sola hizala", @@ -855,6 +855,13 @@ "No expiration": "Sona erme yok", "The document archive is empty at the moment.": "Belge arşivi şu anda boş.", "Done editing": "Düzenleme bitti", + "Only members with access can view": "Yalnızca erişimi olan üyeler görüntüleyebilir", + "All members in the workspace can view": "Çalışma alanındaki tüm üyeler görüntüleyebilir", + "Private": "Özel", + "Anyone with the link can view": "Bağlantıya sahip olan herkes görüntüleyebilir", + "Publicly shared": "Herkese açık olarak paylaşıldı", + "{{ count }} document": "{{ count }} belge", + "{{ count }} document_plural": "{{ count }} belge", "Drop documents to import": "İçe aktarmak için belgeleri buraya bırakın", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} henüz belge içermiyor.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "erişimi olan {{ usersCount }} kullanıcı ve {{ groupsCount }} grup", @@ -1318,6 +1325,7 @@ "Synced <2>": "Eşitlendi <2>", "Date created": "Oluşturulma tarihi", "Crop Image": "Görseli Kırp", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Tarayıcınız HEIC görüntülerini okuyamıyor, lütfen önce JPEG veya PNG'ye dönüştürün", "Crop image": "Görseli kırp", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "Daha önce başka bir örnekteki JSON seçeneğinden dışa aktarılmış bir zip dosyasını içe aktarabilirsiniz. {{ appName }} uygulamasında, Ayarlar kenar çubuğunda Dışa Aktar'ı açın ve Verileri Dışa Aktar'a tıklayın.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "{{appName}} uygulamasındaki JSON dışa aktarma seçeneğinden zip dosyasını sürükleyip bırakın veya yüklemek için tıklayın", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "bir grup", "All users": "Tüm kullanıcılar", - "Private": "Özel", "View and edit": "Görüntüle ve düzenle", "Sharing enabled": "Paylaşım etkin", "Date archived": "Arşivlenme tarihi", diff --git a/shared/i18n/locales/uk_UA/translation.json b/shared/i18n/locales/uk_UA/translation.json index f466ad4529..a4bad9159d 100644 --- a/shared/i18n/locales/uk_UA/translation.json +++ b/shared/i18n/locales/uk_UA/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Попереджувальне повідомлення", "Tip notice": "Підказка", "Wrap text": "Wrap text", + "Heading": "Заголовок", + "Subheading": "Підзаголовок", + "Merge cells": "Об'єднати комірки", + "Split cell": "Розділити комірку", + "Outdent": "Відступ", + "Indent": "Відступ", "Placeholder": "Поле для заповнення", "Bold": "Жирний", "Italic": "Курсив", @@ -751,12 +757,6 @@ "Background color": "Колір фону", "Highlight": "Виділення", "Code": "Код", - "Heading": "Заголовок", - "Subheading": "Підзаголовок", - "Merge cells": "Об'єднати комірки", - "Split cell": "Розділити комірку", - "Outdent": "Відступ", - "Indent": "Відступ", "Create link": "Створити посилання", "Comment": "Коментар", "Align left": "Вирівняти по лівому краю", @@ -855,6 +855,13 @@ "No expiration": "Без терміну дії", "The document archive is empty at the moment.": "Архів документів на даний час порожній.", "Done editing": "Редагування завершено", + "Only members with access can view": "Переглядати можуть лише учасники з доступом.", + "All members in the workspace can view": "Переглядати можуть усі учасники робочого простору.", + "Private": "Приватний", + "Anyone with the link can view": "Переглядати можуть усі, хто має посилання.", + "Publicly shared": "Загальнодоступно", + "{{ count }} document": "{{ count }} документ", + "{{ count }} document_plural": "{{ count }} документи", "Drop documents to import": "Перетягніть документи для імпорту", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} ще не містить жодного\n документа.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} користувач і {{ groupsCount }} груп з доступом", @@ -1318,6 +1325,7 @@ "Synced <2>": "Synced <2>", "Date created": "Дата створення", "Crop Image": "Обрізати зображення", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Ваш браузер не може читати зображення HEIC, спочатку конвертуйте його в JPEG або PNG.", "Crop image": "Обрізати зображення", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "Ви можете імпортувати zip-файл, який раніше було експортовано з опції JSON в інший простір. У {{ appName }} відкрийте Експорт на бічній панелі налаштувань і натисніть Експортувати дані.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Перетягніть файл zip із опції експорту JSON у {{appName}} або натисніть, щоб завантажити", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "a group", "All users": "All users", - "Private": "Приватний", "View and edit": "Переглянути та відредагувати", "Sharing enabled": "Sharing enabled", "Date archived": "Date archived", diff --git a/shared/i18n/locales/vi_VN/translation.json b/shared/i18n/locales/vi_VN/translation.json index df0409008b..d243de372a 100644 --- a/shared/i18n/locales/vi_VN/translation.json +++ b/shared/i18n/locales/vi_VN/translation.json @@ -744,6 +744,12 @@ "Warning notice": "Thông báo cảnh báo", "Tip notice": "Thông báo mẹo", "Wrap text": "Wrap text", + "Heading": "Tiêu đề", + "Subheading": "Tiêu đề phụ", + "Merge cells": "Merge cells", + "Split cell": "Split cell", + "Outdent": "Nhô lề", + "Indent": "Thụt lề", "Placeholder": "Giữ chỗ", "Bold": "Đậm", "Italic": "Nghiêng", @@ -751,12 +757,6 @@ "Background color": "Background color", "Highlight": "Điểm nổi bật", "Code": "Code", - "Heading": "Tiêu đề", - "Subheading": "Tiêu đề phụ", - "Merge cells": "Merge cells", - "Split cell": "Split cell", - "Outdent": "Nhô lề", - "Indent": "Thụt lề", "Create link": "Tạo đường link", "Comment": "Bình luận", "Align left": "Căn trái", @@ -855,6 +855,13 @@ "No expiration": "No expiration", "The document archive is empty at the moment.": "Kho lưu trữ tài liệu hiện đang trống.", "Done editing": "Done editing", + "Only members with access can view": "Chỉ thành viên có quyền truy cập mới có thể xem", + "All members in the workspace can view": "Tất cả thành viên trong không gian làm việc đều có thể xem", + "Private": "Riêng tư", + "Anyone with the link can view": "Bất kỳ ai có liên kết đều có thể xem", + "Publicly shared": "Được chia sẻ công khai", + "{{ count }} document": "{{ count }} tài liệu", + "{{ count }} document_plural": "{{ count }} tài liệu", "Drop documents to import": "Thả tài liệu để nhập", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} chưa có\n tài liệu nào.", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} người dùng và {{ groupsCount }} nhóm có quyền truy cập", @@ -1318,6 +1325,7 @@ "Synced <2>": "Synced <2>", "Date created": "Date created", "Crop Image": "Crop Image", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "Trình duyệt của bạn không thể đọc ảnh HEIC, vui lòng chuyển đổi sang JPEG hoặc PNG trước", "Crop image": "Crop image", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "Bạn có thể nhập tệp zip đã được xuất trước đó từ tùy chọn JSON trong một phiên bản khác. Trong {{ appName }}, mở Xuất trong thanh bên Cài đặt và nhấp vào Xuất dữ liệu.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Kéo và thả tệp zip từ tùy chọn xuất JSON trong {{appName}} hoặc nhấp để tải lên", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "a group", "All users": "All users", - "Private": "Riêng tư", "View and edit": "Xem và chỉnh sửa", "Sharing enabled": "Sharing enabled", "Date archived": "Date archived", diff --git a/shared/i18n/locales/zh_CN/translation.json b/shared/i18n/locales/zh_CN/translation.json index 08dcbcbf02..f2b895077c 100644 --- a/shared/i18n/locales/zh_CN/translation.json +++ b/shared/i18n/locales/zh_CN/translation.json @@ -744,6 +744,12 @@ "Warning notice": "警告信息", "Tip notice": "提示信息", "Wrap text": "换行符", + "Heading": "标题", + "Subheading": "副标题", + "Merge cells": "合并单元格", + "Split cell": "拆分单元格", + "Outdent": "减少缩进", + "Indent": "缩进", "Placeholder": "占位符", "Bold": "加粗", "Italic": "斜体", @@ -751,12 +757,6 @@ "Background color": "背景色", "Highlight": "高亮", "Code": "代码", - "Heading": "标题", - "Subheading": "副标题", - "Merge cells": "合并单元格", - "Split cell": "拆分单元格", - "Outdent": "减少缩进", - "Indent": "缩进", "Create link": "创建链接", "Comment": "评论", "Align left": "左对齐", @@ -855,6 +855,13 @@ "No expiration": "无期限", "The document archive is empty at the moment.": "文档归档目前是空的。", "Done editing": "保存编辑", + "Only members with access can view": "只有具有访问权限的成员可以查看", + "All members in the workspace can view": "工作区中的所有成员都可以查看", + "Private": "私有的", + "Anyone with the link can view": "任何拥有链接的人都可以查看", + "Publicly shared": "公开分享", + "{{ count }} document": "{{ count }} 个文档", + "{{ count }} document_plural": "{{ count }} 个文档", "Drop documents to import": "拖放文档以导入", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} 尚未包含任何文档", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} 个用户和 {{ groupsCount }} 个组有访问权限", @@ -1318,6 +1325,7 @@ "Synced <2>": "已同步 <2>", "Date created": "创建日期", "Crop Image": "裁剪图片", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "您的浏览器无法读取 HEIC 图像,请先将其转换为 JPEG 或 PNG", "Crop image": "裁剪图像", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "您可以导入之前从另一个实例中的JSON选项导出的zip文件。在 {{ appName }} 的侧边栏设置中打开 导出 ,并点击 导出数据。", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "拖放或单击上传从 {{appName}} 的 JSON 导出选项导出的 zip 文件", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "一组", "All users": "所有用户", - "Private": "私有的", "View and edit": "查看并编辑", "Sharing enabled": "共享已启用", "Date archived": "存档日期", diff --git a/shared/i18n/locales/zh_TW/translation.json b/shared/i18n/locales/zh_TW/translation.json index af6920ab0b..dde5adaacd 100644 --- a/shared/i18n/locales/zh_TW/translation.json +++ b/shared/i18n/locales/zh_TW/translation.json @@ -744,6 +744,12 @@ "Warning notice": "警告", "Tip notice": "小幫手", "Wrap text": "自動換行", + "Heading": "標題", + "Subheading": "副標題", + "Merge cells": "合併儲存格", + "Split cell": "分割儲存格", + "Outdent": "減少縮排", + "Indent": "增加縮排", "Placeholder": "占位符", "Bold": "粗體", "Italic": "斜體", @@ -751,12 +757,6 @@ "Background color": "背景顏色", "Highlight": "強調", "Code": "程式碼", - "Heading": "標題", - "Subheading": "副標題", - "Merge cells": "合併儲存格", - "Split cell": "分割儲存格", - "Outdent": "減少縮排", - "Indent": "增加縮排", "Create link": "建立超連結", "Comment": "評論", "Align left": "靠左對齊", @@ -855,6 +855,13 @@ "No expiration": "沒有期限", "The document archive is empty at the moment.": "目前沒有任何文件被封存。", "Done editing": "編輯完成", + "Only members with access can view": "只有具備存取權的成員可以檢視", + "All members in the workspace can view": "工作區中的所有成員都可以檢視", + "Private": "不公開", + "Anyone with the link can view": "擁有連結的任何人都可以檢視", + "Publicly shared": "公開分享", + "{{ count }} document": "{{ count }} 份文件", + "{{ count }} document_plural": "{{ count }} documents", "Drop documents to import": "拖曳文件以進行匯入", "{{ collectionName }} doesn’t contain any\n documents yet.": "{{ collectionName }} 中還沒有任何文件。", "{{ usersCount }} users and {{ groupsCount }} groups with access": "{{ usersCount }} 位使用者和 {{ groupsCount }} 個群組具有存取權", @@ -1318,6 +1325,7 @@ "Synced <2>": "已同步 <2>", "Date created": "建立日期", "Crop Image": "裁切影像", + "Your browser cannot read HEIC images, please convert it to JPEG or PNG first": "您的瀏覽器無法讀取 HEIC 圖片,請先將其轉換為 JPEG 或 PNG", "Crop image": "裁切影像", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "您可以匯入先前從另一個執行個體的 JSON 選項匯出的 ZIP 檔案。在 {{ appName }} 中,開啟設定側邊欄的匯出,然後點選匯出資料。", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "將從 {{appName}} JSON 匯出選項取得的 ZIP 檔案拖放到此處,或點選上傳", @@ -1592,7 +1600,6 @@ "IP": "IP", "a group": "群組", "All users": "所有使用者", - "Private": "不公開", "View and edit": "檢視與編輯", "Sharing enabled": "已啟用分享", "Date archived": "封存日期", From 57c110dbe5b31a48c3bc5d06c473d3229785859b Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 2 Sep 2026 20:31:37 -0400 Subject: [PATCH 65/85] chore: Upgrade MobX (#13554) * Upgrade Mobx * fix: Enforce MobX action boundaries * fix: Wrap static observable updates in actions * Remove iteration tests --- app/components/DocumentContext.tsx | 8 +- app/components/ErrorBoundary.tsx | 9 +- app/components/ModelSelection.ts | 6 +- .../components/SidebarExpansionContext.ts | 6 +- app/editor/components/NodeViewRenderer.tsx | 3 +- app/editor/extensions/FindAndReplace.tsx | 7 +- app/editor/extensions/SelectionToolbar.tsx | 7 +- app/index.tsx | 3 +- app/models/ApiKey.ts | 14 +-- app/models/AuthenticationProvider.ts | 7 +- app/models/Collection.ts | 33 ++++--- app/models/Comment.ts | 8 +- app/models/Document.ts | 42 +++++---- app/models/Emoji.ts | 6 +- app/models/Event.ts | 5 + app/models/FileOperation.ts | 5 + app/models/Group.ts | 9 +- app/models/GroupMembership.ts | 5 + app/models/GroupUser.ts | 5 + app/models/Import.ts | 5 + app/models/Integration.ts | 5 + app/models/Membership.ts | 5 + app/models/Notification.ts | 11 ++- app/models/Pin.ts | 5 + app/models/Policy.ts | 5 + app/models/Revision.ts | 5 + app/models/SearchQuery.ts | 5 + app/models/Share.ts | 7 +- app/models/Star.ts | 5 + app/models/Subscription.ts | 5 + app/models/Team.ts | 11 ++- app/models/Template.ts | 22 +++-- app/models/Unfurl.ts | 5 + app/models/User.ts | 10 +- app/models/UserMembership.ts | 5 + app/models/View.ts | 5 + app/models/WebhookSubscription.ts | 5 + app/models/base/Model.test.ts | 93 +++++++++++++++++++ app/models/base/Model.ts | 44 ++++++++- app/models/base/NavigableModel.ts | 5 +- app/models/base/ParanoidModel.ts | 2 +- app/models/oauth/OAuthAuthentication.ts | 5 + app/models/oauth/OAuthClient.ts | 7 +- app/stores/AuthStore.ts | 36 +++---- app/stores/AuthenticationProvidersStore.ts | 4 +- app/stores/CollectionsStore.ts | 11 ++- app/stores/CommentsStore.ts | 5 +- app/stores/DialogsStore.ts | 8 +- app/stores/DocumentPresenceStore.ts | 3 +- app/stores/DocumentsStore.ts | 30 +++--- app/stores/EmojiStore.ts | 4 +- app/stores/GroupMembershipsStore.ts | 19 ++-- app/stores/GroupUsersStore.ts | 26 +++--- app/stores/GroupsStore.ts | 15 +-- app/stores/ImportsStore.ts | 5 +- app/stores/IntegrationsStore.ts | 4 +- app/stores/MembershipsStore.ts | 20 ++-- app/stores/NotificationsStore.ts | 20 ++-- app/stores/PinsStore.ts | 15 +-- app/stores/SharesStore.ts | 9 +- app/stores/StarsStore.ts | 15 +-- app/stores/TemplatesStore.ts | 5 +- app/stores/UiStore.ts | 25 ++--- app/stores/UnfurlsStore.ts | 3 +- app/stores/UserMembershipsStore.ts | 26 +++--- app/stores/UsersStore.ts | 9 +- app/stores/base/Store.ts | 29 ++++-- app/utils/FeatureFlags.ts | 28 ++++-- app/utils/PluginManager.ts | 8 +- package.json | 6 +- shared/editor/extensions/Diff.ts | 7 +- yarn.lock | 66 ++++++++----- 72 files changed, 663 insertions(+), 268 deletions(-) create mode 100644 app/models/base/Model.test.ts diff --git a/app/components/DocumentContext.tsx b/app/components/DocumentContext.tsx index 0722911c49..a5bd9ca81b 100644 --- a/app/components/DocumentContext.tsx +++ b/app/components/DocumentContext.tsx @@ -1,4 +1,4 @@ -import { action, computed, observable } from "mobx"; +import { action, computed, makeObservable, observable } from "mobx"; import type { PropsWithChildren } from "react"; import { createContext, useContext, useMemo } from "react"; import type { Node } from "prosemirror-model"; @@ -28,6 +28,10 @@ class DocumentContext { @observable headings: Heading[] = []; + constructor() { + makeObservable(this); + } + @computed get hasHeadings() { // Headings inside tables are not listed in the table of contents. @@ -77,7 +81,7 @@ class DocumentContext { /** The ProseMirror document currently held by the editor */ @observable.ref - private editorDoc: Node | undefined; + private editorDoc: Node | undefined = undefined; private updateHeadings() { const currHeadings = this.editor?.getHeadings() ?? []; diff --git a/app/components/ErrorBoundary.tsx b/app/components/ErrorBoundary.tsx index 4243a920db..9bac35ba5e 100644 --- a/app/components/ErrorBoundary.tsx +++ b/app/components/ErrorBoundary.tsx @@ -1,4 +1,4 @@ -import { observable } from "mobx"; +import { makeObservable, observable } from "mobx"; import { observer } from "mobx-react"; import * as React from "react"; import type { TFunction } from "i18next"; @@ -40,7 +40,7 @@ const ERROR_TRACKING_WINDOW_MS = 5 * 60 * 1000; // 5 minutes @observer class ErrorBoundaryClass extends React.Component { @observable - error: Error | null | undefined; + error: Error | null | undefined = undefined; @observable showDetails = false; @@ -48,6 +48,11 @@ class ErrorBoundaryClass extends React.Component { @observable isRepeatedError = false; + constructor(props: Props) { + super(props); + makeObservable(this); + } + componentDidMount() { this.checkForPreviousErrors(); } diff --git a/app/components/ModelSelection.ts b/app/components/ModelSelection.ts index cc11d237f0..c1652b5154 100644 --- a/app/components/ModelSelection.ts +++ b/app/components/ModelSelection.ts @@ -1,4 +1,4 @@ -import { action, computed, observable } from "mobx"; +import { action, computed, makeObservable, observable } from "mobx"; /** * Holds the ephemeral multi-selection state for a single list of models. @@ -10,6 +10,10 @@ import { action, computed, observable } from "mobx"; export class ModelSelection { private ids = observable.set(); + constructor() { + makeObservable(this); + } + /** Ordered identifiers of the list, used to resolve shift-click ranges. */ private order: string[] = []; diff --git a/app/components/Sidebar/components/SidebarExpansionContext.ts b/app/components/Sidebar/components/SidebarExpansionContext.ts index daec363055..cff34538ad 100644 --- a/app/components/Sidebar/components/SidebarExpansionContext.ts +++ b/app/components/Sidebar/components/SidebarExpansionContext.ts @@ -1,4 +1,4 @@ -import { action, observable } from "mobx"; +import { action, makeObservable, observable } from "mobx"; import { createContext, useContext, useEffect, useState } from "react"; import type { NavigationNode } from "@shared/types"; @@ -46,6 +46,10 @@ export class SidebarExpansionState { @observable expandedIds = new Set(); + constructor() { + makeObservable(this); + } + /** * Whether a given node is currently expanded. * diff --git a/app/editor/components/NodeViewRenderer.tsx b/app/editor/components/NodeViewRenderer.tsx index 0b62a423cb..b4e93359fa 100644 --- a/app/editor/components/NodeViewRenderer.tsx +++ b/app/editor/components/NodeViewRenderer.tsx @@ -1,5 +1,5 @@ import { isEqual } from "es-toolkit/compat"; -import { action, computed, observable } from "mobx"; +import { action, computed, makeObservable, observable } from "mobx"; import type { FunctionComponent, ReactNode } from "react"; import { createPortal } from "react-dom"; @@ -27,6 +27,7 @@ export class NodeViewRenderer implements PortalRenderer { props: T ) { this.props = props; + makeObservable(this); } @computed diff --git a/app/editor/extensions/FindAndReplace.tsx b/app/editor/extensions/FindAndReplace.tsx index edb4f3dcf0..7da8cefb53 100644 --- a/app/editor/extensions/FindAndReplace.tsx +++ b/app/editor/extensions/FindAndReplace.tsx @@ -1,5 +1,5 @@ import { escapeRegExp } from "es-toolkit/compat"; -import { observable } from "mobx"; +import { makeObservable, observable } from "mobx"; import type { Node } from "prosemirror-model"; import type { Command } from "prosemirror-state"; import { Plugin, PluginKey } from "prosemirror-state"; @@ -740,6 +740,11 @@ export default class FindAndReplaceExtension extends Extension ); + constructor(options: Partial = {}) { + super(options); + makeObservable(this); + } + @observable private open = false; diff --git a/app/editor/extensions/SelectionToolbar.tsx b/app/editor/extensions/SelectionToolbar.tsx index 3e50ac4d56..e710711abb 100644 --- a/app/editor/extensions/SelectionToolbar.tsx +++ b/app/editor/extensions/SelectionToolbar.tsx @@ -1,4 +1,4 @@ -import { action, observable } from "mobx"; +import { action, makeObservable, observable } from "mobx"; import type { EditorState, Selection } from "prosemirror-state"; import { NodeSelection, Plugin, TextSelection } from "prosemirror-state"; import type { EditorView } from "prosemirror-view"; @@ -42,6 +42,11 @@ export default class SelectionToolbarExtension extends Extension { ]; } + constructor(options: Partial = {}) { + super(options); + makeObservable(this); + } + @observable state: Selection | boolean = false; diff --git a/app/index.tsx b/app/index.tsx index 3b5fc4a48a..461cc162de 100644 --- a/app/index.tsx +++ b/app/index.tsx @@ -48,8 +48,7 @@ if (env.SENTRY_DSN) { } configureMobx({ - // TODO: Enable these options and fix any resulting warnings - // enforceActions: env.isDevelopment ? "always" : "never", + enforceActions: env.isDevelopment ? "observed" : "never", computedRequiresReaction: true, isolateGlobalState: true, }); diff --git a/app/models/ApiKey.ts b/app/models/ApiKey.ts index be39c7e73f..5d8e016a79 100644 --- a/app/models/ApiKey.ts +++ b/app/models/ApiKey.ts @@ -9,6 +9,11 @@ import type { Searchable } from "./interfaces/Searchable"; class ApiKey extends Model implements Searchable { static modelName = "ApiKey"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + /** The human-readable name of this API key */ @Field @observable @@ -17,17 +22,14 @@ class ApiKey extends Model implements Searchable { /** A list of scopes that this API key has access to. If empty, the key has full access. */ @Field @observable - scope?: string[]; - + scope?: string[] = undefined; /** An optional datetime that the API key expires. */ @Field @observable - expiresAt?: string; - + expiresAt?: string = undefined; /** Timestamp that the API key was last used. */ @observable - lastActiveAt?: string; - + lastActiveAt?: string = undefined; /** The user who this API key belongs to. */ @Relation(() => User) user: User; diff --git a/app/models/AuthenticationProvider.ts b/app/models/AuthenticationProvider.ts index 2c1c5d804d..071ac94c3f 100644 --- a/app/models/AuthenticationProvider.ts +++ b/app/models/AuthenticationProvider.ts @@ -8,6 +8,11 @@ import type AuthenticationProvidersStore from "~/stores/AuthenticationProvidersS class AuthenticationProvider extends Model { static modelName = "AuthenticationProvider"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + displayName: string; name: string; @@ -27,7 +32,7 @@ class AuthenticationProvider extends Model { @Field @observable - settings: AuthenticationProviderSettings | undefined; + settings: AuthenticationProviderSettings | undefined = undefined; @computed get isActive() { diff --git a/app/models/Collection.ts b/app/models/Collection.ts index ca6dd79717..34dc4924f3 100644 --- a/app/models/Collection.ts +++ b/app/models/Collection.ts @@ -1,5 +1,12 @@ import invariant from "invariant"; -import { action, comparer, computed, observable, runInAction } from "mobx"; +import { + action, + comparer, + computed, + observable, + override, + runInAction, +} from "mobx"; import { type CollectionPermission, type FileOperationFormat, @@ -19,6 +26,11 @@ import { AfterChange } from "./decorators/Lifecycle"; export default class Collection extends ParanoidModel { static modelName = "Collection"; + constructor(fields: Record, store: CollectionsStore) { + super(fields, store); + this.initialize(fields); + } + store: CollectionsStore; /** The name of the collection. */ @@ -39,13 +51,11 @@ export default class Collection extends ParanoidModel { /** The color to use for the collection icon and other highlights. */ @Field @observable - color?: string | null; - + color?: string | null = undefined; /** The default permission for workspace users. */ @Field @observable - permission?: CollectionPermission; - + permission?: CollectionPermission = undefined; /** * Whether public sharing is enabled for the collection. Note this can also be disabled at the * workspace level. @@ -77,12 +87,10 @@ export default class Collection extends ParanoidModel { */ @Field @observable - commenting?: boolean | null; - + commenting?: boolean | null = undefined; /** The child documents of the collection. */ @observable - documents?: NavigationNode[]; - + documents?: NavigationNode[] = undefined; /** @deprecated Use path instead. */ @observable url: string; @@ -101,8 +109,7 @@ export default class Collection extends ParanoidModel { * User who archived the collection. */ @observable - archivedBy?: User; - + archivedBy?: User = undefined; @computed get searchContent(): string { return this.name; @@ -214,7 +221,7 @@ export default class Collection extends ParanoidModel { return !!this.archivedAt; } - @computed + @override get isDeleted() { return !!this.deletedAt; } @@ -244,7 +251,7 @@ export default class Collection extends ParanoidModel { }); invariant(res?.data, "Data should be available"); - runInAction("Collection#fetchDocuments", () => { + runInAction(() => { this.documents = res.data; }); } finally { diff --git a/app/models/Comment.ts b/app/models/Comment.ts index cbb9189768..2814ee9823 100644 --- a/app/models/Comment.ts +++ b/app/models/Comment.ts @@ -14,6 +14,11 @@ import Relation from "./decorators/Relation"; class Comment extends Model { static modelName = "Comment"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + /** * The Prosemirror data representing the comment content */ @@ -65,8 +70,7 @@ class Comment extends Model { * comment mark to the document, and not otherwise persisted. */ @observable - pendingAnchor?: CommentAnchor; - + pendingAnchor?: CommentAnchor = undefined; /** * The date and time that this comment was resolved, if it has been resolved. */ diff --git a/app/models/Document.ts b/app/models/Document.ts index a95f705849..d11cd36925 100644 --- a/app/models/Document.ts +++ b/app/models/Document.ts @@ -1,7 +1,15 @@ import { addDays, differenceInDays, differenceInSeconds } from "date-fns"; import i18n, { t } from "i18next"; import { capitalize, floor } from "es-toolkit/compat"; -import { action, autorun, comparer, computed, observable, set } from "mobx"; +import { + action, + autorun, + comparer, + computed, + observable, + override, + set, +} from "mobx"; import type { JSONObject, NavigationNode, @@ -42,6 +50,7 @@ export default class Document extends ArchivableModel implements Searchable { constructor(fields: Record, store: DocumentsStore) { super(fields, store); + this.initialize(fields); this.embedsDisabled = Storage.get(`embedsDisabled-${this.id}`) ?? false; @@ -53,14 +62,14 @@ export default class Document extends ArchivableModel implements Searchable { }); } - @observable + // Declared on Model; redeclared here only to give it a default. isSaving = false; @observable - embedsDisabled: boolean; + embedsDisabled = false; @observable - lastViewedAt: string | undefined; + lastViewedAt: string | undefined = undefined; store: DocumentsStore; @@ -119,8 +128,7 @@ export default class Document extends ArchivableModel implements Searchable { */ @Field @observable - collectionId?: string | null; - + collectionId?: string | null = undefined; /** * The collection that this document belongs to. */ @@ -142,15 +150,13 @@ export default class Document extends ArchivableModel implements Searchable { */ @Field @observable - icon?: string | null; - + icon?: string | null = undefined; /** * The color to use for the document icon. */ @Field @observable - color?: string | null; - + color?: string | null = undefined; /** * Whether the document layout is displayed full page width. */ @@ -176,15 +182,14 @@ export default class Document extends ArchivableModel implements Searchable { */ @Field @observable - templateId: string | undefined; + templateId: string | undefined = undefined; /** * The id of the parent document that this is a child of, if any. */ @Field @observable - parentDocumentId: string | undefined; - + parentDocumentId?: string = undefined; /** * Parent document that this is a child of, if any. */ @@ -195,13 +200,12 @@ export default class Document extends ArchivableModel implements Searchable { * The ids of users that have edited this document. */ @observable - collaboratorIds: string[] | undefined; + collaboratorIds: string[] | undefined = undefined; @Relation(() => User) createdBy: User | undefined; @Relation(() => User) - @observable updatedBy: User | undefined; /** @@ -209,11 +213,10 @@ export default class Document extends ArchivableModel implements Searchable { * trash. */ @Relation(() => User) - @observable deletedBy: User | undefined; @observable - publishedAt: string | undefined; + publishedAt: string | undefined = undefined; @observable popularityScore: number; @@ -247,8 +250,7 @@ export default class Document extends ArchivableModel implements Searchable { * Only populated when viewing through a share link. */ @observable - backlinkIds?: string[]; - + backlinkIds?: string[] = undefined; /** * Returns the notifications associated with this document. */ @@ -399,7 +401,7 @@ export default class Document extends ArchivableModel implements Searchable { return !!this.archivedAt; } - @computed + @override get isDeleted(): boolean { return !!this.deletedAt; } diff --git a/app/models/Emoji.ts b/app/models/Emoji.ts index 53672837c2..1aa4394c05 100644 --- a/app/models/Emoji.ts +++ b/app/models/Emoji.ts @@ -7,6 +7,11 @@ import Relation from "./decorators/Relation"; class Emoji extends Model { static modelName = "Emoji"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + /** The name of the emoji */ @Field @observable @@ -24,7 +29,6 @@ class Emoji extends Model { /** The user who created this emoji */ @Relation(() => User) - @observable createdBy?: User; /** The ID of the user who created this emoji */ diff --git a/app/models/Event.ts b/app/models/Event.ts index 99205bbb9e..a0a5779601 100644 --- a/app/models/Event.ts +++ b/app/models/Event.ts @@ -8,6 +8,11 @@ import Relation from "./decorators/Relation"; class Event extends Model { static modelName = "Event"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + name: string; modelId: string | undefined; diff --git a/app/models/FileOperation.ts b/app/models/FileOperation.ts index e5f380d713..5f0c80b6ce 100644 --- a/app/models/FileOperation.ts +++ b/app/models/FileOperation.ts @@ -16,6 +16,11 @@ import Relation from "./decorators/Relation"; class FileOperation extends Model { static modelName = "FileOperation"; + constructor(fields: Record, store: FileOperationsStore) { + super(fields, store); + this.initialize(fields); + } + store: FileOperationsStore; @observable diff --git a/app/models/Group.ts b/app/models/Group.ts index 4573b95a0e..e496025da2 100644 --- a/app/models/Group.ts +++ b/app/models/Group.ts @@ -24,6 +24,11 @@ interface ExternalGroupInfo { class Group extends Model implements Searchable { static modelName = "Group"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + @Field @observable name: string; @@ -33,7 +38,7 @@ class Group extends Model implements Searchable { description: string; @observable - externalId: string | undefined; + externalId: string | undefined = undefined; @observable memberCount: number; @@ -43,7 +48,7 @@ class Group extends Model implements Searchable { disableMentions: boolean; @observable - externalGroup: ExternalGroupInfo | undefined; + externalGroup: ExternalGroupInfo | undefined = undefined; /** * Whether this group's membership is managed by an external authentication provider. diff --git a/app/models/GroupMembership.ts b/app/models/GroupMembership.ts index a23c02f612..390ce5fa97 100644 --- a/app/models/GroupMembership.ts +++ b/app/models/GroupMembership.ts @@ -12,6 +12,11 @@ import NavigableModel from "./base/NavigableModel"; class GroupMembership extends NavigableModel { static modelName = "GroupMembership"; + constructor(fields: Record, store: NavigableModel["store"]) { + super(fields, store); + this.initialize(fields); + } + /** The group ID that this membership is granted to. */ groupId: string; diff --git a/app/models/GroupUser.ts b/app/models/GroupUser.ts index bdd2d1fde5..43fc93589b 100644 --- a/app/models/GroupUser.ts +++ b/app/models/GroupUser.ts @@ -12,6 +12,11 @@ import { observable } from "mobx"; class GroupUser extends Model { static modelName = "GroupUser"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + /** The ID of the user. */ userId: string; diff --git a/app/models/Import.ts b/app/models/Import.ts index 81c1f48a08..3a62283ba4 100644 --- a/app/models/Import.ts +++ b/app/models/Import.ts @@ -10,6 +10,11 @@ import Relation from "./decorators/Relation"; class Import extends Model { static modelName = "Import"; + constructor(fields: Record, store: ImportsStore) { + super(fields, store); + this.initialize(fields); + } + store: ImportsStore; /** The name of the import. */ diff --git a/app/models/Integration.ts b/app/models/Integration.ts index 6cae4f043b..06fc902fd8 100644 --- a/app/models/Integration.ts +++ b/app/models/Integration.ts @@ -9,6 +9,11 @@ import Relation from "~/models/decorators/Relation"; class Integration extends Model { static modelName = "Integration"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + type: IntegrationType; service: IntegrationService; diff --git a/app/models/Membership.ts b/app/models/Membership.ts index 3d936b5df9..c9f7a22d9a 100644 --- a/app/models/Membership.ts +++ b/app/models/Membership.ts @@ -8,6 +8,11 @@ import Relation from "./decorators/Relation"; class Membership extends Model { static modelName = "Membership"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + userId: string; @Relation(() => User, { onDelete: "cascade" }) diff --git a/app/models/Notification.ts b/app/models/Notification.ts index ac982f0eea..c7524934e8 100644 --- a/app/models/Notification.ts +++ b/app/models/Notification.ts @@ -28,6 +28,11 @@ export type NotificationFilter = class Notification extends Model { static modelName = "Notification"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + static filterCategories: Record = { all: [], @@ -81,15 +86,13 @@ class Notification extends Model { */ @Field @observable - accessRequestId?: string; - + accessRequestId?: string = undefined; /** * Status of the associated access request. */ @Field @observable - accessRequestStatus?: string; - + accessRequestStatus?: string = undefined; /** * The user that triggered the notification. */ diff --git a/app/models/Pin.ts b/app/models/Pin.ts index 971cd1b7f6..0e81ad20d4 100644 --- a/app/models/Pin.ts +++ b/app/models/Pin.ts @@ -12,6 +12,11 @@ import Relation from "./decorators/Relation"; class Pin extends Model { static modelName = "Pin"; + constructor(fields: Record, store: PinsStore) { + super(fields, store); + this.initialize(fields); + } + store: PinsStore; /** The collection ID that the document is pinned to. If empty the document is pinned to home. */ diff --git a/app/models/Policy.ts b/app/models/Policy.ts index 2fb7b08362..bae9a5817c 100644 --- a/app/models/Policy.ts +++ b/app/models/Policy.ts @@ -7,6 +7,11 @@ import { AfterChange } from "./decorators/Lifecycle"; class Policy extends Model { static modelName = "Policy"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + /** * An object containing keys representing abilities and values that are either * a boolean or an array of membership IDs that have provided access to the ability. diff --git a/app/models/Revision.ts b/app/models/Revision.ts index 0696616c8e..b02ab505e2 100644 --- a/app/models/Revision.ts +++ b/app/models/Revision.ts @@ -16,6 +16,11 @@ import { client } from "~/utils/ApiClient"; class Revision extends ParanoidModel { static modelName = "Revision"; + constructor(fields: Record, store: ParanoidModel["store"]) { + super(fields, store); + this.initialize(fields); + } + /** The document ID that the revision is related to */ documentId: string; diff --git a/app/models/SearchQuery.ts b/app/models/SearchQuery.ts index 9091f5d718..5bbd82f5da 100644 --- a/app/models/SearchQuery.ts +++ b/app/models/SearchQuery.ts @@ -4,6 +4,11 @@ import Model from "./base/Model"; class SearchQuery extends Model { static modelName = "Search"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + /** * The query string, automatically truncated to 255 characters. */ diff --git a/app/models/Share.ts b/app/models/Share.ts index 4b3d5242d0..76fe11d8a3 100644 --- a/app/models/Share.ts +++ b/app/models/Share.ts @@ -12,6 +12,11 @@ import type { Searchable } from "./interfaces/Searchable"; class Share extends Model implements Searchable { static modelName = "Share"; + constructor(fields: Record, store: SharesStore) { + super(fields, store); + this.initialize(fields); + } + store: SharesStore; @Field @@ -61,7 +66,7 @@ class Share extends Model implements Searchable { documentUrl: string; @observable - lastAccessedAt: string | null | undefined; + lastAccessedAt: string | null | undefined = undefined; @observable url: string; diff --git a/app/models/Star.ts b/app/models/Star.ts index 4c6c76651d..19326cb21b 100644 --- a/app/models/Star.ts +++ b/app/models/Star.ts @@ -9,6 +9,11 @@ import Relation from "./decorators/Relation"; class Star extends Model { static modelName = "Star"; + constructor(fields: Record, store: StarsStore) { + super(fields, store); + this.initialize(fields); + } + /** The sort order of the star */ @Field @observable diff --git a/app/models/Subscription.ts b/app/models/Subscription.ts index 341e3f12c3..93d9124da7 100644 --- a/app/models/Subscription.ts +++ b/app/models/Subscription.ts @@ -12,6 +12,11 @@ import Relation from "./decorators/Relation"; class Subscription extends Model { static modelName = "Subscription"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + /** The user ID subscribing */ userId: string; diff --git a/app/models/Team.ts b/app/models/Team.ts index a276fa9032..2a985671bc 100644 --- a/app/models/Team.ts +++ b/app/models/Team.ts @@ -9,6 +9,11 @@ import Field from "./decorators/Field"; class Team extends Model { static modelName = "Team"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + @Field @observable name: string; @@ -59,7 +64,7 @@ class Team extends Model { @Field @observable - subdomain: string | null | undefined; + subdomain: string | null | undefined = undefined; @Field @observable @@ -74,14 +79,14 @@ class Team extends Model { preferences: TeamPreferences | null; @observable - domain: string | null | undefined; + domain: string | null | undefined = undefined; @observable url: string; @Field @observable - allowedDomains: string[] | null | undefined; + allowedDomains: string[] | null | undefined = undefined; @computed get signinMethods(): string { diff --git a/app/models/Template.ts b/app/models/Template.ts index b15bc6c178..09d373af7d 100644 --- a/app/models/Template.ts +++ b/app/models/Template.ts @@ -1,6 +1,6 @@ import { addDays } from "date-fns"; import i18n from "i18next"; -import { computed, observable } from "mobx"; +import { computed, observable, override } from "mobx"; import type { ProsemirrorData } from "@shared/types"; import { ProsemirrorDataHelper } from "@shared/utils/ProsemirrorDataHelper"; import { isRTL } from "@shared/utils/rtl"; @@ -17,6 +17,11 @@ import type { Searchable } from "./interfaces/Searchable"; export default class Template extends ParanoidModel implements Searchable { static modelName = "Template"; + constructor(fields: Record, store: TemplatesStore) { + super(fields, store); + this.initialize(fields); + } + store: TemplatesStore; @Field @@ -38,8 +43,7 @@ export default class Template extends ParanoidModel implements Searchable { */ @Field @observable - collectionId?: string | null; - + collectionId?: string | null = undefined; /** * The collection that this template belongs to. */ @@ -58,15 +62,13 @@ export default class Template extends ParanoidModel implements Searchable { */ @Field @observable - icon?: string | null; - + icon?: string | null = undefined; /** * The color to use for the template icon. */ @Field @observable - color?: string | null; - + color?: string | null = undefined; /** * Whether the template layout is displayed full page width. */ @@ -79,7 +81,7 @@ export default class Template extends ParanoidModel implements Searchable { */ @Field @observable - language: string | undefined; + language: string | undefined = undefined; @Relation(() => User) createdBy: User | undefined; @@ -95,7 +97,7 @@ export default class Template extends ParanoidModel implements Searchable { * of the workspace. */ @observable - publishedAt: string | undefined; + publishedAt: string | undefined = undefined; /** * Publishes the template, making it available to other members of the @@ -131,7 +133,7 @@ export default class Template extends ParanoidModel implements Searchable { return `${settingsPath("templates")}/${slugifiedTitle}-${this.urlId}`; } - @computed + @override get isDeleted(): boolean { return !!this.deletedAt; } diff --git a/app/models/Unfurl.ts b/app/models/Unfurl.ts index 717b9f7eb4..2d5b3a38c9 100644 --- a/app/models/Unfurl.ts +++ b/app/models/Unfurl.ts @@ -5,6 +5,11 @@ import Model from "./base/Model"; class Unfurl extends Model { static modelName = "Unfurl"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + @observable type: UnfurlType; diff --git a/app/models/User.ts b/app/models/User.ts index c32c76842e..905368d6b1 100644 --- a/app/models/User.ts +++ b/app/models/User.ts @@ -25,6 +25,11 @@ import type { Searchable } from "./interfaces/Searchable"; class User extends ParanoidModel implements Searchable { static modelName = "User"; + constructor(fields: Record, store: ParanoidModel["store"]) { + super(fields, store); + this.initialize(fields); + } + @Field @observable avatarUrl: string; @@ -51,8 +56,7 @@ class User extends ParanoidModel implements Searchable { @Field @observable - timezone?: string; - + timezone?: string = undefined; @observable email: string; @@ -82,7 +86,7 @@ class User extends ParanoidModel implements Searchable { isSuspended: boolean; @observable - invitedById: string | undefined; + invitedById: string | undefined = undefined; /** The user that invited this user, if they were invited. */ @Relation(() => User) diff --git a/app/models/UserMembership.ts b/app/models/UserMembership.ts index 7b9a7b4e66..9847342557 100644 --- a/app/models/UserMembership.ts +++ b/app/models/UserMembership.ts @@ -10,6 +10,11 @@ import NavigableModel from "./base/NavigableModel"; class UserMembership extends NavigableModel { static modelName = "UserMembership"; + constructor(fields: Record, store: UserMembershipsStore) { + super(fields, store); + this.initialize(fields); + } + /** The sort order of the membership (In users sidebar) */ @Field @observable diff --git a/app/models/View.ts b/app/models/View.ts index 522bb56f2c..5c4d4f422c 100644 --- a/app/models/View.ts +++ b/app/models/View.ts @@ -7,6 +7,11 @@ import Relation from "./decorators/Relation"; class View extends Model { static modelName = "View"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + documentId: string; @Relation(() => Document) diff --git a/app/models/WebhookSubscription.ts b/app/models/WebhookSubscription.ts index 14b47d912e..57f4faa19d 100644 --- a/app/models/WebhookSubscription.ts +++ b/app/models/WebhookSubscription.ts @@ -8,6 +8,11 @@ import User from "./User"; class WebhookSubscription extends Model implements Searchable { static modelName = "WebhookSubscription"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + @Field @observable name: string; diff --git a/app/models/base/Model.test.ts b/app/models/base/Model.test.ts new file mode 100644 index 0000000000..6f091a4772 --- /dev/null +++ b/app/models/base/Model.test.ts @@ -0,0 +1,93 @@ +/* oxlint-disable */ +import { autorun, isAction, isObservableProp } from "mobx"; +import stores from "~/stores"; + +describe("Model observability", () => { + it("annotates fields declared on the base class and on subclasses", () => { + const doc = stores.documents.add({ + id: "aaaaaaaa-1111-1111-1111-111111111111", + title: "hello", + }); + + expect(isObservableProp(doc, "id")).toBe(true); // base Model, in payload + expect(isObservableProp(doc, "isSaving")).toBe(true); // base Model, has a default + expect(isObservableProp(doc, "title")).toBe(true); // subclass, in payload + expect(isObservableProp(doc, "embedsDisabled")).toBe(true); // subclass, has a default + }); + + it("annotates fields omitted from the initial payload", () => { + // A model created from a partial payload, as a list response returns. + const doc = stores.documents.add({ + id: "aaaaaaaa-3333-3333-3333-333333333333", + title: "partial", + }); + + expect(isObservableProp(doc, "fullWidth")).toBe(true); + }); + + it("reacts when a later payload populates an omitted field", () => { + const doc = stores.documents.add({ + id: "aaaaaaaa-5555-5555-5555-555555555555", + title: "partial", + }); + const seen: Array = []; + const dispose = autorun(() => seen.push(doc.fullWidth)); + + // The full payload introduces the field, which must become reactive. + stores.documents.add({ + id: "aaaaaaaa-5555-5555-5555-555555555555", + title: "partial", + fullWidth: false, + }); + + doc.fullWidth = true; + dispose(); + expect(seen).toEqual([undefined, false, true]); + }); + + it("reacts to changes", () => { + const doc = stores.documents.add({ + id: "aaaaaaaa-2222-2222-2222-222222222222", + title: "a", + }); + const seen: string[] = []; + const dispose = autorun(() => seen.push(doc.title)); + doc.title = "b"; + dispose(); + expect(seen).toEqual(["a", "b"]); + }); + + it("annotates computed values inherited from the base class", () => { + const doc = stores.documents.add({ + id: "aaaaaaaa-4444-4444-4444-444444444444", + title: "c", + }); + const seen: boolean[] = []; + const dispose = autorun(() => seen.push(doc.isDeleted)); + doc.deletedAt = "2026-08-18T00:00:00.000Z"; + dispose(); + expect(seen).toEqual([false, true]); + }); + + it("makes store fields observable", () => { + expect(isObservableProp(stores.documents, "isFetching")).toBe(true); + expect(isObservableProp(stores.documents, "backlinks")).toBe(true); + expect(isObservableProp(stores.ui, "theme")).toBe(true); + expect(isObservableProp(stores.auth, "currentUserId")).toBe(true); + }); + + it("annotates actions declared as store fields", () => { + expect(isAction(stores.collections.import)).toBe(true); + expect(isAction(stores.comments.resolve)).toBe(true); + expect(isAction(stores.groupUsers.removeGroupMemberships)).toBe(true); + expect(isAction(stores.imports.cancel)).toBe(true); + expect(isAction(stores.memberships.removeCollectionMemberships)).toBe(true); + expect(isAction(stores.notifications.markAllAsRead)).toBe(true); + expect(isAction(stores.templates.duplicate)).toBe(true); + expect(isAction(Reflect.get(stores.unfurls, "unfurl"))).toBe(true); + expect(isAction(stores.userMemberships.fetchDocumentMemberships)).toBe( + true + ); + expect(isAction(stores.users.invite)).toBe(true); + }); +}); diff --git a/app/models/base/Model.ts b/app/models/base/Model.ts index 0d090571fd..e39b022c11 100644 --- a/app/models/base/Model.ts +++ b/app/models/base/Model.ts @@ -1,5 +1,5 @@ import { isEqual, pick } from "es-toolkit/compat"; -import { observable, action, toJS } from "mobx"; +import { action, makeObservable, observable, toJS } from "mobx"; import type { JSONObject } from "@shared/types"; import type Store from "~/stores/base/Store"; import type { PartialExcept } from "~/types"; @@ -30,10 +30,10 @@ export default abstract class Model { id: string; @observable - isSaving: boolean; + isSaving = false; @observable - isNew: boolean; + isNew = false; @observable createdAt: string; @@ -43,10 +43,36 @@ export default abstract class Model { store: Store; - constructor(fields: Record, store: Store) { + constructor(_fields: Record, store: Store) { this.store = store; + } + + /** + * Applies the initial data and makes the instance observable. + * + * Call this from the constructor of the most-derived class. MobX can only + * annotate fields that already exist on the instance, and a subclass's fields + * do not exist until its own constructor has run. + * + * @param fields the data to construct the model with. + */ + protected initialize(fields: Record) { + for (const field of getFieldsForModel(this)) { + if (field in this) { + continue; + } + + Object.defineProperty(this, field, { + configurable: true, + enumerable: true, + value: undefined, + writable: true, + }); + } + this.updateData(fields); this.isNew = !this.id; + makeObservable(this); this.initialized = true; } @@ -155,6 +181,7 @@ export default abstract class Model { } const previousAttributes = this.toAPI(); + let addedKeys = false; for (const key in data) { try { @@ -166,6 +193,9 @@ export default abstract class Model { if (isEqual(toJS(this[key]), data[key])) { continue; } + // A field declared without a default does not exist until it is first + // assigned, so MobX could not annotate it when the model was created. + addedKeys ||= !(key in this); // @ts-expect-error TODO this[key] = data[key]; } catch (error) { @@ -173,6 +203,12 @@ export default abstract class Model { } } + // Annotate any field that this payload introduced. Re-annotating a field + // that is already observable is a no-op. + if (addedKeys && this.initialized) { + makeObservable(this); + } + this.isNew = false; this.persistedAttributes = this.toAPI(); diff --git a/app/models/base/NavigableModel.ts b/app/models/base/NavigableModel.ts index 9cd01372e4..6edd3b4af9 100644 --- a/app/models/base/NavigableModel.ts +++ b/app/models/base/NavigableModel.ts @@ -11,8 +11,7 @@ export default abstract class NavigableModel extends Model { documentId?: string; @observable - node?: NavigationNode; - + node?: NavigationNode = undefined; /** * Fetches the child documents structure from the server. */ @@ -33,7 +32,7 @@ export default abstract class NavigableModel extends Model { this.isFetching = true; const res = await client.post(options.path, options.params); - runInAction(`${NavigableModel.modelName}#fetchDocuments`, () => { + runInAction(() => { this.node = res.data; }); } finally { diff --git a/app/models/base/ParanoidModel.ts b/app/models/base/ParanoidModel.ts index 6930e28aa3..19697fdbbd 100644 --- a/app/models/base/ParanoidModel.ts +++ b/app/models/base/ParanoidModel.ts @@ -3,7 +3,7 @@ import Model from "./Model"; export default abstract class ParanoidModel extends Model { @observable - deletedAt: string | undefined; + deletedAt: string | undefined = undefined; @computed get isDeleted(): boolean { diff --git a/app/models/oauth/OAuthAuthentication.ts b/app/models/oauth/OAuthAuthentication.ts index 5a9b325ada..c2398ac624 100644 --- a/app/models/oauth/OAuthAuthentication.ts +++ b/app/models/oauth/OAuthAuthentication.ts @@ -9,6 +9,11 @@ import Model from "../base/Model"; class OAuthAuthentication extends Model { static modelName = "OAuthAuthentication"; + constructor(fields: Record, store: Model["store"]) { + super(fields, store); + this.initialize(fields); + } + /** A list of scopes that this authentication has access to */ @Field @observable diff --git a/app/models/oauth/OAuthClient.ts b/app/models/oauth/OAuthClient.ts index d8661880a7..c9c37314ff 100644 --- a/app/models/oauth/OAuthClient.ts +++ b/app/models/oauth/OAuthClient.ts @@ -11,6 +11,11 @@ import Relation from "../decorators/Relation"; class OAuthClient extends ParanoidModel { static modelName = "OAuthClient"; + constructor(fields: Record, store: ParanoidModel["store"]) { + super(fields, store); + this.initialize(fields); + } + /** The human-readable name of this app */ @Field @observable @@ -73,7 +78,7 @@ class OAuthClient extends ParanoidModel { }); invariant(res.data, "Failed to rotate client secret"); - runInAction("OAuthClient#rotateSecret", () => { + runInAction(() => { this.clientSecret = res.data.clientSecret; }); } diff --git a/app/stores/AuthStore.ts b/app/stores/AuthStore.ts index e53886c897..7136702fcd 100644 --- a/app/stores/AuthStore.ts +++ b/app/stores/AuthStore.ts @@ -1,7 +1,14 @@ import * as Sentry from "@sentry/react"; import invariant from "invariant"; import { isNil } from "es-toolkit/compat"; -import { observable, action, computed, autorun, runInAction } from "mobx"; +import { + action, + autorun, + computed, + makeObservable, + observable, + runInAction, +} from "mobx"; import { getCookie, setCookie } from "tiny-cookie"; import { toError } from "@shared/utils/error"; import type { CustomTheme } from "@shared/types"; @@ -42,20 +49,16 @@ export default class AuthStore extends Store { /* The ID of the user that is currently signed in. */ @observable - public currentUserId?: string | null; - + public currentUserId?: string | null = undefined; /* The ID of the team that is currently signed in. */ @observable - public currentTeamId?: string | null; - + public currentTeamId?: string | null = undefined; /* A short-lived token to be used to authenticate with the collaboration server. */ @observable - public collaborationToken?: string | null; - + public collaborationToken?: string | null = undefined; /* When set, the user will be redirected to this URL after logging out. */ @observable - public logoutRedirectUri?: string; - + public logoutRedirectUri?: string = undefined; /* A list of teams that the current user has access to. */ @observable public availableTeams?: { @@ -68,24 +71,23 @@ export default class AuthStore extends Store { /* The authentication provider the user signed in with. */ @observable - public lastSignedIn?: string | null; - + public lastSignedIn?: string | null = undefined; /* Whether the user is currently suspended. */ @observable public isSuspended = false; /* The email address to contact if the user is suspended. */ @observable - public suspendedContactEmail?: string | null; - + public suspendedContactEmail?: string | null = undefined; /* The auth configuration for the current domain. */ @observable - public config: Config | null | undefined; + public config: Config | null | undefined = undefined; rootStore: RootStore; constructor(rootStore: RootStore) { super(rootStore, Team); + makeObservable(this); this.rootStore = rootStore; @@ -210,7 +212,7 @@ export default class AuthStore extends Store { }); invariant(res?.data, "Auth not available"); - runInAction("AuthStore#refresh", () => { + runInAction(() => { const { data } = res; this.addPolicies(res.policies); this.add(data.team); @@ -288,7 +290,7 @@ export default class AuthStore extends Store { @action deleteUser = async (data: { code: string }) => { await client.post(`/users.delete`, data); - runInAction("AuthStore#deleteUser", () => { + runInAction(() => { this.currentUserId = null; this.currentTeamId = null; this.collaborationToken = null; @@ -302,7 +304,7 @@ export default class AuthStore extends Store { deleteTeam = async (data: { code: string }) => { await client.post(`/teams.delete`, data); - runInAction("AuthStore#deleteTeam", () => { + runInAction(() => { this.currentUserId = null; this.currentTeamId = null; this.availableTeams = this.availableTeams?.filter( diff --git a/app/stores/AuthenticationProvidersStore.ts b/app/stores/AuthenticationProvidersStore.ts index 697b408724..4cc18f56dc 100644 --- a/app/stores/AuthenticationProvidersStore.ts +++ b/app/stores/AuthenticationProvidersStore.ts @@ -1,5 +1,5 @@ import { orderBy } from "es-toolkit/compat"; -import { computed } from "mobx"; +import { override } from "mobx"; import AuthenticationProvider from "~/models/AuthenticationProvider"; import type RootStore from "./RootStore"; import Store, { RPCAction } from "./base/Store"; @@ -11,7 +11,7 @@ export default class AuthenticationProvidersStore extends Store { constructor(rootStore: RootStore) { super(rootStore, Collection); + makeObservable(this); } /** @@ -35,7 +36,7 @@ export default class CollectionsStore extends Store { return this.orderedData.filter((c) => c.isActive); } - @computed + @override get orderedData(): Collection[] { let collections = Array.from(this.data.values()); collections = collections @@ -129,7 +130,7 @@ export default class CollectionsStore extends Store { const res = await client.post("/collections.archive", { id: collection.id, }); - runInAction("Collection#archive", () => { + runInAction(() => { invariant(res?.data, "Data should be available"); this.add(res.data); this.addPolicies(res.policies); @@ -141,7 +142,7 @@ export default class CollectionsStore extends Store { const res = await client.post("/collections.restore", { id: collection.id, }); - runInAction("Collection#restore", () => { + runInAction(() => { invariant(res?.data, "Data should be available"); this.add(res.data); this.addPolicies(res.policies); @@ -173,7 +174,7 @@ export default class CollectionsStore extends Store { try { const res = await client.post(`/collections.${request}`, options); invariant(res?.data, "Collection list not available"); - return runInAction("CollectionsStore#fetchNamedPage", () => { + return runInAction(() => { const collections = res.data.map(this.add); this.addPolicies(res.policies); this.isLoaded = true; diff --git a/app/stores/CommentsStore.ts b/app/stores/CommentsStore.ts index cb531c002a..5d44fb6762 100644 --- a/app/stores/CommentsStore.ts +++ b/app/stores/CommentsStore.ts @@ -1,6 +1,6 @@ import invariant from "invariant"; import { compact, differenceBy, keyBy, orderBy, uniq } from "es-toolkit/compat"; -import { action, computed } from "mobx"; +import { action, makeObservable, override } from "mobx"; import Comment from "~/models/Comment"; import { type CommentSortOption, CommentSortType } from "~/types"; import { client } from "~/utils/ApiClient"; @@ -10,6 +10,7 @@ import Store from "./base/Store"; export default class CommentsStore extends Store { constructor(rootStore: RootStore) { super(rootStore, Comment); + makeObservable(this); } /** @@ -146,7 +147,7 @@ export default class CommentsStore extends Store { return this.data.get(res.data.id) as Comment; }; - @computed + @override get orderedData(): Comment[] { return orderBy(Array.from(this.data.values()), "createdAt", "asc"); } diff --git a/app/stores/DialogsStore.ts b/app/stores/DialogsStore.ts index dbc3f6d332..737986be4d 100644 --- a/app/stores/DialogsStore.ts +++ b/app/stores/DialogsStore.ts @@ -1,4 +1,4 @@ -import { observable, action } from "mobx"; +import { action, makeObservable, observable } from "mobx"; import { v4 as uuidv4 } from "uuid"; import * as React from "react"; @@ -20,11 +20,15 @@ type GuideDefinition = { export default class DialogsStore { @observable.shallow - guide: GuideDefinition; + guide: GuideDefinition | undefined = undefined; @observable.shallow modalStack = new Map(); + constructor() { + makeObservable(this); + } + openGuide = ({ title, content, diff --git a/app/stores/DocumentPresenceStore.ts b/app/stores/DocumentPresenceStore.ts index 261844f94d..63b108e35a 100644 --- a/app/stores/DocumentPresenceStore.ts +++ b/app/stores/DocumentPresenceStore.ts @@ -1,4 +1,4 @@ -import { observable, action } from "mobx"; +import { action, makeObservable, observable } from "mobx"; import type { AwarenessChangeEvent } from "~/types"; import type RootStore from "./RootStore"; @@ -16,6 +16,7 @@ export default class PresenceStore { constructor(rootStore: RootStore) { this.rootStore = rootStore; + makeObservable(this); } /** diff --git a/app/stores/DocumentsStore.ts b/app/stores/DocumentsStore.ts index 0d05991bce..42469481b7 100644 --- a/app/stores/DocumentsStore.ts +++ b/app/stores/DocumentsStore.ts @@ -1,6 +1,13 @@ import invariant from "invariant"; import { compact, filter, omitBy, orderBy } from "es-toolkit/compat"; -import { observable, action, computed, runInAction } from "mobx"; +import { + action, + computed, + makeObservable, + observable, + override, + runInAction, +} from "mobx"; import type { DirectionFilter, SortFilter } from "@shared/types"; import { AttachmentPreset, @@ -51,7 +58,7 @@ export default class DocumentsStore extends Store { similar: Map = new Map(); @observable - movingDocumentId: string | null | undefined; + movingDocumentId: string | null | undefined = undefined; importFileTypes: string[] = [ ".md", @@ -83,6 +90,7 @@ export default class DocumentsStore extends Store { constructor(rootStore: RootStore) { super(rootStore, Document); + makeObservable(this); } @computed @@ -312,7 +320,7 @@ export default class DocumentsStore extends Store { const res = await client.post("/relationships.list", { documentId }); invariant(res?.data, "Relationships not available"); - runInAction("DocumentsStore#fetchRelationships", () => { + runInAction(() => { res.data.documents.forEach(this.add); this.addPolicies(res.policies); @@ -357,7 +365,7 @@ export default class DocumentsStore extends Store { }); invariant(res?.data, "Document list not available"); - runInAction("DocumentsStore#fetchChildDocuments", () => { + runInAction(() => { res.data.forEach(this.add); this.addPolicies(res.policies); }); @@ -373,7 +381,7 @@ export default class DocumentsStore extends Store { try { const res = await client.post(`/documents.${request}`, options); invariant(res?.data, "Document list not available"); - return runInAction("DocumentsStore#fetchNamedPage", () => { + return runInAction(() => { const documents = res.data.map(this.add); this.addPolicies(res.policies); this.isLoaded = true; @@ -460,7 +468,7 @@ export default class DocumentsStore extends Store { invariant(res?.data, "Search response should be available"); // add the documents and associated policies to the store - runInAction("DocumentsStore#searchTitles", () => { + runInAction(() => { res.data.forEach(this.add); this.addPolicies(res.policies); }); @@ -491,7 +499,7 @@ export default class DocumentsStore extends Store { invariant(res?.data, "Search response should be available"); // add the documents and associated policies to the store - runInAction("DocumentsStore#search", () => { + runInAction(() => { res.data.forEach((result: SearchResult) => this.add(result.document)); this.addPolicies(res.policies); }); @@ -638,7 +646,7 @@ export default class DocumentsStore extends Store { return this.add(res.data); }; - @action + @override async delete( document: Document, options?: { @@ -683,7 +691,7 @@ export default class DocumentsStore extends Store { const res = await client.post("/documents.archive", { id: document.id, }); - runInAction("Document#archive", () => { + runInAction(() => { invariant(res?.data, "Data should be available"); document.updateData(res.data); this.addPolicies(res.policies); @@ -707,7 +715,7 @@ export default class DocumentsStore extends Store { revisionId: options.revisionId, collectionId: options.collectionId, }); - runInAction("Document#restore", () => { + runInAction(() => { invariant(res?.data, "Data should be available"); document.updateData(res.data); this.addPolicies(res.policies); @@ -730,7 +738,7 @@ export default class DocumentsStore extends Store { ...options, }); - runInAction("Document#unpublish", () => { + runInAction(() => { invariant(res?.data, "Data should be available"); // unpublishing could sometimes detach the document from the collection. // so, get the collection id before data is updated. diff --git a/app/stores/EmojiStore.ts b/app/stores/EmojiStore.ts index 616eb632ab..67c42a536e 100644 --- a/app/stores/EmojiStore.ts +++ b/app/stores/EmojiStore.ts @@ -1,4 +1,4 @@ -import { computed } from "mobx"; +import { override } from "mobx"; import Emoji from "~/models/Emoji"; import naturalSort from "@shared/utils/naturalSort"; import type RootStore from "./RootStore"; @@ -17,7 +17,7 @@ export default class EmojisStore extends Store { super(rootStore, Emoji); } - @computed + @override get orderedData(): Emoji[] { return naturalSort(Array.from(this.data.values()), "name"); } diff --git a/app/stores/GroupMembershipsStore.ts b/app/stores/GroupMembershipsStore.ts index 028968f493..adf3eada94 100644 --- a/app/stores/GroupMembershipsStore.ts +++ b/app/stores/GroupMembershipsStore.ts @@ -1,5 +1,5 @@ import invariant from "invariant"; -import { action, runInAction } from "mobx"; +import { override, runInAction } from "mobx"; import { type CollectionPermission, type DocumentPermission, @@ -26,13 +26,12 @@ export default class GroupMembershipsStore extends Store { * * @param id the ID of the membership to remove. */ - @action + @override remove(id: string, options?: { permanent?: boolean }): void { super.remove(id, options); this.rootStore.policies.removeForMembership(id); } - @action fetchPage = async ({ collectionId, documentId, @@ -42,7 +41,9 @@ export default class GroupMembershipsStore extends Store { collectionId?: string; groupId?: string; }): Promise> => { - this.isFetching = true; + runInAction(() => { + this.isFetching = true; + }); try { const res = collectionId @@ -59,7 +60,7 @@ export default class GroupMembershipsStore extends Store { invariant(res?.data, "Data not available"); let response: PaginatedResponse = []; - runInAction(`GroupMembershipsStore#fetchPage`, () => { + runInAction(() => { res.data.groups?.forEach(this.rootStore.groups.add); res.data.documents?.forEach(this.rootStore.documents.add); response = res.data.groupMemberships.map(this.add); @@ -69,11 +70,13 @@ export default class GroupMembershipsStore extends Store { response[PAGINATION_SYMBOL] = res.pagination; return response; } finally { - this.isFetching = false; + runInAction(() => { + this.isFetching = false; + }); } }; - @action + @override async create({ collectionId, documentId, @@ -102,7 +105,7 @@ export default class GroupMembershipsStore extends Store { return cgm[0]; } - @action + @override async delete({ collectionId, documentId, diff --git a/app/stores/GroupUsersStore.ts b/app/stores/GroupUsersStore.ts index 155980b58e..02edc5b8fe 100644 --- a/app/stores/GroupUsersStore.ts +++ b/app/stores/GroupUsersStore.ts @@ -1,6 +1,6 @@ import invariant from "invariant"; import { filter } from "es-toolkit/compat"; -import { action, runInAction } from "mobx"; +import { action, makeObservable, override, runInAction } from "mobx"; import GroupUser from "~/models/GroupUser"; import type { PaginationParams } from "~/types"; import { GroupPermission } from "@shared/types"; @@ -17,20 +17,22 @@ export default class GroupUsersStore extends Store { constructor(rootStore: RootStore) { super(rootStore, GroupUser); + makeObservable(this); } - @action fetchPage = async ( params: PaginationParams | undefined ): Promise> => { - this.isFetching = true; + runInAction(() => { + this.isFetching = true; + }); try { const res = await client.post(`/groups.memberships`, params); invariant(res?.data, "Data not available"); let response: PaginatedResponse = []; - runInAction(`GroupUsersStore#fetchPage`, () => { + runInAction(() => { res.data.users.forEach(this.rootStore.users.add); response = res.data.groupMemberships.map(this.add); this.isLoaded = true; @@ -39,11 +41,13 @@ export default class GroupUsersStore extends Store { response[PAGINATION_SYMBOL] = res.pagination; return response; } finally { - this.isFetching = false; + runInAction(() => { + this.isFetching = false; + }); } }; - @action + @override async create({ groupId, userId, @@ -60,7 +64,7 @@ export default class GroupUsersStore extends Store { }); invariant(res?.data, "Group Membership data should be available"); - return runInAction(`GroupUsersStore#create`, () => { + return runInAction(() => { res.data.users.forEach(this.rootStore.users.add); res.data.groups.forEach(this.rootStore.groups.add); @@ -69,7 +73,7 @@ export default class GroupUsersStore extends Store { }); } - @action + @override async delete({ groupId, userId }: { groupId: string; userId: string }) { const res = await client.post("/groups.remove_user", { id: groupId, @@ -77,13 +81,13 @@ export default class GroupUsersStore extends Store { }); invariant(res?.data, "Group Membership data should be available"); this.remove(`${userId}-${groupId}`); - runInAction(`GroupUsersStore#delete`, () => { + runInAction(() => { res.data.groups.forEach(this.rootStore.groups.add); this.isLoaded = true; }); } - @action + @override async update({ groupId, userId, @@ -100,7 +104,7 @@ export default class GroupUsersStore extends Store { }); invariant(res?.data, "Group Membership data should be available"); - return runInAction(`GroupUsersStore#update`, () => { + return runInAction(() => { res.data.users.forEach(this.rootStore.users.add); res.data.groups.forEach(this.rootStore.groups.add); diff --git a/app/stores/GroupsStore.ts b/app/stores/GroupsStore.ts index 22bb61c126..5fde01d6e4 100644 --- a/app/stores/GroupsStore.ts +++ b/app/stores/GroupsStore.ts @@ -1,6 +1,6 @@ import invariant from "invariant"; import { filter } from "es-toolkit/compat"; -import { action, runInAction, computed } from "mobx"; +import { override, runInAction } from "mobx"; import naturalSort from "@shared/utils/naturalSort"; import Group from "~/models/Group"; import type { PaginationParams } from "~/types"; @@ -15,21 +15,22 @@ export default class GroupsStore extends Store { super(rootStore, Group); } - @computed + @override get orderedData(): Group[] { return naturalSort(Array.from(this.data.values()), "name"); } - @action fetchPage = async (params: FetchPageParams | undefined): Promise => { - this.isFetching = true; + runInAction(() => { + this.isFetching = true; + }); try { const res = await client.post(`/groups.list`, params); invariant(res?.data, "Data not available"); let models: Group[] = []; - runInAction(`GroupsStore#fetchPage`, () => { + runInAction(() => { this.addPolicies(res.policies); models = res.data.groups.map(this.add); res.data.groupMemberships.forEach(this.rootStore.groupUsers.add); @@ -37,7 +38,9 @@ export default class GroupsStore extends Store { }); return models; } finally { - this.isFetching = false; + runInAction(() => { + this.isFetching = false; + }); } }; diff --git a/app/stores/ImportsStore.ts b/app/stores/ImportsStore.ts index 2bbea994ee..f89bc1a148 100644 --- a/app/stores/ImportsStore.ts +++ b/app/stores/ImportsStore.ts @@ -1,5 +1,5 @@ import invariant from "invariant"; -import { action, runInAction } from "mobx"; +import { action, makeObservable, runInAction } from "mobx"; import Import from "~/models/Import"; import { client } from "~/utils/ApiClient"; import type RootStore from "./RootStore"; @@ -8,6 +8,7 @@ import Store from "./base/Store"; export default class ImportsStore extends Store { constructor(rootStore: RootStore) { super(rootStore, Import); + makeObservable(this); } @action @@ -16,7 +17,7 @@ export default class ImportsStore extends Store { id: importModel.id, }); - runInAction("Import#cancel", () => { + runInAction(() => { invariant(res?.data, "Data should be available"); importModel.updateData(res.data); this.addPolicies(res.policies); diff --git a/app/stores/IntegrationsStore.ts b/app/stores/IntegrationsStore.ts index ac497230c0..6fe88dfbb1 100644 --- a/app/stores/IntegrationsStore.ts +++ b/app/stores/IntegrationsStore.ts @@ -1,4 +1,4 @@ -import { computed } from "mobx"; +import { computed, override } from "mobx"; import { IntegrationService, type IntegrationType } from "@shared/types"; import naturalSort from "@shared/utils/naturalSort"; import type RootStore from "~/stores/RootStore"; @@ -16,7 +16,7 @@ class IntegrationsStore extends Store { ); } - @computed + @override get orderedData(): Integration[] { return naturalSort(Array.from(this.data.values()), "name"); } diff --git a/app/stores/MembershipsStore.ts b/app/stores/MembershipsStore.ts index ee47338436..cba803e3fd 100644 --- a/app/stores/MembershipsStore.ts +++ b/app/stores/MembershipsStore.ts @@ -1,5 +1,5 @@ import invariant from "invariant"; -import { action, runInAction } from "mobx"; +import { action, makeObservable, override, runInAction } from "mobx"; import type { CollectionPermission } from "@shared/types"; import Membership from "~/models/Membership"; import type { PaginationParams } from "~/types"; @@ -16,6 +16,7 @@ export default class MembershipsStore extends Store { constructor(rootStore: RootStore) { super(rootStore, Membership); + makeObservable(this); } /** @@ -23,24 +24,25 @@ export default class MembershipsStore extends Store { * * @param id the ID of the membership to remove. */ - @action + @override remove(id: string, options?: { permanent?: boolean }): void { super.remove(id, options); this.rootStore.policies.removeForMembership(id); } - @action fetchPage = async ( params: (PaginationParams & { id?: string }) | undefined ): Promise> => { - this.isFetching = true; + runInAction(() => { + this.isFetching = true; + }); try { const res = await client.post(`/collections.memberships`, params); invariant(res?.data, "Data not available"); let response: PaginatedResponse = []; - runInAction(`MembershipsStore#fetchPage`, () => { + runInAction(() => { res.data.users.forEach(this.rootStore.users.add); response = res.data.memberships.map(this.add); this.isLoaded = true; @@ -48,11 +50,13 @@ export default class MembershipsStore extends Store { response[PAGINATION_SYMBOL] = res.pagination; return response; } finally { - this.isFetching = false; + runInAction(() => { + this.isFetching = false; + }); } }; - @action + @override async create({ collectionId, userId, @@ -74,7 +78,7 @@ export default class MembershipsStore extends Store { return memberships[0]; } - @action + @override async delete({ collectionId, userId, diff --git a/app/stores/NotificationsStore.ts b/app/stores/NotificationsStore.ts index 244f31d0af..106e5f0924 100644 --- a/app/stores/NotificationsStore.ts +++ b/app/stores/NotificationsStore.ts @@ -1,6 +1,6 @@ import invariant from "invariant"; import { orderBy, sortBy } from "es-toolkit/compat"; -import { action, computed, runInAction } from "mobx"; +import { action, computed, makeObservable, override, runInAction } from "mobx"; import Notification from "~/models/Notification"; import type { PaginationParams } from "~/types"; import { client } from "~/utils/ApiClient"; @@ -12,27 +12,31 @@ export default class NotificationsStore extends Store { constructor(rootStore: RootStore) { super(rootStore, Notification); + makeObservable(this); } - @action fetchPage = async ( options: ({ archived?: boolean } & PaginationParams) | undefined ): Promise => { - this.isFetching = true; + runInAction(() => { + this.isFetching = true; + }); try { const res = await client.post("/notifications.list", options); invariant(res?.data, "Document revisions not available"); let models: Notification[] = []; - runInAction("NotificationsStore#fetchPage", () => { + runInAction(() => { models = res.data.notifications.map(this.add); this.isLoaded = true; }); return models; } finally { - this.isFetching = false; + runInAction(() => { + this.isFetching = false; + }); } }; @@ -45,7 +49,7 @@ export default class NotificationsStore extends Store { viewedAt: new Date().toISOString(), }); - runInAction("NotificationsStore#markAllAsRead", () => { + runInAction(() => { const viewedAt = new Date(); this.data.forEach((notification) => { notification.viewedAt = viewedAt; @@ -62,7 +66,7 @@ export default class NotificationsStore extends Store { archivedAt: new Date().toISOString(), }); - runInAction("NotificationsStore#markAllAsArchived", () => { + runInAction(() => { this.clear(); }); }; @@ -78,7 +82,7 @@ export default class NotificationsStore extends Store { /** * Returns the notifications in order of created date. */ - @computed + @override get orderedData(): Notification[] { return sortBy( orderBy(Array.from(this.data.values()), "createdAt", "desc"), diff --git a/app/stores/PinsStore.ts b/app/stores/PinsStore.ts index 5cedad4087..b4ef681be6 100644 --- a/app/stores/PinsStore.ts +++ b/app/stores/PinsStore.ts @@ -1,5 +1,5 @@ import invariant from "invariant"; -import { action, runInAction, computed } from "mobx"; +import { action, computed, override, runInAction } from "mobx"; import Pin from "~/models/Pin"; import type { PaginationParams } from "~/types"; import { client } from "~/utils/ApiClient"; @@ -52,16 +52,17 @@ export default class PinsStore extends Store { } } - @action fetchPage = async (params?: FetchParams): Promise => { - this.isFetching = true; + runInAction(() => { + this.isFetching = true; + }); try { const res = await client.post(`/pins.list`, params); invariant(res?.data, "Data not available"); let models: Pin[] = []; - runInAction(`PinsStore#fetchPage`, () => { + runInAction(() => { res.data.documents.forEach(this.rootStore.documents.add); models = res.data.pins.map(this.add); this.addPolicies(res.policies); @@ -70,7 +71,9 @@ export default class PinsStore extends Store { return models; } finally { - this.isFetching = false; + runInAction(() => { + this.isFetching = false; + }); } }; @@ -82,7 +85,7 @@ export default class PinsStore extends Store { return this.orderedData.filter((pin) => !pin.collectionId); } - @computed + @override get orderedData(): Pin[] { const pins = Array.from(this.data.values()); diff --git a/app/stores/SharesStore.ts b/app/stores/SharesStore.ts index 781b277403..2ae1c610be 100644 --- a/app/stores/SharesStore.ts +++ b/app/stores/SharesStore.ts @@ -1,6 +1,6 @@ import invariant from "invariant"; import { filter, find, isUndefined, orderBy } from "es-toolkit/compat"; -import { action, computed, observable } from "mobx"; +import { action, computed, makeObservable, observable, override } from "mobx"; import type { NavigationNode, PublicTeam } from "@shared/types"; import type Document from "~/models/Document"; import Share from "~/models/Share"; @@ -25,9 +25,10 @@ export default class SharesStore extends Store { constructor(rootStore: RootStore) { super(rootStore, Share); + makeObservable(this); } - @computed + @override get orderedData(): Share[] { return orderBy(Array.from(this.data.values()), "createdAt", "asc"); } @@ -45,7 +46,7 @@ export default class SharesStore extends Store { this.remove(share.id); }; - @action + @override async create( params: | (PartialExcept & { type: "collection" }) @@ -63,7 +64,7 @@ export default class SharesStore extends Store { return super.create(params); } - @action + @override async fetch(id: string) { const share = this.get(id); const cache = this.sharedCache.get(id); diff --git a/app/stores/StarsStore.ts b/app/stores/StarsStore.ts index e83a43adc5..fce983173c 100644 --- a/app/stores/StarsStore.ts +++ b/app/stores/StarsStore.ts @@ -1,5 +1,5 @@ import invariant from "invariant"; -import { action, runInAction, computed } from "mobx"; +import { override, runInAction } from "mobx"; import Star from "~/models/Star"; import type { PaginationParams } from "~/types"; import { client } from "~/utils/ApiClient"; @@ -11,15 +11,16 @@ export default class StarsStore extends Store { super(rootStore, Star); } - @action fetchPage = async (params?: PaginationParams): Promise => { - this.isFetching = true; + runInAction(() => { + this.isFetching = true; + }); try { const res = await client.post(`/stars.list`, params); invariant(res?.data, "Data not available"); - return runInAction(`StarsStore#fetchPage`, () => { + return runInAction(() => { res.data.documents.forEach(this.rootStore.documents.add); const models = res.data.stars.map(this.add); this.addPolicies(res.policies); @@ -27,11 +28,13 @@ export default class StarsStore extends Store { return models; }); } finally { - this.isFetching = false; + runInAction(() => { + this.isFetching = false; + }); } }; - @computed + @override get orderedData(): Star[] { const stars = Array.from(this.data.values()); diff --git a/app/stores/TemplatesStore.ts b/app/stores/TemplatesStore.ts index 94c65cdb71..780ebfcbb2 100644 --- a/app/stores/TemplatesStore.ts +++ b/app/stores/TemplatesStore.ts @@ -1,5 +1,5 @@ import { filter, orderBy } from "es-toolkit/compat"; -import { action, computed } from "mobx"; +import { action, computed, makeObservable, override } from "mobx"; import { invariant } from "mobx-utils"; import naturalSort from "@shared/utils/naturalSort"; import Template from "~/models/Template"; @@ -10,6 +10,7 @@ import Store from "./base/Store"; export default class TemplatesStore extends Store