Skip to content

Draft: Fix French translation

Nicolas Legrand requested to merge gitlab-community/gitlab:460834-fix into master
  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

It tries to fix this bug: #460834 by mimicking !147808 (merged) fix.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Create a new merge request
  2. Delete any pipelines if CI is configured to automatically create one
  3. From the rails console: gdk rails c
  4. Stash a handle to your new merge request: m = MergeRequest.last
  5. Defin fixture_file_upload:
    def fixture_file_upload(*args, **kwargs)
      Rack::Test::UploadedFile.new(*args, **kwargs)
    end
  6. Create a pipeline with code quality report findings p = FactoryBot.create(:ci_pipeline, :success, :with_codequality_reports, project: m.source_project, ref: m.source_branch, sha: m.diff_head_sha)
  7. Update the merge request head_pipeline to point to the new pipeline: m.head_pipeline = Ci::Pipeline.last
  8. Save the merge request: m.save
Edited by Kerri Miller

Merge request reports