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