mirror of
https://github.com/docmost/docmost.git
synced 2026-05-18 23:44:24 +08:00
cleanup translation strings
This commit is contained in:
@@ -958,24 +958,7 @@
|
|||||||
"Mention": "Mention",
|
"Mention": "Mention",
|
||||||
"Emoji": "Emoji",
|
"Emoji": "Emoji",
|
||||||
"Columns": "Columns",
|
"Columns": "Columns",
|
||||||
"2 columns": "2 columns",
|
|
||||||
"3 columns": "3 columns",
|
|
||||||
"4 columns": "4 columns",
|
|
||||||
"5 columns": "5 columns",
|
|
||||||
"More inserts": "More inserts",
|
"More inserts": "More inserts",
|
||||||
"Draw.io": "Draw.io",
|
|
||||||
"Excalidraw": "Excalidraw",
|
|
||||||
"Iframe": "Iframe",
|
|
||||||
"YouTube": "YouTube",
|
|
||||||
"Vimeo": "Vimeo",
|
|
||||||
"Loom": "Loom",
|
|
||||||
"Figma": "Figma",
|
|
||||||
"Airtable": "Airtable",
|
|
||||||
"Typeform": "Typeform",
|
|
||||||
"Miro": "Miro",
|
|
||||||
"Framer": "Framer",
|
|
||||||
"Google Drive": "Google Drive",
|
|
||||||
"Google Sheets": "Google Sheets",
|
|
||||||
"Embeds": "Embeds",
|
"Embeds": "Embeds",
|
||||||
"Diagrams": "Diagrams",
|
"Diagrams": "Diagrams",
|
||||||
"Advanced": "Advanced",
|
"Advanced": "Advanced",
|
||||||
@@ -986,7 +969,6 @@
|
|||||||
"Code block": "Code block",
|
"Code block": "Code block",
|
||||||
"Experimental": "Experimental",
|
"Experimental": "Experimental",
|
||||||
"Strikethrough": "Strikethrough",
|
"Strikethrough": "Strikethrough",
|
||||||
"PDF": "PDF",
|
|
||||||
"Undo": "Undo",
|
"Undo": "Undo",
|
||||||
"Redo": "Redo"
|
"Redo": "Redo"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ export const MediaGroup: FC<Props> = ({ editor }) => {
|
|||||||
pickFile(editor, "application/pdf", false, uploadPdfAction)
|
pickFile(editor, "application/pdf", false, uploadPdfAction)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{t("PDF")}
|
PDF
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
leftSection={<IconPaperclip size={16} />}
|
leftSection={<IconPaperclip size={16} />}
|
||||||
|
|||||||
+13
-13
@@ -119,13 +119,13 @@ export const MoreInsertsGroup: FC<Props> = ({ editor }) => {
|
|||||||
leftSection={<IconDrawio size={16} />}
|
leftSection={<IconDrawio size={16} />}
|
||||||
onClick={() => editor.chain().focus().setDrawio().run()}
|
onClick={() => editor.chain().focus().setDrawio().run()}
|
||||||
>
|
>
|
||||||
{t("Draw.io")}
|
Draw.io
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
leftSection={<IconExcalidraw size={16} />}
|
leftSection={<IconExcalidraw size={16} />}
|
||||||
onClick={() => editor.chain().focus().setExcalidraw().run()}
|
onClick={() => editor.chain().focus().setExcalidraw().run()}
|
||||||
>
|
>
|
||||||
{t("Excalidraw")}
|
Excalidraw
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
|
|
||||||
<Menu.Divider />
|
<Menu.Divider />
|
||||||
@@ -134,61 +134,61 @@ export const MoreInsertsGroup: FC<Props> = ({ editor }) => {
|
|||||||
leftSection={<IconAppWindow size={16} />}
|
leftSection={<IconAppWindow size={16} />}
|
||||||
onClick={() => setEmbed("iframe")}
|
onClick={() => setEmbed("iframe")}
|
||||||
>
|
>
|
||||||
{t("Iframe")}
|
Iframe
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
leftSection={<YoutubeIcon size={16} />}
|
leftSection={<YoutubeIcon size={16} />}
|
||||||
onClick={() => setEmbed("youtube")}
|
onClick={() => setEmbed("youtube")}
|
||||||
>
|
>
|
||||||
{t("YouTube")}
|
YouTube
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
leftSection={<VimeoIcon size={16} />}
|
leftSection={<VimeoIcon size={16} />}
|
||||||
onClick={() => setEmbed("vimeo")}
|
onClick={() => setEmbed("vimeo")}
|
||||||
>
|
>
|
||||||
{t("Vimeo")}
|
Vimeo
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item leftSection={<LoomIcon size={16} />} onClick={() => setEmbed("loom")}>
|
<Menu.Item leftSection={<LoomIcon size={16} />} onClick={() => setEmbed("loom")}>
|
||||||
{t("Loom")}
|
Loom
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
leftSection={<FigmaIcon size={16} />}
|
leftSection={<FigmaIcon size={16} />}
|
||||||
onClick={() => setEmbed("figma")}
|
onClick={() => setEmbed("figma")}
|
||||||
>
|
>
|
||||||
{t("Figma")}
|
Figma
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
leftSection={<AirtableIcon size={16} />}
|
leftSection={<AirtableIcon size={16} />}
|
||||||
onClick={() => setEmbed("airtable")}
|
onClick={() => setEmbed("airtable")}
|
||||||
>
|
>
|
||||||
{t("Airtable")}
|
Airtable
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
leftSection={<TypeformIcon size={16} />}
|
leftSection={<TypeformIcon size={16} />}
|
||||||
onClick={() => setEmbed("typeform")}
|
onClick={() => setEmbed("typeform")}
|
||||||
>
|
>
|
||||||
{t("Typeform")}
|
Typeform
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item leftSection={<MiroIcon size={16} />} onClick={() => setEmbed("miro")}>
|
<Menu.Item leftSection={<MiroIcon size={16} />} onClick={() => setEmbed("miro")}>
|
||||||
{t("Miro")}
|
Miro
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
leftSection={<FramerIcon size={16} />}
|
leftSection={<FramerIcon size={16} />}
|
||||||
onClick={() => setEmbed("framer")}
|
onClick={() => setEmbed("framer")}
|
||||||
>
|
>
|
||||||
{t("Framer")}
|
Framer
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
leftSection={<GoogleDriveIcon size={16} />}
|
leftSection={<GoogleDriveIcon size={16} />}
|
||||||
onClick={() => setEmbed("gdrive")}
|
onClick={() => setEmbed("gdrive")}
|
||||||
>
|
>
|
||||||
{t("Google Drive")}
|
Google Drive
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
leftSection={<GoogleSheetsIcon size={16} />}
|
leftSection={<GoogleSheetsIcon size={16} />}
|
||||||
onClick={() => setEmbed("gsheets")}
|
onClick={() => setEmbed("gsheets")}
|
||||||
>
|
>
|
||||||
{t("Google Sheets")}
|
Google Sheets
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
|
|
||||||
<Menu.Divider />
|
<Menu.Divider />
|
||||||
|
|||||||
+4
-4
@@ -63,7 +63,7 @@ export const QuickInsertsGroup: FC<Props> = ({ editor }) => {
|
|||||||
editor.chain().focus().insertColumns({ layout: "two_equal" }).run()
|
editor.chain().focus().insertColumns({ layout: "two_equal" }).run()
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{t("2 columns")}
|
{t("{{count}} Columns", { count: 2 })}
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
leftSection={<IconColumns3 size={16} />}
|
leftSection={<IconColumns3 size={16} />}
|
||||||
@@ -75,7 +75,7 @@ export const QuickInsertsGroup: FC<Props> = ({ editor }) => {
|
|||||||
.run()
|
.run()
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{t("3 columns")}
|
{t("{{count}} Columns", { count: 3 })}
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
leftSection={<IconColumns4 size={16} />}
|
leftSection={<IconColumns4 size={16} />}
|
||||||
@@ -83,7 +83,7 @@ export const QuickInsertsGroup: FC<Props> = ({ editor }) => {
|
|||||||
editor.chain().focus().insertColumns({ layout: "four_equal" }).run()
|
editor.chain().focus().insertColumns({ layout: "four_equal" }).run()
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{t("4 columns")}
|
{t("{{count}} Columns", { count: 4 })}
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
leftSection={<IconColumns5 size={16} />}
|
leftSection={<IconColumns5 size={16} />}
|
||||||
@@ -91,7 +91,7 @@ export const QuickInsertsGroup: FC<Props> = ({ editor }) => {
|
|||||||
editor.chain().focus().insertColumns({ layout: "five_equal" }).run()
|
editor.chain().focus().insertColumns({ layout: "five_equal" }).run()
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{t("5 columns")}
|
{t("{{count}} Columns", { count: 5 })}
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
</Menu.Dropdown>
|
</Menu.Dropdown>
|
||||||
</Menu>
|
</Menu>
|
||||||
|
|||||||
Reference in New Issue
Block a user