Skip to content

Update translations for settings labels to use MiB instead of MB

What does this MR do and why?

In !120287 (merged) I updated a few labels to use a more precise MiB storage size notation (instead of MB) . E.g.

- msgid "Max file size is 200 KB."
+ msgid "Max file size is 200 KiB."

locale/uk/gitlab.po

This MR is an attempt to preserve the translations for those strings, which would be unfairly deprecated otherwise. So I go through translation files and do something like:

- msgid "Max file size is 200 KB."
- msgstr "Максимальний розмір файлу 200 KB."
+ msgid "Max file size is 200 KiB."
+ msgstr "Максимальний розмір файлу 200 KiB."

Generally I used translations for KiB/MiB/GiB that were already present in the translations. E.g. French already had

msgid "%{size} MiB"
msgstr "%{size}°Mio"

so I reused the Mio for settings titles too. With two additions: Ukrainian and Spanish had wrong translations for the raw %{value} KiB/MiB/GiB, which I also fixed in this MR.

Here are some links I used during this update:

Related to #407872

Screenshots or screen recordings

en fr uk
localhost_3000_groups_h5bp<span data-escaped-char><span data-escaped-char>_</span></span>-edit__1 localhost_3000_groups_h5bp<span data-escaped-char><span data-escaped-char>_</span></span>-edit__3 localhost_3000_groups_h5bp<span data-escaped-char><span data-escaped-char>_</span></span>-edit__4

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Kos Palchyk

Merge request reports