diff --git a/locale/en/LC_MESSAGES/django.po b/locale/en/LC_MESSAGES/django.po index 13f1ce72a6..ba1b8bb1b9 100644 --- a/locale/en/LC_MESSAGES/django.po +++ b/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-28 16:23+0800\n" +"POT-Creation-Date: 2017-05-09 13:14+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -110,6 +110,21 @@ msgstr "" msgid "Cancel failed" msgstr "" +#: seahub/api2/endpoints/dir_shared_items.py:278 +msgid "username invalid." +msgstr "" + +#: seahub/api2/endpoints/dir_shared_items.py:287 +#, python-format +msgid "User %s not found." +msgstr "" + +#: seahub/api2/endpoints/dir_shared_items.py:294 +#: seahub/api2/endpoints/dir_shared_items.py:359 +#, python-format +msgid "This item has been shared to %s." +msgstr "" + #: seahub/api2/endpoints/file.py:404 seahub/views/file.py:1099 msgid "Check file lock error" msgstr "" @@ -838,8 +853,8 @@ msgstr "" #: seahub/institutions/templates/institutions/useradmin.html:57 #: seahub/institutions/templates/institutions/useradmin_search.html:54 #: seahub/notifications/templates/notifications/notification_list.html:33 -#: seahub/profile/templates/profile/set_profile.html:138 #: seahub/profile/templates/profile/set_profile.html:140 +#: seahub/profile/templates/profile/set_profile.html:142 #: seahub/templates/js/sysadmin-templates.html:391 #: seahub/templates/js/sysadmin-templates.html:453 #: seahub/templates/js/sysadmin-templates.html:518 @@ -936,7 +951,7 @@ msgstr "" #: seahub/notifications/templates/notifications/notification_list.html:14 #: seahub/options/templates/options/set_user_options.html:14 #: seahub/profile/templates/profile/set_profile.html:74 -#: seahub/profile/templates/profile/set_profile.html:104 +#: seahub/profile/templates/profile/set_profile.html:106 #: seahub/share/templates/share/share_link_audit.html:22 #: seahub/templates/decrypt_repo_form.html:11 #: seahub/templates/file_edit.html:102 seahub/templates/file_edit.html:135 @@ -1023,7 +1038,7 @@ msgstr "" #: seahub/institutions/templates/institutions/user_info.html:173 #: seahub/notifications/templates/notifications/user_notification_list.html:90 #: seahub/share/templates/share/share_link_audit.html:70 -#: seahub/templates/base.html:141 seahub/templates/decrypt_repo_form.html:47 +#: seahub/templates/base.html:143 seahub/templates/decrypt_repo_form.html:47 #: seahub/templates/file_edit.html:545 #: seahub/templates/repo_dir_recycle_view.html:141 #: seahub/templates/repo_dir_recycle_view.html:175 @@ -1348,13 +1363,13 @@ msgid "Choose a library as wiki:" msgstr "" #: seahub/group/templates/group/group_wiki.html:60 -#: seahub/profile/templates/profile/set_profile.html:103 +#: seahub/profile/templates/profile/set_profile.html:105 #: seahub/templates/wiki/personal_wiki.html:57 msgid "Please click and choose a library." msgstr "" #: seahub/group/templates/group/group_wiki.html:62 -#: seahub/profile/templates/profile/set_profile.html:105 +#: seahub/profile/templates/profile/set_profile.html:107 #: seahub/templates/file_edit.html:103 seahub/templates/file_edit.html:152 #: seahub/templates/file_edit.html:427 #: seahub/templates/js/lib-op-popups.html:10 @@ -2142,7 +2157,7 @@ msgstr "" #: seahub/institutions/templates/institutions/useradmin.html:17 #: seahub/institutions/templates/institutions/useradmin_search.html:19 -#: seahub/profile/templates/profile/set_profile.html:113 +#: seahub/profile/templates/profile/set_profile.html:115 #: seahub/templates/sysadmin/sys_inst_info_admins.html:16 #: seahub/templates/sysadmin/sys_inst_info_user.html:16 #: seahub/templates/sysadmin/sys_inst_search_user.html:17 @@ -2655,13 +2670,13 @@ msgid "Default Library" msgstr "" #: seahub/profile/templates/profile/set_profile.html:19 -#: seahub/profile/templates/profile/set_profile.html:111 +#: seahub/profile/templates/profile/set_profile.html:113 msgid "Two-Factor Authentication" msgstr "" #: seahub/profile/templates/profile/set_profile.html:21 -#: seahub/profile/templates/profile/set_profile.html:136 -#: seahub/profile/templates/profile/set_profile.html:159 +#: seahub/profile/templates/profile/set_profile.html:138 +#: seahub/profile/templates/profile/set_profile.html:161 msgid "Delete Account" msgstr "" @@ -2719,68 +2734,68 @@ msgstr "" msgid "Language Setting" msgstr "" -#: seahub/profile/templates/profile/set_profile.html:90 +#: seahub/profile/templates/profile/set_profile.html:92 msgid "Default Library Setting" msgstr "" -#: seahub/profile/templates/profile/set_profile.html:92 +#: seahub/profile/templates/profile/set_profile.html:94 msgid "Your default library:" msgstr "" -#: seahub/profile/templates/profile/set_profile.html:94 +#: seahub/profile/templates/profile/set_profile.html:96 msgid "" "Default library is the default place to store your personal documents and " "pictures." msgstr "" -#: seahub/profile/templates/profile/set_profile.html:95 +#: seahub/profile/templates/profile/set_profile.html:97 msgid "Choose Default Library" msgstr "" -#: seahub/profile/templates/profile/set_profile.html:98 +#: seahub/profile/templates/profile/set_profile.html:100 msgid "Choose default library:" msgstr "" -#: seahub/profile/templates/profile/set_profile.html:113 +#: seahub/profile/templates/profile/set_profile.html:115 msgid "enabled" msgstr "" -#: seahub/profile/templates/profile/set_profile.html:115 +#: seahub/profile/templates/profile/set_profile.html:117 msgid "Disable Two-Factor Authentication" msgstr "" -#: seahub/profile/templates/profile/set_profile.html:119 +#: seahub/profile/templates/profile/set_profile.html:121 msgid "" "If you don't have any device with you, you can access your account using " "backup codes." msgstr "" -#: seahub/profile/templates/profile/set_profile.html:120 +#: seahub/profile/templates/profile/set_profile.html:122 #, python-format msgid "You have only one backup code remaining." msgid_plural "You have %(counter)s backup codes remaining." msgstr[0] "" msgstr[1] "" -#: seahub/profile/templates/profile/set_profile.html:123 +#: seahub/profile/templates/profile/set_profile.html:125 msgid "Show Codes" msgstr "" -#: seahub/profile/templates/profile/set_profile.html:127 +#: seahub/profile/templates/profile/set_profile.html:129 msgid "" "Two-factor authentication is not enabled for your account. Enable two-factor " "authentication for enhanced account security." msgstr "" -#: seahub/profile/templates/profile/set_profile.html:129 +#: seahub/profile/templates/profile/set_profile.html:131 msgid "Enable Two-Factor Authentication" msgstr "" -#: seahub/profile/templates/profile/set_profile.html:137 +#: seahub/profile/templates/profile/set_profile.html:139 msgid "This operation will not be reverted. Please think twice!" msgstr "" -#: seahub/profile/templates/profile/set_profile.html:160 +#: seahub/profile/templates/profile/set_profile.html:162 msgid "Really want to delete your account?" msgstr "" @@ -2814,110 +2829,118 @@ msgid "Successfully set \"%s\" as your default library." msgstr "" #: seahub/settings.py:143 -msgid "català" -msgstr "" - -#: seahub/settings.py:144 -msgid "Deutsch" +msgid "العربية" msgstr "" #: seahub/settings.py:145 -msgid "English" -msgstr "" - -#: seahub/settings.py:146 -msgid "Español" +msgid "Català" msgstr "" #: seahub/settings.py:147 -msgid "Español de Argentina" +msgid "Deutsch" msgstr "" #: seahub/settings.py:148 -msgid "Español de México" +msgid "ελληνικά" msgstr "" #: seahub/settings.py:149 -msgid "Suomi" +msgid "English" msgstr "" #: seahub/settings.py:150 -msgid "français" +msgid "Español" msgstr "" #: seahub/settings.py:151 -msgid "עברית" +msgid "Español de Argentina" msgstr "" #: seahub/settings.py:152 -msgid "Magyar" +msgid "Español de México" msgstr "" #: seahub/settings.py:153 -msgid "Íslenska" +msgid "Suomi" msgstr "" #: seahub/settings.py:154 -msgid "Italiano" +msgid "français" msgstr "" #: seahub/settings.py:155 -msgid "日本語" +msgid "עברית" msgstr "" #: seahub/settings.py:156 -msgid "한국어" +msgid "Magyar" msgstr "" #: seahub/settings.py:157 -msgid "Latvian" +msgid "Íslenska" msgstr "" #: seahub/settings.py:158 -msgid "Nederlands" +msgid "Italiano" msgstr "" #: seahub/settings.py:159 -msgid "Polski" +msgid "日本語" msgstr "" #: seahub/settings.py:160 -msgid "Portuguese, Brazil" -msgstr "" - -#: seahub/settings.py:161 -msgid "Русский" +msgid "한국어" msgstr "" #: seahub/settings.py:162 -msgid "Slovak" -msgstr "" - -#: seahub/settings.py:163 -msgid "Slovenian" +msgid "Latvian" msgstr "" #: seahub/settings.py:164 -msgid "Svenska" +msgid "Nederlands" msgstr "" #: seahub/settings.py:165 -msgid "ไทย" +msgid "Polski" msgstr "" #: seahub/settings.py:166 -msgid "Türkçe" +msgid "Portuguese, Brazil" msgstr "" #: seahub/settings.py:167 -msgid "українська мова" -msgstr "" - -#: seahub/settings.py:168 -msgid "简体中文" +msgid "Русский" msgstr "" #: seahub/settings.py:169 +msgid "Slovenian" +msgstr "" + +#: seahub/settings.py:170 +msgid "Svenska" +msgstr "" + +#: seahub/settings.py:171 +msgid "ไทย" +msgstr "" + +#: seahub/settings.py:172 +msgid "Türkçe" +msgstr "" + +#: seahub/settings.py:173 +msgid "українська мова" +msgstr "" + +#: seahub/settings.py:174 +msgid "Tiếng Việt" +msgstr "" + +#: seahub/settings.py:175 +msgid "简体中文" +msgstr "" + +#: seahub/settings.py:176 msgid "繁體中文" msgstr "" @@ -3050,13 +3073,13 @@ msgstr "" msgid "Log out" msgstr "" -#: seahub/templates/base.html:123 seahub/templates/base_for_backbone.html:87 +#: seahub/templates/base.html:125 seahub/templates/base_for_backbone.html:87 #: seahub/templates/sysadmin/sysadmin_backbone.html:70 #: seahub/views/sysadmin.py:332 seahub/views/sysadmin.py:333 msgid "Yes" msgstr "" -#: seahub/templates/base.html:124 seahub/templates/base_for_backbone.html:88 +#: seahub/templates/base.html:126 seahub/templates/base_for_backbone.html:88 #: seahub/templates/sysadmin/sysadmin_backbone.html:71 msgid "No" msgstr "" @@ -6334,6 +6357,7 @@ msgid "Personal Wiki Pages" msgstr "" #: seahub/thumbnail/views.py:46 seahub/thumbnail/views.py:170 +#: seahub/views/__init__.py:613 seahub/views/file.py:1116 msgid "Invalid arguments." msgstr "" @@ -6367,10 +6391,6 @@ msgstr "" msgid "Please specify history ID" msgstr "" -#: seahub/views/__init__.py:613 seahub/views/file.py:1116 -msgid "Invalid arguments" -msgstr "" - #: seahub/views/__init__.py:617 msgid "History you specified does not exist" msgstr "" diff --git a/locale/en/LC_MESSAGES/djangojs.po b/locale/en/LC_MESSAGES/djangojs.po index 010e255088..efa46d74b2 100644 --- a/locale/en/LC_MESSAGES/djangojs.po +++ b/locale/en/LC_MESSAGES/djangojs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-28 16:23+0800\n" +"POT-Creation-Date: 2017-05-09 13:14+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,8 +17,8 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: static/scripts/app/models/dirent.js:113 static/scripts/app/views/dir.js:623 -#: static/scripts/app/views/dir.js:694 +#: static/scripts/app/models/dirent.js:113 static/scripts/app/views/dir.js:628 +#: static/scripts/app/views/dir.js:699 #: static/scripts/app/views/fileupload.js:366 #: static/scripts/app/views/fileupload.js:380 #: static/scripts/app/views/fileupload.js:392 @@ -32,8 +32,8 @@ msgstr "" #: static/scripts/app/models/repo.js:35 #: static/scripts/app/views/dialogs/dirent-rename.js:65 -#: static/scripts/app/views/dir.js:608 static/scripts/app/views/dir.js:669 -#: static/scripts/app/views/dirent.js:429 static/scripts/app/views/repo.js:167 +#: static/scripts/app/views/dir.js:613 static/scripts/app/views/dir.js:674 +#: static/scripts/app/views/dirent.js:458 static/scripts/app/views/repo.js:167 msgid "Name should not include '/'." msgstr "" @@ -79,7 +79,7 @@ msgstr "" #: static/scripts/app/views/account.js:58 #: static/scripts/app/views/dialogs/repo-folder-perm-admin.js:134 #: static/scripts/app/views/dialogs/repo-share-link-admin.js:96 -#: static/scripts/app/views/dir.js:469 static/scripts/app/views/dirent.js:240 +#: static/scripts/app/views/dir.js:469 static/scripts/app/views/dirent.js:269 #: static/scripts/app/views/group-discussions.js:125 #: static/scripts/app/views/group-discussions.js:203 #: static/scripts/app/views/group-discussions.js:246 @@ -139,8 +139,8 @@ msgstr "" #: static/scripts/app/views/dialogs/repo-folder-perm-admin.js:302 #: static/scripts/app/views/dialogs/repo-history-settings.js:82 #: static/scripts/app/views/dialogs/repo-history-settings.js:141 -#: static/scripts/app/views/dir.js:1262 static/scripts/app/views/dir.js:1296 -#: static/scripts/app/views/dir.js:1343 static/scripts/app/views/dirent.js:447 +#: static/scripts/app/views/dir.js:1267 static/scripts/app/views/dir.js:1301 +#: static/scripts/app/views/dir.js:1348 static/scripts/app/views/dirent.js:476 #: static/scripts/app/views/folder-perm.js:205 #: static/scripts/app/views/folder-share-item.js:85 #: static/scripts/app/views/folder-share-item.js:121 @@ -234,17 +234,17 @@ msgstr "" #: static/scripts/app/views/dialogs/dirent-mvcp.js:132 #: static/scripts/app/views/dialogs/dirent-mvcp.js:163 -#: static/scripts/app/views/dir.js:1334 +#: static/scripts/app/views/dir.js:1339 msgid "Canceled." msgstr "" #: static/scripts/app/views/dialogs/dirent-mvcp.js:195 -#: static/scripts/app/views/dir.js:1106 +#: static/scripts/app/views/dir.js:1111 msgid "Invalid destination path" msgstr "" #: static/scripts/app/views/dialogs/dirent-mvcp.js:214 -#: static/scripts/app/views/dirent.js:231 +#: static/scripts/app/views/dirent.js:260 msgid "Successfully moved %(name)s" msgstr "" @@ -261,8 +261,8 @@ msgid "Rename File" msgstr "" #: static/scripts/app/views/dialogs/dirent-rename.js:59 -#: static/scripts/app/views/dir.js:603 static/scripts/app/views/dir.js:664 -#: static/scripts/app/views/dirent.js:423 +#: static/scripts/app/views/dir.js:608 static/scripts/app/views/dir.js:669 +#: static/scripts/app/views/dirent.js:452 #: static/scripts/app/views/groups.js:112 #: static/scripts/app/views/invitations.js:54 #: static/scripts/app/views/repo.js:161 @@ -410,127 +410,127 @@ msgstr "" msgid "Password is required." msgstr "" -#: static/scripts/app/views/dir.js:675 +#: static/scripts/app/views/dir.js:680 msgid "Only an extension there, please input a name." msgstr "" -#: static/scripts/app/views/dir.js:713 +#: static/scripts/app/views/dir.js:718 msgid "New File" msgstr "" -#: static/scripts/app/views/dir.js:721 +#: static/scripts/app/views/dir.js:726 msgid "New Markdown File" msgstr "" -#: static/scripts/app/views/dir.js:729 +#: static/scripts/app/views/dir.js:734 msgid "New Excel File" msgstr "" -#: static/scripts/app/views/dir.js:737 +#: static/scripts/app/views/dir.js:742 msgid "New PowerPoint File" msgstr "" -#: static/scripts/app/views/dir.js:745 +#: static/scripts/app/views/dir.js:750 msgid "New Word File" msgstr "" -#: static/scripts/app/views/dir.js:969 static/scripts/app/views/dir.js:1111 +#: static/scripts/app/views/dir.js:974 static/scripts/app/views/dir.js:1116 msgid "Processing..." msgstr "" -#: static/scripts/app/views/dir.js:1006 +#: static/scripts/app/views/dir.js:1011 msgid "Successfully deleted %(name)s." msgstr "" -#: static/scripts/app/views/dir.js:1008 +#: static/scripts/app/views/dir.js:1013 msgid "Successfully deleted %(name)s and 1 other item." msgstr "" -#: static/scripts/app/views/dir.js:1010 +#: static/scripts/app/views/dir.js:1015 msgid "Successfully deleted %(name)s and %(amount)s other items." msgstr "" -#: static/scripts/app/views/dir.js:1019 +#: static/scripts/app/views/dir.js:1024 msgid "Failed to delete %(name)s." msgstr "" -#: static/scripts/app/views/dir.js:1021 +#: static/scripts/app/views/dir.js:1026 msgid "Failed to delete %(name)s and 1 other item." msgstr "" -#: static/scripts/app/views/dir.js:1023 +#: static/scripts/app/views/dir.js:1028 msgid "Failed to delete %(name)s and %(amount)s other items." msgstr "" -#: static/scripts/app/views/dir.js:1036 +#: static/scripts/app/views/dir.js:1041 msgid "Delete Items" msgstr "" -#: static/scripts/app/views/dir.js:1037 +#: static/scripts/app/views/dir.js:1042 msgid "Are you sure you want to delete these selected items?" msgstr "" -#: static/scripts/app/views/dir.js:1051 +#: static/scripts/app/views/dir.js:1056 msgid "Move selected item(s) to:" msgstr "" -#: static/scripts/app/views/dir.js:1051 +#: static/scripts/app/views/dir.js:1056 msgid "Copy selected item(s) to:" msgstr "" -#: static/scripts/app/views/dir.js:1155 +#: static/scripts/app/views/dir.js:1160 msgid "Successfully moved %(name)s." msgstr "" -#: static/scripts/app/views/dir.js:1157 +#: static/scripts/app/views/dir.js:1162 msgid "Successfully moved %(name)s and 1 other item." msgstr "" -#: static/scripts/app/views/dir.js:1159 +#: static/scripts/app/views/dir.js:1164 msgid "Successfully moved %(name)s and %(amount)s other items." msgstr "" -#: static/scripts/app/views/dir.js:1164 +#: static/scripts/app/views/dir.js:1169 msgid "Successfully copied %(name)s." msgstr "" -#: static/scripts/app/views/dir.js:1166 +#: static/scripts/app/views/dir.js:1171 msgid "Successfully copied %(name)s and 1 other item." msgstr "" -#: static/scripts/app/views/dir.js:1168 +#: static/scripts/app/views/dir.js:1173 msgid "Successfully copied %(name)s and %(amount)s other items." msgstr "" -#: static/scripts/app/views/dir.js:1180 +#: static/scripts/app/views/dir.js:1185 msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." msgstr "" -#: static/scripts/app/views/dir.js:1182 +#: static/scripts/app/views/dir.js:1187 msgid "Internal error. Failed to move %(name)s." msgstr "" -#: static/scripts/app/views/dir.js:1186 +#: static/scripts/app/views/dir.js:1191 msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." msgstr "" -#: static/scripts/app/views/dir.js:1188 +#: static/scripts/app/views/dir.js:1193 msgid "Internal error. Failed to copy %(name)s." msgstr "" -#: static/scripts/app/views/dir.js:1228 +#: static/scripts/app/views/dir.js:1233 msgid "Moving file %(index)s of %(total)s" msgstr "" -#: static/scripts/app/views/dir.js:1228 +#: static/scripts/app/views/dir.js:1233 msgid "Copying file %(index)s of %(total)s" msgstr "" -#: static/scripts/app/views/dir.js:1250 +#: static/scripts/app/views/dir.js:1255 msgid "Failed to move %(name)s" msgstr "" -#: static/scripts/app/views/dir.js:1250 +#: static/scripts/app/views/dir.js:1255 msgid "Failed to copy %(name)s" msgstr "" @@ -540,7 +540,7 @@ msgid "locked by {placeholder}" msgstr "" #: static/scripts/app/views/dirent-grid.js:174 -#: static/scripts/app/views/dirent.js:336 +#: static/scripts/app/views/dirent.js:365 msgid "Successfully deleted %(name)s" msgstr ""