summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormicw <michael@wyraz.de>2019-09-05 11:13:51 +0200
committerAntoine GIRARD <sapk@users.noreply.github.com>2019-09-05 11:13:51 +0200
commit63c40796ef0b689350285c6aa6b5981e4a0844a9 (patch)
tree0707c068ff30afaaf7ef8deb41b32eb6f8986601
parent5fcef38f7f9fd9c9bcb1fdadcff962033f6da190 (diff)
downloadgitea-63c40796ef0b689350285c6aa6b5981e4a0844a9.tar.gz
gitea-63c40796ef0b689350285c6aa6b5981e4a0844a9.zip
Display description of 'make this repo private' as help text, not as tooltip (#8097)
-rw-r--r--options/locale/locale_cs-CZ.ini2
-rw-r--r--options/locale/locale_de-DE.ini2
-rw-r--r--options/locale/locale_en-US.ini2
-rw-r--r--options/locale/locale_pt-BR.ini2
-rw-r--r--options/locale/locale_zh-CN.ini2
-rw-r--r--templates/repo/create.tmpl3
6 files changed, 7 insertions, 6 deletions
diff --git a/options/locale/locale_cs-CZ.ini b/options/locale/locale_cs-CZ.ini
index 67b47bd368..9c0a3e69e8 100644
--- a/options/locale/locale_cs-CZ.ini
+++ b/options/locale/locale_cs-CZ.ini
@@ -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.)
diff --git a/options/locale/locale_de-DE.ini b/options/locale/locale_de-DE.ini
index 0094aba8e1..2e044be46d 100644
--- a/options/locale/locale_de-DE.ini
+++ b/options/locale/locale_de-DE.ini
@@ -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)
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index b76d82ca86..e577727314 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -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.)
diff --git a/options/locale/locale_pt-BR.ini b/options/locale/locale_pt-BR.ini
index 2275ee5bb2..9841d9ea76 100644
--- a/options/locale/locale_pt-BR.ini
+++ b/options/locale/locale_pt-BR.ini
@@ -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.)
diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini
index 85b2057424..08d6fa9f0b 100644
--- a/options/locale/locale_zh-CN.ini
+++ b/options/locale/locale_zh-CN.ini
@@ -566,7 +566,7 @@ owner=拥有者
repo_name=仓库名称
repo_name_helper=好的存储库名称使用简短、深刻和独特的关键字。
visibility=可见性
-visibility.tooltip=只有组织所有人或拥有权利的组织成员才能看到。
+visibility_description=只有组织所有人或拥有权利的组织成员才能看到。
visibility_helper=将仓库设为私有
visibility_helper_forced=站点管理员强制要求新仓库为私有。
visibility_fork_helper=(修改该值将会影响到所有派生仓库)
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl
index 46289719e8..8163aaefa6 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -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>