Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
3c71ee9d
Unverified
Commit
3c71ee9d
authored
Feb 12, 2025
by
taosin
Committed by
GitHub
Feb 12, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update i18n chinese (#4400)
parent
4cd2aa6f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
+10
-6
TagsSection.tsx
web/src/components/HomeSidebar/TagsSection.tsx
+1
-1
StorageSection.tsx
web/src/components/Settings/StorageSection.tsx
+1
-1
en.json
web/src/locales/en.json
+4
-2
zh-Hans.json
web/src/locales/zh-Hans.json
+4
-2
No files found.
web/src/components/HomeSidebar/TagsSection.tsx
View file @
3c71ee9d
...
@@ -58,7 +58,7 @@ const TagsSection = (props: Props) => {
...
@@ -58,7 +58,7 @@ const TagsSection = (props: Props) => {
</
PopoverTrigger
>
</
PopoverTrigger
>
<
PopoverContent
align=
"end"
alignOffset=
{
-
12
}
>
<
PopoverContent
align=
"end"
alignOffset=
{
-
12
}
>
<
div
className=
"w-auto flex flex-row justify-between items-center gap-2"
>
<
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
)
}
/>
<
Switch
size=
"sm"
checked=
{
treeMode
}
onChange=
{
(
event
)
=>
setTreeMode
(
event
.
target
.
checked
)
}
/>
</
div
>
</
div
>
</
PopoverContent
>
</
PopoverContent
>
...
...
web/src/components/Settings/StorageSection.tsx
View file @
3c71ee9d
...
@@ -146,7 +146,7 @@ const StorageSection = () => {
...
@@ -146,7 +146,7 @@ const StorageSection = () => {
</
div
>
</
div
>
{
workspaceStorageSetting
.
storageType
!==
WorkspaceStorageSetting_StorageType
.
DATABASE
&&
(
{
workspaceStorageSetting
.
storageType
!==
WorkspaceStorageSetting_StorageType
.
DATABASE
&&
(
<
div
className=
"w-full flex flex-row justify-between items-center"
>
<
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
>
<
Input
<
Input
value=
{
workspaceStorageSetting
.
filepathTemplate
}
value=
{
workspaceStorageSetting
.
filepathTemplate
}
placeholder=
"assets/
{
timestamp
}
_
{
filename
}"
placeholder=
"assets/
{
timestamp
}
_
{
filename
}"
...
...
web/src/locales/en.json
View file @
3c71ee9d
...
@@ -84,7 +84,8 @@
...
@@ -84,7 +84,8 @@
"created-at"
:
"Created At"
,
"created-at"
:
"Created At"
,
"properties"
:
"Properties"
,
"properties"
:
"Properties"
,
"shortcut-filter"
:
"Shortcut filter"
,
"shortcut-filter"
:
"Shortcut filter"
,
"input"
:
"Input"
"input"
:
"Input"
,
"tree-mode"
:
"Tree mode"
},
},
"days"
:
{
"days"
:
{
"fri"
:
"Fri"
,
"fri"
:
"Fri"
,
...
@@ -293,7 +294,8 @@
...
@@ -293,7 +294,8 @@
"url-prefix-placeholder"
:
"Custom URL prefix, optional"
,
"url-prefix-placeholder"
:
"Custom URL prefix, optional"
,
"url-suffix"
:
"URL suffix"
,
"url-suffix"
:
"URL suffix"
,
"url-suffix-placeholder"
:
"Custom URL suffix, optional"
,
"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"
:
"System"
,
"system-section"
:
{
"system-section"
:
{
...
...
web/src/locales/zh-Hans.json
View file @
3c71ee9d
...
@@ -81,7 +81,8 @@
...
@@ -81,7 +81,8 @@
"created-at"
:
"创建时间"
,
"created-at"
:
"创建时间"
,
"properties"
:
"属性"
,
"properties"
:
"属性"
,
"shortcut-filter"
:
"捷径过滤器"
,
"shortcut-filter"
:
"捷径过滤器"
,
"input"
:
"输入"
"input"
:
"输入"
,
"tree-mode"
:
"树模式"
},
},
"days"
:
{
"days"
:
{
"fri"
:
"五"
,
"fri"
:
"五"
,
...
@@ -285,7 +286,8 @@
...
@@ -285,7 +286,8 @@
"url-prefix-placeholder"
:
"自定义链接前缀,可选"
,
"url-prefix-placeholder"
:
"自定义链接前缀,可选"
,
"url-suffix"
:
"链接后缀"
,
"url-suffix"
:
"链接后缀"
,
"url-suffix-placeholder"
:
"自定义链接后缀,可选"
,
"url-suffix-placeholder"
:
"自定义链接后缀,可选"
,
"warning-text"
:
"您确定要删除存储服务“{{name}}”吗?(此操作不可逆)"
"warning-text"
:
"您确定要删除存储服务“{{name}}”吗?(此操作不可逆)"
,
"filepath-template"
:
"文件路径模板"
},
},
"system"
:
"系统"
,
"system"
:
"系统"
,
"system-section"
:
{
"system-section"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment