anarcat
|
78fbc145e4
|
turn missing translations into a warning (#3752)
This is not fatal and can be mistaken by new users for the cause of all their problems, like I did in #2621.
|
7 years ago |
Frans de Jonge
|
a394e644b5
|
Add gettext_spec stub (#3343)
|
7 years ago |
Frans de Jonge
|
9ece6408f3
|
[fix] gettext: die already you stupid language not found error (#3341)
|
7 years ago |
Huang Xin
|
a4e1a3ba5e
|
reflect changes in koreader/android-luajit-launcher#62 (#3254)
|
7 years ago |
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
|
7 years ago |
Qingping Hou
|
a1ec64b3ed
|
chore: skip en_US in gettext.changeLang
|
8 years ago |
Frans de Jonge
|
69b826781a
|
gettext: unescape quotation mark
Fixes #2718.
|
8 years ago |
Qingping Hou
|
f95ad00b9e
|
feat: add logger module & rewrite kobo suspend script in lua
|
8 years ago |
Frans de Jonge
|
ab442c2434
|
gettext: unescape \n
Fixes the problem that any msgid with \n in it wouldn't show up translated.
|
10 years ago |
chrox
|
20bd14d588
|
automatically set language on Android
|
10 years ago |
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.
|
10 years ago |
Hans-Werner Hilse
|
6bbfae389a
|
don't accept empty strings as valid translations
|
11 years ago |
HW
|
ed982d3c95
|
Added a pure Lua gettext implementation
|
11 years ago |
chrox
|
92219a1f1e
|
cleanup: expand tab to 4 spaces
|
11 years ago |
HW
|
ef111b99c6
|
Refactored to use strictly locals
|
11 years ago |
Qingping Hou
|
31f3564158
|
add gettext lua module
|
12 years ago |