1
0
mirror of https://github.com/minetest-mods/intllib.git synced 2024-11-18 00:08:24 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
Diego Martínez
17eb88812a Export language detection function. 2017-05-13 16:46:32 -03:00
Diego Martínez
122d1a83cc Fix warnings issued by luacheck. 2017-02-11 03:42:36 -03:00
Diego Martínez
1645070cea Use germanic language rules by default.
Use germanic language rules for plurals if no
`Plural-Forms` header is present.
2017-01-27 10:19:55 -03:00
Diego Martínez
8eae4eec38 Logging fixes.
* Remove use of `rawget`.
* Fix code trying to concat a nil value in some cases.
* Prefix warnings with mod name.
2017-01-27 10:18:28 -03:00
Diego Martínez
e72ab692e0 Output character itself if unknown escape. 2017-01-24 23:22:16 -03:00
Diego Martínez
a3f9090ee8 Return nil if msgstr is empty.
Also remove debugging statements left from previous commit.
2017-01-24 20:10:37 -03:00
Diego Martínez
b2551f6a22 Add support for gettext message catalogs. 2017-01-24 00:24:57 -03:00