1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-10 01:15:24 +01:00

Gettext and plural support for client-side translations (#14726)

---------

Co-authored-by: Ekdohibs <nathanael.courant@laposte.net>
Co-authored-by: y5nw <y5nw@protonmail.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
This commit is contained in:
y5nw
2024-10-13 11:29:08 +02:00
committed by GitHub
parent dbbe0ca065
commit e3aa79cffb
28 changed files with 1360 additions and 74 deletions

View File

@@ -0,0 +1,26 @@
msgid ""
msgstr "Plural-Forms: nplurals=2; plural= n != 1;"
msgctxt "context"
msgid "With context"
msgstr "Has context"
msgctxt "context"
msgid "Singular form"
msgid_plural "Plural form"
msgstr[0] "Singular result"
msgstr[1] "Plural result"
# Replace plural form delimiter in the msgstr
msgid "Corrupt singular"
msgid_plural "Corrupt plural"
msgstr[0] "Corrupt singular result"
msgstr[1] "Corrupt plural result"
# Replace terminating NUL in the MO file
msgid "Corrupt entry"
msgstr "Corrupted result"
# Change the address of this entry to something invalid
msgid "Removed entry"
msgstr "Removed result"