Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: update i18n chinese (#4400)
taosin3c71ee9d7b03
diff --git a/web/src/components/HomeSidebar/TagsSection.tsx b/web/src/components/HomeSidebar/TagsSection.tsxindex 84ee0b5ef..b7057b374 100644--- a/web/src/components/HomeSidebar/TagsSection.tsx+++ b/web/src/components/HomeSidebar/TagsSection.tsx@@ -58,7 +58,7 @@ const TagsSection = (props: Props) => {</PopoverTrigger><PopoverContent align="end" alignOffset={-12}><div className="w-auto flex flex-row justify-between items-center gap-2">- <span className="text-sm shrink-0">Tree mode</span>+ <span className="text-sm shrink-0">{t("common.tree-mode")}</span><Switch size="sm" checked={treeMode} onChange={(event) => setTreeMode(event.target.checked)} /></div></PopoverContent>diff --git a/web/src/components/Settings/StorageSection.tsx b/web/src/components/Settings/StorageSection.tsxindex 44aa62190..8f62aa29f 100644--- a/web/src/components/Settings/StorageSection.tsx+++ b/web/src/components/Settings/StorageSection.tsx@@ -146,7 +146,7 @@ const StorageSection = () => {</div>{workspaceStorageSetting.storageType !== WorkspaceStorageSetting_StorageType.DATABASE && (<div className="w-full flex flex-row justify-between items-center">- <span className="text-gray-700 dark:text-gray-500 mr-1">Filepath template</span>+ <span className="text-gray-700 dark:text-gray-500 mr-1">{t("setting.storage-section.filepath-template")}</span><Inputvalue={workspaceStorageSetting.filepathTemplate}placeholder="assets/{timestamp}_{filename}"diff --git a/web/src/locales/en.json b/web/src/locales/en.jsonindex 40c005ea3..1997fe3c0 100644--- a/web/src/locales/en.json+++ b/web/src/locales/en.json@@ -84,7 +84,8 @@"created-at": "Created At","properties": "Properties","shortcut-filter": "Shortcut filter",- "input": "Input"+ "input": "Input",+ "tree-mode": "Tree mode"},"days": {"fri": "Fri",@@ -293,7 +294,8 @@"url-prefix-placeholder": "Custom URL prefix, optional","url-suffix": "URL suffix","url-suffix-placeholder": "Custom URL suffix, optional",- "warning-text": "Are you sure to delete storage service \"{{name}}\"? THIS ACTION IS IRREVERSIBLE"+ "warning-text": "Are you sure to delete storage service \"{{name}}\"? THIS ACTION IS IRREVERSIBLE",+ "filepath-template": "Filepath template"},"system": "System","system-section": {diff --git a/web/src/locales/zh-Hans.json b/web/src/locales/zh-Hans.jsonindex c92ce3ed2..b1faf37a0 100644--- a/web/src/locales/zh-Hans.json+++ b/web/src/locales/zh-Hans.json@@ -81,7 +81,8 @@"created-at": "创建时间","properties": "属性","shortcut-filter": "捷径过滤器",- "input": "输入"+ "input": "输入",+ "tree-mode": "树模式"},"days": {"fri": "五",@@ -285,7 +286,8 @@"url-prefix-placeholder": "自定义链接前缀,可选","url-suffix": "链接后缀","url-suffix-placeholder": "自定义链接后缀,可选",- "warning-text": "您确定要删除存储服务“{{name}}”吗?(此操作不可逆)"+ "warning-text": "您确定要删除存储服务“{{name}}”吗?(此操作不可逆)",+ "filepath-template": "文件路径模板"},"system": "系统","system-section": {