Skip to content

Fix namespaced translation in inline alert

What does this MR do?

Noticed we were inadvertently using __ instead of s__ in one of the string for StorageInlineAlert.

This MR migrates all string to an i18n options object, which fixes a lost translation (see screenshots), and exposes 5 strings that gettext had trouble finding before.

Screenshots

Before After
Screenshot_2020-10-13_at_15.39.02 Screenshot_2020-10-13_at_16.19.52

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports

Loading