fix bug, update i18n

pull/680/head
Ben Stone 2021-03-31 17:36:52 +08:00
parent 581d902cd8
commit 10f66681fb
3 changed files with 10 additions and 8 deletions

View File

@ -30,6 +30,7 @@ save = Save
cancel = Cancel
create = Create
confirm_delete = Confirm Delete
upload_lang = en
[message]
keyword_placeholder = input keyword please...
@ -74,15 +75,15 @@ item_not_exist = Item does not exist or has been deleted
doc_not_exist = Document does not exist or has been deleted
unknown_exception = Unknown Exception
no_data = No Data
project_must_belong_space = Project must belong to a project space, and the super administrator can manage and maintain it
project_must_belong_space = Project must belong to a project space, and the administrator can manage it
project_title_placeholder = Title (limit in 30 words)
project_title_tips = Project name cannot exceed 100 characters
project_id_placeholder = Project ID(limit in 30 characters)
project_id_tips = The document logo can only contain lowercase letters, numbers, and "-", "." and "_" symbols.
project_decs_placeholder = Project description cannot exceed 500 characters
project_id_placeholder = Project ID (limit in 30 characters)
project_id_tips = The ID can only contain lowercase letters, numbers, and "-", "." and "_" symbols.
project_desc_placeholder = Project description cannot exceed 500 characters
project_public_desc = (Anyone can access)
project_private_desc = (Only participants or use tokens can access)
project_cover_desc = The project cover can be modified in the project settings
project_cover_desc = The Cover can be edit in the settings
confirm_delete_project = Are you sure you want to delete the project?
warning_delete_project = Remove items will not be retrieved.
project_space_empty = Please select project space

View File

@ -30,6 +30,7 @@ save = 保存
cancel = 取消
create = 创建
confirm_delete = 确定删除
upload_lang = zh
[message]
keyword_placeholder = 请输入关键词...

View File

@ -220,12 +220,12 @@
</div>
<div class="form-group required">
<label class="text-label">{{i18n $.Lang "blog.project_title"}}</label>
<input type="text" class="form-control" placeholder="{{i18n $.Lang "blog.project_title_placeholder"}}" name="book_name" maxlength="100" value="">
<input type="text" class="form-control" placeholder="{{i18n $.Lang "message.project_title_placeholder"}}" name="book_name" maxlength="100" value="">
<p class="text">{{i18n $.Lang "blog.project_title_tips"}}</p>
</div>
<div class="form-group required">
<label class="text-label">{{i18n $.Lang "blog.project_id"}}</label>
<input type="text" class="form-control" placeholder="{{i18n $.Lang "blog.project_id_placeholder"}}" name="identify" value="">
<input type="text" class="form-control" placeholder="{{i18n $.Lang "message.project_id_placeholder"}}" name="identify" value="">
<div class="clearfix"></div>
<p class="text">{{i18n $.Lang "blog.project_id_tips"}}</p>
</div>
@ -464,7 +464,7 @@
'showUpload' : false,
'required': true,
'validateInitialCount': true,
"language" : "zh",
"language" : "{{i18n $.Lang "common.upload_lang"}}",
'allowedFileExtensions': ['zip'],
'msgPlaceholder' : '{{i18n $.Lang "message.file_type_placeholder"}}',
'elErrorContainer' : "#import-book-form-error-message",