summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2018-05-17 09:28:11 -0700
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2018-05-21 11:40:16 -0700
commit0c5c5a7ffa97b2b85d22ee2802f3787c53aab834 (patch)
tree7e45f56c9af2f4702a162c0b4097166c3e4ee035
parentfd2e1290e679d89e934acf560deea58967c5adb2 (diff)
downloadgitlab-ce-0c5c5a7ffa97b2b85d22ee2802f3787c53aab834.tar.gz
Add internationlization for conflict description
-rw-r--r--app/views/projects/merge_requests/conflicts/_submit_form.html.haml8
-rw-r--r--locale/gitlab.pot13
2 files changed, 15 insertions, 6 deletions
diff --git a/app/views/projects/merge_requests/conflicts/_submit_form.html.haml b/app/views/projects/merge_requests/conflicts/_submit_form.html.haml
index 6af07c8998c..ebcb37ab5b2 100644
--- a/app/views/projects/merge_requests/conflicts/_submit_form.html.haml
+++ b/app/views/projects/merge_requests/conflicts/_submit_form.html.haml
@@ -2,13 +2,13 @@
.form-horizontal.resolve-conflicts-form
.form-group
.col-md-4
- %h4 Resolve conflicts on source branch
+ %h4= _('Resolve conflicts on source branch')
.resolve-info
- You can resolve the merge conflict using either the Interactive mode, by choosing
+ #{ _('You can resolve the merge conflict using either the Interactive mode, by choosing') }
%code Use ours
- or
+ #{ _('or') }
%code Use theirs
- buttons, or by editing the files directly. Commit these changes into
+ #{ _('buttons, or by editing the files directly. Commit these changes into') }
#{link_to @merge_request.source_branch, project_tree_path(@merge_request.project, @merge_request.source_branch), class: "ref-name"}.
.col-md-8
%label.label-light{ "for" => "commit-message" }
diff --git a/locale/gitlab.pot b/locale/gitlab.pot
index 14228b18332..74027b7aef5 100644
--- a/locale/gitlab.pot
+++ b/locale/gitlab.pot
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: gitlab 1.0.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-05-16 18:52+0200\n"
-"PO-Revision-Date: 2018-05-16 18:52+0200\n"
+"POT-Creation-Date: 2018-05-17 09:05-0700\n"
+"PO-Revision-Date: 2018-05-17 09:05-0700\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
@@ -3407,6 +3407,9 @@ msgstr ""
msgid "Reset runners registration token"
msgstr ""
+msgid "Resolve conflicts on source branch"
+msgstr ""
+
msgid "Resolve discussion"
msgstr ""
@@ -4599,6 +4602,9 @@ msgstr ""
msgid "You can only edit files when you are on a branch"
msgstr ""
+msgid "You can resolve the merge conflict using either the Interactive mode, by choosing"
+msgstr ""
+
msgid "You cannot write to this read-only GitLab instance."
msgstr ""
@@ -4686,6 +4692,9 @@ msgstr ""
msgid "branch name"
msgstr ""
+msgid "buttons, or by editing the files directly. Commit these changes into"
+msgstr ""
+
msgid "command line instructions"
msgstr ""