Skip to content

Fixes untranslatable sentence

Eduardo Bonet requested to merge model_registry/fix_translation into master

What does this MR do and why?

Fixes untranslatable sentence

The original string is not translatable in some languages.

See gitlab-com/localization/localization-team#58 (closed) for more details

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
image image

How to set up and validate locally

  1. In rails console enable the experiment fully

    Feature.enable(:model_registry)
  2. Create a model and a model version

    project_id = 1 # id of the test project
    Ml::FindOrCreateModelService.new(Project.find_by(id:project_id), "model_3").execute
    mv = Ml::FindOrCreateModelVersionService.new(Project.find_by(id:project_id), {model_name: 'model_1'}).execute
  3. Navigate to <gdk>/<project>/ml/models, the new string should be displayed

Merge request reports