diff --git a/app/views/admin/application_settings/appearances/_form.html.haml b/app/views/admin/application_settings/appearances/_form.html.haml index 20068a1318d30b805e33cac726594ce41845e3df..0e8152fe479b683994ce85d8adbd0a6bce586f30 100644 --- a/app/views/admin/application_settings/appearances/_form.html.haml +++ b/app/views/admin/application_settings/appearances/_form.html.haml @@ -1,4 +1,4 @@ -- parsed_with_gfm = (_("Content parsed with %{link}.") % { link: link_to('GitLab Flavored Markdown', help_page_path('user/markdown.md'), target: '_blank') }).html_safe +- parsed_with_gfm = (_("Content parsed with %{link}.") % { link: link_to(_('GitLab Flavored Markdown'), help_page_path('user/markdown.md'), target: '_blank') }).html_safe = gitlab_ui_form_for @appearance, url: admin_application_settings_appearances_path, html: { class: 'gl-mt-3' } do |f| = form_errors(@appearance) @@ -53,7 +53,7 @@ = render ::Layouts::SettingsSectionComponent.new(_('New project pages')) do |c| - c.with_body do .form-group - = f.label :new_project_guidelines, class: 'col-form-label' + = f.label :new_project_guidelines, _('New project guidelines'), class: 'col-form-label' %p = f.text_area :new_project_guidelines, class: "form-control gl-form-input", rows: 10 .form-text.gl-text-subtle @@ -84,7 +84,7 @@ .form-text.gl-text-subtle = parsed_with_gfm .form-group - = f.label :pwa_icon, class: 'col-form-label gl-pt-0' + = f.label :pwa_icon, _('Icon'), class: 'col-form-label gl-pt-0' %p - if @appearance.pwa_icon? = image_tag @appearance.pwa_icon_path, class: 'appearance-pwa-icon-preview' @@ -109,7 +109,7 @@ .form-text.gl-text-subtle = parsed_with_gfm .form-group - = f.label :logo, class: 'col-form-label gl-pt-0' + = f.label :logo, _('Logo'), class: 'col-form-label gl-pt-0' %p - if @appearance.logo? = image_tag @appearance.logo_path, class: 'appearance-logo-preview' diff --git a/locale/gitlab.pot b/locale/gitlab.pot index c7f41941658c9815b46622c33a93820f2fffa861..d7d28d4d5264b7a83f0e5288da9bae5684c413e8 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -25887,6 +25887,9 @@ msgstr "" msgid "GitLab Error Tracking" msgstr "" +msgid "GitLab Flavored Markdown" +msgstr "" + msgid "GitLab Import" msgstr "" @@ -28968,6 +28971,9 @@ msgstr "" msgid "IP subnet restriction only allowed for top-level groups" msgstr "" +msgid "Icon" +msgstr "" + msgid "Icon will be removed. Are you sure?" msgstr "" @@ -33977,6 +33983,9 @@ msgstr "" msgid "Login with smartcard" msgstr "" +msgid "Logo" +msgstr "" + msgid "Logo was successfully removed." msgstr "" @@ -37486,6 +37495,9 @@ msgstr "" msgid "New project" msgstr "" +msgid "New project guidelines" +msgstr "" + msgid "New project page" msgstr ""