From 7f4dd705e98c0b0b7c06900d43433243e4f5dd7e Mon Sep 17 00:00:00 2001 From: Thomas Randolph Date: Tue, 18 Jul 2023 08:57:40 -0600 Subject: [PATCH] Use namespace function with namespaced UI strings --- .../form_elements/_apply_generated_description_warning.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/shared/form_elements/_apply_generated_description_warning.haml b/app/views/shared/form_elements/_apply_generated_description_warning.haml index b695ae4f292985..906f60d01e6596 100644 --- a/app/views/shared/form_elements/_apply_generated_description_warning.haml +++ b/app/views/shared/form_elements/_apply_generated_description_warning.haml @@ -5,9 +5,9 @@ = sprite_icon("close") %p - = _("AI|Replace the existing description with an AI-generated description? Any changes you have made will be lost.") + = s_("AI|Replace the existing description with an AI-generated description? Any changes you have made will be lost.") = render Pajamas::ButtonComponent.new(variant: :confirm, button_options: { class: 'gl-mr-3 js-ai-override-description' }) do - = _("AI|Apply AI-generated description") + = s_("AI|Apply AI-generated description") = render Pajamas::ButtonComponent.new(button_options: { class: 'js-cancel-btn' }) do = _("Cancel") -- GitLab