Jo-Philipp Wich
|
7c3c6b013b
|
libs/web: let luci.i18n.setlanguage() return the lang that was actually loaded
|
2012-12-02 13:30:46 +00:00 |
|
Jo-Philipp Wich
|
0e50aa690a
|
libs/web: rewrite template engine, merge lmo library
- 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()
|
2012-11-25 19:17:55 +00:00 |
|
Jo-Philipp Wich
|
8f2a3f1dcc
|
libs/web: prepare template parser, dispatcher and i18n class for upcoming po format change
|
2009-10-31 15:42:07 +00:00 |
|
Jo-Philipp Wich
|
1b557b0b7b
|
libs/web: implement i18n.string() and i18n.stringf() to obtain genuine Lua strings instead of udata objects
|
2009-07-26 22:48:09 +00:00 |
|
Jo-Philipp Wich
|
96bc583cfc
|
libs/web: convert given argument to string in i18n.translatef()
|
2009-07-26 22:34:54 +00:00 |
|
Jo-Philipp Wich
|
36542cbe1d
|
libs/web: use lmo in luci.i18n
|
2009-07-09 15:05:29 +00:00 |
|
Jo-Philipp Wich
|
2bd86ec208
|
libs/web: if current language is a regional dialect, fall back to generic language, then english (e.g. pt_BR -> pt -> en)
|
2009-05-28 00:24:04 +00:00 |
|
Jo-Philipp Wich
|
9835296ba2
|
trunk: prepare LuCI to handle .lua.gz files
|
2009-04-04 22:54:16 +00:00 |
|
Jo-Philipp Wich
|
255449a1e2
|
* luci/i18n: rename *.pt_br.* to *.pt-br.*, extend luci.i18n to convert "_" to "-" in language tags
|
2008-10-05 16:08:33 +00:00 |
|
Steven Barth
|
50093ed3d9
|
Moved luci.sys.libpath to luci.util
|
2008-08-06 20:20:40 +00:00 |
|
Steven Barth
|
5b43543226
|
libs/web: Small improvements, added inline documentation
|
2008-07-29 20:32:02 +00:00 |
|
Steven Barth
|
f12acd8a11
|
libs/web: Removed deprecated i18n-file naming convention
|
2008-07-06 15:21:12 +00:00 |
|
Steven Barth
|
00aceaf624
|
* libs/web: Switched from HTTP-Basic-Auth to Session-Auth
* Updated Makefiles for better testing environment integration
* Fixed libs/sgi-luci
|
2008-06-28 16:03:54 +00:00 |
|
Steven Barth
|
855b7582d3
|
* Rewrote Luci to be coroutine-safe allowing the use of non-forking webservers
* Setting base version to 0.7
|
2008-06-14 14:12:12 +00:00 |
|
Steven Barth
|
14438002a1
|
* More Translation
|
2008-06-08 15:36:57 +00:00 |
|
Steven Barth
|
b454395a8d
|
* Performance optimizations
* 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-06-01 12:12:18 +00:00 |
|
Steven Barth
|
8f7f03a0c5
|
* Core translation part 2
|
2008-05-31 13:57:30 +00:00 |
|
Steven Barth
|
d35a620e9f
|
commit 4f6198094cf4134179d1f9c9fa8f79759a27c87e
Author: Felix Fietkau <nbd@openwrt.org>
Date: Tue May 27 13:56:12 2008 +0200
rename src/ to luasrc/
|
2008-05-27 12:23:39 +00:00 |
|