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:
- Ukrainian would use
КіБ
— https://uk.wikipedia.org/wiki/%D0%9A%D1%96%D0%B1%D1%96%D0%B1%D0%B0%D0%B9%D1%82 - Russian would use either
КиБ
or internationalKiB
— I usedКиБ
because translations were already usingКиБ
— https://ru.wikipedia.org/wiki/%D0%9A%D0%B8%D0%B1%D0%B8%D0%B1%D0%B0%D0%B9%D1%82 - French seem to use either
Kio
orKiB
interchangeably — I usedKio
because translations were usingKo
for kilobytes — https://context.reverso.net/translation/english-french/kibibyte - Portuguese seem to use
KiB
— https://pt.wikipedia.org/wiki/Quibiocteto - Spanish would use either
KiB
orKio
— there was no previous usage, I used internationalKiB
— https://es.wikipedia.org/wiki/Kibibyte - in other languages I used international
KiB
because they were already usingKB
so I assumed they are fine with internationalKiB
either
Related to #407872
Screenshots or screen recordings
en | fr | uk |
---|---|---|
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.
-
I have evaluated the MR acceptance checklist for this MR.