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
513002ff
Unverified
Commit
513002ff
authored
Aug 08, 2023
by
Chris Akring
Committed by
GitHub
Aug 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update zh-Hans translations for "Tag suggestions" (#2110)
parent
96939400
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
+13
-5
CreateTagDialog.tsx
web/src/components/CreateTagDialog.tsx
+3
-3
en.json
web/src/locales/en.json
+5
-1
zh-Hans.json
web/src/locales/zh-Hans.json
+5
-1
No files found.
web/src/components/CreateTagDialog.tsx
View file @
513002ff
...
@@ -123,9 +123,9 @@ const CreateTagDialog: React.FC<Props> = (props: Props) => {
...
@@ -123,9 +123,9 @@ const CreateTagDialog: React.FC<Props> = (props: Props) => {
{
shownSuggestTagNameList
.
length
>
0
&&
(
{
shownSuggestTagNameList
.
length
>
0
&&
(
<>
<>
<
div
className=
"mt-4 mb-1 text-sm w-full flex flex-row justify-start items-center"
>
<
div
className=
"mt-4 mb-1 text-sm w-full flex flex-row justify-start items-center"
>
<
span
className=
"text-gray-400 mr-2"
>
Tag suggestions
</
span
>
<
span
className=
"text-gray-400 mr-2"
>
{
t
(
"tag-list.tag-suggestions"
)
}
</
span
>
<
Button
size=
"sm"
variant=
"outlined"
onClick=
{
handleToggleShowSuggestionTags
}
>
<
Button
size=
"sm"
variant=
"outlined"
onClick=
{
handleToggleShowSuggestionTags
}
>
{
showTagSuggestions
?
"hide"
:
"show"
}
{
showTagSuggestions
?
t
(
"tag-list.hide"
)
:
t
(
"tag-list.show"
)
}
</
Button
>
</
Button
>
</
div
>
</
div
>
{
showTagSuggestions
&&
(
{
showTagSuggestions
&&
(
...
@@ -142,7 +142,7 @@ const CreateTagDialog: React.FC<Props> = (props: Props) => {
...
@@ -142,7 +142,7 @@ const CreateTagDialog: React.FC<Props> = (props: Props) => {
))
}
))
}
</
div
>
</
div
>
<
Button
size=
"sm"
onClick=
{
handleSaveSuggestTagList
}
>
<
Button
size=
"sm"
onClick=
{
handleSaveSuggestTagList
}
>
Save all
{
t
(
"tag-list.save-all"
)
}
</
Button
>
</
Button
>
</>
</>
)
}
)
}
...
...
web/src/locales/en.json
View file @
513002ff
...
@@ -152,7 +152,11 @@
...
@@ -152,7 +152,11 @@
"create-tag"
:
"Create Tag"
,
"create-tag"
:
"Create Tag"
,
"all-tags"
:
"All Tags"
,
"all-tags"
:
"All Tags"
,
"tag-name"
:
"TAG_NAME"
,
"tag-name"
:
"TAG_NAME"
,
"invalid-tag-name"
:
"Invalid tag name"
"invalid-tag-name"
:
"Invalid tag name"
,
"tag-suggestions"
:
"Tag suggestions"
,
"show"
:
"Show"
,
"hide"
:
"Hide"
,
"save-all"
:
"Save all"
},
},
"daily-review"
:
{
"daily-review"
:
{
"title"
:
"Daily Review"
,
"title"
:
"Daily Review"
,
...
...
web/src/locales/zh-Hans.json
View file @
513002ff
...
@@ -432,6 +432,10 @@
...
@@ -432,6 +432,10 @@
"all-tags"
:
"全部标签"
,
"all-tags"
:
"全部标签"
,
"create-tag"
:
"创建标签"
,
"create-tag"
:
"创建标签"
,
"tag-name"
:
"标签名称"
,
"tag-name"
:
"标签名称"
,
"tip-text"
:
"输入`#tag`来创建标签"
"tip-text"
:
"输入`#tag`来创建标签"
,
"tag-suggestions"
:
"标签建议"
,
"show"
:
"展开"
,
"hide"
:
"收起"
,
"save-all"
:
"全部保存"
}
}
}
}
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