mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 22:38:56 +08:00
feat: init i18n
This commit is contained in:
@@ -1,28 +1,65 @@
|
|||||||
{
|
{
|
||||||
"Sync to Disk": "Sync to Disk",
|
"Quick search": "Quick search",
|
||||||
"Share": "Share",
|
"All pages": "All pages",
|
||||||
"WarningTips": {
|
"Favourites": "Favourites",
|
||||||
"IsNotfsApiSupported": "Welcome to the AFFiNE demo. To begin saving changes you can SYNC DATA TO DISK with the latest version of Chromium based browser like Chrome/Edge",
|
"No item": "No item",
|
||||||
"IsNotLocalWorkspace": "Welcome to the AFFiNE demo. To begin saving changes you can SYNC TO DISK.",
|
"Import": "Import",
|
||||||
"DoNotStore": "AFFiNE is under active development and the current version is UNSTABLE. Please DO NOT store information or data"
|
"Trash": "Trash",
|
||||||
},
|
"New Page": "New Page",
|
||||||
"Layout": "Layout",
|
"New Keyword Page": "New '{{query}}' page",
|
||||||
"Comment": "Comment",
|
"Find 0 result": "Find 0 result",
|
||||||
"Settings": "Settings",
|
"Find results": "Find {{number}} results",
|
||||||
"ComingSoon": "Layout Settings Coming Soon...",
|
"Collapse sidebar": "Collapse sidebar",
|
||||||
"Duplicate Page": "Duplicate Page",
|
"Expand sidebar": "Expand sidebar",
|
||||||
"Copy Page Link": "Copy Page Link",
|
"Removed to Favourites": "Removed to Favourites",
|
||||||
"Language": "Language",
|
"Remove to favourites": "Remove to favourites",
|
||||||
"Clear Workspace": "Clear Workspace",
|
"Added to Favourites": "Added to Favourites",
|
||||||
"Export As Markdown": "Export As Markdown",
|
"Add to favourites": "Add to favourites",
|
||||||
"Export As HTML": "Export As HTML",
|
"Paper": "Paper",
|
||||||
"Export As PDF (Unsupported)": "Export As PDF (Unsupported)",
|
"Edgeless": "Edgeless",
|
||||||
"Import Workspace": "Import Workspace",
|
"Switch to": "Switch to",
|
||||||
"Export Workspace": "Export Workspace",
|
"Convert to ": "Convert to ",
|
||||||
"Last edited by": "Last edited by {{name}}",
|
"Page": "Page",
|
||||||
"Logout": "Logout",
|
"Export": "Export",
|
||||||
|
"Export to HTML": "Export to HTML",
|
||||||
|
"Export to Markdown": "Export to Markdown",
|
||||||
"Delete": "Delete",
|
"Delete": "Delete",
|
||||||
"Turn into": "Turn into",
|
"Title": "Title",
|
||||||
"Add A Below Block": "Add A Below Block",
|
"Untitled": "Untitled",
|
||||||
"Divide Here As A New Group": "Divide Here As A New Group"
|
"Created": "Created",
|
||||||
|
"Updated": "Updated",
|
||||||
|
"Open in new tab": "Open in new tab",
|
||||||
|
"Favourite": "Favourite",
|
||||||
|
"Favourited": "Favourited",
|
||||||
|
"Delete page?": "Delete page?",
|
||||||
|
"Delete permanently?": "Delete permanently?",
|
||||||
|
"will be moved to Trash": "{{title}} will be moved to Trash",
|
||||||
|
"Once deleted, you can't undo this action.": "Once deleted,you can't undo this action.",
|
||||||
|
"Moved to Trash": "Moved to Trash",
|
||||||
|
"Permanently deleted": "Permanently deleted",
|
||||||
|
"restored": "{{title}} restored",
|
||||||
|
"Cancel": "Cancel",
|
||||||
|
"Keyboard Shortcuts": "Keyboard Shortcuts",
|
||||||
|
"Contact Us": "Contact Us",
|
||||||
|
"Official Website": "Official Website",
|
||||||
|
"Get in touch!": "Get in touch!",
|
||||||
|
"AFFiNE Community": "AFFiNE Community",
|
||||||
|
"How is AFFiNE Alpha different?": "How is AFFiNE Alpha different?",
|
||||||
|
"Shortcuts": "Shortcuts",
|
||||||
|
"Undo": "Undo",
|
||||||
|
"Redo": "Redo",
|
||||||
|
"Bold": "Bold",
|
||||||
|
"Italic": "Italic",
|
||||||
|
"Underline": "Underline",
|
||||||
|
"Strikethrough": "Strikethrough",
|
||||||
|
"Inline code": "Inline code",
|
||||||
|
"Code block": "Code block",
|
||||||
|
"Link": "Link",
|
||||||
|
"Body text": "Body text",
|
||||||
|
"Heading": "Heading {{number}}",
|
||||||
|
"Increase indent": "Increase indent",
|
||||||
|
"Reduce indent": "Reduce indent",
|
||||||
|
"Markdown Syntax": "Markdown Syntax",
|
||||||
|
"Divider": "Divider",
|
||||||
|
"404 - Page Not Found": "404 - Page Not Found"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import { useEffect } from 'react';
|
|||||||
import { useAppState } from '@/providers/app-state-provider';
|
import { useAppState } from '@/providers/app-state-provider';
|
||||||
import { PageLoading } from '@/components/loading';
|
import { PageLoading } from '@/components/loading';
|
||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
|
import '@/libs/i18n';
|
||||||
|
|
||||||
const ThemeProvider = dynamic(() => import('@/providers/themeProvider'), {
|
const ThemeProvider = dynamic(() => import('@/providers/themeProvider'), {
|
||||||
ssr: false,
|
ssr: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user