summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/luasrc/model
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-11-26 12:53:43 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-11-26 12:53:43 +0000
commit848e43a5b47c0467b90e7d9a029e59ec53461da3 (patch)
tree175f8f2aae92abc3a587fe39f082f53ea627ccc9 /modules/freifunk/luasrc/model
parent264aae7910c2598fe845ebdd952e504bf8f0e48e (diff)
remove .i18n annotations from controller files
Diffstat (limited to 'modules/freifunk/luasrc/model')
-rw-r--r--modules/freifunk/luasrc/model/cbi/freifunk/basics.lua1
-rw-r--r--modules/freifunk/luasrc/model/cbi/freifunk/contact.lua2
-rw-r--r--modules/freifunk/luasrc/model/cbi/freifunk/profile.lua1
-rw-r--r--modules/freifunk/luasrc/model/cbi/freifunk/profile_expert.lua1
-rw-r--r--modules/freifunk/luasrc/model/cbi/freifunk/user_index.lua1
5 files changed, 0 insertions, 6 deletions
diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/basics.lua b/modules/freifunk/luasrc/model/cbi/freifunk/basics.lua
index bbf7c56ce0..8987b1cb46 100644
--- a/modules/freifunk/luasrc/model/cbi/freifunk/basics.lua
+++ b/modules/freifunk/luasrc/model/cbi/freifunk/basics.lua
@@ -15,7 +15,6 @@ local fs = require "luci.fs"
local util = require "luci.util"
local uci = require "luci.model.uci".cursor()
local profiles = "/etc/config/profile_"
-luci.i18n.loadc("freifunk")
m = Map("freifunk", translate ("Community"))
c = m:section(NamedSection, "community", "public", nil, translate("These are the basic settings for your local wireless community. These settings define the default values for the wizard and DO NOT affect the actual configuration of the router."))
diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua b/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua
index 6f998819a3..f6cdec7fe1 100644
--- a/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua
+++ b/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua
@@ -11,8 +11,6 @@ You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
]]--
-luci.i18n.loadc("freifunk")
-
m = Map("freifunk", translate("Contact"), translate("Please fill in your contact details below."))
c = m:section(NamedSection, "contact", "public", "")
diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua b/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua
index 933efb45f4..a8beef8468 100644
--- a/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua
+++ b/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua
@@ -13,7 +13,6 @@ You may obtain a copy of the License at
local uci = require "luci.model.uci".cursor()
local ipkg = require "luci.model.ipkg"
local community = uci:get("freifunk", "community", "name")
-luci.i18n.loadc("freifunk")
if community == nil then
luci.http.redirect(luci.dispatcher.build_url("admin", "freifunk", "profile_error"))
diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/profile_expert.lua b/modules/freifunk/luasrc/model/cbi/freifunk/profile_expert.lua
index b08c0f0249..a0b8f34bc9 100644
--- a/modules/freifunk/luasrc/model/cbi/freifunk/profile_expert.lua
+++ b/modules/freifunk/luasrc/model/cbi/freifunk/profile_expert.lua
@@ -13,7 +13,6 @@ You may obtain a copy of the License at
local fs = require "nixio.fs"
local uci = require "luci.model.uci".cursor()
local community = uci:get("freifunk", "community", "name")
-luci.i18n.loadc("freifunk")
if community == nil then
luci.http.redirect(luci.dispatcher.build_url("admin", "freifunk", "profile_error"))
diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/user_index.lua b/modules/freifunk/luasrc/model/cbi/freifunk/user_index.lua
index e23ea901ab..fe1d8fe7ed 100644
--- a/modules/freifunk/luasrc/model/cbi/freifunk/user_index.lua
+++ b/modules/freifunk/luasrc/model/cbi/freifunk/user_index.lua
@@ -1,6 +1,5 @@
local fs = require "nixio.fs"
local file = "/www/luci-static/index_user.html"
-luci.i18n.loadc("freifunk")
m = Map("freifunk", translate("Edit index page"), translate("You can display additional content on the public index page by inserting valid XHTML in the form below.<br />Headlines should be enclosed between &lt;h2&gt; and &lt;/h2&gt;."))