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
8b5f6dab
Commit
8b5f6dab
authored
Nov 19, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Externalize strings from `/app/views/repository_check_mailer`
parent
f39754fa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
+13
-5
app/views/repository_check_mailer/notify.html.haml
app/views/repository_check_mailer/notify.html.haml
+2
-2
app/views/repository_check_mailer/notify.text.haml
app/views/repository_check_mailer/notify.text.haml
+2
-3
locale/gitlab.pot
locale/gitlab.pot
+9
-0
No files found.
app/views/repository_check_mailer/notify.html.haml
View file @
8b5f6dab
...
...
@@ -2,10 +2,10 @@
#{
@message
}
.
%p
=
link_to
"See the affected projects in the GitLab admin panel"
,
admin_projects_url
(
last_repository_check_failed:
1
)
=
link_to
_
(
"See the affected projects in the GitLab admin panel"
)
,
admin_projects_url
(
last_repository_check_failed:
1
)
%p
You are receiving this message because you are a GitLab administrator for
#{
Gitlab
.
config
.
gitlab
.
url
}
.
=
_
(
"You are receiving this message because you are a GitLab administrator for %{url}."
)
%
{
url:
Gitlab
.
config
.
gitlab
.
url
}
-# EE-specific start
-
if
Gitlab
::
CurrentSettings
.
email_additional_text
.
present?
...
...
app/views/repository_check_mailer/notify.text.haml
View file @
8b5f6dab
#{
@message
}
.
\
View details:
#{
admin_projects_url
(
last_repository_check_failed:
1
)
}
=
_
(
"View details: %{details_url}"
)
%
{
details_url:
admin_projects_url
(
last_repository_check_failed:
1
)
}
You are receiving this message because you are a GitLab administrator
for
#{
Gitlab
.
config
.
gitlab
.
url
}
.
=
_
(
"You are receiving this message because you are a GitLab administrator for %{url}."
)
%
{
url:
Gitlab
.
config
.
gitlab
.
url
}
-# EE-specific start
-
if
Gitlab
::
CurrentSettings
.
email_additional_text
.
present?
...
...
locale/gitlab.pot
View file @
8b5f6dab
...
...
@@ -7280,6 +7280,9 @@ msgstr ""
msgid "See metrics"
msgstr ""
msgid "See the affected projects in the GitLab admin panel"
msgstr ""
msgid "Select"
msgstr ""
...
...
@@ -8956,6 +8959,9 @@ msgstr ""
msgid "View deployment"
msgstr ""
msgid "View details: %{details_url}"
msgstr ""
msgid "View documentation"
msgstr ""
...
...
@@ -9268,6 +9274,9 @@ msgstr ""
msgid "You are on a read-only GitLab instance."
msgstr ""
msgid "You are receiving this message because you are a GitLab administrator for %{url}."
msgstr ""
msgid "You can %{linkStart}view the blob%{linkEnd} instead."
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