Skip to content

Commit 1deebb8

Browse files
committed
feat(i18n): add translations for multi select
1 parent d3d0f01 commit 1deebb8

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

src/i18n/translation.go

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ type Translation struct {
2020

2121
FilterLabel string
2222

23+
SelectStart string
24+
SelectCancel string
25+
SelectAll string
26+
27+
ArchiveLabel string
28+
29+
DeleteLabel string
2330
DeleteConfirm string
2431

2532
Error403 string
@@ -33,7 +40,7 @@ var translationEnUs = Translation{
3340
UploadFilesLabel: "Files",
3441
UploadFilesHint: "Upload files",
3542
UploadDirLabel: "Dir",
36-
UploadDirHint: "Upload Directory itself",
43+
UploadDirHint: "Upload directory itself",
3744
UploadDirContentsLabel: "Dir contents",
3845
UploadDirContentsHint: "Upload contents of directory",
3946
UploadLabel: "Upload",
@@ -47,7 +54,14 @@ var translationEnUs = Translation{
4754

4855
FilterLabel: "filter...",
4956

50-
DeleteConfirm: "Delete?",
57+
SelectStart: "Select",
58+
SelectCancel: "Cancel",
59+
SelectAll: "Select all",
60+
61+
ArchiveLabel: "Archive",
62+
63+
DeleteLabel: "Delete",
64+
DeleteConfirm: "Confirm delete?",
5165

5266
Error403: "403 resource is forbidden",
5367
Error404: "404 resource not found",
@@ -74,6 +88,13 @@ var translationZhSimp = Translation{
7488

7589
FilterLabel: "筛选……",
7690

91+
SelectStart: "选择",
92+
SelectCancel: "取消",
93+
SelectAll: "全选",
94+
95+
ArchiveLabel: "打包",
96+
97+
DeleteLabel: "删除",
7798
DeleteConfirm: "确认删除吗?",
7899

79100
Error403: "403 禁止访问资源",
@@ -101,6 +122,13 @@ var translationZhTrad = Translation{
101122

102123
FilterLabel: "篩選……",
103124

125+
SelectStart: "選擇",
126+
SelectCancel: "取消",
127+
SelectAll: "全選",
128+
129+
ArchiveLabel: "打包",
130+
131+
DeleteLabel: "刪除",
104132
DeleteConfirm: "確認刪除嗎?",
105133

106134
Error403: "403 禁止訪問資源",

0 commit comments

Comments
 (0)