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 ...@@ -123,7 +123,7 @@ module Nav
if dashboard_nav_link?(:milestones) if dashboard_nav_link?(:milestones)
builder.add_primary_menu_item_with_shortcut( builder.add_primary_menu_item_with_shortcut(
id: 'milestones', id: 'milestones',
title: 'Milestones', title: _('Milestones'),
href: dashboard_milestones_path, href: dashboard_milestones_path,
active: active_nav_link?(controller: 'dashboard/milestones'), active: active_nav_link?(controller: 'dashboard/milestones'),
icon: 'clock', icon: 'clock',
...@@ -144,7 +144,7 @@ module Nav ...@@ -144,7 +144,7 @@ module Nav
if dashboard_nav_link?(:activity) if dashboard_nav_link?(:activity)
builder.add_primary_menu_item_with_shortcut( builder.add_primary_menu_item_with_shortcut(
id: 'activity', id: 'activity',
title: 'Activity', title: _('Activity'),
href: activity_dashboard_path, href: activity_dashboard_path,
active: active_nav_link?(path: 'dashboard#activity'), active: active_nav_link?(path: 'dashboard#activity'),
icon: 'history', icon: 'history',
...@@ -212,7 +212,7 @@ module Nav ...@@ -212,7 +212,7 @@ module Nav
def groups_menu_item_attrs def groups_menu_item_attrs
{ {
id: 'groups', id: 'groups',
title: 'Groups', title: _('Groups'),
icon: 'group', icon: 'group',
shortcut_class: 'dashboard-shortcuts-groups' shortcut_class: 'dashboard-shortcuts-groups'
} }
......
...@@ -14,7 +14,7 @@ module EE ...@@ -14,7 +14,7 @@ module EE
if dashboard_nav_link?(:environments) if dashboard_nav_link?(:environments)
builder.add_primary_menu_item( builder.add_primary_menu_item(
id: 'environments', id: 'environments',
title: 'Environments', title: _('Environments'),
icon: 'environment', icon: 'environment',
data: { qa_selector: 'environment_link' }, data: { qa_selector: 'environment_link' },
href: operations_environments_path href: operations_environments_path
...@@ -24,7 +24,7 @@ module EE ...@@ -24,7 +24,7 @@ module EE
if dashboard_nav_link?(:operations) if dashboard_nav_link?(:operations)
builder.add_primary_menu_item( builder.add_primary_menu_item(
id: 'operations', id: 'operations',
title: 'Operations', title: _('Operations'),
icon: 'cloud-gear', icon: 'cloud-gear',
data: { qa_selector: 'operations_link' }, data: { qa_selector: 'operations_link' },
href: operations_path href: operations_path
...@@ -34,7 +34,7 @@ module EE ...@@ -34,7 +34,7 @@ module EE
if dashboard_nav_link?(:security) if dashboard_nav_link?(:security)
builder.add_primary_menu_item( builder.add_primary_menu_item(
id: 'security', id: 'security',
title: 'Security', title: _('Security'),
icon: 'shield', icon: 'shield',
data: { qa_selector: 'security_link' }, data: { qa_selector: 'security_link' },
href: security_dashboard_path href: security_dashboard_path
......
...@@ -24860,6 +24860,9 @@ msgstr "" ...@@ -24860,6 +24860,9 @@ msgstr ""
msgid "Operation timed out. Check pod logs for %{pod_name} for more details." msgid "Operation timed out. Check pod logs for %{pod_name} for more details."
msgstr "" msgstr ""
msgid "Operations"
msgstr ""
msgid "Operations Dashboard" msgid "Operations Dashboard"
msgstr "" 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