Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Show Markdown files as formatted text in the file preview (#4765)
AdityaUmale5447b579ee1a
diff --git a/src/components/AttachmentPreview.tsx b/src/components/AttachmentPreview.tsxindex c7fa01271e..e037a44770 100644--- a/src/components/AttachmentPreview.tsx+++ b/src/components/AttachmentPreview.tsx@@ -925,7 +925,7 @@ export function AttachedFileChip({ file, message, linked = false, compact = fals><FileText size={14} className="shrink-0" aria-hidden="true" /><span className="min-w-0 flex-1 truncate text-ink">{file.name}</span>- {preview.html ? <Eye size={13} className="shrink-0" /> : save.state === "saving" ? (+ {preview.opens ? <Eye size={13} className="shrink-0" /> : save.state === "saving" ? (<LoaderCircle size={13} className="shrink-0 animate-spin" />) : save.state === "saved" ? (<Check size={13} className="shrink-0 text-success" />@@ -935,7 +935,7 @@ export function AttachedFileChip({ file, message, linked = false, compact = fals<Download size={13} className="shrink-0" />)}</button>- {preview.html ? <SaveIconButton name={file.name} save={save} retryable={save.retryable} /> : <FilePreviewButton path={file.path} name={file.name} message={message} />}+ {preview.opens ? <SaveIconButton name={file.name} save={save} retryable={save.retryable} /> : <FilePreviewButton path={file.path} name={file.name} message={message} />}{preview.dialog}</div>{save.state !== "idle" && (@@ -996,7 +996,7 @@ function CompactFileChip({ file, message, linked, save, preview, className }: {><FileText size={14} strokeWidth={1.75} className="shrink-0" aria-hidden="true" />{name}- {preview.html ? <Eye size={13} strokeWidth={1.75} className="shrink-0" aria-hidden="true" /> : save.state === "saving" ? (+ {preview.opens ? <Eye size={13} strokeWidth={1.75} className="shrink-0" aria-hidden="true" /> : save.state === "saving" ? (<LoaderCircle size={13} className="shrink-0 animate-spin" aria-hidden="true" />) : save.state === "saved" ? (<Check size={13} className="shrink-0 text-success" aria-hidden="true" />@@ -1006,7 +1006,7 @@ function CompactFileChip({ file, message, linked, save, preview, className }: {<Download size={13} strokeWidth={1.75} className="shrink-0" aria-hidden="true" />)}</button>- {preview.html ? <SaveIconButton name={file.name} save={save} retryable={save.retryable} /> : <FilePreviewButton path={file.path} name={file.name} message={message} />}+ {preview.opens ? <SaveIconButton name={file.name} save={save} retryable={save.retryable} /> : <FilePreviewButton path={file.path} name={file.name} message={message} />}{preview.dialog}</span>{save.state !== "idle" && save.state !== "saved" && (diff --git a/src/components/ChatMarkdown.test.ts b/src/components/ChatMarkdown.test.tsindex 2d6f5818d0..feb40925cd 100644--- a/src/components/ChatMarkdown.test.ts+++ b/src/components/ChatMarkdown.test.ts@@ -768,7 +768,7 @@ describe("ChatMarkdown attachments", () => {text: "[macOS](file:///Users/milind/report.md) [Windows](C:/Users/Maus/report.md)",message: { threadId: "thread-1", messageId: "message-1" },}));- expect(html).toContain('title="Save a copy"');+ expect(html).toContain('title="Preview: report.md"');expect(html).not.toContain("/Users/milind/report.md");expect(html).not.toContain("C:/Users/Maus/report.md");});@@ -810,7 +810,7 @@ describe("ChatMarkdown attachments", () => {text: "[Report](C:\\Users\\Maus\\.openmausbot\\report.md)\n\n",message: { threadId: "thread-1", messageId: "message-1" },}));- expect(html).toContain('title="Save a copy"');+ expect(html).toContain('title="Preview: report.md"');expect(html).not.toContain('href=""');expect(html).not.toContain("Image unavailable");expect(save.mock.calls[0]?.[0]).toBe("C:\\Users\\Maus\\.openmausbot\\report.md");diff --git a/src/components/ChatMarkdown.tsx b/src/components/ChatMarkdown.tsxindex dd5c0fa28d..f31e3f2f51 100644--- a/src/components/ChatMarkdown.tsx+++ b/src/components/ChatMarkdown.tsx@@ -340,18 +340,18 @@ function LocalFileLink({ filePath, name, source, children, message }: { filePathreturn (<span dir="ltr" className="inline-flex flex-wrap items-center gap-x-1.5 [unicode-bidi:isolate]" {...revealMenu.targetProps(source)}>{revealMenu.menu}- {preview.html+ {preview.opens? <SaveIconButton name={name ?? fileName(filePath)} save={save} retryable={save.retryable} />: <FilePreviewButton path={filePath} name={name ?? fileName(filePath)} message={message} />}<buttontype="button"- onClick={preview.html ? preview.show : () => void save.save()}- disabled={!preview.html && save.state === "saving"}- title={preview.html ? t("html.preview", { name: name ?? fileName(filePath) }) : t("chat.file.saveCopy")}+ onClick={preview.opens ? preview.show : () => void save.save()}+ disabled={!preview.opens && save.state === "saving"}+ title={preview.opens ? preview.label : t("chat.file.saveCopy")}className="inline-flex items-center gap-1 break-words text-start text-accent underline decoration-accent/40 hover:decoration-accent disabled:cursor-wait">{children}- {preview.html ? (+ {preview.opens ? (<Eye size={12} className="shrink-0" aria-hidden="true" />) : save.state === "saving" ? (<LoaderCircle size={12} className="shrink-0 animate-spin" aria-hidden="true" />diff --git a/src/components/GroupView.message-actions.test.ts b/src/components/GroupView.message-actions.test.tsindex e4eea7c3ef..3505adbba9 100644--- a/src/components/GroupView.message-actions.test.ts+++ b/src/components/GroupView.message-actions.test.ts@@ -118,9 +118,10 @@ describe("room message actions", () => {],};const html = markup([reply]);- expect(html.match(/title="Save a copy"/g)).toHaveLength(1);+ expect(html.match(/title="Preview: notes\.md"/g)).toHaveLength(1);expect(html).toContain(">notes.md<");- expect(html).not.toContain('aria-label="Save a copy of notes.md"');+ expect(html.match(/aria-label="Save a copy of notes\.md"/g)).toHaveLength(1);+ expect(html).toContain('aria-label="1 attachment"');expect(html.match(/aria-label="Save a copy of report\.pdf"/g)).toHaveLength(1);expect(html).toMatch(/<section[^>]*class="mt-2\.5 /);expect(html).toContain('data-testid="message-actions"');diff --git a/src/components/HtmlFilePreview.tsx b/src/components/HtmlFilePreview.tsxindex ae1dd25df6..167bfef5c3 100644--- a/src/components/HtmlFilePreview.tsx+++ b/src/components/HtmlFilePreview.tsx@@ -1,4 +1,4 @@-import { useEffect, useRef, useState } from "react";+import { lazy, Suspense, useEffect, useRef, useState } from "react";import { Check, Code2, Download, ExternalLink, Eye, LoaderCircle, RotateCcw } from "lucide-react";import { requestMessageFile, useLocalFileSave, type MessageAttachmentContext } from "./AttachmentPreview";import { TableDialog } from "./RichTable";@@ -14,6 +14,13 @@ export function isHtmlFile(name: string): boolean {return /\.html?$/i.test(name);}+export function isMarkdownFile(name: string): boolean {+ return /\.(md|markdown)$/i.test(name);+}++// Lazy, so the chat's Markdown renderer (which uses this file's chips) is not imported back into it.+const MarkdownFileContent = lazy(() => import("./MarkdownFilePreview"));+/** Security: `<base target="_blank">` turns every link into a popup, which the empty sandbox blocks, so the frame never navigates. */export function htmlPreviewDocument(source: string): string {return `<meta http-equiv="Content-Security-Policy" content="${HTML_PREVIEW_CSP}"><base target="_blank">${source}`;@@ -26,19 +33,27 @@ export function htmlBrowserBridge(): ((source: string, name: string) => Promise<return ogb?.remoteClient?.active ? undefined : ogb?.openHtmlInBrowser;}-/** The page preview dialog for an HTML file in a message, opened by the eye button or by the file's name. */+/** The preview dialog for an HTML or Markdown file in a message, opened by the eye button or by the file's name. */export function useHtmlPreview(path: string, name: string, message?: MessageAttachmentContext) {const [open, setOpen] = useState(false);const opener = useRef<HTMLElement | null>(null);- const html = message !== undefined && (isHtmlFile(name) || isHtmlFile(path));+ const kind = message === undefined ? null+ : isHtmlFile(name) || isHtmlFile(path) ? "html"+ : isMarkdownFile(name) || isMarkdownFile(path) ? "markdown" : null;+ const key = message ? `${message.threadId}:${message.messageId}:${path}` : "";return {- html,+ opens: kind !== null,+ label: t(kind === "markdown" ? "markdown.preview" : "html.preview", { name }),show: (event: { currentTarget: HTMLElement }) => {opener.current = event.currentTarget;setOpen(true);},- dialog: html && open && message- ? <TableDialog title={name} returnFocus={opener.current} onClose={() => setOpen(false)}><HtmlFileContent key={`${message.threadId}:${message.messageId}:${path}`} path={path} name={name} message={message} /></TableDialog>+ dialog: kind && open && message+ ? <TableDialog title={name} returnFocus={opener.current} onClose={() => setOpen(false)}>+ {kind === "html"+ ? <HtmlFileContent key={key} path={path} name={name} message={message} />+ : <Suspense fallback={<div role="status" className="flex items-center justify-center gap-2 p-12 text-sm text-ink-secondary"><LoaderCircle size={16} className="animate-spin" />{t("markdown.loading")}</div>}><MarkdownFileContent key={key} path={path} name={name} message={message} /></Suspense>}+ </TableDialog>: null,};}@@ -46,14 +61,14 @@ export function useHtmlPreview(path: string, name: string, message?: MessageAttaexport function HtmlFileButton({ path, name, message }: { path: string; name: string; message: MessageAttachmentContext }) {const preview = useHtmlPreview(path, name, message);return <>- <button type="button" className="table-action" title={t("html.preview", { name })} aria-label={t("html.preview", { name })} onClick={preview.show}><Eye size={14} /></button>+ <button type="button" className="table-action" title={preview.label} aria-label={preview.label} onClick={preview.show}><Eye size={14} /></button>{preview.dialog}</>;}-/** A file chip's name button: an HTML file's name opens its preview, any other file's name saves it. */+/** A file chip's name button: an HTML or Markdown file's name opens its preview, any other file's name saves it. */export function chipNameAction(preview: ReturnType<typeof useHtmlPreview>, save: ReturnType<typeof useLocalFileSave>, name: string, retryable: boolean) {- if (preview.html) return { onClick: preview.show, disabled: false, "aria-label": t("html.preview", { name }) };+ if (preview.opens) return { onClick: preview.show, disabled: false, "aria-label": preview.label };return { onClick: () => void save.save(), disabled: save.state === "saving", "aria-label": retryable ? t("attach.retrySaveAria", { name }) : t("attach.saveAria", { name }) };}diff --git a/src/components/MarkdownFilePreview.test.ts b/src/components/MarkdownFilePreview.test.tsnew file mode 100644index 0000000000..2246f0f6fd--- /dev/null+++ b/src/components/MarkdownFilePreview.test.ts@@ -0,0 +1,61 @@+import { createElement } from "react";+import { renderToStaticMarkup } from "react-dom/server";+import { describe, expect, it } from "vitest";+import { AttachedFileChip } from "./AttachmentPreview";+import { isMarkdownFile } from "./HtmlFilePreview";+import { MARKDOWN_PREVIEW_MAX_BYTES, MarkdownFileView } from "./MarkdownFilePreview";+import { readTableResponse } from "./TableFilePreview";++const message = { threadId: "t", messageId: "m" };+const chip = (name: string, withMessage = true) =>+ renderToStaticMarkup(createElement(AttachedFileChip, { file: { name, path: `/workspace/${name}`, private: true }, ...(withMessage ? { message } : {}) }));+const view = (source: string, showSource: boolean) => renderToStaticMarkup(createElement(MarkdownFileView, { source, showSource }));++describe("isMarkdownFile (#4765)", () => {+ it.each(["notes.md", "README.MD", "guide.markdown"])("accepts %s", (name) => expect(isMarkdownFile(name)).toBe(true));+ it.each(["notes.txt", "page.html", "md", "notes.md.zip", "data.mdx"])("rejects %s", (name) => expect(isMarkdownFile(name)).toBe(false));+});++describe("Markdown file chip (#4765)", () => {+ it("opens a preview from the file name and keeps saving on its own button", () => {+ const html = chip("report.md");+ expect(html).toMatch(/aria-label="Preview: report.md"[^>]*>[^]*report\.md/);+ expect(html).toMatch(/class="table-action" aria-label="Save a copy of report.md"/);+ expect(html).not.toContain("Preview page:");+ });++ it("stays a plain download outside a message, and other files are unchanged", () => {+ expect(chip("report.md", false)).not.toContain("Preview: report.md");+ expect(chip("notes.txt")).not.toContain("Preview:");+ expect(chip("report.html")).toContain("Preview page: report.html");+ });+});++describe("MarkdownFileView (#4765)", () => {+ const source = "# Weekly report\n\n| Team | Done |\n| --- | --- |\n| Ops | 4 |\n\n- **one**\n- two\n\nSee /workspace/secret.txt";++ it("draws headings, tables and lists", () => {+ const html = view(source, false);+ expect(html).toMatch(/class="md-heading[^"]*">Weekly report</);+ expect(html).toContain("<table");+ expect(html).toContain("<strong>one</strong>");+ });++ it("keeps paths in the file as text, never links to other files", () => {+ const html = view(source, false);+ expect(html).toContain("/workspace/secret.txt");+ expect(html).not.toMatch(/<(a|button)[^>]*>[^<]*\/workspace\/secret\.txt/);+ });++ it("shows the raw text when asked", () => {+ const html = view(source, true);+ expect(html).toContain("<pre");+ expect(html).toContain("# Weekly report");+ expect(html).not.toContain("<table");+ });++ it("stops a file at its cap", async () => {+ const signal = new AbortController().signal;+ await expect(readTableResponse(new Response(new Uint8Array(MARKDOWN_PREVIEW_MAX_BYTES + 1)), signal, MARKDOWN_PREVIEW_MAX_BYTES)).rejects.toThrow("size");+ });+});diff --git a/src/components/MarkdownFilePreview.tsx b/src/components/MarkdownFilePreview.tsxnew file mode 100644index 0000000000..81206e3d7c--- /dev/null+++ b/src/components/MarkdownFilePreview.tsx@@ -0,0 +1,51 @@+import { useEffect, useState } from "react";+import { Code2, Download, Eye, LoaderCircle, RotateCcw } from "lucide-react";+import { requestMessageFile, useLocalFileSave, type MessageAttachmentContext } from "./AttachmentPreview";+import { ChatMarkdown } from "./ChatMarkdown";+import { readTableResponse } from "./TableFilePreview";+import { t } from "@/lib/i18n";++export const MARKDOWN_PREVIEW_MAX_BYTES = 2 * 1024 * 1024;++/** A Markdown file in a message, drawn the way the chat draws a reply. Security: no message context is passed on, so+ * paths written in the file stay plain text instead of becoming links that fetch other files. */+export default function MarkdownFileContent({ path, name, message }: { path: string; name: string; message: MessageAttachmentContext }) {+ const [attempt, setAttempt] = useState(0);+ const [source, setSource] = useState<string | null>(null);+ const [error, setError] = useState<"size" | "load" | null>(null);+ const [showSource, setShowSource] = useState(false);+ const save = useLocalFileSave(path, name, message);+ useEffect(() => {+ const controller = new AbortController();+ setError(null);+ setSource(null);+ void (async () => {+ try {+ const response = await requestMessageFile(path, message, controller.signal);+ const text = await readTableResponse(response, controller.signal, MARKDOWN_PREVIEW_MAX_BYTES);+ if (!controller.signal.aborted) setSource(text);+ } catch (reason) {+ if (!controller.signal.aborted) setError(reason instanceof Error && reason.message === "size" ? "size" : "load");+ }+ })();+ return () => controller.abort();+ }, [path, message.threadId, message.messageId, attempt]);+ if (error) return <div className="p-8 text-center text-sm"><p role="alert" className="mb-3 text-ink-secondary">{t(error === "size" ? "markdown.tooLarge" : "markdown.loadFailed")}</p><button type="button" className="rounded-lg border border-hairline px-3 py-2 hover:bg-raised" onClick={() => setAttempt(attempt + 1)}>{t("chat.retry")}</button></div>;+ if (source === null) return <div role="status" className="flex items-center justify-center gap-2 p-12 text-sm text-ink-secondary"><LoaderCircle size={16} className="animate-spin" />{t("markdown.loading")}</div>;+ return <div className="flex flex-col gap-2">+ <div className="flex items-center justify-end gap-1">+ <button type="button" className="table-action" aria-pressed={showSource} aria-label={t(showSource ? "markdown.rendered" : "html.source")} title={t(showSource ? "markdown.rendered" : "html.source")} onClick={() => setShowSource(!showSource)}>{showSource ? <Eye size={14} /> : <Code2 size={14} />}</button>+ <button type="button" className="table-action" aria-label={t("html.reload")} title={t("html.reload")} onClick={() => setAttempt(attempt + 1)}><RotateCcw size={14} /></button>+ <button type="button" className="table-action" aria-label={t("attach.saveAria", { name })} title={t("attach.saveAria", { name })} disabled={save.state === "saving"} onClick={() => void save.save()}><Download size={14} /></button>+ </div>+ {save.state === "failed" && <p role="alert" className="text-end text-[12px] text-danger">{save.reason}</p>}+ <MarkdownFileView source={source} showSource={showSource} />+ </div>;+}++/** The file itself: drawn as Markdown, or its raw text. */+export function MarkdownFileView({ source, showSource }: { source: string; showSource: boolean }) {+ return showSource+ ? <pre className="h-[72dvh] overflow-auto rounded-lg border border-hairline/40 bg-inset p-3 text-[12px] leading-5 whitespace-pre-wrap break-words text-ink">{source}</pre>+ : <div data-markdown-file className="h-[72dvh] overflow-auto rounded-lg border border-hairline/40 bg-panel px-5 py-4 text-[14px] leading-6 text-ink"><ChatMarkdown text={source} /></div>;+}diff --git a/src/locales/de.json b/src/locales/de.jsonindex 7bdd8f6333..ecc4891bd2 100644--- a/src/locales/de.json+++ b/src/locales/de.json@@ -3423,5 +3423,10 @@"remote.client.endsDec7": "Diese Verbindungsart endet am 7. Dezember. Koppeln Sie diesen Computer danach erneut über Telefon & Geräte auf dem anderen Computer.","phone.code.pairingCode": "Kopplungscode","phone.code.typeIntro": "Öffnen Sie die {app}-App und geben Sie diesen Kopplungscode ein.",- "phone.signIn.emailCode": "Anmeldecode aus Ihrer E-Mail"+ "phone.signIn.emailCode": "Anmeldecode aus Ihrer E-Mail",+ "markdown.preview": "Vorschau: {name}",+ "markdown.loading": "Datei wird geöffnet…",+ "markdown.tooLarge": "Diese Datei ist zu groß für eine Vorschau in der App (2 MB). Lade das Original herunter, um sie anzusehen.",+ "markdown.loadFailed": "Datei konnte nicht geöffnet werden. Prüfe deine Verbindung und versuche es erneut. UTF-8-Textdateien werden unterstützt.",+ "markdown.rendered": "Formatiert anzeigen"}diff --git a/src/locales/en.json b/src/locales/en.jsonindex ad8c14b8a3..08d957fbd0 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -143,6 +143,11 @@"html.frameTitle": "Preview of {name}","html.openInBrowser": "Open {name} in your browser","html.openFailed": "Could not open this page in your browser.",+ "markdown.preview": "Preview: {name}",+ "markdown.loading": "Opening file…",+ "markdown.tooLarge": "This file is too large for an in-app preview (2 MB). Download the original to view it.",+ "markdown.loadFailed": "Could not open this file. Check your connection and try again. UTF-8 text files are supported.",+ "markdown.rendered": "View formatted","table.loading": "Opening table…","table.tooLarge": "This file is too large for an in-app preview (10 MB, 100,000 rows, 200 columns or 500,000 cells). Download the original to view it all.","table.invalid": "This CSV/TSV could not be read as a table. Check its quotes and column counts, or download the original.",diff --git a/src/locales/es.json b/src/locales/es.jsonindex 6e7ad74f50..21de9325f3 100644--- a/src/locales/es.json+++ b/src/locales/es.json@@ -6072,5 +6072,10 @@"remote.client.endsDec7": "Este tipo de conexión termina el 7 de diciembre. Después, vuelve a emparejar esta computadora desde Teléfono y dispositivos en la otra.","phone.code.pairingCode": "Código de emparejamiento","phone.code.typeIntro": "Abre la app de {app} y escribe este código de emparejamiento.",- "phone.signIn.emailCode": "Código de inicio de sesión de tu correo"+ "phone.signIn.emailCode": "Código de inicio de sesión de tu correo",+ "markdown.preview": "Vista previa: {name}",+ "markdown.loading": "Abriendo archivo…",+ "markdown.tooLarge": "Este archivo es demasiado grande para la vista previa en la app (2 MB). Descarga el original para verlo.",+ "markdown.loadFailed": "No se pudo abrir este archivo. Revisa tu conexión e inténtalo de nuevo. Se admiten archivos de texto UTF-8.",+ "markdown.rendered": "Ver con formato"}diff --git a/src/locales/fr.json b/src/locales/fr.jsonindex 77f7111f3f..1654165dff 100644--- a/src/locales/fr.json+++ b/src/locales/fr.json@@ -3289,5 +3289,10 @@"remote.client.endsDec7": "Ce type de connexion prend fin le 7 décembre. Ensuite, appairez à nouveau cet ordinateur depuis Téléphone et appareils sur l'autre ordinateur.","phone.code.pairingCode": "Code d'appairage","phone.code.typeIntro": "Ouvrez l'app {app} et saisissez ce code d'appairage.",- "phone.signIn.emailCode": "Code de connexion reçu par e-mail"+ "phone.signIn.emailCode": "Code de connexion reçu par e-mail",+ "markdown.preview": "Aperçu : {name}",+ "markdown.loading": "Ouverture du fichier…",+ "markdown.tooLarge": "Ce fichier est trop volumineux pour un aperçu dans l’app (2 Mo). Téléchargez l’original pour le voir.",+ "markdown.loadFailed": "Impossible d’ouvrir ce fichier. Vérifiez votre connexion et réessayez. Les fichiers texte UTF-8 sont pris en charge.",+ "markdown.rendered": "Voir la mise en forme"}diff --git a/src/locales/hi.json b/src/locales/hi.jsonindex 3416160d12..d04b68fa51 100644--- a/src/locales/hi.json+++ b/src/locales/hi.json@@ -3141,5 +3141,10 @@"remote.client.endsDec7": "यह कनेक्शन तरीका 7 दिसंबर को खत्म होगा। उसके बाद दूसरे कंप्यूटर के फ़ोन और डिवाइस से इस कंप्यूटर को फिर से जोड़ें।","phone.code.pairingCode": "पेयरिंग कोड","phone.code.typeIntro": "{app} ऐप खोलें और यह पेयरिंग कोड डालें।",- "phone.signIn.emailCode": "आपके ईमेल का साइन-इन कोड"+ "phone.signIn.emailCode": "आपके ईमेल का साइन-इन कोड",+ "markdown.preview": "पूर्वावलोकन: {name}",+ "markdown.loading": "फ़ाइल खुल रही है…",+ "markdown.tooLarge": "यह फ़ाइल ऐप में पूर्वावलोकन के लिए बहुत बड़ी है (2 MB)। देखने के लिए मूल फ़ाइल डाउनलोड करें।",+ "markdown.loadFailed": "यह फ़ाइल नहीं खुल सकी। अपना कनेक्शन जाँचें और फिर से कोशिश करें। UTF-8 टेक्स्ट फ़ाइलें समर्थित हैं।",+ "markdown.rendered": "फ़ॉर्मैट किया हुआ देखें"}diff --git a/src/locales/it.json b/src/locales/it.jsonindex 66a25cfbbd..2441ca62b0 100644--- a/src/locales/it.json+++ b/src/locales/it.json@@ -63,6 +63,11 @@"html.rendered": "Vedi pagina","html.reload": "Ricarica","html.frameTitle": "Anteprima di {name}",+ "markdown.preview": "Anteprima: {name}",+ "markdown.loading": "Apertura del file…",+ "markdown.tooLarge": "Questo file è troppo grande per l’anteprima nell’app (2 MB). Scarica l’originale per vederlo.",+ "markdown.loadFailed": "Impossibile aprire questo file. Controlla la connessione e riprova. Sono supportati i file di testo UTF-8.",+ "markdown.rendered": "Visualizza formattato","table.loading": "Apertura della tabella…","table.tooLarge": "Questo file è troppo grande per l’anteprima nell’app (10 MB, 100.000 righe, 200 colonne o 500.000 celle). Scarica l’originale per vederlo tutto.","table.invalid": "Questo CSV/TSV non si legge come tabella. Controlla virgolette e numero di colonne, oppure scarica l’originale.",diff --git a/src/locales/ja.json b/src/locales/ja.jsonindex b186554302..21cf758483 100644--- a/src/locales/ja.json+++ b/src/locales/ja.json@@ -108,6 +108,11 @@"html.rendered": "ページを表示","html.reload": "再読み込み","html.frameTitle": "{name} のプレビュー",+ "markdown.preview": "プレビュー: {name}",+ "markdown.loading": "ファイルを開いています…",+ "markdown.tooLarge": "このファイルはアプリ内プレビューには大きすぎます (2 MB)。表示するには元のファイルをダウンロードしてください。",+ "markdown.loadFailed": "このファイルを開けませんでした。接続を確認してもう一度お試しください。UTF-8 のテキストファイルに対応しています。",+ "markdown.rendered": "書式付きで表示","table.loading": "表を開いています…","table.tooLarge": "このファイルは大きすぎるため、アプリ内でプレビューできません(10 MB、100,000 行、200 列、または 500,000 セルを超えています)。すべてを見るには元のファイルをダウンロードしてください。","table.invalid": "この CSV/TSV を表として読み取れませんでした。引用符と列数を確認するか、元のファイルをダウンロードしてください。",diff --git a/src/locales/ko.json b/src/locales/ko.jsonindex ffe86d9607..cd36f37cad 100644--- a/src/locales/ko.json+++ b/src/locales/ko.json@@ -106,6 +106,11 @@"html.rendered": "페이지 보기","html.reload": "새로고침","html.frameTitle": "{name} 미리보기",+ "markdown.preview": "미리보기: {name}",+ "markdown.loading": "파일 여는 중…",+ "markdown.tooLarge": "이 파일은 앱 내 미리보기에 너무 큽니다(2MB). 원본을 다운로드해서 보세요.",+ "markdown.loadFailed": "이 파일을 열 수 없습니다. 연결을 확인하고 다시 시도하세요. UTF-8 텍스트 파일을 지원합니다.",+ "markdown.rendered": "서식 적용해서 보기","table.loading": "표 여는 중…","table.tooLarge": "앱에서 미리 보기에는 파일이 너무 커요(10MB, 10만 행, 200열 또는 50만 셀). 전체를 보려면 원본을 다운로드하세요.","table.invalid": "이 CSV/TSV를 표로 읽지 못했어요. 따옴표와 열 개수를 확인하거나 원본을 다운로드하세요.",diff --git a/src/locales/pl.json b/src/locales/pl.jsonindex 0493749c35..ca9e9af803 100644--- a/src/locales/pl.json+++ b/src/locales/pl.json@@ -63,6 +63,11 @@"html.rendered": "Pokaż stronę","html.reload": "Odśwież","html.frameTitle": "Podgląd: {name}",+ "markdown.preview": "Podgląd: {name}",+ "markdown.loading": "Otwieranie pliku…",+ "markdown.tooLarge": "Ten plik jest za duży na podgląd w aplikacji (2 MB). Pobierz oryginał, aby go zobaczyć.",+ "markdown.loadFailed": "Nie udało się otworzyć tego pliku. Sprawdź połączenie i spróbuj ponownie. Obsługiwane są pliki tekstowe UTF-8.",+ "markdown.rendered": "Pokaż sformatowany","table.loading": "Otwieranie tabeli…","table.tooLarge": "Ten plik jest zbyt duży do podglądu w aplikacji (10 MB, 100 000 wierszy, 200 kolumn lub 500 000 komórek). Pobierz oryginał, aby zobaczyć całość.","table.invalid": "Nie udało się odczytać tego pliku CSV/TSV jako tabeli. Sprawdź cudzysłowy i liczbę kolumn albo pobierz oryginał.",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex e668f43975..e55fff0c99 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -126,6 +126,11 @@"html.frameTitle": "Prévia de {name}","html.openInBrowser": "Abrir {name} no navegador","html.openFailed": "Não foi possível abrir esta página no navegador.",+ "markdown.preview": "Prévia: {name}",+ "markdown.loading": "Abrindo arquivo…",+ "markdown.tooLarge": "Este arquivo é grande demais para a prévia no app (2 MB). Baixe o original para vê-lo.",+ "markdown.loadFailed": "Não foi possível abrir este arquivo. Verifique sua conexão e tente novamente. Arquivos de texto UTF-8 são compatíveis.",+ "markdown.rendered": "Ver formatado","table.loading": "Abrindo a tabela…","table.tooLarge": "Este arquivo é grande demais para a prévia no app (10 MB, 100.000 linhas, 200 colunas ou 500.000 células). Baixe o original para ver tudo.","table.invalid": "Não foi possível ler este CSV/TSV como tabela. Confira as aspas e o número de colunas, ou baixe o original.",diff --git a/src/locales/ru.json b/src/locales/ru.jsonindex 4e18419024..62d48e883e 100644--- a/src/locales/ru.json+++ b/src/locales/ru.json@@ -63,6 +63,11 @@"html.rendered": "Показать страницу","html.reload": "Обновить","html.frameTitle": "Предпросмотр {name}",+ "markdown.preview": "Предпросмотр: {name}",+ "markdown.loading": "Открываем файл…",+ "markdown.tooLarge": "Этот файл слишком большой для предпросмотра в приложении (2 МБ). Скачайте оригинал, чтобы его посмотреть.",+ "markdown.loadFailed": "Не удалось открыть файл. Проверьте подключение и попробуйте снова. Поддерживаются текстовые файлы в UTF-8.",+ "markdown.rendered": "Показать с форматированием","table.loading": "Открытие таблицы…","table.tooLarge": "Файл слишком велик для предпросмотра в приложении (10 МБ, 100 000 строк, 200 столбцов или 500 000 ячеек). Скачайте оригинал, чтобы просмотреть его целиком.","table.invalid": "Не удалось прочитать этот CSV/TSV как таблицу. Проверьте кавычки и число столбцов или скачайте оригинал.",diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.jsonindex 019cb00b63..929ae9ebe9 100644--- a/src/locales/source-hashes.json+++ b/src/locales/source-hashes.json@@ -3426,7 +3426,12 @@"server.connect.emailOutgoingNote": "a4a9c913ec6e782b729b668fb53e799b131d0442bcbf43405f332607c7bd482b","server.connect.emailOutgoingPlaceholder": "4bb31e7a93129511e0ed4d2e47296f0cc8f602f9c03e61b2f8ddcd7169242c68","connect.checking": "ed56f22b046c20ebb7533d3c8200388572b5e2c979f4f3081e9f1c1d858a8cf0",- "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a"+ "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a",+ "markdown.preview": "b654b8c2f035bc833a69bae637404bbbf06e8b1d851ff7f37b69a67a91496c21",+ "markdown.loading": "de0df9167630114aa226cf42e5e3cef8507594397dce5c8cdd17ecc0021ece84",+ "markdown.tooLarge": "626c97400e3560c6a9b93fdbd3b2453cac0775f1957ee617cd11351df15b0a71",+ "markdown.loadFailed": "ceac5de6e56f16726e72df5399f724a100735fc8b924dff6216723627b95b7cf",+ "markdown.rendered": "475194e324e5cb36b80529dc2e7e751ff67b2ff6685de1a8d5fb75bd6fd0180a"},"es": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -9502,7 +9507,12 @@"server.connect.emailOutgoingNote": "a4a9c913ec6e782b729b668fb53e799b131d0442bcbf43405f332607c7bd482b","server.connect.emailOutgoingPlaceholder": "4bb31e7a93129511e0ed4d2e47296f0cc8f602f9c03e61b2f8ddcd7169242c68","connect.checking": "ed56f22b046c20ebb7533d3c8200388572b5e2c979f4f3081e9f1c1d858a8cf0",- "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a"+ "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a",+ "markdown.preview": "b654b8c2f035bc833a69bae637404bbbf06e8b1d851ff7f37b69a67a91496c21",+ "markdown.loading": "de0df9167630114aa226cf42e5e3cef8507594397dce5c8cdd17ecc0021ece84",+ "markdown.tooLarge": "626c97400e3560c6a9b93fdbd3b2453cac0775f1957ee617cd11351df15b0a71",+ "markdown.loadFailed": "ceac5de6e56f16726e72df5399f724a100735fc8b924dff6216723627b95b7cf",+ "markdown.rendered": "475194e324e5cb36b80529dc2e7e751ff67b2ff6685de1a8d5fb75bd6fd0180a"},"fr": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -12795,7 +12805,12 @@"server.connect.emailOutgoingNote": "a4a9c913ec6e782b729b668fb53e799b131d0442bcbf43405f332607c7bd482b","server.connect.emailOutgoingPlaceholder": "4bb31e7a93129511e0ed4d2e47296f0cc8f602f9c03e61b2f8ddcd7169242c68","connect.checking": "ed56f22b046c20ebb7533d3c8200388572b5e2c979f4f3081e9f1c1d858a8cf0",- "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a"+ "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a",+ "markdown.preview": "b654b8c2f035bc833a69bae637404bbbf06e8b1d851ff7f37b69a67a91496c21",+ "markdown.loading": "de0df9167630114aa226cf42e5e3cef8507594397dce5c8cdd17ecc0021ece84",+ "markdown.tooLarge": "626c97400e3560c6a9b93fdbd3b2453cac0775f1957ee617cd11351df15b0a71",+ "markdown.loadFailed": "ceac5de6e56f16726e72df5399f724a100735fc8b924dff6216723627b95b7cf",+ "markdown.rendered": "475194e324e5cb36b80529dc2e7e751ff67b2ff6685de1a8d5fb75bd6fd0180a"},"hi": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -15940,7 +15955,12 @@"server.connect.emailOutgoingNote": "a4a9c913ec6e782b729b668fb53e799b131d0442bcbf43405f332607c7bd482b","server.connect.emailOutgoingPlaceholder": "4bb31e7a93129511e0ed4d2e47296f0cc8f602f9c03e61b2f8ddcd7169242c68","connect.checking": "ed56f22b046c20ebb7533d3c8200388572b5e2c979f4f3081e9f1c1d858a8cf0",- "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a"+ "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a",+ "markdown.preview": "b654b8c2f035bc833a69bae637404bbbf06e8b1d851ff7f37b69a67a91496c21",+ "markdown.loading": "de0df9167630114aa226cf42e5e3cef8507594397dce5c8cdd17ecc0021ece84",+ "markdown.tooLarge": "626c97400e3560c6a9b93fdbd3b2453cac0775f1957ee617cd11351df15b0a71",+ "markdown.loadFailed": "ceac5de6e56f16726e72df5399f724a100735fc8b924dff6216723627b95b7cf",+ "markdown.rendered": "475194e324e5cb36b80529dc2e7e751ff67b2ff6685de1a8d5fb75bd6fd0180a"},"ja": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -15977,6 +15997,11 @@"html.rendered": "1bcddf8728151cbdb50f1a43d0d628254f82238aa55d42d601c936ef5db8710b","html.reload": "bdc090ec61e3fcfc65f469951dfe00f3f2ecfc6003c44deac8e05b7237092de6","html.frameTitle": "e8371112eb46143f26117e124b725328cd37d525887883dbfa7689c4ae74daa7",+ "markdown.preview": "b654b8c2f035bc833a69bae637404bbbf06e8b1d851ff7f37b69a67a91496c21",+ "markdown.loading": "de0df9167630114aa226cf42e5e3cef8507594397dce5c8cdd17ecc0021ece84",+ "markdown.tooLarge": "626c97400e3560c6a9b93fdbd3b2453cac0775f1957ee617cd11351df15b0a71",+ "markdown.loadFailed": "ceac5de6e56f16726e72df5399f724a100735fc8b924dff6216723627b95b7cf",+ "markdown.rendered": "475194e324e5cb36b80529dc2e7e751ff67b2ff6685de1a8d5fb75bd6fd0180a","table.loading": "65e9d31d40f9378cdc307666ccae80696384640a9cb775cefcd0ea6644274efb","table.tooLarge": "82c2a410bc8b7aaf5688be7de9301bc7279ab3a1ca99ade4bf074ababf4cf788","table.invalid": "e08634db89683677cd7ea264e33d4f807c38ae11b691486b35c7267316bf095f",@@ -23802,6 +23827,11 @@"html.frameTitle": "e8371112eb46143f26117e124b725328cd37d525887883dbfa7689c4ae74daa7","html.openInBrowser": "6d86aa17c99aae9dab5e651a55e3920ecdf738141109f8ba52bd56ac8eda20b0","html.openFailed": "fa4c32e4764b7bcc9683bbcf2fd97fac4afb7c7d4638b329d811c074580b232a",+ "markdown.preview": "b654b8c2f035bc833a69bae637404bbbf06e8b1d851ff7f37b69a67a91496c21",+ "markdown.loading": "de0df9167630114aa226cf42e5e3cef8507594397dce5c8cdd17ecc0021ece84",+ "markdown.tooLarge": "626c97400e3560c6a9b93fdbd3b2453cac0775f1957ee617cd11351df15b0a71",+ "markdown.loadFailed": "ceac5de6e56f16726e72df5399f724a100735fc8b924dff6216723627b95b7cf",+ "markdown.rendered": "475194e324e5cb36b80529dc2e7e751ff67b2ff6685de1a8d5fb75bd6fd0180a","table.loading": "65e9d31d40f9378cdc307666ccae80696384640a9cb775cefcd0ea6644274efb","table.tooLarge": "82c2a410bc8b7aaf5688be7de9301bc7279ab3a1ca99ade4bf074ababf4cf788","table.invalid": "e08634db89683677cd7ea264e33d4f807c38ae11b691486b35c7267316bf095f",@@ -37089,6 +37119,11 @@"html.rendered": "1bcddf8728151cbdb50f1a43d0d628254f82238aa55d42d601c936ef5db8710b","html.reload": "bdc090ec61e3fcfc65f469951dfe00f3f2ecfc6003c44deac8e05b7237092de6","html.frameTitle": "e8371112eb46143f26117e124b725328cd37d525887883dbfa7689c4ae74daa7",+ "markdown.preview": "b654b8c2f035bc833a69bae637404bbbf06e8b1d851ff7f37b69a67a91496c21",+ "markdown.loading": "de0df9167630114aa226cf42e5e3cef8507594397dce5c8cdd17ecc0021ece84",+ "markdown.tooLarge": "626c97400e3560c6a9b93fdbd3b2453cac0775f1957ee617cd11351df15b0a71",+ "markdown.loadFailed": "ceac5de6e56f16726e72df5399f724a100735fc8b924dff6216723627b95b7cf",+ "markdown.rendered": "475194e324e5cb36b80529dc2e7e751ff67b2ff6685de1a8d5fb75bd6fd0180a","table.loading": "65e9d31d40f9378cdc307666ccae80696384640a9cb775cefcd0ea6644274efb","table.tooLarge": "82c2a410bc8b7aaf5688be7de9301bc7279ab3a1ca99ade4bf074ababf4cf788","table.invalid": "e08634db89683677cd7ea264e33d4f807c38ae11b691486b35c7267316bf095f",@@ -46099,6 +46134,11 @@"html.frameTitle": "e8371112eb46143f26117e124b725328cd37d525887883dbfa7689c4ae74daa7","html.openInBrowser": "6d86aa17c99aae9dab5e651a55e3920ecdf738141109f8ba52bd56ac8eda20b0","html.openFailed": "fa4c32e4764b7bcc9683bbcf2fd97fac4afb7c7d4638b329d811c074580b232a",+ "markdown.preview": "b654b8c2f035bc833a69bae637404bbbf06e8b1d851ff7f37b69a67a91496c21",+ "markdown.loading": "de0df9167630114aa226cf42e5e3cef8507594397dce5c8cdd17ecc0021ece84",+ "markdown.tooLarge": "626c97400e3560c6a9b93fdbd3b2453cac0775f1957ee617cd11351df15b0a71",+ "markdown.loadFailed": "ceac5de6e56f16726e72df5399f724a100735fc8b924dff6216723627b95b7cf",+ "markdown.rendered": "475194e324e5cb36b80529dc2e7e751ff67b2ff6685de1a8d5fb75bd6fd0180a","server.moves.connectorStayedMail": "998785d80d197e0c6e22d6038525a169905e24dc7fd60aa68b83635d1f8bbc8d","server.moves.connectorStayedProgram": "64c1f5480ff4883da60905d87ec2e869a18bb9142ea66ff2757c982a21e3a733","server.moves.connectorStayedHere": "b4c571fd7e50e8d32a4cf86bd39969e573c536e324bc142419612d1216ba31a6",@@ -54605,7 +54645,12 @@"server.connect.emailOutgoingNote": "a4a9c913ec6e782b729b668fb53e799b131d0442bcbf43405f332607c7bd482b","server.connect.emailOutgoingPlaceholder": "4bb31e7a93129511e0ed4d2e47296f0cc8f602f9c03e61b2f8ddcd7169242c68","connect.checking": "ed56f22b046c20ebb7533d3c8200388572b5e2c979f4f3081e9f1c1d858a8cf0",- "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a"+ "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a",+ "markdown.preview": "b654b8c2f035bc833a69bae637404bbbf06e8b1d851ff7f37b69a67a91496c21",+ "markdown.loading": "de0df9167630114aa226cf42e5e3cef8507594397dce5c8cdd17ecc0021ece84",+ "markdown.tooLarge": "626c97400e3560c6a9b93fdbd3b2453cac0775f1957ee617cd11351df15b0a71",+ "markdown.loadFailed": "ceac5de6e56f16726e72df5399f724a100735fc8b924dff6216723627b95b7cf",+ "markdown.rendered": "475194e324e5cb36b80529dc2e7e751ff67b2ff6685de1a8d5fb75bd6fd0180a"},"vi": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -60181,7 +60226,12 @@"server.connect.emailOutgoingNote": "a4a9c913ec6e782b729b668fb53e799b131d0442bcbf43405f332607c7bd482b","server.connect.emailOutgoingPlaceholder": "4bb31e7a93129511e0ed4d2e47296f0cc8f602f9c03e61b2f8ddcd7169242c68","connect.checking": "ed56f22b046c20ebb7533d3c8200388572b5e2c979f4f3081e9f1c1d858a8cf0",- "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a"+ "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a",+ "markdown.preview": "b654b8c2f035bc833a69bae637404bbbf06e8b1d851ff7f37b69a67a91496c21",+ "markdown.loading": "de0df9167630114aa226cf42e5e3cef8507594397dce5c8cdd17ecc0021ece84",+ "markdown.tooLarge": "626c97400e3560c6a9b93fdbd3b2453cac0775f1957ee617cd11351df15b0a71",+ "markdown.loadFailed": "ceac5de6e56f16726e72df5399f724a100735fc8b924dff6216723627b95b7cf",+ "markdown.rendered": "475194e324e5cb36b80529dc2e7e751ff67b2ff6685de1a8d5fb75bd6fd0180a"},"tr": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -65757,7 +65807,12 @@"server.connect.emailOutgoingNote": "a4a9c913ec6e782b729b668fb53e799b131d0442bcbf43405f332607c7bd482b","server.connect.emailOutgoingPlaceholder": "4bb31e7a93129511e0ed4d2e47296f0cc8f602f9c03e61b2f8ddcd7169242c68","connect.checking": "ed56f22b046c20ebb7533d3c8200388572b5e2c979f4f3081e9f1c1d858a8cf0",- "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a"+ "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a",+ "markdown.preview": "b654b8c2f035bc833a69bae637404bbbf06e8b1d851ff7f37b69a67a91496c21",+ "markdown.loading": "de0df9167630114aa226cf42e5e3cef8507594397dce5c8cdd17ecc0021ece84",+ "markdown.tooLarge": "626c97400e3560c6a9b93fdbd3b2453cac0775f1957ee617cd11351df15b0a71",+ "markdown.loadFailed": "ceac5de6e56f16726e72df5399f724a100735fc8b924dff6216723627b95b7cf",+ "markdown.rendered": "475194e324e5cb36b80529dc2e7e751ff67b2ff6685de1a8d5fb75bd6fd0180a"},"pl": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -65794,6 +65849,11 @@"html.rendered": "1bcddf8728151cbdb50f1a43d0d628254f82238aa55d42d601c936ef5db8710b","html.reload": "bdc090ec61e3fcfc65f469951dfe00f3f2ecfc6003c44deac8e05b7237092de6","html.frameTitle": "e8371112eb46143f26117e124b725328cd37d525887883dbfa7689c4ae74daa7",+ "markdown.preview": "b654b8c2f035bc833a69bae637404bbbf06e8b1d851ff7f37b69a67a91496c21",+ "markdown.loading": "de0df9167630114aa226cf42e5e3cef8507594397dce5c8cdd17ecc0021ece84",+ "markdown.tooLarge": "626c97400e3560c6a9b93fdbd3b2453cac0775f1957ee617cd11351df15b0a71",+ "markdown.loadFailed": "ceac5de6e56f16726e72df5399f724a100735fc8b924dff6216723627b95b7cf",+ "markdown.rendered": "475194e324e5cb36b80529dc2e7e751ff67b2ff6685de1a8d5fb75bd6fd0180a","table.loading": "65e9d31d40f9378cdc307666ccae80696384640a9cb775cefcd0ea6644274efb","table.tooLarge": "82c2a410bc8b7aaf5688be7de9301bc7279ab3a1ca99ade4bf074ababf4cf788","table.invalid": "e08634db89683677cd7ea264e33d4f807c38ae11b691486b35c7267316bf095f",@@ -72632,6 +72692,11 @@"html.rendered": "1bcddf8728151cbdb50f1a43d0d628254f82238aa55d42d601c936ef5db8710b","html.reload": "bdc090ec61e3fcfc65f469951dfe00f3f2ecfc6003c44deac8e05b7237092de6","html.frameTitle": "e8371112eb46143f26117e124b725328cd37d525887883dbfa7689c4ae74daa7",+ "markdown.preview": "b654b8c2f035bc833a69bae637404bbbf06e8b1d851ff7f37b69a67a91496c21",+ "markdown.loading": "de0df9167630114aa226cf42e5e3cef8507594397dce5c8cdd17ecc0021ece84",+ "markdown.tooLarge": "626c97400e3560c6a9b93fdbd3b2453cac0775f1957ee617cd11351df15b0a71",+ "markdown.loadFailed": "ceac5de6e56f16726e72df5399f724a100735fc8b924dff6216723627b95b7cf",+ "markdown.rendered": "475194e324e5cb36b80529dc2e7e751ff67b2ff6685de1a8d5fb75bd6fd0180a","table.loading": "65e9d31d40f9378cdc307666ccae80696384640a9cb775cefcd0ea6644274efb","table.tooLarge": "82c2a410bc8b7aaf5688be7de9301bc7279ab3a1ca99ade4bf074ababf4cf788","table.invalid": "e08634db89683677cd7ea264e33d4f807c38ae11b691486b35c7267316bf095f",@@ -79532,6 +79597,11 @@"html.rendered": "1bcddf8728151cbdb50f1a43d0d628254f82238aa55d42d601c936ef5db8710b","html.reload": "bdc090ec61e3fcfc65f469951dfe00f3f2ecfc6003c44deac8e05b7237092de6","html.frameTitle": "e8371112eb46143f26117e124b725328cd37d525887883dbfa7689c4ae74daa7",+ "markdown.preview": "b654b8c2f035bc833a69bae637404bbbf06e8b1d851ff7f37b69a67a91496c21",+ "markdown.loading": "de0df9167630114aa226cf42e5e3cef8507594397dce5c8cdd17ecc0021ece84",+ "markdown.tooLarge": "626c97400e3560c6a9b93fdbd3b2453cac0775f1957ee617cd11351df15b0a71",+ "markdown.loadFailed": "ceac5de6e56f16726e72df5399f724a100735fc8b924dff6216723627b95b7cf",+ "markdown.rendered": "475194e324e5cb36b80529dc2e7e751ff67b2ff6685de1a8d5fb75bd6fd0180a","table.loading": "65e9d31d40f9378cdc307666ccae80696384640a9cb775cefcd0ea6644274efb","table.tooLarge": "82c2a410bc8b7aaf5688be7de9301bc7279ab3a1ca99ade4bf074ababf4cf788","table.invalid": "e08634db89683677cd7ea264e33d4f807c38ae11b691486b35c7267316bf095f",@@ -86301,6 +86371,11 @@"html.rendered": "1bcddf8728151cbdb50f1a43d0d628254f82238aa55d42d601c936ef5db8710b","html.reload": "bdc090ec61e3fcfc65f469951dfe00f3f2ecfc6003c44deac8e05b7237092de6","html.frameTitle": "e8371112eb46143f26117e124b725328cd37d525887883dbfa7689c4ae74daa7",+ "markdown.preview": "b654b8c2f035bc833a69bae637404bbbf06e8b1d851ff7f37b69a67a91496c21",+ "markdown.loading": "de0df9167630114aa226cf42e5e3cef8507594397dce5c8cdd17ecc0021ece84",+ "markdown.tooLarge": "626c97400e3560c6a9b93fdbd3b2453cac0775f1957ee617cd11351df15b0a71",+ "markdown.loadFailed": "ceac5de6e56f16726e72df5399f724a100735fc8b924dff6216723627b95b7cf",+ "markdown.rendered": "475194e324e5cb36b80529dc2e7e751ff67b2ff6685de1a8d5fb75bd6fd0180a","table.loading": "65e9d31d40f9378cdc307666ccae80696384640a9cb775cefcd0ea6644274efb","table.tooLarge": "82c2a410bc8b7aaf5688be7de9301bc7279ab3a1ca99ade4bf074ababf4cf788","table.invalid": "e08634db89683677cd7ea264e33d4f807c38ae11b691486b35c7267316bf095f",diff --git a/src/locales/tr.json b/src/locales/tr.jsonindex da19e7c6ae..13dd0a67fe 100644--- a/src/locales/tr.json+++ b/src/locales/tr.json@@ -5572,5 +5572,10 @@"remote.client.endsDec7": "Bu bağlantı türü 7 Aralık'ta sona eriyor. Sonrasında bu bilgisayarı diğer bilgisayarın Telefon ve cihazlar bölümünden yeniden eşleştirin.","phone.code.pairingCode": "Eşleştirme kodu","phone.code.typeIntro": "{app} uygulamasını açın ve bu eşleştirme kodunu yazın.",- "phone.signIn.emailCode": "E-postanızdaki oturum açma kodu"+ "phone.signIn.emailCode": "E-postanızdaki oturum açma kodu",+ "markdown.preview": "Önizleme: {name}",+ "markdown.loading": "Dosya açılıyor…",+ "markdown.tooLarge": "Bu dosya uygulama içi önizleme için çok büyük (2 MB). Görüntülemek için orijinali indirin.",+ "markdown.loadFailed": "Bu dosya açılamadı. Bağlantınızı kontrol edip tekrar deneyin. UTF-8 metin dosyaları desteklenir.",+ "markdown.rendered": "Biçimlendirilmiş görüntüle"}diff --git a/src/locales/uk.json b/src/locales/uk.jsonindex 2a35657b23..99a362098d 100644--- a/src/locales/uk.json+++ b/src/locales/uk.json@@ -3582,5 +3582,10 @@"remote.client.endsDec7": "Цей тип з'єднання припиняє роботу 7 грудня. Після цього знову прив'яжіть цей комп'ютер у розділі «Телефон і пристрої» на іншому комп'ютері.","phone.code.pairingCode": "Код прив'язки","phone.code.typeIntro": "Відкрийте застосунок {app} і введіть цей код прив'язки.",- "phone.signIn.emailCode": "Код входу з листа"+ "phone.signIn.emailCode": "Код входу з листа",+ "markdown.preview": "Попередній перегляд: {name}",+ "markdown.loading": "Відкриваємо файл…",+ "markdown.tooLarge": "Цей файл завеликий для перегляду в застосунку (2 МБ). Завантажте оригінал, щоб його переглянути.",+ "markdown.loadFailed": "Не вдалося відкрити файл. Перевірте з’єднання і спробуйте ще раз. Підтримуються текстові файли UTF-8.",+ "markdown.rendered": "Показати з форматуванням"}diff --git a/src/locales/vi.json b/src/locales/vi.jsonindex b1a4b53fa5..bf8fd65ef6 100644--- a/src/locales/vi.json+++ b/src/locales/vi.json@@ -5572,5 +5572,10 @@"remote.client.endsDec7": "Kiểu kết nối này kết thúc vào ngày 7 tháng 12. Sau đó, hãy ghép nối lại máy này từ Điện thoại và thiết bị trên máy kia.","phone.code.pairingCode": "Mã ghép nối","phone.code.typeIntro": "Mở ứng dụng {app} và nhập mã ghép nối này.",- "phone.signIn.emailCode": "Mã đăng nhập trong email của bạn"+ "phone.signIn.emailCode": "Mã đăng nhập trong email của bạn",+ "markdown.preview": "Xem trước: {name}",+ "markdown.loading": "Đang mở tệp…",+ "markdown.tooLarge": "Tệp này quá lớn để xem trước trong ứng dụng (2 MB). Hãy tải bản gốc để xem.",+ "markdown.loadFailed": "Không thể mở tệp này. Kiểm tra kết nối rồi thử lại. Hỗ trợ tệp văn bản UTF-8.",+ "markdown.rendered": "Xem có định dạng"}diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.jsonindex fa03059810..76772147ff 100644--- a/src/locales/zh-tw.json+++ b/src/locales/zh-tw.json@@ -143,6 +143,11 @@"html.frameTitle": "{name} 的預覽","html.openInBrowser": "在你的瀏覽器中開啟 {name}","html.openFailed": "無法在你的瀏覽器中開啟這個頁面。",+ "markdown.preview": "預覽:{name}",+ "markdown.loading": "正在開啟檔案…",+ "markdown.tooLarge": "此檔案太大,無法在 App 內預覽(2 MB)。請下載原始檔案查看。",+ "markdown.loadFailed": "無法開啟此檔案。請檢查連線後再試一次。支援 UTF-8 文字檔。",+ "markdown.rendered": "查看格式化內容","table.loading": "正在開啟表格…","table.tooLarge": "這個檔案太大,無法在應用程式內預覽(10 MB、100,000 列、200 欄或 500,000 個儲存格)。請下載原始檔案以檢視完整內容。","table.invalid": "無法將這個 CSV/TSV 讀取為表格。請檢查其引號與欄數,或下載原始檔案。",diff --git a/src/locales/zh.json b/src/locales/zh.jsonindex 06232f063f..9f93743921 100644--- a/src/locales/zh.json+++ b/src/locales/zh.json@@ -106,6 +106,11 @@"html.rendered": "查看页面","html.reload": "重新加载","html.frameTitle": "{name} 的预览",+ "markdown.preview": "预览:{name}",+ "markdown.loading": "正在打开文件…",+ "markdown.tooLarge": "此文件太大,无法在应用内预览(2 MB)。请下载原始文件查看。",+ "markdown.loadFailed": "无法打开此文件。请检查网络连接后重试。支持 UTF-8 文本文件。",+ "markdown.rendered": "查看格式化内容","table.loading": "正在打开表格…","table.tooLarge": "这个文件太大,无法在应用内预览(上限为 10 MB、100,000 行、200 列或 500,000 个单元格)。请下载原文件查看完整内容。","table.invalid": "无法将这个 CSV/TSV 读取为表格。请检查引号和列数,或下载原文件。",