diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-11-26 12:53:43 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-11-26 12:53:43 +0000 |
commit | 848e43a5b47c0467b90e7d9a029e59ec53461da3 (patch) | |
tree | 175f8f2aae92abc3a587fe39f082f53ea627ccc9 /modules/freifunk | |
parent | 264aae7910c2598fe845ebdd952e504bf8f0e48e (diff) |
remove .i18n annotations from controller files
Diffstat (limited to 'modules/freifunk')
6 files changed, 0 insertions, 7 deletions
diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/basics.lua b/modules/freifunk/luasrc/model/cbi/freifunk/basics.lua index bbf7c56ce..8987b1cb4 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 6f998819a..f6cdec7fe 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 933efb45f..a8beef846 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 b08c0f024..a0b8f34bc 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 e23ea901a..fe1d8fe7e 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 <h2> and </h2>.")) diff --git a/modules/freifunk/luasrc/view/freifunk/adminindex.htm b/modules/freifunk/luasrc/view/freifunk/adminindex.htm index 92169a80d..e0252ba89 100644 --- a/modules/freifunk/luasrc/view/freifunk/adminindex.htm +++ b/modules/freifunk/luasrc/view/freifunk/adminindex.htm @@ -17,7 +17,6 @@ else mail = contact.mail end -luci.i18n.loadc("freifunk") %> <h2><%:Freifunk Overview%></h2> |