summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-10-08 00:27:39 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-10-08 00:27:39 +0000
commit33c8b37310e0643ad1645b5c1ee9017fefc77778 (patch)
tree223b53df97021345e0e4561340b23eff07aaf9f1 /libs
parentf4ce1270519637a95fa2f64e236da2112d1cbe63 (diff)
libs/cbi: i18n for zone picker
Diffstat (limited to 'libs')
-rw-r--r--libs/cbi/luasrc/view/cbi/firewall_zonelist.htm6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/cbi/luasrc/view/cbi/firewall_zonelist.htm b/libs/cbi/luasrc/view/cbi/firewall_zonelist.htm
index 546ae3481..7474b77be 100644
--- a/libs/cbi/luasrc/view/cbi/firewall_zonelist.htm
+++ b/libs/cbi/luasrc/view/cbi/firewall_zonelist.htm
@@ -29,7 +29,7 @@ $Id$
-%>
<ul style="margin:0; list-style-type:none">
- <% for _, zone in ipairs(zones) do %><%# --utl.spairs(zones, function(a,b) return (zones[a]:name() < zones[b]:name()) end) do %>
+ <% for _, zone in utl.spairs(zones, function(a,b) return (zones[a]:name() < zones[b]:name()) end) do %>
<li style="padding:0.5em">
<input class="cbi-input-radio" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="radio"<%=attr("id", cbid .. "." .. zone:name()) .. attr("name", cbid) .. attr("value", zone:name()) .. ifattr(value == zone:name(), "checked", "checked")%> /> &nbsp;
<label<%=attr("for", cbid .. "." .. zone:name())%> style="background-color:<%=zone:get_color()%>; padding:0.5em">
@@ -45,7 +45,7 @@ $Id$
<% if iface == self.iface then %><strong><%=ifname%></strong><% else %><%=ifname%><% end %> &nbsp;
<% end %>
<% end %>
- <% if empty then %><em>(no interfaces attached)</em><% end %>
+ <% if empty then %><em><%:a_s_ipt_zone_empty (no interfaces attached)%></em><% end %>
</label>
</li>
<% end %>
@@ -53,7 +53,7 @@ $Id$
<li style="padding:0.5em">
<input class="cbi-input-radio" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="radio"<%=attr("id", cbid .. "_new") .. attr("name", cbid) .. attr("value", "-") .. ifattr(not value, "checked", "checked")%> /> &nbsp;
<div style="background-color:<%=fwm.zone.get_color()%>; padding:0.5em; display:inline">
- <label<%=attr("for", cbid .. "_new")%>><em>unspecified / create:&nbsp;</em></label>
+ <label<%=attr("for", cbid .. "_new")%>><em><%:a_s_ipt_zone_unspec_create unspecified -or- create:%>&nbsp;</em></label>
<input style="width:6em" type="text"<%=attr("name", cbid .. ".newzone")%> />
</div>
</li>