1
0
mirror of https://github.com/minetest-mods/intllib.git synced 2024-11-14 14:30:32 +01:00
Commit Graph

42 Commits

Author SHA1 Message Date
Diego Martínez
7889a4dcd7 Clarify dev docs and remove refs to old method. 2017-02-27 21:41:25 -03:00
Diego Martínez
7ff6c86087 Update test translations with latest script. 2017-02-25 20:41:51 -03:00
Diego Martínez
5f00db5d95 Fixes to translation update script. 2017-02-25 20:38:17 -03:00
Diego Martínez
122d1a83cc Fix warnings issued by luacheck. 2017-02-11 03:42:36 -03:00
Diego Martínez
c667cd0de6 Add .luacheckrc. 2017-02-11 03:42:29 -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
b98f01b2da Add localefile.md. 2017-01-26 00:50:29 -03:00
BrunoMine
ffc6159368 Update README-pt_BR.md 2017-01-26 00:38:00 -03:00
Diego Martínez
e0c727f7a1 Remove references to .mo catalogs from docs. 2017-01-25 01:30:43 -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
50c42165ea Add .gitignore. 2017-01-24 01:10:53 -03:00
Diego Martínez
172a4e127c Add minimal example mod. 2017-01-24 00:48:19 -03:00
Diego Martínez
b2551f6a22 Add support for gettext message catalogs. 2017-01-24 00:24:57 -03:00
Diego Martínez
4e067ec219 Add mod metadata files.
- `description.txt`
- `mod.conf`
2016-11-03 21:47:33 -03:00
Diego Martínez
715ac33715 Add support for language variants/dialects.
Assuming the detected language is `ll_CC`, the
mod tries the following files:

- `locale/ll_CC.txt`
- `locale/ll.txt`
- `locale/en.txt` (assuming it has not been
  processed already).
2016-10-06 20:39:41 -03:00
Diego Martínez
e058fc93a8 Add some missing escape sequences.
Fixes #7.
2016-10-06 04:22:00 -03:00
BrunoMine
c1ddaf66da translation updated (#8)
* translation updated

* translation updated
2016-08-29 15:19:04 -07:00
Diego Martínez
8b3a97a81a Create README-es_UY.md 2016-06-13 07:22:06 -03:00
BrunoMine
f80ae5684f Translated into Portuguese from Brazil 2016-05-09 07:24:27 -07:00
Diego Martinez
dda75d975d Reorganize README 2016-05-08 16:48:32 -03:00
Ryan
0c7b30464c Updated readme, in an attempt to make it more readable 2016-05-03 23:11:01 -07:00
ShadowNinja
475711f7f7 Switch to slightly cleaner compatibility method 2015-02-16 23:57:22 -05:00
ShadowNinja
2ef1abad55 Silence global warning 2015-02-16 23:24:10 -05:00
ShadowNinja
4a0c8e1580 Fix incorrect variable name 2015-02-16 23:22:21 -05:00
ShadowNinja
c497c7b10c Fix insertions with missing translations 2015-02-03 17:21:35 -05:00
ShadowNinja
4404c4071c Add numbered insertions 2015-02-01 18:10:09 -05:00
ShadowNinja
c4335aa3dc Use get_modpath() to check for mod existence 2014-12-12 16:36:57 -05:00
ShadowNinja
3a3da7359c Add get_strings() 2014-02-12 17:27:09 -05:00
ShadowNinja
4be14170e7 Localize load_strings 2013-12-17 20:29:01 -05:00
ShadowNinja
934ca0492c Don't return empty translations 2013-11-27 12:38:59 -05:00
ShadowNinja
377dc784cd Remove '=' from escape table (Unfound escapes work) 2013-10-29 19:06:49 -04:00
kaeza
abb257aae3 Some refactoring. 2013-10-29 17:37:36 -02:00
kaeza
2866bb4ec6 Whoops! 2013-10-29 17:25:46 -02:00
kaeza
17314b5389 Rewrite `findtext.lua'. 2013-10-29 15:54:14 -02:00
ShadowNinja
af31d71d1a Use optional dependencies to only load once and re-add support for escapes 2013-10-29 11:19:35 -04:00
Diego Martínez
5de9bcea76 Remove non-working escape sequences 2013-03-05 15:00:41 -02:00
Diego Martínez
02b7a666f6 Removed unused return value from Getter() 2013-03-05 09:01:25 -02:00
Diego Martínez
a1948fb6d7 Removed useless locale files 2013-03-05 09:00:29 -02:00
Diego Martínez
b6c110168f Various fixes 2013-03-05 08:58:31 -02:00
Diego Martínez
11b9e0596c first commit 2013-02-27 04:27:51 -02:00