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
19e0b612
Commit
19e0b612
authored
May 15, 2020
by
Gilang Gumilar
Committed by
Phil Hughes
May 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Externalize i18n aria-label strings from ./app/views/shared/*
parent
1e638da0
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
4 deletions
+15
-4
app/views/shared/_auto_devops_callout.html.haml
app/views/shared/_auto_devops_callout.html.haml
+1
-1
app/views/shared/_clone_panel.html.haml
app/views/shared/_clone_panel.html.haml
+1
-1
app/views/shared/_mini_pipeline_graph.html.haml
app/views/shared/_mini_pipeline_graph.html.haml
+1
-1
app/views/shared/_no_ssh.html.haml
app/views/shared/_no_ssh.html.haml
+1
-1
changelogs/unreleased/22691-externelize-i18n-strings-from---app-views-shared--aria-label.yml
...lize-i18n-strings-from---app-views-shared--aria-label.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+6
-0
No files found.
app/views/shared/_auto_devops_callout.html.haml
View file @
19e0b612
...
...
@@ -11,5 +11,5 @@
=
link_to
s_
(
'AutoDevOps|Enable in settings'
),
project_settings_ci_cd_path
(
@project
,
anchor:
'autodevops-settings'
),
class:
'btn btn-md new-gl-button js-close-callout'
%button
.gl-banner-close.close.js-close-callout
{
type:
'button'
,
'aria-label'
=>
'Dismiss Auto DevOps box'
}
'aria-label'
=>
s_
(
'AutoDevOps|Dismiss Auto DevOps box'
)
}
=
icon
(
'times'
,
class:
'dismiss-icon'
,
'aria-hidden'
=>
'true'
)
app/views/shared/_clone_panel.html.haml
View file @
19e0b612
...
...
@@ -18,7 +18,7 @@
=
http_clone_button
(
project
)
=
render_if_exists
'shared/kerberos_clone_button'
,
project:
project
=
text_field_tag
:project_clone
,
default_url_to_repo
(
project
),
class:
"js-select-on-focus form-control"
,
readonly:
true
,
aria:
{
label:
'Project clone URL'
}
=
text_field_tag
:project_clone
,
default_url_to_repo
(
project
),
class:
"js-select-on-focus form-control"
,
readonly:
true
,
aria:
{
label:
_
(
'Project clone URL'
)
}
.input-group-append
=
clipboard_button
(
target:
'#project_clone'
,
title:
_
(
"Copy URL"
),
class:
"input-group-text btn-default btn-clipboard"
)
app/views/shared/_mini_pipeline_graph.html.haml
View file @
19e0b612
...
...
@@ -14,4 +14,4 @@
%li
.js-builds-dropdown-loading.hidden
.loading-container.text-center
%span
.spinner
{
'aria-label'
:
'Loading'
}
%span
.spinner
{
'aria-label'
:
_
(
'Loading'
)
}
app/views/shared/_no_ssh.html.haml
View file @
19e0b612
-
if
show_no_ssh_key_message?
%div
{
class:
'no-ssh-key-message gl-alert gl-alert-warning'
,
role:
'alert'
}
=
sprite_icon
(
'warning'
,
size:
16
,
css_class:
'gl-icon s16 gl-alert-icon gl-alert-icon-no-title'
)
%button
{
class:
'gl-alert-dismiss hide-no-ssh-message'
,
type:
'button'
,
'aria-label'
:
'Dismiss'
}
%button
{
class:
'gl-alert-dismiss hide-no-ssh-message'
,
type:
'button'
,
'aria-label'
:
_
(
'Dismiss'
)
}
=
sprite_icon
(
'close'
,
size:
16
,
css_class:
'gl-icon s16'
)
.gl-alert-body
=
s_
(
"MissingSSHKeyWarningLink|You won't be able to pull or push project code via SSH until you add an SSH key to your profile"
).
html_safe
...
...
changelogs/unreleased/22691-externelize-i18n-strings-from---app-views-shared--aria-label.yml
0 → 100644
View file @
19e0b612
---
title
:
Externalize i18n aria-label strings from ./app/views/shared/*
merge_request
:
32142
author
:
Gilang Gumilar
type
:
changed
locale/gitlab.pot
View file @
19e0b612
...
...
@@ -2975,6 +2975,9 @@ msgstr ""
msgid "AutoDevOps|Auto DevOps documentation"
msgstr ""
msgid "AutoDevOps|Dismiss Auto DevOps box"
msgstr ""
msgid "AutoDevOps|Enable in settings"
msgstr ""
...
...
@@ -16267,6 +16270,9 @@ msgstr ""
msgid "Project cannot be shared with the group it is in or one of its ancestors."
msgstr ""
msgid "Project clone URL"
msgstr ""
msgid "Project configuration, including services"
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