]> source.dussan.org Git - gitea.git/commitdiff
expose translation of previously hardcoded string (#14087)
authorNorwin <noerw@users.noreply.github.com>
Mon, 21 Dec 2020 13:12:13 +0000 (13:12 +0000)
committerGitHub <noreply@github.com>
Mon, 21 Dec 2020 13:12:13 +0000 (21:12 +0800)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
options/locale/locale_en-US.ini
templates/repo/create.tmpl

index 41325dafbd2a4d6e6f90e5cfa66632512c00d0eb..1d43c03017ea81ae9fdc71c0af590befedd6dbca 100644 (file)
@@ -654,6 +654,7 @@ email_notifications.submit = Set Email Preference
 
 [repo]
 owner = Owner
+owner_helper = Some organizations may not show up in the dropdown due to a maximum repository count limit.
 repo_name = Repository Name
 repo_name_helper = Good repository names use short, memorable and unique keywords.
 repo_size = Repository Size
index 82c1b038b431f6f149e581889f848ce99700f30f..7d71043c34b59dcbfbde8114b746fd7771807ddf 100644 (file)
@@ -31,7 +31,7 @@
                                                                {{end}}
                                                        </div>
                                                </div>
-                                               <span class="help">Some organizations may not show up in the dropdown due to a maximum repository count limit</span>
+                                               <span class="help">{{.i18n.Tr "repo.owner_helper"}}</span>
                                        </div>
 
                                        <div class="inline required field {{if .Err_RepoName}}error{{end}}">