From 7a3c71433ac2da102fa852287c65d7617af127e9 Mon Sep 17 00:00:00 2001 From: Norwin Date: Mon, 21 Dec 2020 13:12:13 +0000 Subject: [PATCH] expose translation of previously hardcoded string (#14087) Co-authored-by: Lunny Xiao --- 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 41325dafb..1d43c0301 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 82c1b038b..7d71043c3 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -31,7 +31,7 @@ {{end}} - Some organizations may not show up in the dropdown due to a maximum repository count limit + {{.i18n.Tr "repo.owner_helper"}}