Frans de Jonge
|
7545d38198
|
fix: really skip en_US:us in gettext.changeLang
`new_lang` isn't `en_US` but `en_US:en`
Also see https://github.com/koreader/koreader/issues/3069#issuecomment-321769322
|
2017-08-11 14:56:23 +02:00 |
|
Qingping Hou
|
a1ec64b3ed
|
chore: skip en_US in gettext.changeLang
|
2017-04-16 22:41:36 +02:00 |
|
Frans de Jonge
|
69b826781a
|
gettext: unescape quotation mark
Fixes #2718.
|
2017-04-04 07:59:45 -07:00 |
|
Qingping Hou
|
f95ad00b9e
|
feat: add logger module & rewrite kobo suspend script in lua
|
2017-01-02 19:52:09 -08:00 |
|
Frans de Jonge
|
ab442c2434
|
gettext: unescape \n
Fixes the problem that any msgid with \n in it wouldn't show up translated.
|
2014-11-19 21:46:45 +01:00 |
|
chrox
|
20bd14d588
|
automatically set language on Android
|
2014-06-08 21:32:45 +08:00 |
|
chrox
|
88061b323e
|
strip encoding suffix in locale name like zh_CN.utf8
So that we can automatically change to language defined in
the LANGUAGE or LANG env variable.
|
2014-06-08 20:48:37 +08:00 |
|
Hans-Werner Hilse
|
6bbfae389a
|
don't accept empty strings as valid translations
|
2014-05-23 11:57:33 +02:00 |
|
HW
|
ed982d3c95
|
Added a pure Lua gettext implementation
|
2014-05-22 22:47:14 +02:00 |
|
chrox
|
92219a1f1e
|
cleanup: expand tab to 4 spaces
|
2014-03-13 21:52:43 +08:00 |
|
HW
|
ef111b99c6
|
Refactored to use strictly locals
|
2013-10-18 22:38:07 +02:00 |
|
Qingping Hou
|
31f3564158
|
add gettext lua module
|
2013-04-07 16:09:33 +08:00 |
|