Commit fa7b2d7b authored by Olena Horal-Koretska's avatar Olena Horal-Koretska

Merge branch 'improve-the-labels-for-kubernetes-agents' into 'master'

Improve the labels on Kubernetes Agent UI

See merge request gitlab-org/gitlab!77845
parents 60dcd06f 85a377fd
......@@ -176,8 +176,8 @@ export const I18N_CLUSTERS_EMPTY_STATE = {
export const AGENT_CARD_INFO = {
tabName: 'agent',
title: sprintf(s__('ClusterAgents|%{number} of %{total} agents')),
emptyTitle: s__('ClusterAgents|No agents'),
title: sprintf(s__('ClusterAgents|%{number} of %{total} Agents')),
emptyTitle: s__('ClusterAgents|No Agents'),
tooltip: {
label: s__('ClusterAgents|Recommended'),
title: s__('ClusterAgents|GitLab Agent'),
......@@ -188,7 +188,7 @@ export const AGENT_CARD_INFO = {
),
link: helpPagePath('user/clusters/agent/index'),
},
actionText: s__('ClusterAgents|Install a new agent'),
actionText: s__('ClusterAgents|Install new Agent'),
footerText: sprintf(s__('ClusterAgents|View all %{number} agents')),
};
......@@ -226,7 +226,7 @@ export const CLUSTERS_TABS = [
export const CLUSTERS_ACTIONS = {
actionsButton: s__('ClusterAgents|Actions'),
createNewCluster: s__('ClusterAgents|Create a new cluster'),
connectWithAgent: s__('ClusterAgents|Connect with the Agent'),
connectWithAgent: s__('ClusterAgents|Connect with Agent'),
connectExistingCluster: s__('ClusterAgents|Connect with a certificate'),
};
......
......@@ -7518,7 +7518,7 @@ msgstr ""
msgid "ClusterAgents|%{name} successfully deleted"
msgstr ""
msgid "ClusterAgents|%{number} of %{total} agents"
msgid "ClusterAgents|%{number} of %{total} Agents"
msgstr ""
msgid "ClusterAgents|%{number} of %{total} clusters connected through cluster certificates"
......@@ -7590,10 +7590,10 @@ msgstr ""
msgid "ClusterAgents|Connect existing cluster"
msgstr ""
msgid "ClusterAgents|Connect with a certificate"
msgid "ClusterAgents|Connect with Agent"
msgstr ""
msgid "ClusterAgents|Connect with the Agent"
msgid "ClusterAgents|Connect with a certificate"
msgstr ""
msgid "ClusterAgents|Connect with the GitLab Agent"
......@@ -7656,7 +7656,7 @@ msgstr ""
msgid "ClusterAgents|How to register an agent?"
msgstr ""
msgid "ClusterAgents|Install a new agent"
msgid "ClusterAgents|Install new Agent"
msgstr ""
msgid "ClusterAgents|Last connected %{timeAgo}."
......@@ -7683,7 +7683,7 @@ msgstr ""
msgid "ClusterAgents|Never connected"
msgstr ""
msgid "ClusterAgents|No agents"
msgid "ClusterAgents|No Agents"
msgstr ""
msgid "ClusterAgents|No clusters connected through cluster certificates"
......
......@@ -22,7 +22,7 @@ RSpec.describe 'ClusterAgents', :js do
end
it 'displays empty state', :aggregate_failures do
expect(page).to have_content('Install a new agent')
expect(page).to have_content('Install new Agent')
expect(page).to have_selector('.empty-state')
end
end
......
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