Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7f4638a9
Commit
7f4638a9
authored
Sep 06, 2019
by
Balasankar "Balu" C
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Internationalize notification branch selection strings
Signed-off-by:
Balasankar "Balu" C
<
balasankar@gitlab.com
>
parent
9a29cfd9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
app/models/project_services/notification_branch_selection.rb
app/models/project_services/notification_branch_selection.rb
+4
-4
locale/gitlab.pot
locale/gitlab.pot
+12
-0
No files found.
app/models/project_services/notification_branch_selection.rb
View file @
7f4638a9
...
...
@@ -4,10 +4,10 @@
# PipelinesEmailService classes. Not to be used directly.
module
NotificationBranchSelection
BRANCH_CHOICES
=
[
[
'All branches'
,
'all'
],
[
'Default branch'
,
'default'
],
[
'Protected branches'
,
'protected'
],
[
'Default branch and protected branches'
,
'default_and_protected'
]
[
_
(
'All branches'
)
,
'all'
],
[
_
(
'Default branch'
)
,
'default'
],
[
_
(
'Protected branches'
)
,
'protected'
],
[
_
(
'Default branch and protected branches'
)
,
'default_and_protected'
]
].
freeze
def
notify_for_branch?
(
data
)
...
...
locale/gitlab.pot
View file @
7f4638a9
...
...
@@ -1228,6 +1228,9 @@ msgstr ""
msgid "All Members"
msgstr ""
msgid "All branches"
msgstr ""
msgid "All changes are committed"
msgstr ""
...
...
@@ -4650,6 +4653,12 @@ msgstr ""
msgid "Default artifacts expiration"
msgstr ""
msgid "Default branch"
msgstr ""
msgid "Default branch and protected branches"
msgstr ""
msgid "Default classification label"
msgstr ""
...
...
@@ -12337,6 +12346,9 @@ msgstr ""
msgid "Protected Tag"
msgstr ""
msgid "Protected branches"
msgstr ""
msgid "ProtectedEnvironment|%{environment_name} will be writable for developers. Are you sure?"
msgstr ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment