Skip to content
代码片段 群组 项目
提交 5ab3c5c7 编辑于 作者: Phil Hughes's avatar Phil Hughes
浏览文件

Merge branch '22691-externelize-i18n-strings-from-./app/views/shared/-aria-label' into 'master'

Externalize i18n aria-label strings from ./app/views/shared/*

See merge request gitlab-org/gitlab!32142
No related branches found
No related tags found
无相关合并请求
...@@ -11,5 +11,5 @@ ...@@ -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' = 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', %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') = icon('times', class: 'dismiss-icon', 'aria-hidden' => 'true')
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
= http_clone_button(project) = http_clone_button(project)
= render_if_exists 'shared/kerberos_clone_button', project: 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 .input-group-append
= clipboard_button(target: '#project_clone', title: _("Copy URL"), class: "input-group-text btn-default btn-clipboard") = clipboard_button(target: '#project_clone', title: _("Copy URL"), class: "input-group-text btn-default btn-clipboard")
...@@ -14,4 +14,4 @@ ...@@ -14,4 +14,4 @@
%li.js-builds-dropdown-loading.hidden %li.js-builds-dropdown-loading.hidden
.loading-container.text-center .loading-container.text-center
%span.spinner{ 'aria-label': 'Loading' } %span.spinner{ 'aria-label': _('Loading') }
- if show_no_ssh_key_message? - if show_no_ssh_key_message?
%div{ class: 'no-ssh-key-message gl-alert gl-alert-warning', role: 'alert' } %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') = 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') = sprite_icon('close', size: 16, css_class: 'gl-icon s16')
.gl-alert-body .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 = 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
......
---
title: Externalize i18n aria-label strings from ./app/views/shared/*
merge_request: 32142
author: Gilang Gumilar
type: changed
...@@ -2978,6 +2978,9 @@ msgstr "" ...@@ -2978,6 +2978,9 @@ msgstr ""
msgid "AutoDevOps|Auto DevOps documentation" msgid "AutoDevOps|Auto DevOps documentation"
msgstr "" msgstr ""
   
msgid "AutoDevOps|Dismiss Auto DevOps box"
msgstr ""
msgid "AutoDevOps|Enable in settings" msgid "AutoDevOps|Enable in settings"
msgstr "" msgstr ""
   
...@@ -16279,6 +16282,9 @@ msgstr "" ...@@ -16279,6 +16282,9 @@ msgstr ""
msgid "Project cannot be shared with the group it is in or one of its ancestors." msgid "Project cannot be shared with the group it is in or one of its ancestors."
msgstr "" msgstr ""
   
msgid "Project clone URL"
msgstr ""
msgid "Project configuration, including services" msgid "Project configuration, including services"
msgstr "" msgstr ""
   
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册