Commit 03c5a413 authored by wortschi's avatar wortschi

Make strings in top nav translatable

Changelog: changed
EE: true
parent e2b0cc80
......@@ -123,7 +123,7 @@ module Nav
if dashboard_nav_link?(:milestones)
builder.add_primary_menu_item_with_shortcut(
id: 'milestones',
title: 'Milestones',
title: _('Milestones'),
href: dashboard_milestones_path,
active: active_nav_link?(controller: 'dashboard/milestones'),
icon: 'clock',
......@@ -144,7 +144,7 @@ module Nav
if dashboard_nav_link?(:activity)
builder.add_primary_menu_item_with_shortcut(
id: 'activity',
title: 'Activity',
title: _('Activity'),
href: activity_dashboard_path,
active: active_nav_link?(path: 'dashboard#activity'),
icon: 'history',
......@@ -212,7 +212,7 @@ module Nav
def groups_menu_item_attrs
{
id: 'groups',
title: 'Groups',
title: _('Groups'),
icon: 'group',
shortcut_class: 'dashboard-shortcuts-groups'
}
......
......@@ -14,7 +14,7 @@ module EE
if dashboard_nav_link?(:environments)
builder.add_primary_menu_item(
id: 'environments',
title: 'Environments',
title: _('Environments'),
icon: 'environment',
data: { qa_selector: 'environment_link' },
href: operations_environments_path
......@@ -24,7 +24,7 @@ module EE
if dashboard_nav_link?(:operations)
builder.add_primary_menu_item(
id: 'operations',
title: 'Operations',
title: _('Operations'),
icon: 'cloud-gear',
data: { qa_selector: 'operations_link' },
href: operations_path
......@@ -34,7 +34,7 @@ module EE
if dashboard_nav_link?(:security)
builder.add_primary_menu_item(
id: 'security',
title: 'Security',
title: _('Security'),
icon: 'shield',
data: { qa_selector: 'security_link' },
href: security_dashboard_path
......
......@@ -24860,6 +24860,9 @@ msgstr ""
msgid "Operation timed out. Check pod logs for %{pod_name} for more details."
msgstr ""
msgid "Operations"
msgstr ""
msgid "Operations Dashboard"
msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment