Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add team unit helper
Browse files Browse the repository at this point in the history
yp05327 committed Jan 30, 2023

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent d0d257b commit 8aa94c4
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
@@ -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.
1 change: 1 addition & 0 deletions options/locale/locale_ja-JP.ini
Original file line number Diff line number Diff line change
@@ -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' は予約されています。
1 change: 1 addition & 0 deletions options/locale/locale_zh-CN.ini
Original file line number Diff line number Diff line change
@@ -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' 是被保留的。
1 change: 1 addition & 0 deletions templates/org/team/new.tmpl
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 8aa94c4

Please sign in to comment.