summaryrefslogtreecommitdiffhomepage
path: root/build/uvl2i18n.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-05-04 21:09:04 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-05-04 21:09:04 +0000
commit9424177aca293101c7262ddfcbc6a6aecdf6b3c4 (patch)
treeb82e6b6aebfd3b7c359b32b7895902f0ff635359 /build/uvl2i18n.lua
parentf6f65ed9578cfe35883193541c72a509853c17eb (diff)
build: uvl is dead, remove it
Diffstat (limited to 'build/uvl2i18n.lua')
-rwxr-xr-xbuild/uvl2i18n.lua33
1 files changed, 0 insertions, 33 deletions
diff --git a/build/uvl2i18n.lua b/build/uvl2i18n.lua
deleted file mode 100755
index ee57c83ea..000000000
--- a/build/uvl2i18n.lua
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/lua
--- uvl2i18n.lua - Convert uvl schemes to i18n files
--- $Id$
-
-require("luci.util")
-require("luci.uvl")
-
-local shm = luci.uvl.UVL():get_scheme(arg[1])
-
-for s, o in luci.util.kspairs(shm.sections) do
- print( string.format( '%s_%s = %q', shm.name, s:gsub("_",""), o.title or s ) )
-
- if o.description and #o.description > 0 then
- print( string.format(
- '%s_%s_desc = %q', shm.name, s:gsub("_",""), o.description
- ) )
- end
-
- for v, o in luci.util.kspairs(shm.variables[s]) do
- print( string.format(
- '%s_%s_%s = %q', shm.name, s:gsub("_",""), v:gsub("_",""), o.title or v
- ) )
-
- if o.description and #o.description > 0 then
- print( string.format(
- '%s_%s_%s_desc = %q', shm.name, s:gsub("_",""),
- v:gsub("_",""), o.description
- ) )
- end
- end
-
- print()
-end