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 @@
-
page_title
_
(
"Broadcast Messages"
)
%h3
.page-title
Broadcast Messages
=
_
(
'Broadcast Messages'
)
%p
.light
Broadcast messages are displayed for every user and can be used to notify
users about scheduled maintenance, recent upgrades and more.
=
_
(
'Broadcast messages are displayed for every user and can be used to notify users about scheduled maintenance, recent upgrades and more.'
)
=
render
'form'
...
...
@@ -15,12 +14,12 @@
%table
.table.table-responsive
%thead
%tr
%th
Status
%th
Preview
%th
Starts
%th
Ends
%th
Target Path
%th
Type
%th
=
_
(
'Status'
)
%th
=
_
(
'Preview'
)
%th
=
_
(
'Starts'
)
%th
=
_
(
'Ends'
)
%th
=
_
(
' Target Path'
)
%th
=
_
(
' Type'
)
%th
%tbody
-
@broadcast_messages
.
each
do
|
message
|
...
...
@@ -38,7 +37,7 @@
%td
=
message
.
broadcast_type
.
capitalize
%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
(
'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
(
'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'
=
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 ""
msgid " Please sign in."
msgstr ""
msgid " Target Path"
msgstr ""
msgid " Try to %{action} this file again."
msgstr ""
msgid " Type"
msgstr ""
msgid " You need to do this before %{grace_period_deadline}."
msgstr ""
...
...
@@ -5245,6 +5251,9 @@ msgstr ""
msgid "Broadcast Messages"
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"
msgstr ""
...
...
@@ -11847,6 +11856,9 @@ msgstr ""
msgid "End Time"
msgstr ""
msgid "Ends"
msgstr ""
msgid "Ends at (UTC)"
msgstr ""
...
...
@@ -29503,6 +29515,9 @@ msgstr ""
msgid "Starting..."
msgstr ""
msgid "Starts"
msgstr ""
msgid "Starts %{startsIn}"
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