Browse Source

修改翻译

tags/v1.22.1.3^2
wangjr 3 years ago
parent
commit
32fee13c9a
4 changed files with 12 additions and 6 deletions
  1. +4
    -3
      options/locale/locale_en-US.ini
  2. +2
    -1
      options/locale/locale_zh-CN.ini
  3. +5
    -1
      templates/org/home_courses.tmpl
  4. +1
    -1
      templates/repo/createCourse.tmpl

+ 4
- 3
options/locale/locale_en-US.ini View File

@@ -354,6 +354,7 @@ courseAlias = Course Name
courseAdress = Course Path courseAdress = Course Path
RepoPath = Repository path RepoPath = Repository path
RepoAdress = Repository Adress RepoAdress = Repository Adress
course_Adress = Course Address
Email = Email address Email = Email address
Password = Password Password = Password
Retype = Re-Type Password Retype = Re-Type Password
@@ -800,7 +801,7 @@ generate_from = Generate From
repo_desc = Description repo_desc = Description
repo_lang = Language repo_lang = Language
repo_gitignore_helper = Select .gitignore templates. repo_gitignore_helper = Select .gitignore templates.
repo_label_helpe = After the input is completed, press the Enter key to complete the label determination.
repo_label_helpe = Press Enter to complete
issue_labels = Issue Labels issue_labels = Issue Labels
issue_labels_helper = Select an issue label set. issue_labels_helper = Select an issue label set.
license = License license = License
@@ -2059,8 +2060,8 @@ team_access_desc = Repository access
team_permission_desc = Permission team_permission_desc = Permission
team_unit_desc = Allow Access to Repository Sections team_unit_desc = Allow Access to Repository Sections
team_unit_disabled = (Disabled) team_unit_disabled = (Disabled)
selected_couse=Selected courses
release_course = Publish course
selected_couse=Selected Courses
release_course = Publish Course
all_keywords=All keywords all_keywords=All keywords
max_selectedPro= Select up to 9 public projects max_selectedPro= Select up to 9 public projects
custom_select_courses = Customize selected courses custom_select_courses = Customize selected courses


+ 2
- 1
options/locale/locale_zh-CN.ini View File

@@ -356,9 +356,10 @@ UserName=用户名
RepoName=项目路径 RepoName=项目路径
Alias=项目名称 Alias=项目名称
courseAlias=课程名称 courseAlias=课程名称
courseAdress=课程地址
courseAdress=课程路径
RepoPath=项目路径 RepoPath=项目路径
RepoAdress=项目地址 RepoAdress=项目地址
course_Adress = 课程地址
Email=邮箱地址 Email=邮箱地址
Password=密码 Password=密码
Retype=重新输入密码 Retype=重新输入密码


+ 5
- 1
templates/org/home_courses.tmpl View File

@@ -138,6 +138,8 @@
<div class=" ui bottom attached segment text center noborder text center" > <div class=" ui bottom attached segment text center noborder text center" >
{{if .IsSigned}} {{if .IsSigned}}
<a style="width: 80%;" class="ui green button bpadding" href="{{AppSubUrl}}/course/create"><i class="ri-folder-add-line" style="vertical-align: middle;"></i> &nbsp;{{.i18n.Tr "org.release_course"}} </a> <a style="width: 80%;" class="ui green button bpadding" href="{{AppSubUrl}}/course/create"><i class="ri-folder-add-line" style="vertical-align: middle;"></i> &nbsp;{{.i18n.Tr "org.release_course"}} </a>
{{else}}
<a style="width: 80%;" class="ui green button bpadding" href="{{AppSubUrl}}/user/login"><i class="ri-folder-add-line" style="vertical-align: middle;"></i> &nbsp;{{.i18n.Tr "org.release_course"}} </a>
{{end}} {{end}}
</div> </div>
</div> </div>
@@ -205,7 +207,9 @@
<div class="ui bottom attached segment text center noborder"> <div class="ui bottom attached segment text center noborder">
{{if .IsSigned}} {{if .IsSigned}}
<a class="ui blue basic button" onclick="jion_course_team()" style="width: 80%;"> <i class="ri-user-add-line"></i> {{.i18n.Tr "org.teams.join_teams"}}</a>
<a class="ui blue basic button" onclick="jion_course_team()" style="width: 80%;"> <i class="ri-user-add-line"></i> {{.i18n.Tr "org.teams.join_teams"}}</a>
{{else}}
<a class="ui blue basic button" href="{{AppSubUrl}}/user/login" style="width: 80%;"> <i class="ri-user-add-line"></i> {{.i18n.Tr "org.teams.join_teams"}}</a>
{{end}} {{end}}
</div> </div>
</div> </div>


+ 1
- 1
templates/repo/createCourse.tmpl View File

@@ -42,7 +42,7 @@
</div> </div>
<span style="display: block;margin-bottom: 1em;" class="help">{{.i18n.Tr "form.repoadd_dash_dot_error"}}</span> <span style="display: block;margin-bottom: 1em;" class="help">{{.i18n.Tr "form.repoadd_dash_dot_error"}}</span>
<div class="inline field" id="repoAdress" style="display: none;word-break: break-all;"> <div class="inline field" id="repoAdress" style="display: none;word-break: break-all;">
<label for="">{{.i18n.Tr "form.RepoAdress"}}:</label>
<label for="">{{.i18n.Tr "form.course_Adress"}}:</label>
<span style="flex: 1;"></span> <span style="flex: 1;"></span>
</div> </div>




Loading…
Cancel
Save