Skip to content

Commit

Permalink
add team unit helper
Browse files Browse the repository at this point in the history
  • Loading branch information
yp05327 committed Jan 30, 2023
1 parent d0d257b commit 8aa94c4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions options/locale/locale_en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2371,6 +2371,7 @@ team_desc_helper = Describe the purpose or role of the team.
team_access_desc = Repository access
team_permission_desc = Permission
team_unit_desc = Allow Access to Repository Sections
team_unit_helper = The following access control policy has no effect on the public repositories in this organization.
team_unit_disabled = (Disabled)
form.name_reserved = The organization name '%s' is reserved.
Expand Down
1 change: 1 addition & 0 deletions options/locale/locale_ja-JP.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2338,6 +2338,7 @@ team_desc_helper=チームの目的や役割を説明します。
team_access_desc=リポジトリアクセス
team_permission_desc=権限
team_unit_desc=リポジトリのセクションへのアクセスを許可
team_unit_helper=以下のアクセス制御ポリシーは公開リポジトリに対して効果しないです。
team_unit_disabled=(無効)

form.name_reserved=組織名 '%s' は予約されています。
Expand Down
1 change: 1 addition & 0 deletions options/locale/locale_zh-CN.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2340,6 +2340,7 @@ team_desc_helper=描述团队的目的或作用。
team_access_desc=仓库权限
team_permission_desc=权限
team_unit_desc=允许访问仓库单元
team_unit_helper=下列访问控制策略对该组织中的公开库无效
team_unit_disabled=(已禁用)

form.name_reserved=组织名称 '%s' 是被保留的。
Expand Down
1 change: 1 addition & 0 deletions templates/org/team/new.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@

<div class="team-units required grouped field"{{if eq .Team.AccessMode 3}} style="display: none"{{end}}>
<label>{{.locale.Tr "org.team_unit_desc"}}</label>
<span class="help">{{.locale.Tr "org.team_unit_helper"}}</span>
<table class="ui celled table">
<thead>
<tr>
Expand Down

0 comments on commit 8aa94c4

Please sign in to comment.