Commit 7f4638a9 authored by Balasankar "Balu" C's avatar Balasankar "Balu" C

Internationalize notification branch selection strings

Signed-off-by: default avatarBalasankar "Balu" C <balasankar@gitlab.com>
parent 9a29cfd9
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
# PipelinesEmailService classes. Not to be used directly. # PipelinesEmailService classes. Not to be used directly.
module NotificationBranchSelection module NotificationBranchSelection
BRANCH_CHOICES = [ BRANCH_CHOICES = [
['All branches', 'all'], [_('All branches'), 'all'],
['Default branch', 'default'], [_('Default branch'), 'default'],
['Protected branches', 'protected'], [_('Protected branches'), 'protected'],
['Default branch and protected branches', 'default_and_protected'] [_('Default branch and protected branches'), 'default_and_protected']
].freeze ].freeze
def notify_for_branch?(data) def notify_for_branch?(data)
......
...@@ -1228,6 +1228,9 @@ msgstr "" ...@@ -1228,6 +1228,9 @@ msgstr ""
msgid "All Members" msgid "All Members"
msgstr "" msgstr ""
msgid "All branches"
msgstr ""
msgid "All changes are committed" msgid "All changes are committed"
msgstr "" msgstr ""
...@@ -4650,6 +4653,12 @@ msgstr "" ...@@ -4650,6 +4653,12 @@ msgstr ""
msgid "Default artifacts expiration" msgid "Default artifacts expiration"
msgstr "" msgstr ""
msgid "Default branch"
msgstr ""
msgid "Default branch and protected branches"
msgstr ""
msgid "Default classification label" msgid "Default classification label"
msgstr "" msgstr ""
...@@ -12337,6 +12346,9 @@ msgstr "" ...@@ -12337,6 +12346,9 @@ msgstr ""
msgid "Protected Tag" msgid "Protected Tag"
msgstr "" msgstr ""
msgid "Protected branches"
msgstr ""
msgid "ProtectedEnvironment|%{environment_name} will be writable for developers. Are you sure?" msgid "ProtectedEnvironment|%{environment_name} will be writable for developers. Are you sure?"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment