summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc/i18n.lua
AgeCommit message (Collapse)Author
2014-06-11build: introduce luci-baseJo-Philipp Wich
Merges libs/core, libs/ipkg, libs/web, libs/sys, libs/sgi-cgi, libs/sgi-uhttpd, modules/admin-core, themes/base and protcols/core into modules/base and renames luci-lib-core to luci-base.
2012-12-02libs/web: let luci.i18n.setlanguage() return the lang that was actually loadedJo-Philipp Wich
2012-11-25libs/web: rewrite template engine, merge lmo libraryJo-Philipp Wich
- template parser: merge lmo library - template parser: rewrite to operate on memory mapped files - template parser: implement proper line number reporting on syntax errors - template parser: process translate tags directly and bypass Lua - template lmo: introduce load_catalog(), change_catalog() and close_catalog() - template lmo: rewrite index processing to operate directly on the memory mapped file - template lmo: implement binary search keys, reducing the lookup complexity to O(log n) - po2lmo: write sorted indixes when generating *.lmo archives - i18n: use the template parser for translations - i18n: stub load(), loadc() and clear() - i18n: map setlanguage() to load_catalog()
2009-10-31libs/web: prepare template parser, dispatcher and i18n class for upcoming po ↵Jo-Philipp Wich
format change
2009-07-26libs/web: implement i18n.string() and i18n.stringf() to obtain genuine Lua ↵Jo-Philipp Wich
strings instead of udata objects
2009-07-26libs/web: convert given argument to string in i18n.translatef()Jo-Philipp Wich
2009-07-09libs/web: use lmo in luci.i18nJo-Philipp Wich
2009-05-28libs/web: if current language is a regional dialect, fall back to generic ↵Jo-Philipp Wich
language, then english (e.g. pt_BR -> pt -> en)
2009-04-04trunk: prepare LuCI to handle .lua.gz filesJo-Philipp Wich
2008-10-05* luci/i18n: rename *.pt_br.* to *.pt-br.*, extend luci.i18n to convert "_" ↵Jo-Philipp Wich
to "-" in language tags
2008-08-06Moved luci.sys.libpath to luci.utilSteven Barth
2008-07-29libs/web: Small improvements, added inline documentationSteven Barth
2008-07-06libs/web: Removed deprecated i18n-file naming conventionSteven Barth
2008-06-28* libs/web: Switched from HTTP-Basic-Auth to Session-AuthSteven Barth
* Updated Makefiles for better testing environment integration * Fixed libs/sgi-luci
2008-06-14* Rewrote Luci to be coroutine-safe allowing the use of non-forking webserversSteven Barth
* Setting base version to 0.7
2008-06-08* More TranslationSteven Barth
2008-06-01* Performance optimizationsSteven Barth
* libs/core: Added bytecode stripping function to luci.util * libs/core: Added smart indexcache that automatically updates cached index-files on change * libs/web: Enabled template caching support * Core Translation part 4
2008-05-31* Core translation part 2Steven Barth
2008-05-27commit 4f6198094cf4134179d1f9c9fa8f79759a27c87eSteven Barth
Author: Felix Fietkau <nbd@openwrt.org> Date: Tue May 27 13:56:12 2008 +0200 rename src/ to luasrc/