From 324b8109c9497350c13c8eb2da08939a865aad6d Mon Sep 17 00:00:00 2001 From: Paul Gascou-Vaillancourt Date: Fri, 19 Jul 2019 14:12:37 -0400 Subject: Fix translation of 'Updated' term in projects list --- app/views/shared/projects/_project.html.haml | 2 +- changelogs/unreleased/fix-i18n-updated-projects.yml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelogs/unreleased/fix-i18n-updated-projects.yml diff --git a/app/views/shared/projects/_project.html.haml b/app/views/shared/projects/_project.html.haml index 04f72420fe1..c4d1bdad2c4 100644 --- a/app/views/shared/projects/_project.html.haml +++ b/app/views/shared/projects/_project.html.haml @@ -89,4 +89,4 @@ %span.icon-wrapper.pipeline-status = render 'ci/status/icon', status: project.commit.last_pipeline.detailed_status(current_user), type: 'commit', tooltip_placement: 'top', path: pipeline_path .updated-note - %span _('Updated') #{updated_tooltip} + %span #{_('Updated')} #{updated_tooltip} diff --git a/changelogs/unreleased/fix-i18n-updated-projects.yml b/changelogs/unreleased/fix-i18n-updated-projects.yml new file mode 100644 index 00000000000..408ee438480 --- /dev/null +++ b/changelogs/unreleased/fix-i18n-updated-projects.yml @@ -0,0 +1,5 @@ +--- +title: Properly translate term in projects list +merge_request: 30958 +author: +type: fixed -- cgit v1.2.1