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
f951bdd2
Commit
f951bdd2
authored
Apr 12, 2021
by
Marvin Karegyeya
Committed by
Kerri Miller
Apr 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Externalise strings in broadcast messages/index.html.haml
parent
4ac2263a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
11 deletions
+30
-11
app/views/admin/broadcast_messages/index.html.haml
app/views/admin/broadcast_messages/index.html.haml
+10
-11
changelogs/unreleased/Externalise-strings-in-broadcast_messages-index-html-haml.yml
...rnalise-strings-in-broadcast_messages-index-html-haml.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+15
-0
No files found.
app/views/admin/broadcast_messages/index.html.haml
View file @
f951bdd2
...
@@ -2,10 +2,9 @@
...
@@ -2,10 +2,9 @@
-
page_title
_
(
"Broadcast Messages"
)
-
page_title
_
(
"Broadcast Messages"
)
%h3
.page-title
%h3
.page-title
Broadcast Messages
=
_
(
'Broadcast Messages'
)
%p
.light
%p
.light
Broadcast messages are displayed for every user and can be used to notify
=
_
(
'Broadcast messages are displayed for every user and can be used to notify users about scheduled maintenance, recent upgrades and more.'
)
users about scheduled maintenance, recent upgrades and more.
=
render
'form'
=
render
'form'
...
@@ -15,12 +14,12 @@
...
@@ -15,12 +14,12 @@
%table
.table.table-responsive
%table
.table.table-responsive
%thead
%thead
%tr
%tr
%th
Status
%th
=
_
(
'Status'
)
%th
Preview
%th
=
_
(
'Preview'
)
%th
Starts
%th
=
_
(
'Starts'
)
%th
Ends
%th
=
_
(
'Ends'
)
%th
Target Path
%th
=
_
(
' Target Path'
)
%th
Type
%th
=
_
(
' Type'
)
%th
%th
%tbody
%tbody
-
@broadcast_messages
.
each
do
|
message
|
-
@broadcast_messages
.
each
do
|
message
|
...
@@ -38,7 +37,7 @@
...
@@ -38,7 +37,7 @@
%td
%td
=
message
.
broadcast_type
.
capitalize
=
message
.
broadcast_type
.
capitalize
%td
.gl-white-space-nowrap.gl-display-flex
%td
.gl-white-space-nowrap.gl-display-flex
=
link_to
sprite_icon
(
'pencil-square'
,
css_class:
'gl-icon'
),
edit_admin_broadcast_message_path
(
message
),
title:
'Edit'
,
class:
'btn btn-icon gl-button'
=
link_to
sprite_icon
(
'pencil-square'
,
css_class:
'gl-icon'
),
edit_admin_broadcast_message_path
(
message
),
title:
_
(
'Edit'
)
,
class:
'btn btn-icon gl-button'
=
link_to
sprite_icon
(
'remove'
,
css_class:
'gl-icon'
),
admin_broadcast_message_path
(
message
),
method: :delete
,
remote:
true
,
title:
'Remove'
,
class:
'js-remove-tr btn btn-icon gl-button btn-danger ml-2'
=
link_to
sprite_icon
(
'remove'
,
css_class:
'gl-icon'
),
admin_broadcast_message_path
(
message
),
method: :delete
,
remote:
true
,
title:
_
(
'Remove'
)
,
class:
'js-remove-tr btn btn-icon gl-button btn-danger ml-2'
=
paginate
@broadcast_messages
,
theme:
'gitlab'
=
paginate
@broadcast_messages
,
theme:
'gitlab'
changelogs/unreleased/Externalise-strings-in-broadcast_messages-index-html-haml.yml
0 → 100644
View file @
f951bdd2
---
title
:
Externalize strings in broadcast_messages/index.html.haml
merge_request
:
58146
author
:
nuwe1
type
:
other
locale/gitlab.pot
View file @
f951bdd2
...
@@ -31,9 +31,15 @@ msgstr ""
...
@@ -31,9 +31,15 @@ msgstr ""
msgid " Please sign in."
msgid " Please sign in."
msgstr ""
msgstr ""
msgid " Target Path"
msgstr ""
msgid " Try to %{action} this file again."
msgid " Try to %{action} this file again."
msgstr ""
msgstr ""
msgid " Type"
msgstr ""
msgid " You need to do this before %{grace_period_deadline}."
msgid " You need to do this before %{grace_period_deadline}."
msgstr ""
msgstr ""
...
@@ -5245,6 +5251,9 @@ msgstr ""
...
@@ -5245,6 +5251,9 @@ msgstr ""
msgid "Broadcast Messages"
msgid "Broadcast Messages"
msgstr ""
msgstr ""
msgid "Broadcast messages are displayed for every user and can be used to notify users about scheduled maintenance, recent upgrades and more."
msgstr ""
msgid "Browse Directory"
msgid "Browse Directory"
msgstr ""
msgstr ""
...
@@ -11847,6 +11856,9 @@ msgstr ""
...
@@ -11847,6 +11856,9 @@ msgstr ""
msgid "End Time"
msgid "End Time"
msgstr ""
msgstr ""
msgid "Ends"
msgstr ""
msgid "Ends at (UTC)"
msgid "Ends at (UTC)"
msgstr ""
msgstr ""
...
@@ -29503,6 +29515,9 @@ msgstr ""
...
@@ -29503,6 +29515,9 @@ msgstr ""
msgid "Starting..."
msgid "Starting..."
msgstr ""
msgstr ""
msgid "Starts"
msgstr ""
msgid "Starts %{startsIn}"
msgid "Starts %{startsIn}"
msgstr ""
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