From 7a3c71433ac2da102fa852287c65d7617af127e9 Mon Sep 17 00:00:00 2001
From: Norwin <noerw@users.noreply.github.com>
Date: Mon, 21 Dec 2020 13:12:13 +0000
Subject: [PATCH] expose translation of previously hardcoded string (#14087)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
---
 options/locale/locale_en-US.ini | 1 +
 templates/repo/create.tmpl      | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index 41325dafbd..1d43c03017 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -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
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl
index 82c1b038b4..7d71043c34 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -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}}">