From 5f035208b2bc63ad5b95c89bc2eb366b5da21262 Mon Sep 17 00:00:00 2001 From: Alex Tierney <tierney.alex.j@gmail.com> Date: Thu, 29 Aug 2024 16:06:13 +0000 Subject: [PATCH] Correct string on /admin/applications in empty-state When in empty-state, /admin/applications string directs user to "start by creating a new one above". The button is below. Removing the suggested action maintains consistency with other areas, including /admin/labels Fixes: https://gitlab.com/gitlab-org/gitlab/-/issues/479634 --- app/views/admin/applications/index.html.haml | 2 +- locale/gitlab.pot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/applications/index.html.haml b/app/views/admin/applications/index.html.haml index 250cc46296cfe..1302a50adf059 100644 --- a/app/views/admin/applications/index.html.haml +++ b/app/views/admin/applications/index.html.haml @@ -13,7 +13,7 @@ primary_button_options: button_options) do |c| - c.with_description do - = s_('AdminArea|Manage applications for your instance that can use GitLab as an OAuth provider, start by creating a new one above.') + = s_('AdminArea|Manage applications for your instance that can use GitLab as an OAuth provider.') - else = render ::Layouts::CrudComponent.new(s_('AdminArea|Instance OAuth applications'), diff --git a/locale/gitlab.pot b/locale/gitlab.pot index 41508efd69491..3c65b03e7e053 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -3697,7 +3697,7 @@ msgstr "" msgid "AdminArea|Manage applications for your instance that can use GitLab as an %{docs_link_start}OAuth provider%{docs_link_end}." msgstr "" -msgid "AdminArea|Manage applications for your instance that can use GitLab as an OAuth provider, start by creating a new one above." +msgid "AdminArea|Manage applications for your instance that can use GitLab as an OAuth provider." msgstr "" msgid "AdminArea|Minimal access" -- GitLab