diff options
author | Tao Wang <twang2218@gmail.com> | 2018-06-13 16:30:40 +1000 |
---|---|---|
committer | Tao Wang <twang2218@gmail.com> | 2018-07-23 16:33:37 +1000 |
commit | dc157729b3407c265854b55cd90ec75dc50b20f2 (patch) | |
tree | ebec6e0046d54c8cce47f1b379577ebdbaa3b727 /qa | |
parent | dc7b4b7bb97ead6fca1eefad5f56c8db5db00f93 (diff) | |
download | gitlab-ce-dc157729b3407c265854b55cd90ec75dc50b20f2.tar.gz |
i18n: externalize strings from 'app/views/layouts'
Signed-off-by: Tao Wang <twang2218@gmail.com>
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/menu/side.rb | 6 | ||||
-rw-r--r-- | qa/qa/page/project/show.rb | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/qa/qa/page/menu/side.rb b/qa/qa/page/menu/side.rb index c14a835c2c9..354ccec2a5a 100644 --- a/qa/qa/page/menu/side.rb +++ b/qa/qa/page/menu/side.rb @@ -5,8 +5,8 @@ module QA view 'app/views/layouts/nav/sidebar/_project.html.haml' do element :settings_item element :settings_link, 'link_to edit_project_path' - element :repository_link, "title: 'Repository'" - element :pipelines_settings_link, "title: 'CI / CD'" + element :repository_link, "title: _('Repository')" + element :pipelines_settings_link, "title: _('CI / CD')" element :operations_kubernetes_link, "title: _('Kubernetes')" element :issues_link, /link_to.*shortcuts-issues/ element :issues_link_text, "Issues" @@ -14,7 +14,7 @@ module QA element :merge_requests_link_text, "Merge Requests" element :top_level_items, '.sidebar-top-level-items' element :operations_section, "class: 'shortcuts-operations'" - element :activity_link, "title: 'Activity'" + element :activity_link, "title: _('Activity')" element :wiki_link_text, "Wiki" element :milestones_link end diff --git a/qa/qa/page/project/show.rb b/qa/qa/page/project/show.rb index 1d3dad4cda0..c751b472535 100644 --- a/qa/qa/page/project/show.rb +++ b/qa/qa/page/project/show.rb @@ -14,7 +14,7 @@ module QA view 'app/views/layouts/header/_new_dropdown.haml' do element :new_menu_toggle - element :new_issue_link, "link_to 'New issue', new_project_issue_path(@project)" + element :new_issue_link, "link_to _('New issue'), new_project_issue_path(@project)" end view 'app/views/shared/_ref_switcher.html.haml' do |