mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 14:50:29 +00:00
[locale] Update source files
This commit is contained in:
@@ -35,10 +35,10 @@ def make(default=True, lang='en'):
|
||||
_inplace_change('locale/%s/LC_MESSAGES/django.po' % lang, '%%s', '%s')
|
||||
_inplace_change('locale/%s/LC_MESSAGES/django.po' % lang, '%%(', '%(')
|
||||
|
||||
local('django-admin.py makemessages -l %s -d djangojs -i "thirdpart" -i "node_modules" -i "media" -i "static/scripts/dist" -i "static/scripts/lib" -i "tests" -i "tools" -i "tagging" -i "static/scripts/i18n" --verbosity 2' % lang)
|
||||
makejs(lang)
|
||||
|
||||
@task
|
||||
def makejs(default=True, lang='en'):
|
||||
def makejs(lang='en'):
|
||||
|
||||
local('django-admin.py makemessages -l %s -d djangojs -i "thirdpart" -i "node_modules" -i "media" -i "static/scripts/dist" -i "static/scripts/lib" -i "tests" -i "tools" -i "tagging" -i "static/scripts/i18n" -i "frontend/build" -i "frontend/config" -i "frontend/scripts" --verbosity 2' % lang)
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-08-24 17:31+0800\n"
|
||||
"POT-Creation-Date: 2018-08-31 13:21+0800\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -25,7 +25,7 @@ msgstr ""
|
||||
msgid "Wikis"
|
||||
msgstr ""
|
||||
|
||||
#: frontend/src/components/SidePanel.js:232
|
||||
#: frontend/src/components/SidePanel.js:271
|
||||
msgid "Pages"
|
||||
msgstr ""
|
||||
|
||||
@@ -45,34 +45,34 @@ msgstr ""
|
||||
msgid "Log out"
|
||||
msgstr ""
|
||||
|
||||
#: frontend/src/components/menu-component/menu-dialog/create-fileforder-dialog.js:76
|
||||
#: frontend/src/components/menu-component/menu-dialog/create-fileforder-dialog.js:82
|
||||
#: frontend/src/components/menu-component/node-menu.js:106
|
||||
#: frontend/src/components/menu-component/node-menu.js:114
|
||||
#: static/scripts/app/views/dir.js:770
|
||||
#: static/scripts/app/views/dir.js:771
|
||||
msgid "New File"
|
||||
msgstr ""
|
||||
|
||||
#: frontend/src/components/menu-component/menu-dialog/create-fileforder-dialog.js:76
|
||||
#: frontend/src/components/menu-component/menu-dialog/create-fileforder-dialog.js:82
|
||||
#: frontend/src/components/menu-component/node-menu.js:105
|
||||
#: frontend/src/components/menu-component/node-menu.js:113
|
||||
msgid "New Folder"
|
||||
msgstr ""
|
||||
|
||||
#: frontend/src/components/menu-component/menu-dialog/create-fileforder-dialog.js:84
|
||||
#: frontend/src/components/menu-component/menu-dialog/create-fileforder-dialog.js:90
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#: frontend/src/components/menu-component/menu-dialog/create-fileforder-dialog.js:86
|
||||
#: frontend/src/components/menu-component/menu-dialog/create-fileforder-dialog.js:92
|
||||
msgid "newName"
|
||||
msgstr ""
|
||||
|
||||
#: frontend/src/components/menu-component/menu-dialog/create-fileforder-dialog.js:92
|
||||
#: frontend/src/components/menu-component/menu-dialog/rename-dialog.js:65
|
||||
#: frontend/src/components/menu-component/menu-dialog/create-fileforder-dialog.js:98
|
||||
#: frontend/src/components/menu-component/menu-dialog/rename-dialog.js:71
|
||||
msgid "Submit"
|
||||
msgstr ""
|
||||
|
||||
#: frontend/src/components/menu-component/menu-dialog/create-fileforder-dialog.js:93
|
||||
#: frontend/src/components/menu-component/menu-dialog/rename-dialog.js:66
|
||||
#: frontend/src/components/menu-component/menu-dialog/create-fileforder-dialog.js:99
|
||||
#: frontend/src/components/menu-component/menu-dialog/rename-dialog.js:72
|
||||
#: static/scripts/app/views/fileupload.js:21
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
@@ -97,21 +97,21 @@ msgstr ""
|
||||
msgid "NO"
|
||||
msgstr ""
|
||||
|
||||
#: frontend/src/components/menu-component/menu-dialog/rename-dialog.js:59
|
||||
#: frontend/src/components/menu-component/menu-dialog/rename-dialog.js:65
|
||||
#: static/scripts/app/views/dialogs/dirent-rename.js:39
|
||||
msgid "Rename File"
|
||||
msgstr ""
|
||||
|
||||
#: frontend/src/components/menu-component/menu-dialog/rename-dialog.js:59
|
||||
#: frontend/src/components/menu-component/menu-dialog/rename-dialog.js:65
|
||||
#: static/scripts/app/views/dialogs/dirent-rename.js:39
|
||||
msgid "Rename Folder"
|
||||
msgstr ""
|
||||
|
||||
#: frontend/src/components/menu-component/menu-dialog/rename-dialog.js:61
|
||||
#: frontend/src/components/menu-component/menu-dialog/rename-dialog.js:67
|
||||
msgid "Enter the new file name:"
|
||||
msgstr ""
|
||||
|
||||
#: frontend/src/components/menu-component/menu-dialog/rename-dialog.js:61
|
||||
#: frontend/src/components/menu-component/menu-dialog/rename-dialog.js:67
|
||||
msgid "Enter the new folder name:"
|
||||
msgstr ""
|
||||
|
||||
@@ -135,8 +135,8 @@ msgstr ""
|
||||
msgid "Read-Write library"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/models/dirent.js:113 static/scripts/app/views/dir.js:681
|
||||
#: static/scripts/app/views/dir.js:751
|
||||
#: static/scripts/app/models/dirent.js:113 static/scripts/app/views/dir.js:682
|
||||
#: static/scripts/app/views/dir.js:752
|
||||
#: static/scripts/app/views/fileupload.js:392
|
||||
#: static/scripts/app/views/fileupload.js:406
|
||||
#: static/scripts/app/views/fileupload.js:418
|
||||
@@ -151,26 +151,26 @@ msgstr ""
|
||||
|
||||
#: static/scripts/app/models/repo.js:37
|
||||
#: static/scripts/app/views/dialogs/dirent-rename.js:65
|
||||
#: static/scripts/app/views/dir.js:666 static/scripts/app/views/dir.js:726
|
||||
#: static/scripts/app/views/dirent.js:511
|
||||
#: static/scripts/app/views/dir.js:667 static/scripts/app/views/dir.js:727
|
||||
#: static/scripts/app/views/dirent.js:512
|
||||
#: static/scripts/app/views/group-repo.js:131
|
||||
#: static/scripts/app/views/repo.js:187
|
||||
msgid "Name should not include '/'."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/models/repo.js:41 static/scripts/app/views/share.js:294
|
||||
#: static/scripts/app/models/repo.js:41 static/scripts/app/views/share.js:318
|
||||
msgid "Please enter password"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/models/repo.js:42 static/scripts/app/views/share.js:302
|
||||
#: static/scripts/app/models/repo.js:42 static/scripts/app/views/share.js:326
|
||||
msgid "Please enter the password again"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/models/repo.js:44 static/scripts/app/views/share.js:298
|
||||
#: static/scripts/app/models/repo.js:44 static/scripts/app/views/share.js:322
|
||||
msgid "Password is too short"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/models/repo.js:46 static/scripts/app/views/share.js:306
|
||||
#: static/scripts/app/models/repo.js:46 static/scripts/app/views/share.js:330
|
||||
msgid "Passwords don't match"
|
||||
msgstr ""
|
||||
|
||||
@@ -271,17 +271,17 @@ msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dialogs/dirent-mvcp.js:133
|
||||
#: static/scripts/app/views/dialogs/dirent-mvcp.js:159
|
||||
#: static/scripts/app/views/dir.js:1422
|
||||
#: static/scripts/app/views/dir.js:1423
|
||||
msgid "Canceled."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dialogs/dirent-mvcp.js:188
|
||||
#: static/scripts/app/views/dir.js:1172
|
||||
#: static/scripts/app/views/dir.js:1173
|
||||
msgid "Invalid destination path"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dialogs/dirent-mvcp.js:207
|
||||
#: static/scripts/app/views/dirent.js:295
|
||||
#: static/scripts/app/views/dirent.js:296
|
||||
msgid "Successfully moved %(name)s"
|
||||
msgstr ""
|
||||
|
||||
@@ -290,8 +290,8 @@ msgid "Successfully copied %(name)s"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dialogs/dirent-rename.js:59
|
||||
#: static/scripts/app/views/dir.js:661 static/scripts/app/views/dir.js:721
|
||||
#: static/scripts/app/views/dirent.js:505
|
||||
#: static/scripts/app/views/dir.js:662 static/scripts/app/views/dir.js:722
|
||||
#: static/scripts/app/views/dirent.js:506
|
||||
#: static/scripts/app/views/group-repo.js:125
|
||||
#: static/scripts/app/views/groups.js:118
|
||||
#: static/scripts/app/views/invitations.js:65
|
||||
@@ -419,123 +419,123 @@ msgstr ""
|
||||
msgid "Please check the network."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:732
|
||||
#: static/scripts/app/views/dir.js:733
|
||||
msgid "Only an extension there, please input a name."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:778
|
||||
#: static/scripts/app/views/dir.js:779
|
||||
msgid "New Markdown File"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:786
|
||||
#: static/scripts/app/views/dir.js:787
|
||||
msgid "New Excel File"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:794
|
||||
#: static/scripts/app/views/dir.js:795
|
||||
msgid "New PowerPoint File"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:802
|
||||
#: static/scripts/app/views/dir.js:803
|
||||
msgid "New Word File"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1034 static/scripts/app/views/dir.js:1177
|
||||
#: static/scripts/app/views/dir.js:1035 static/scripts/app/views/dir.js:1178
|
||||
msgid "Processing..."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1071
|
||||
#: static/scripts/app/views/dir.js:1072
|
||||
msgid "Successfully deleted %(name)s."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1073
|
||||
#: static/scripts/app/views/dir.js:1074
|
||||
msgid "Successfully deleted %(name)s and 1 other item."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1075
|
||||
#: static/scripts/app/views/dir.js:1076
|
||||
msgid "Successfully deleted %(name)s and %(amount)s other items."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1084
|
||||
#: static/scripts/app/views/dir.js:1085
|
||||
msgid "Failed to delete %(name)s."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1086
|
||||
#: static/scripts/app/views/dir.js:1087
|
||||
msgid "Failed to delete %(name)s and 1 other item."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1088
|
||||
#: static/scripts/app/views/dir.js:1089
|
||||
msgid "Failed to delete %(name)s and %(amount)s other items."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1101
|
||||
#: static/scripts/app/views/dir.js:1102
|
||||
msgid "Delete Items"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1102
|
||||
#: static/scripts/app/views/dir.js:1103
|
||||
msgid "Are you sure you want to delete these selected items?"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1116
|
||||
#: static/scripts/app/views/dir.js:1117
|
||||
msgid "Move selected item(s) to:"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1116
|
||||
#: static/scripts/app/views/dir.js:1117
|
||||
msgid "Copy selected item(s) to:"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1221 static/scripts/app/views/dir.js:1383
|
||||
#: static/scripts/app/views/dir.js:1222 static/scripts/app/views/dir.js:1384
|
||||
msgid "Successfully moved %(name)s."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1223 static/scripts/app/views/dir.js:1385
|
||||
#: static/scripts/app/views/dir.js:1224 static/scripts/app/views/dir.js:1386
|
||||
msgid "Successfully moved %(name)s and 1 other item."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1225 static/scripts/app/views/dir.js:1387
|
||||
#: static/scripts/app/views/dir.js:1226 static/scripts/app/views/dir.js:1388
|
||||
msgid "Successfully moved %(name)s and %(amount)s other items."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1230 static/scripts/app/views/dir.js:1391
|
||||
#: static/scripts/app/views/dir.js:1231 static/scripts/app/views/dir.js:1392
|
||||
msgid "Successfully copied %(name)s."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1232 static/scripts/app/views/dir.js:1393
|
||||
#: static/scripts/app/views/dir.js:1233 static/scripts/app/views/dir.js:1394
|
||||
msgid "Successfully copied %(name)s and 1 other item."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1234 static/scripts/app/views/dir.js:1395
|
||||
#: static/scripts/app/views/dir.js:1235 static/scripts/app/views/dir.js:1396
|
||||
msgid "Successfully copied %(name)s and %(amount)s other items."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1250
|
||||
#: static/scripts/app/views/dir.js:1251
|
||||
msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1252
|
||||
#: static/scripts/app/views/dir.js:1253
|
||||
msgid "Internal error. Failed to move %(name)s."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1256
|
||||
#: static/scripts/app/views/dir.js:1257
|
||||
msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1258
|
||||
#: static/scripts/app/views/dir.js:1259
|
||||
msgid "Internal error. Failed to copy %(name)s."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1300
|
||||
#: static/scripts/app/views/dir.js:1301
|
||||
msgid "Moving file %(index)s of %(total)s"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1300
|
||||
#: static/scripts/app/views/dir.js:1301
|
||||
msgid "Copying file %(index)s of %(total)s"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1326
|
||||
#: static/scripts/app/views/dir.js:1327
|
||||
msgid "Failed to move %(name)s"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dir.js:1326
|
||||
#: static/scripts/app/views/dir.js:1327
|
||||
msgid "Failed to copy %(name)s"
|
||||
msgstr ""
|
||||
|
||||
@@ -549,12 +549,12 @@ msgid "Tag should not include ','."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dirent-grid.js:59
|
||||
#: static/scripts/app/views/dirent.js:78
|
||||
#: static/scripts/app/views/dirent.js:79
|
||||
msgid "locked by {placeholder}"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/dirent-grid.js:186
|
||||
#: static/scripts/app/views/dirent.js:412
|
||||
#: static/scripts/app/views/dirent-grid.js:187
|
||||
#: static/scripts/app/views/dirent.js:413
|
||||
msgid "Successfully deleted %(name)s"
|
||||
msgstr ""
|
||||
|
||||
@@ -637,7 +637,7 @@ msgid "Set {placeholder}'s permission"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/folder-perm.js:126
|
||||
#: static/scripts/app/views/share.js:763
|
||||
#: static/scripts/app/views/share.js:839
|
||||
msgid "Select groups"
|
||||
msgstr ""
|
||||
|
||||
@@ -785,41 +785,45 @@ msgstr ""
|
||||
msgid "Successfully deleted 1 item"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/share.js:90
|
||||
#: static/scripts/app/views/share.js:104
|
||||
#: static/scripts/sysadmin-app/views/share.js:42
|
||||
msgid "Share {placeholder}"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/share.js:173
|
||||
#: static/scripts/app/views/share.js:193
|
||||
msgid "Expired"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/share.js:239 static/scripts/app/views/share.js:240
|
||||
#: static/scripts/app/views/share.js:261 static/scripts/app/views/share.js:262
|
||||
#: static/scripts/app/views/share.js:271 static/scripts/app/views/share.js:272
|
||||
#: static/scripts/app/views/share.js:293 static/scripts/app/views/share.js:294
|
||||
msgid "Hide"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/share.js:257 static/scripts/app/views/share.js:258
|
||||
#: static/scripts/app/views/share.js:289 static/scripts/app/views/share.js:290
|
||||
msgid "Show"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/share.js:316
|
||||
#: static/scripts/app/views/share.js:345
|
||||
msgid "Please enter days."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/share.js:320
|
||||
#: static/scripts/app/views/share.js:349
|
||||
msgid "Please enter valid days"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/share.js:406
|
||||
#: static/scripts/app/views/share.js:456
|
||||
msgid "Share link is copied to the clipboard."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/share.js:482
|
||||
msgid "Please input at least an email."
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/share.js:423
|
||||
#: static/scripts/app/views/share.js:499
|
||||
msgid "Successfully sent to {placeholder}"
|
||||
msgstr ""
|
||||
|
||||
#: static/scripts/app/views/share.js:427
|
||||
#: static/scripts/app/views/share.js:503
|
||||
msgid "Failed to send to {placeholder}"
|
||||
msgstr ""
|
||||
|
||||
|
Reference in New Issue
Block a user