Display description of 'make this repo private' as help text, not as tooltip (#8097)

This commit is contained in:
micw 2019-09-05 11:13:51 +02:00 committed by Antoine GIRARD
parent 5fcef38f7f
commit 63c40796ef
6 changed files with 7 additions and 6 deletions

View File

@ -566,7 +566,7 @@ owner=Vlastník
repo_name=Název repozitáře
repo_name_helper=Dobrý název repozitáře většinou používá krátká, zapamatovatelná a unikátní klíčová slova.
visibility=Viditelnost
visibility.tooltip=Pouze majitelé nebo členové organizace to budou moci vidět, pokud mají práva.
visibility_description=Pouze majitelé nebo členové organizace to budou moci vidět, pokud mají práva.
visibility_helper=Nastavit repozitář jako soukromý
visibility_helper_forced=Váš administrátor vynutil, že nové repozitáře budou soukromé.
visibility_fork_helper=(Změna tohoto ovlivní všechny rozštěpení repozitáře.)

View File

@ -566,7 +566,7 @@ owner=Besitzer
repo_name=Repository-Name
repo_name_helper=Ein guter Repository-Name besteht normalerweise aus kurzen, unvergesslichen und einzigartigen Schlagwörtern.
visibility=Sichtbarkeit
visibility.tooltip=Nur der Eigentümer oder Organisationsmitglieder mit entsprechenden Rechten werden es sehen können.
visibility_description=Nur der Eigentümer oder Organisationsmitglieder mit entsprechenden Rechten werden es sehen können.
visibility_helper=In privates Repository umwandeln
visibility_helper_forced=Auf dieser Gitea-Instanz können nur private Repositories angelegt werden.
visibility_fork_helper=(Eine Änderung dieses Wertes wirkt sich auf alle Forks aus)

View File

@ -567,7 +567,7 @@ owner = Owner
repo_name = Repository Name
repo_name_helper = Good repository names use short, memorable and unique keywords.
visibility = Visibility
visibility.tooltip = Only the owner or the organization members if they have rights, will be able to see it.
visibility_description = Only the owner or the organization members if they have rights, will be able to see it.
visibility_helper = Make Repository Private
visibility_helper_forced = Your site administrator forces new repositories to be private.
visibility_fork_helper = (Changing this will affect all forks.)

View File

@ -566,7 +566,7 @@ owner=Proprietário
repo_name=Nome do repositório
repo_name_helper=Um bom nome de repositório é composto por palavras curtas, memorizáveis e únicas.
visibility=Visibilidade
visibility.tooltip=Somente o proprietário ou os membros da organização, se tiverem direitos, poderão vê-lo.
visibility_description=Somente o proprietário ou os membros da organização, se tiverem direitos, poderão vê-lo.
visibility_helper=Tornar este repositório privado
visibility_helper_forced=O administrador do site força novos repositórios a serem privados.
visibility_fork_helper=(Esta alteração irá afetar todos os forks.)

View File

@ -566,7 +566,7 @@ owner=拥有者
repo_name=仓库名称
repo_name_helper=好的存储库名称使用简短、深刻和独特的关键字。
visibility=可见性
visibility.tooltip=只有组织所有人或拥有权利的组织成员才能看到。
visibility_description=只有组织所有人或拥有权利的组织成员才能看到。
visibility_helper=将仓库设为私有
visibility_helper_forced=站点管理员强制要求新仓库为私有。
visibility_fork_helper=(修改该值将会影响到所有派生仓库)

View File

@ -38,7 +38,7 @@
<input id="repo_name" name="repo_name" value="{{.repo_name}}" autofocus required>
<span class="help">{{.i18n.Tr "repo.repo_name_helper"}}</span>
</div>
<div class="inline field" data-tooltip={{.i18n.Tr "repo.visibility.tooltip"}}>
<div class="inline field">
<label>{{.i18n.Tr "repo.visibility"}}</label>
<div class="ui checkbox">
{{if .IsForcedPrivate}}
@ -49,6 +49,7 @@
<label>{{.i18n.Tr "repo.visibility_helper" | Safe}}</label>
{{end}}
</div>
<span class="help">{{.i18n.Tr "repo.visibility_description"}}</span>
</div>
<div class="inline field {{if .Err_Description}}error{{end}}">
<label for="description">{{.i18n.Tr "repo.repo_desc"}}</label>