summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorEarl Warren <earl-warren@noreply.codeberg.org>2024-04-01 21:31:26 +0200
committerEarl Warren <earl-warren@noreply.codeberg.org>2024-04-01 21:31:26 +0200
commit385bcca788f8ea4386cfa0d316f951ba59de6250 (patch)
tree68ee3d4b4c7deecb23253b6e3344cc908400ee48 /options
parentMerge pull request '[FEAT] Configure if protected branch rule should apply to... (diff)
parentRename ByteSize to ReadableSize (diff)
downloadforgejo-385bcca788f8ea4386cfa0d316f951ba59de6250.tar.xz
forgejo-385bcca788f8ea4386cfa0d316f951ba59de6250.zip
Merge pull request 'Data size unit localization' (#2528) from 0ko/forgejo:sizelocalize into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2528 Reviewed-by: oliverpool <oliverpool@noreply.codeberg.org> Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Diffstat (limited to 'options')
-rw-r--r--options/locale/locale_en-US.ini9
-rw-r--r--options/locale/locale_ru-RU.ini9
2 files changed, 18 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index fbe67c28b8..078c82c681 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -3417,6 +3417,15 @@ years = %d years
raw_seconds = seconds
raw_minutes = minutes
+[munits.data]
+b = B
+kib = KiB
+mib = MiB
+gib = GiB
+tib = TiB
+pib = PiB
+eib = EiB
+
[dropzone]
default_message = Drop files or click here to upload.
invalid_input_type = You cannot upload files of this type.
diff --git a/options/locale/locale_ru-RU.ini b/options/locale/locale_ru-RU.ini
index e9daba082e..01aeaaffc4 100644
--- a/options/locale/locale_ru-RU.ini
+++ b/options/locale/locale_ru-RU.ini
@@ -3417,6 +3417,15 @@ years=%d лет
raw_seconds=секунд
raw_minutes=минут
+[munits.data]
+b = Б
+kib = КиБ
+mib = МиБ
+gib = ГиБ
+tib = ТиБ
+pib = ПиБ
+eib = ЕиБ
+
[dropzone]
default_message=Перетащите файл или кликните сюда для загрузки.
invalid_input_type=Вы не можете загружать файлы этого типа.