From 06a8386d01323d9b27807cfd4c70f9c4a1e2801c Mon Sep 17 00:00:00 2001 From: Eduardo Bonet Date: Wed, 10 Sep 2025 13:06:20 +0200 Subject: [PATCH] Updates copy to reflect new model selection As GitLab Duo self-hosted page is now used to also configure gitlab managed model access, the title is being updated. This MR does not update the url, only the title and navigation EE: true --- ee/app/assets/javascripts/ai/duo_self_hosted/app.vue | 2 +- ee/app/views/admin/gitlab_duo/self_hosted/index.html.haml | 2 +- ee/spec/frontend/ai/duo_self_hosted/app_spec.js | 2 +- locale/gitlab.pot | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ee/app/assets/javascripts/ai/duo_self_hosted/app.vue b/ee/app/assets/javascripts/ai/duo_self_hosted/app.vue index 2025c96b8f11ea..bd2b68fa049c68 100644 --- a/ee/app/assets/javascripts/ai/duo_self_hosted/app.vue +++ b/ee/app/assets/javascripts/ai/duo_self_hosted/app.vue @@ -18,7 +18,7 @@ export default { }, inject: ['canManageInstanceModelSelection'], i18n: { - title: s__('AdminSelfHostedModels|GitLab Duo Self-Hosted'), + title: s__('AdminSelfHostedModels|Model configuration'), }, props: { tabId: { diff --git a/ee/app/views/admin/gitlab_duo/self_hosted/index.html.haml b/ee/app/views/admin/gitlab_duo/self_hosted/index.html.haml index 8d420c0023c784..6e25e1d82cfd31 100644 --- a/ee/app/views/admin/gitlab_duo/self_hosted/index.html.haml +++ b/ee/app/views/admin/gitlab_duo/self_hosted/index.html.haml @@ -1,4 +1,4 @@ -- page_title s_("AdminSelfHostedModels|GitLab Duo Self-Hosted") +- page_title s_("AdminSelfHostedModels|Model configuration") - add_to_breadcrumbs _("GitLab Duo"), admin_gitlab_duo_path - add_page_specific_style 'page_bundles/settings' diff --git a/ee/spec/frontend/ai/duo_self_hosted/app_spec.js b/ee/spec/frontend/ai/duo_self_hosted/app_spec.js index c3cf595672ea48..72125b8d68f846 100644 --- a/ee/spec/frontend/ai/duo_self_hosted/app_spec.js +++ b/ee/spec/frontend/ai/duo_self_hosted/app_spec.js @@ -35,7 +35,7 @@ describe('DuoSelfHostedApp', () => { createComponent(); const title = wrapper.findByTestId('self-hosted-title'); - expect(title.text()).toBe('GitLab Duo Self-Hosted'); + expect(title.text()).toBe('Model configuration'); }); it('has a description', () => { diff --git a/locale/gitlab.pot b/locale/gitlab.pot index 4d248ad7ae5bf1..3e0e8536b98795 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -4819,9 +4819,6 @@ msgstr "" msgid "AdminSelfHostedModels|Endpoint" msgstr "" -msgid "AdminSelfHostedModels|GitLab Duo Self-Hosted" -msgstr "" - msgid "AdminSelfHostedModels|GitLab managed models" msgstr "" @@ -4831,6 +4828,9 @@ msgstr "" msgid "AdminSelfHostedModels|Manage GitLab Duo by configuring and assigning self-hosted models to AI-native features." msgstr "" +msgid "AdminSelfHostedModels|Model configuration" +msgstr "" + msgid "AdminSelfHostedModels|Model family" msgstr "" -- GitLab