summaryrefslogtreecommitdiffhomepage
path: root/build/i18n-lua2xml.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-01-02 19:20:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-01-02 19:20:23 +0000
commit800a2630497e1ec2c61199b3bc645d778c714529 (patch)
tree2edad02015bdb0995b6f95505deb51f866253f34 /build/i18n-lua2xml.lua
parent73578276afa8d64128d10a4b0ff9b7246b178cc3 (diff)
build: remove some obsolete support scripts
Diffstat (limited to 'build/i18n-lua2xml.lua')
-rwxr-xr-xbuild/i18n-lua2xml.lua22
1 files changed, 0 insertions, 22 deletions
diff --git a/build/i18n-lua2xml.lua b/build/i18n-lua2xml.lua
deleted file mode 100755
index 674c8adb5..000000000
--- a/build/i18n-lua2xml.lua
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/lua
-local util = require "luci.util"
-
-assert(arg[1])
-
-local x = {}
-local f = loadfile(arg[1])
-setfenv(f, x)
-f()
-
-print '<?xml version="1.0" encoding="utf-8"?>'
-print ''
-print '<i18n:msgs xmlns:i18n="http://luci.freifunk-halle.net/2008/i18n#" xmlns="http://www.w3.org/1999/xhtml">'
-print ''
-
-for k, v in util.kspairs(x) do
- print ('<i18n:msg xml:id="%s">%s</i18n:msg>' % {k, v})
-end
-
-print ''
-print '</i18n:msgs>'
-