Browse Source

fix issue

tags/v1.22.6.1^2
zhoupzh 3 years ago
parent
commit
f764d04336
3 changed files with 7 additions and 3 deletions
  1. +2
    -1
      options/locale/locale_en-US.ini
  2. +2
    -1
      options/locale/locale_zh-CN.ini
  3. +3
    -1
      templates/repo/create.tmpl

+ 2
- 1
options/locale/locale_en-US.ini View File

@@ -2252,7 +2252,8 @@ topic.done = Done
topic.count_prompt = You can not select more than 25 topics topic.count_prompt = You can not select more than 25 topics
topic.format_prompt = Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long. topic.format_prompt = Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
imagetopic.format_prompt = Topics can be up to 35 characters long. imagetopic.format_prompt = Topics can be up to 35 characters long.

use_repo_agreement=I promise that the content of this warehouse does not violate any national laws and regulations. During the use of the warehouse, I will abide by the OpenI community management regulations and platform usage rules, and will not conduct malicious attacks, mining, or any other illegal or disruptive platform order. Information release and related behaviors. For more information please refer to
openi_use_agreement=OpenI Qizhi Community Platform Use Agreement.
[org] [org]
org_name_holder = Organization Name org_name_holder = Organization Name
org_full_name_holder = Organization Full Name org_full_name_holder = Organization Full Name


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

@@ -2262,7 +2262,8 @@ topic.done=保存
topic.count_prompt=您最多选择25个标签 topic.count_prompt=您最多选择25个标签
topic.format_prompt=标签必须以中文、字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符 topic.format_prompt=标签必须以中文、字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
imagetopic.format_prompt=标签长度不得超过35个字符 imagetopic.format_prompt=标签长度不得超过35个字符

use_repo_agreement=我承诺此仓内容不违反任何国家法律法规,仓库使用过程中遵守OpenI启智社区管理规定和平台使用规则,不进行恶意攻击、挖矿等任何违法或扰乱平台秩序的信息发布和相关行为。更多信息请参考
openi_use_agreement=OpenI启智社区平台使用协议
[org] [org]
org_name_holder=组织名称 org_name_holder=组织名称
org_full_name_holder=组织全名 org_full_name_holder=组织全名


+ 3
- 1
templates/repo/create.tmpl View File

@@ -153,7 +153,9 @@
<div class="inline field"> <div class="inline field">
<div class="ui checkbox" id="auto-init"> <div class="ui checkbox" id="auto-init">
<input class="hidden" name="auto_agree" type="checkbox" checked="checked"> <input class="hidden" name="auto_agree" type="checkbox" checked="checked">
<label>{{.i18n.Tr "repo.auto_init"}}</label>
<label
style="width: 76%;text-align: justify;line-height: 1.5;">{{.i18n.Tr "repo.use_repo_agreement"}}
<a href="/home/term/">{{.i18n.Tr "repo.openi_use_agreement"}}</a></label>
</div> </div>
</div> </div>
</div> </div>


Loading…
Cancel
Save