summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vnstat
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-12-03 15:17:05 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-01-08 16:26:20 +0100
commit1bb4822dca6113f73e3bc89e2acf15935e6f8e92 (patch)
tree35e16f100466e4e00657199b38bb3d87d52bf73f /applications/luci-app-vnstat
parent9edd0e46c3f880727738ce8ca6ff1c8b85f99ef4 (diff)
Rework LuCI build system
* Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'applications/luci-app-vnstat')
-rw-r--r--applications/luci-app-vnstat/Makefile14
-rwxr-xr-xapplications/luci-app-vnstat/ipkg/postinst7
-rw-r--r--applications/luci-app-vnstat/luasrc/controller/vnstat.lua11
-rw-r--r--applications/luci-app-vnstat/luasrc/model/cbi/vnstat.lua91
-rw-r--r--applications/luci-app-vnstat/luasrc/view/vnstat.htm108
-rw-r--r--applications/luci-app-vnstat/po/ca/vnstat.po65
-rw-r--r--applications/luci-app-vnstat/po/cs/vnstat.po64
-rw-r--r--applications/luci-app-vnstat/po/de/vnstat.po68
-rw-r--r--applications/luci-app-vnstat/po/el/vnstat.po59
-rw-r--r--applications/luci-app-vnstat/po/en/vnstat.po59
-rw-r--r--applications/luci-app-vnstat/po/es/vnstat.po68
-rw-r--r--applications/luci-app-vnstat/po/fr/vnstat.po68
-rw-r--r--applications/luci-app-vnstat/po/he/vnstat.po58
-rw-r--r--applications/luci-app-vnstat/po/hu/vnstat.po65
-rw-r--r--applications/luci-app-vnstat/po/it/vnstat.po68
-rw-r--r--applications/luci-app-vnstat/po/ja/vnstat.po68
-rw-r--r--applications/luci-app-vnstat/po/ms/vnstat.po59
-rw-r--r--applications/luci-app-vnstat/po/no/vnstat.po58
-rw-r--r--applications/luci-app-vnstat/po/pl/vnstat.po69
-rw-r--r--applications/luci-app-vnstat/po/pt-br/vnstat.po68
-rw-r--r--applications/luci-app-vnstat/po/pt/vnstat.po65
-rw-r--r--applications/luci-app-vnstat/po/ro/vnstat.po69
-rw-r--r--applications/luci-app-vnstat/po/ru/vnstat.po71
-rw-r--r--applications/luci-app-vnstat/po/sk/vnstat.po58
-rw-r--r--applications/luci-app-vnstat/po/sv/vnstat.po59
-rw-r--r--applications/luci-app-vnstat/po/templates/vnstat.pot51
-rw-r--r--applications/luci-app-vnstat/po/tr/vnstat.po58
-rw-r--r--applications/luci-app-vnstat/po/uk/vnstat.po67
-rw-r--r--applications/luci-app-vnstat/po/vi/vnstat.po59
-rw-r--r--applications/luci-app-vnstat/po/zh-cn/vnstat.po61
-rw-r--r--applications/luci-app-vnstat/po/zh-tw/vnstat.po61
-rwxr-xr-xapplications/luci-app-vnstat/root/etc/uci-defaults/luci-vnstat11
32 files changed, 1885 insertions, 0 deletions
diff --git a/applications/luci-app-vnstat/Makefile b/applications/luci-app-vnstat/Makefile
new file mode 100644
index 000000000..6d98610d6
--- /dev/null
+++ b/applications/luci-app-vnstat/Makefile
@@ -0,0 +1,14 @@
+#
+# Copyright (C) 2008-2014 The LuCI Team <luci@lists.subsignal.org>
+#
+# This is free software, licensed under the Apache License, Version 2.0 .
+#
+
+include $(TOPDIR)/rules.mk
+
+LUCI_TITLE:=LuCI Support for VnStat
+LUCI_DEPENDS:=+vnstat +vnstati
+
+include ../../luci.mk
+
+# call BuildPackage - OpenWrt buildroot signature
diff --git a/applications/luci-app-vnstat/ipkg/postinst b/applications/luci-app-vnstat/ipkg/postinst
new file mode 100755
index 000000000..816084a48
--- /dev/null
+++ b/applications/luci-app-vnstat/ipkg/postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-vnstat ) && rm -f /etc/uci-defaults/luci-vnstat
+ /etc/init.d/vnstat enabled || /etc/init.d/vnstat enable
+ exit 0
+}
diff --git a/applications/luci-app-vnstat/luasrc/controller/vnstat.lua b/applications/luci-app-vnstat/luasrc/controller/vnstat.lua
new file mode 100644
index 000000000..3871fa254
--- /dev/null
+++ b/applications/luci-app-vnstat/luasrc/controller/vnstat.lua
@@ -0,0 +1,11 @@
+module("luci.controller.vnstat", package.seeall)
+
+function index()
+ entry({"admin", "status", "vnstat"}, alias("admin", "status", "vnstat", "graphs"), _("VnStat Traffic Monitor"), 90)
+ entry({"admin", "status", "vnstat", "graphs"}, template("vnstat"), _("Graphs"), 1)
+ entry({"admin", "status", "vnstat", "config"}, cbi("vnstat"), _("Configuration"), 2)
+
+ entry({"mini", "network", "vnstat"}, alias("mini", "network", "vnstat", "graphs"), _("VnStat Traffic Monitor"), 90)
+ entry({"mini", "network", "vnstat", "graphs"}, template("vnstat"), _("Graphs"), 1)
+ entry({"mini", "network", "vnstat", "config"}, cbi("vnstat"), _("Configuration"), 2)
+end
diff --git a/applications/luci-app-vnstat/luasrc/model/cbi/vnstat.lua b/applications/luci-app-vnstat/luasrc/model/cbi/vnstat.lua
new file mode 100644
index 000000000..38b06ba9a
--- /dev/null
+++ b/applications/luci-app-vnstat/luasrc/model/cbi/vnstat.lua
@@ -0,0 +1,91 @@
+--[[
+LuCI - Lua Configuration Interface
+
+Copyright 2010-2011 Jo-Philipp Wich <xm@subsignal.org>
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+]]--
+
+local utl = require "luci.util"
+local sys = require "luci.sys"
+local fs = require "nixio.fs"
+local nw = require "luci.model.network"
+
+local dbdir, line
+
+for line in io.lines("/etc/vnstat.conf") do
+ dbdir = line:match("^%s*DatabaseDir%s+[\"'](%S-)[\"']")
+ if dbdir then break end
+end
+
+dbdir = dbdir or "/var/lib/vnstat"
+
+
+m = Map("vnstat", translate("VnStat"),
+ translate("VnStat is a network traffic monitor for Linux that keeps a log of network traffic for the selected interface(s)."))
+
+m.submit = translate("Restart VnStat")
+m.reset = false
+
+nw.init(luci.model.uci.cursor_state())
+
+local ifaces = { }
+local enabled = { }
+local iface
+
+if fs.access(dbdir) then
+ for iface in fs.dir(dbdir) do
+ if iface:sub(1,1) ~= '.' then
+ ifaces[iface] = iface
+ enabled[iface] = iface
+ end
+ end
+end
+
+for _, iface in ipairs(sys.net.devices()) do
+ ifaces[iface] = iface
+end
+
+
+local s = m:section(TypedSection, "vnstat")
+s.anonymous = true
+s.addremove = false
+
+mon_ifaces = s:option(Value, "interface", translate("Monitor selected interfaces"))
+mon_ifaces.template = "cbi/network_ifacelist"
+mon_ifaces.widget = "checkbox"
+mon_ifaces.cast = "table"
+mon_ifaces.noinactive = true
+mon_ifaces.nocreate = true
+
+function mon_ifaces.write(self, section, val)
+ local i
+ local s = { }
+
+ if val then
+ for _, i in ipairs(type(val) == "table" and val or { val }) do
+ s[i] = true
+ end
+ end
+
+ for i, _ in pairs(ifaces) do
+ if not s[i] then
+ fs.unlink(dbdir .. "/" .. i)
+ fs.unlink(dbdir .. "/." .. i)
+ end
+ end
+
+ if next(s) then
+ m.uci:set_list("vnstat", section, "interface", utl.keys(s))
+ else
+ m.uci:delete("vnstat", section, "interface")
+ end
+end
+
+mon_ifaces.remove = mon_ifaces.write
+
+return m
diff --git a/applications/luci-app-vnstat/luasrc/view/vnstat.htm b/applications/luci-app-vnstat/luasrc/view/vnstat.htm
new file mode 100644
index 000000000..d67f9b3be
--- /dev/null
+++ b/applications/luci-app-vnstat/luasrc/view/vnstat.htm
@@ -0,0 +1,108 @@
+<%#
+LuCI - Lua Configuration Interface
+Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+-%>
+
+<%-
+
+local fs = require "nixio.fs"
+local sys = require "luci.sys"
+local utl = require "luci.util"
+
+local param = luci.http.formvalue
+
+local iface = param("iface")
+local style = param("style")
+
+style = (style and #style > 0) and style or "s"
+
+
+--
+-- render image
+--
+if iface then
+ style = style:gsub("[^%w]", "")
+ iface = iface:gsub("[^%w%.%-]", "")
+
+ luci.http.prepare_content("image/png")
+
+ local png = io.popen("vnstati -i '%s' '-%s' -o -" % { iface, style })
+ luci.http.write(png:read("*a"))
+ png:close()
+
+ return
+
+--
+-- update database
+--
+else
+ sys.call("vnstat -u >/dev/null 2>/dev/null")
+end
+
+
+--
+-- find databases
+--
+local dbdir, line
+
+for line in io.lines("/etc/vnstat.conf") do
+ dbdir = line:match("^%s*DatabaseDir%s+[\"'](%S-)[\"']")
+ if dbdir then break end
+end
+
+dbdir = dbdir or "/var/lib/vnstat"
+
+-%>
+
+<%+header%>
+
+<h2><a id="content" name="content"><%:VnStat Graphs%></a></h2>
+
+<form action="" method="get">
+
+<select name="style">
+ <option value="s"<%=(style == "s") and ' selected="selected"' or ''%>><%:Summary display%></option>
+ <option value="t"<%=(style == "t") and ' selected="selected"' or ''%>><%:Top 10 display%></option>
+ <option value="h"<%=(style == "h") and ' selected="selected"' or ''%>><%:Hourly traffic%></option>
+ <option value="d"<%=(style == "d") and ' selected="selected"' or ''%>><%:Daily traffic%></option>
+ <option value="m"<%=(style == "m") and ' selected="selected"' or ''%>><%:Monthly traffic%></option>
+</select>
+
+<input type="submit" value="<%:Update »%>" />
+
+</form>
+
+<br /><hr /><br />
+
+<div style="text-align:center">
+<%
+ empty = true
+ ifdir = fs.dir(dbdir)
+
+ if ifdir then
+ for iface in ifdir do
+ if iface:sub(1,1) ~= "." then
+ empty = false
+%>
+ <img src="<%=REQUEST_URI%>?iface=<%=iface%>&amp;style=<%=param('style')%>" alt="" />
+ <br /><br />
+<%
+ end
+ end
+ end
+%>
+
+<% if empty then %>
+<p><em><%:No database has been set up yet. Go to the VnStat configuration and enable monitoring for one or more interfaces.%></em></p>
+<% end %>
+
+</div>
+
+<%+footer%>
diff --git a/applications/luci-app-vnstat/po/ca/vnstat.po b/applications/luci-app-vnstat/po/ca/vnstat.po
new file mode 100644
index 000000000..536228ee8
--- /dev/null
+++ b/applications/luci-app-vnstat/po/ca/vnstat.po
@@ -0,0 +1,65 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2014-06-09 07:13+0200\n"
+"Last-Translator: Alex <alexhenrie24@gmail.com>\n"
+"Language-Team: German\n"
+"Language: ca\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Pootle 2.0.6\n"
+
+msgid "Configuration"
+msgstr "Configuració"
+
+msgid "Daily traffic"
+msgstr "Trànsit diari"
+
+msgid "Graphs"
+msgstr "Gràfics"
+
+msgid "Hourly traffic"
+msgstr "Trànsit per hora"
+
+msgid "Monitor selected interfaces"
+msgstr "Vigila les interfícies seleccionades"
+
+msgid "Monthly traffic"
+msgstr "Trànsit mensual"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+"Encara no s'ha configurat cap base de dades. Aneu a la configuració del "
+"VnStat i habilita la vigila de una o més interfícies."
+
+msgid "Restart VnStat"
+msgstr "Reinicia el VnStat"
+
+msgid "Summary display"
+msgstr "Mostra de resum"
+
+msgid "Top 10 display"
+msgstr "Mostra dels 10 principals"
+
+msgid "Update »"
+msgstr "Actualitza »"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "Gràfics de VnStat"
+
+msgid "VnStat Traffic Monitor"
+msgstr "Monitor de trànsit VnStat"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
+"El VnStat és un monitor de trànsit de xarxa pel Linux que manté un registre "
+"del trànsit de xarxa de les interfícies seleccionades."
diff --git a/applications/luci-app-vnstat/po/cs/vnstat.po b/applications/luci-app-vnstat/po/cs/vnstat.po
new file mode 100644
index 000000000..481837419
--- /dev/null
+++ b/applications/luci-app-vnstat/po/cs/vnstat.po
@@ -0,0 +1,64 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+msgid "Configuration"
+msgstr "Konfigurace"
+
+msgid "Daily traffic"
+msgstr "Denní přenos"
+
+msgid "Graphs"
+msgstr "Grafy"
+
+msgid "Hourly traffic"
+msgstr "Hodinový přenos"
+
+msgid "Monitor selected interfaces"
+msgstr "Sledovat vybraná zařízení"
+
+msgid "Monthly traffic"
+msgstr "Měsíční přenos"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+"Zatím nebyla nastavena žádná databáze. Přejděte na konfiguraci VnStatu a "
+"povolnet sledování jednoho nebo více zařízení."
+
+msgid "Restart VnStat"
+msgstr "Restartovat VnStat"
+
+msgid "Summary display"
+msgstr "Souhrn"
+
+msgid "Top 10 display"
+msgstr "Top 10"
+
+msgid "Update »"
+msgstr "Aktualizovat »"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "Grafy VnStat"
+
+msgid "VnStat Traffic Monitor"
+msgstr "Sledování přenosu VnStat"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
+"VnStat je nástroj pro sledování přenosů dat pro Linux, který ukládá "
+"informace o síťovém provozu na vybraných zařízeních."
+
+#~ msgid "The VnStat service has been restarted."
+#~ msgstr "Služba VnStat byla restartována"
diff --git a/applications/luci-app-vnstat/po/de/vnstat.po b/applications/luci-app-vnstat/po/de/vnstat.po
new file mode 100644
index 000000000..e42f4f0f0
--- /dev/null
+++ b/applications/luci-app-vnstat/po/de/vnstat.po
@@ -0,0 +1,68 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: 2010-11-16 21:06+0100\n"
+"Last-Translator: Jo-Philipp Wich <xm@subsignal.org>\n"
+"Language-Team: German\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+msgid "Configuration"
+msgstr "Konfiguration"
+
+msgid "Daily traffic"
+msgstr "Täglicher Verkehr"
+
+msgid "Graphs"
+msgstr "Diagramme"
+
+msgid "Hourly traffic"
+msgstr "Stündlicher Verkehr"
+
+msgid "Monitor selected interfaces"
+msgstr "Überwachte Schnittstellen"
+
+msgid "Monthly traffic"
+msgstr "Monatlicher Verkehr"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+"Es ist noch keine Datenbank eingerichtet. Navigieren Sie zur VnStat "
+"Konfiguration und aktivieren Sie die Überwachung einer oder mehrerer "
+"Schnittstellen."
+
+msgid "Restart VnStat"
+msgstr "VnStat neu starten"
+
+msgid "Summary display"
+msgstr "Übersicht"
+
+msgid "Top 10 display"
+msgstr "Top 10 Anzeige"
+
+msgid "Update »"
+msgstr "Aktualisieren »"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "VnStat Diagramme"
+
+msgid "VnStat Traffic Monitor"
+msgstr "VnStat Trafficüberwachung"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
+"VnStat ist ein Überwachungsprogramm für Netwerkverkehr unter Linux. Das "
+"Programm protokolliert das Verkehrsvolumen auf ausgewählten Schnittstellen."
+
+#~ msgid "The VnStat service has been restarted."
+#~ msgstr "Der VnStat Dienst wurde neu gestartet."
diff --git a/applications/luci-app-vnstat/po/el/vnstat.po b/applications/luci-app-vnstat/po/el/vnstat.po
new file mode 100644
index 000000000..9d237780d
--- /dev/null
+++ b/applications/luci-app-vnstat/po/el/vnstat.po
@@ -0,0 +1,59 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2010-11-16 20:54+0100\n"
+"Last-Translator: <xm@subsignal.org>\n"
+"Language-Team: German\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+msgid "Configuration"
+msgstr ""
+
+msgid "Daily traffic"
+msgstr ""
+
+msgid "Graphs"
+msgstr ""
+
+msgid "Hourly traffic"
+msgstr ""
+
+msgid "Monitor selected interfaces"
+msgstr ""
+
+msgid "Monthly traffic"
+msgstr ""
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+
+msgid "Restart VnStat"
+msgstr ""
+
+msgid "Summary display"
+msgstr ""
+
+msgid "Top 10 display"
+msgstr ""
+
+msgid "Update »"
+msgstr ""
+
+msgid "VnStat"
+msgstr ""
+
+msgid "VnStat Graphs"
+msgstr ""
+
+msgid "VnStat Traffic Monitor"
+msgstr ""
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
diff --git a/applications/luci-app-vnstat/po/en/vnstat.po b/applications/luci-app-vnstat/po/en/vnstat.po
new file mode 100644
index 000000000..9d237780d
--- /dev/null
+++ b/applications/luci-app-vnstat/po/en/vnstat.po
@@ -0,0 +1,59 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2010-11-16 20:54+0100\n"
+"Last-Translator: <xm@subsignal.org>\n"
+"Language-Team: German\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+msgid "Configuration"
+msgstr ""
+
+msgid "Daily traffic"
+msgstr ""
+
+msgid "Graphs"
+msgstr ""
+
+msgid "Hourly traffic"
+msgstr ""
+
+msgid "Monitor selected interfaces"
+msgstr ""
+
+msgid "Monthly traffic"
+msgstr ""
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+
+msgid "Restart VnStat"
+msgstr ""
+
+msgid "Summary display"
+msgstr ""
+
+msgid "Top 10 display"
+msgstr ""
+
+msgid "Update »"
+msgstr ""
+
+msgid "VnStat"
+msgstr ""
+
+msgid "VnStat Graphs"
+msgstr ""
+
+msgid "VnStat Traffic Monitor"
+msgstr ""
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
diff --git a/applications/luci-app-vnstat/po/es/vnstat.po b/applications/luci-app-vnstat/po/es/vnstat.po
new file mode 100644
index 000000000..b91e1bb5d
--- /dev/null
+++ b/applications/luci-app-vnstat/po/es/vnstat.po
@@ -0,0 +1,68 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2012-10-07 15:08+0200\n"
+"Last-Translator: José Vicente <josevteg@gmail.com>\n"
+"Language-Team: German\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Pootle 2.0.6\n"
+
+msgid "Configuration"
+msgstr "Configuración"
+
+msgid "Daily traffic"
+msgstr "Tráfico diario"
+
+msgid "Graphs"
+msgstr "Gráficas"
+
+msgid "Hourly traffic"
+msgstr "Tráfico por horas"
+
+msgid "Monitor selected interfaces"
+msgstr "Monitorizar las interfaces seleccionadas"
+
+msgid "Monthly traffic"
+msgstr "Tráfico mensual"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+"Todavía no se ha configurado ninguna base de datos. Vaya a la configuración "
+"de VnStat y habilite la monitorización para una o más interfaces."
+
+msgid "Restart VnStat"
+msgstr "Rearrancar VnStat"
+
+msgid "Summary display"
+msgstr "Mostrar Resumen"
+
+msgid "Top 10 display"
+msgstr "Mostrar Top 10"
+
+msgid "Update »"
+msgstr "Actualizar »"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "Graficas de VnStat"
+
+msgid "VnStat Traffic Monitor"
+msgstr "Monitor de trafico de VnStat"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
+"VnStat es un monitor de tráfico de red para Linux que mantiene un registro "
+"del trafico de red de la interfaz o interfaces seleccionadas."
+
+#~ msgid "The VnStat service has been restarted."
+#~ msgstr "El servicio VnStat ha sido reiniciado"
diff --git a/applications/luci-app-vnstat/po/fr/vnstat.po b/applications/luci-app-vnstat/po/fr/vnstat.po
new file mode 100644
index 000000000..23b644aca
--- /dev/null
+++ b/applications/luci-app-vnstat/po/fr/vnstat.po
@@ -0,0 +1,68 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2011-11-23 22:33+0200\n"
+"Last-Translator: fredb <fblistes+luci@free.fr>\n"
+"Language-Team: German\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+"X-Generator: Pootle 2.0.4\n"
+
+msgid "Configuration"
+msgstr "Configuration"
+
+msgid "Daily traffic"
+msgstr "Trafic quotidien"
+
+msgid "Graphs"
+msgstr "Graphes"
+
+msgid "Hourly traffic"
+msgstr "Trafic horaire"
+
+msgid "Monitor selected interfaces"
+msgstr "Surveiller les interfaces sélectionnées"
+
+msgid "Monthly traffic"
+msgstr "Trafic mensuel"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+"Aucun enregistrement n'a encore été configuré. Allez dans la configuration "
+"de VnStat et activez la surveillance d'une ou plusieurs interface(s)."
+
+msgid "Restart VnStat"
+msgstr "Redémarrer VnStat"
+
+msgid "Summary display"
+msgstr "Résumé"
+
+msgid "Top 10 display"
+msgstr "Top 10"
+
+msgid "Update »"
+msgstr "Mise à jour »"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "Graphiques VnStat"
+
+msgid "VnStat Traffic Monitor"
+msgstr "Surveillance du trafic VnStat"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
+"VnStat est un outil de surveillance du réseau pour Linux qui garde un "
+"journal du trafic du ou des interface(s) sélectionnée(s)."
+
+#~ msgid "The VnStat service has been restarted."
+#~ msgstr "Le service VnStat a été redémarré."
diff --git a/applications/luci-app-vnstat/po/he/vnstat.po b/applications/luci-app-vnstat/po/he/vnstat.po
new file mode 100644
index 000000000..f0ef3a78b
--- /dev/null
+++ b/applications/luci-app-vnstat/po/he/vnstat.po
@@ -0,0 +1,58 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+msgid "Configuration"
+msgstr ""
+
+msgid "Daily traffic"
+msgstr ""
+
+msgid "Graphs"
+msgstr ""
+
+msgid "Hourly traffic"
+msgstr ""
+
+msgid "Monitor selected interfaces"
+msgstr ""
+
+msgid "Monthly traffic"
+msgstr ""
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+
+msgid "Restart VnStat"
+msgstr ""
+
+msgid "Summary display"
+msgstr ""
+
+msgid "Top 10 display"
+msgstr ""
+
+msgid "Update »"
+msgstr ""
+
+msgid "VnStat"
+msgstr ""
+
+msgid "VnStat Graphs"
+msgstr ""
+
+msgid "VnStat Traffic Monitor"
+msgstr ""
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
diff --git a/applications/luci-app-vnstat/po/hu/vnstat.po b/applications/luci-app-vnstat/po/hu/vnstat.po
new file mode 100644
index 000000000..b198c5db2
--- /dev/null
+++ b/applications/luci-app-vnstat/po/hu/vnstat.po
@@ -0,0 +1,65 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+msgid "Configuration"
+msgstr "Beállítások"
+
+msgid "Daily traffic"
+msgstr "Napi forgalom"
+
+msgid "Graphs"
+msgstr "Grafikonok"
+
+msgid "Hourly traffic"
+msgstr "Óránkénti forgalom"
+
+msgid "Monitor selected interfaces"
+msgstr "Kiválasztott interfészek figyelése"
+
+msgid "Monthly traffic"
+msgstr "Havi forgalom"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+"Adatbázis még nem lett beállítva. Engedélyezze egy vagy több interfész "
+"figyelését a VnStat beállításoknál."
+
+msgid "Restart VnStat"
+msgstr "VnStat újraíndítása"
+
+msgid "Summary display"
+msgstr "Összefoglaló nézet"
+
+msgid "Top 10 display"
+msgstr "Top 10 nézet"
+
+msgid "Update »"
+msgstr "Frissítés »"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "VnStat grafikonok"
+
+msgid "VnStat Traffic Monitor"
+msgstr "VnStat Forgalom Figyelő"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
+"VnStat egy hálózati forgalom figyelő alkalmazás Linux alá ami naplózza a "
+"kiválasztott interfész(ek) hálózati forgalmát."
+
+#~ msgid "The VnStat service has been restarted."
+#~ msgstr "A VnStat szolgáltatás újra lett índítva."
diff --git a/applications/luci-app-vnstat/po/it/vnstat.po b/applications/luci-app-vnstat/po/it/vnstat.po
new file mode 100644
index 000000000..8cc6e5b39
--- /dev/null
+++ b/applications/luci-app-vnstat/po/it/vnstat.po
@@ -0,0 +1,68 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2011-05-17 22:00+0200\n"
+"Last-Translator: coatto87 <coatto87@gmail.com>\n"
+"Language-Team: German\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Pootle 2.0.4\n"
+
+msgid "Configuration"
+msgstr "Configurazione"
+
+msgid "Daily traffic"
+msgstr "Traffico giornaliero"
+
+msgid "Graphs"
+msgstr "Grafici"
+
+msgid "Hourly traffic"
+msgstr "Traffico orario"
+
+msgid "Monitor selected interfaces"
+msgstr "Monitora le interfacce selezionate"
+
+msgid "Monthly traffic"
+msgstr "Traffico mensile"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+"Non è ancora stato configurato un database. Vai nella configurazione di "
+"VnStat e abilita il monitoraggio per una o più interfacce."
+
+msgid "Restart VnStat"
+msgstr "Riavvia VnStat"
+
+msgid "Summary display"
+msgstr "Riassunto"
+
+msgid "Top 10 display"
+msgstr "Top 10 display"
+
+msgid "Update »"
+msgstr "Aggiorna"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "Grafici VnStat"
+
+msgid "VnStat Traffic Monitor"
+msgstr "Monitor del traffico VnStat"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
+"VnStat è un monitor del traffico di rete per Linux che scrive un log per le "
+"interfacce selezionate."
+
+#~ msgid "The VnStat service has been restarted."
+#~ msgstr "Il servizio VnStat è stato riavviato."
diff --git a/applications/luci-app-vnstat/po/ja/vnstat.po b/applications/luci-app-vnstat/po/ja/vnstat.po
new file mode 100644
index 000000000..8708c6fb0
--- /dev/null
+++ b/applications/luci-app-vnstat/po/ja/vnstat.po
@@ -0,0 +1,68 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2011-08-19 06:15+0200\n"
+"Last-Translator: Kentaro <kentaro.matsuyama@gmail.com>\n"
+"Language-Team: German\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: Pootle 2.0.4\n"
+
+msgid "Configuration"
+msgstr "設定"
+
+msgid "Daily traffic"
+msgstr "1日周期のトラフィック"
+
+msgid "Graphs"
+msgstr "グラフ"
+
+msgid "Hourly traffic"
+msgstr "1時間周期のトラフィック"
+
+msgid "Monitor selected interfaces"
+msgstr "モニターするインターフェースを選択"
+
+msgid "Monthly traffic"
+msgstr "1月周期のトラフィック"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+"データベースが設定されていません。VnStat設定ページへ移動し、1つ以上のイン"
+"ターフェースのモニタリングを有効にしてください。"
+
+msgid "Restart VnStat"
+msgstr "VnStatを再起動"
+
+msgid "Summary display"
+msgstr "サマリーを表示"
+
+msgid "Top 10 display"
+msgstr "トップ10を表示"
+
+msgid "Update »"
+msgstr "更新 »"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "VnStat グラフ"
+
+msgid "VnStat Traffic Monitor"
+msgstr "VnStatトラフィックモニタ"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
+"VnStatは選択したインタフェースのネットワークトラフィックをロギングするLinuxの"
+"トラフィックモニターです。"
+
+#~ msgid "The VnStat service has been restarted."
+#~ msgstr "VnStatサービスは再起動しました。"
diff --git a/applications/luci-app-vnstat/po/ms/vnstat.po b/applications/luci-app-vnstat/po/ms/vnstat.po
new file mode 100644
index 000000000..9d237780d
--- /dev/null
+++ b/applications/luci-app-vnstat/po/ms/vnstat.po
@@ -0,0 +1,59 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2010-11-16 20:54+0100\n"
+"Last-Translator: <xm@subsignal.org>\n"
+"Language-Team: German\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+msgid "Configuration"
+msgstr ""
+
+msgid "Daily traffic"
+msgstr ""
+
+msgid "Graphs"
+msgstr ""
+
+msgid "Hourly traffic"
+msgstr ""
+
+msgid "Monitor selected interfaces"
+msgstr ""
+
+msgid "Monthly traffic"
+msgstr ""
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+
+msgid "Restart VnStat"
+msgstr ""
+
+msgid "Summary display"
+msgstr ""
+
+msgid "Top 10 display"
+msgstr ""
+
+msgid "Update »"
+msgstr ""
+
+msgid "VnStat"
+msgstr ""
+
+msgid "VnStat Graphs"
+msgstr ""
+
+msgid "VnStat Traffic Monitor"
+msgstr ""
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
diff --git a/applications/luci-app-vnstat/po/no/vnstat.po b/applications/luci-app-vnstat/po/no/vnstat.po
new file mode 100644
index 000000000..c1e94d29e
--- /dev/null
+++ b/applications/luci-app-vnstat/po/no/vnstat.po
@@ -0,0 +1,58 @@
+msgid ""
+msgstr ""
+"Last-Translator: Lars Hardy <lars.hardy@gmail.com>\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+msgid "Configuration"
+msgstr "Konfigurasjon"
+
+msgid "Daily traffic"
+msgstr "Trafikk hver dag"
+
+msgid "Graphs"
+msgstr "Grafer"
+
+msgid "Hourly traffic"
+msgstr "Trafikk hver time"
+
+msgid "Monitor selected interfaces"
+msgstr "Overvåk valgte grensesnitt"
+
+msgid "Monthly traffic"
+msgstr "Trafikk hver måned"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+"Ingen database har blitt satt opp ennå. Gå til VnStat konfigurasjonen og "
+"aktiver overvåking for ett eller flere grensesnitt."
+
+msgid "Restart VnStat"
+msgstr "Omstart VnStat"
+
+msgid "Summary display"
+msgstr "Visning av sammendrag"
+
+msgid "Top 10 display"
+msgstr "Top 10 visning"
+
+msgid "Update »"
+msgstr "Oppdater »"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "VnStat Grafer"
+
+msgid "VnStat Traffic Monitor"
+msgstr "VnStat Trafikk Monitor"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
+"VnStat er en nettverks trafikk monitor for Linux som loggfører "
+"nettverks trafikk for de valgte grensesnitt."
diff --git a/applications/luci-app-vnstat/po/pl/vnstat.po b/applications/luci-app-vnstat/po/pl/vnstat.po
new file mode 100644
index 000000000..5b0d8b09e
--- /dev/null
+++ b/applications/luci-app-vnstat/po/pl/vnstat.po
@@ -0,0 +1,69 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2011-09-20 12:21+0200\n"
+"Last-Translator: Michał <wispwind@gmail.com>\n"
+"Language-Team: German\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+"X-Generator: Pootle 2.0.4\n"
+
+msgid "Configuration"
+msgstr "Konfiguracja"
+
+msgid "Daily traffic"
+msgstr "Obciążenie dzienne"
+
+msgid "Graphs"
+msgstr "Wykresy"
+
+msgid "Hourly traffic"
+msgstr "Obciążenie godzinowe"
+
+msgid "Monitor selected interfaces"
+msgstr "Monitoruj wybrane interfejsy"
+
+msgid "Monthly traffic"
+msgstr "Obciążenie miesięczne"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+"Nie ustawiono żadnej bazy danych. Idź do konfiguracji VnStat i włącz "
+"monitorowanie dla jednego lub więcej interfejsów."
+
+msgid "Restart VnStat"
+msgstr "Restartuj VnStat"
+
+msgid "Summary display"
+msgstr "Podsumowanie"
+
+msgid "Top 10 display"
+msgstr "TOP 10"
+
+msgid "Update »"
+msgstr "Aktualizuj »"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "Wykresy VnStat"
+
+msgid "VnStat Traffic Monitor"
+msgstr "Monitor obciążenia VnStat"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
+"VnStat to aplikacja monitorująca ruch sieciowy w Linuxie, który utrzymuje "
+"loga ruchu sieciowego dla określonych interfejsów."
+
+#~ msgid "The VnStat service has been restarted."
+#~ msgstr "Usługa VnStat została uruchomiona ponownie."
diff --git a/applications/luci-app-vnstat/po/pt-br/vnstat.po b/applications/luci-app-vnstat/po/pt-br/vnstat.po
new file mode 100644
index 000000000..47cf09aed
--- /dev/null
+++ b/applications/luci-app-vnstat/po/pt-br/vnstat.po
@@ -0,0 +1,68 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2011-10-11 21:02+0200\n"
+"Last-Translator: Luiz Angelo <luizluca@gmail.com>\n"
+"Language-Team: German\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+"X-Generator: Pootle 2.0.4\n"
+
+msgid "Configuration"
+msgstr "Configuração"
+
+msgid "Daily traffic"
+msgstr "Tráfego diário"
+
+msgid "Graphs"
+msgstr "Gráficos"
+
+msgid "Hourly traffic"
+msgstr "Tráfego horário"
+
+msgid "Monitor selected interfaces"
+msgstr "Monitore as interfaces selecionadas"
+
+msgid "Monthly traffic"
+msgstr "Tráfego mensal"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+"Ainda nenhum banco de dados foi definido. Vá para a configuração do VnStat "
+"ehabilite o monitoramento para um ou mais interfaces."
+
+msgid "Restart VnStat"
+msgstr "Reiniciar VnStat"
+
+msgid "Summary display"
+msgstr "Tela de resumo"
+
+msgid "Top 10 display"
+msgstr "Tela dos 10 mais"
+
+msgid "Update »"
+msgstr "Atualizar »"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "Gráficos VnStat"
+
+msgid "VnStat Traffic Monitor"
+msgstr "Monitor de Tráfego VnStat"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
+"VnStat é um monitor de tráfego de rede para Linux que mantém um registro do "
+"tráfego para a(s) interface(s) selecionada(s)."
+
+#~ msgid "The VnStat service has been restarted."
+#~ msgstr "O serviço VnStat foi reiniciado."
diff --git a/applications/luci-app-vnstat/po/pt/vnstat.po b/applications/luci-app-vnstat/po/pt/vnstat.po
new file mode 100644
index 000000000..729789055
--- /dev/null
+++ b/applications/luci-app-vnstat/po/pt/vnstat.po
@@ -0,0 +1,65 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2013-05-31 16:25+0200\n"
+"Last-Translator: joao.f.vieira <joao.f.vieira@gmail.com>\n"
+"Language-Team: German\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Pootle 2.0.6\n"
+
+msgid "Configuration"
+msgstr "Configuração"
+
+msgid "Daily traffic"
+msgstr "Tráfego Diário"
+
+msgid "Graphs"
+msgstr "Gráficos"
+
+msgid "Hourly traffic"
+msgstr "Tráfego por hora"
+
+msgid "Monitor selected interfaces"
+msgstr "Monitorizar as interfaces selecionadas"
+
+msgid "Monthly traffic"
+msgstr "Tráfego mensal"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+"Ainda não foi configurada uma base de dados. Vá até à configuração do VnStat "
+"e ative a monitorização para uma ou mais interfaces."
+
+msgid "Restart VnStat"
+msgstr "Reiniciar VnStat"
+
+msgid "Summary display"
+msgstr "Mostrar resumo"
+
+msgid "Top 10 display"
+msgstr "Mostrar Top 10"
+
+msgid "Update »"
+msgstr "Atualizar »"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "Gráficos VnStat"
+
+msgid "VnStat Traffic Monitor"
+msgstr "Monitor de Tráfego VnStat"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
+"O VnStat é um monitor de tráfego para Linux que mantêm um registo do tráfego "
+"para as interface (s) selecionadas."
diff --git a/applications/luci-app-vnstat/po/ro/vnstat.po b/applications/luci-app-vnstat/po/ro/vnstat.po
new file mode 100644
index 000000000..093182bde
--- /dev/null
+++ b/applications/luci-app-vnstat/po/ro/vnstat.po
@@ -0,0 +1,69 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2011-10-07 16:01+0200\n"
+"Last-Translator: Daniel <daniel.petre@pitesti.rcs-rds.ro>\n"
+"Language-Team: none\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
+"20)) ? 1 : 2);;\n"
+"X-Generator: Pootle 2.0.4\n"
+
+msgid "Configuration"
+msgstr "Configurare"
+
+msgid "Daily traffic"
+msgstr "Trafic zilnic"
+
+msgid "Graphs"
+msgstr "Grafice"
+
+msgid "Hourly traffic"
+msgstr "Trafic la fiecare ora"
+
+msgid "Monitor selected interfaces"
+msgstr "Monitorizeaza interfetele selectate"
+
+msgid "Monthly traffic"
+msgstr "Trafic lunar"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+"Nu a fost setata nici o baza de date. La configurarea VnStat se poate activa "
+"monitoriza pentru una sau mai multe interfete."
+
+msgid "Restart VnStat"
+msgstr "Restarteaza VnStat"
+
+msgid "Summary display"
+msgstr "Afiseaza sumarul"
+
+msgid "Top 10 display"
+msgstr "Afiseaza top 10"
+
+msgid "Update »"
+msgstr "Updateaza »"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "Graficele VnStat"
+
+msgid "VnStat Traffic Monitor"
+msgstr "Monitorul de trafic VnStat"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
+"Vnstat este un monitor de retea ce pastreaza detalii legate de traficul pe "
+"interfetele selectate."
+
+#~ msgid "The VnStat service has been restarted."
+#~ msgstr "Serviciul VnStat a fost restartat."
diff --git a/applications/luci-app-vnstat/po/ru/vnstat.po b/applications/luci-app-vnstat/po/ru/vnstat.po
new file mode 100644
index 000000000..5254ca1ee
--- /dev/null
+++ b/applications/luci-app-vnstat/po/ru/vnstat.po
@@ -0,0 +1,71 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: LuCI: vnstat\n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: 2012-08-15 11:48+0300\n"
+"Last-Translator: Roman A. aka BasicXP <x12ozmouse@ya.ru>\n"
+"Language-Team: Russian <x12ozmouse@ya.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
+"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Pootle 2.0.4\n"
+"X-Poedit-SourceCharset: UTF-8\n"
+
+msgid "Configuration"
+msgstr "Конфигурация"
+
+msgid "Daily traffic"
+msgstr "Трафик за день"
+
+msgid "Graphs"
+msgstr "Графики"
+
+msgid "Hourly traffic"
+msgstr "Трафик за час"
+
+msgid "Monitor selected interfaces"
+msgstr "Собирать статистику на выбранных интерфейсах"
+
+msgid "Monthly traffic"
+msgstr "Трафик за месяц"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+"База данных не настроена. Перейдите в конфигурацию и укажите интерфейсы для "
+"сбора статистики."
+
+msgid "Restart VnStat"
+msgstr "Перезапустить VnStat"
+
+msgid "Summary display"
+msgstr "Сводная статистика"
+
+msgid "Top 10 display"
+msgstr "Последние 10"
+
+msgid "Update »"
+msgstr "Обновить »"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "Графики VnStat"
+
+msgid "VnStat Traffic Monitor"
+msgstr "Монитор трафика VnStat"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
+"VnStat - монитор сетевого трафика для Linux, собирающий статистику по "
+"выбранным интерфейсам."
+
+#~ msgid "The VnStat service has been restarted."
+#~ msgstr "VnStat сервис перезапущен."
diff --git a/applications/luci-app-vnstat/po/sk/vnstat.po b/applications/luci-app-vnstat/po/sk/vnstat.po
new file mode 100644
index 000000000..5926ecfeb
--- /dev/null
+++ b/applications/luci-app-vnstat/po/sk/vnstat.po
@@ -0,0 +1,58 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Project-Id-Version: PACKAGE VERSION\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"MIME-Version: 1.0\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+msgid "Configuration"
+msgstr ""
+
+msgid "Daily traffic"
+msgstr ""
+
+msgid "Graphs"
+msgstr ""
+
+msgid "Hourly traffic"
+msgstr ""
+
+msgid "Monitor selected interfaces"
+msgstr ""
+
+msgid "Monthly traffic"
+msgstr ""
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+
+msgid "Restart VnStat"
+msgstr ""
+
+msgid "Summary display"
+msgstr ""
+
+msgid "Top 10 display"
+msgstr ""
+
+msgid "Update »"
+msgstr ""
+
+msgid "VnStat"
+msgstr ""
+
+msgid "VnStat Graphs"
+msgstr ""
+
+msgid "VnStat Traffic Monitor"
+msgstr ""
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
diff --git a/applications/luci-app-vnstat/po/sv/vnstat.po b/applications/luci-app-vnstat/po/sv/vnstat.po
new file mode 100644
index 000000000..113c4d275
--- /dev/null
+++ b/applications/luci-app-vnstat/po/sv/vnstat.po
@@ -0,0 +1,59 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Project-Id-Version: PACKAGE VERSION\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+msgid "Configuration"
+msgstr ""
+
+msgid "Daily traffic"
+msgstr ""
+
+msgid "Graphs"
+msgstr ""
+
+msgid "Hourly traffic"
+msgstr ""
+
+msgid "Monitor selected interfaces"
+msgstr ""
+
+msgid "Monthly traffic"
+msgstr ""
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+
+msgid "Restart VnStat"
+msgstr ""
+
+msgid "Summary display"
+msgstr ""
+
+msgid "Top 10 display"
+msgstr ""
+
+msgid "Update »"
+msgstr ""
+
+msgid "VnStat"
+msgstr ""
+
+msgid "VnStat Graphs"
+msgstr ""
+
+msgid "VnStat Traffic Monitor"
+msgstr ""
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
diff --git a/applications/luci-app-vnstat/po/templates/vnstat.pot b/applications/luci-app-vnstat/po/templates/vnstat.pot
new file mode 100644
index 000000000..4dccf05c7
--- /dev/null
+++ b/applications/luci-app-vnstat/po/templates/vnstat.pot
@@ -0,0 +1,51 @@
+msgid ""
+msgstr "Content-Type: text/plain; charset=UTF-8"
+
+msgid "Configuration"
+msgstr ""
+
+msgid "Daily traffic"
+msgstr ""
+
+msgid "Graphs"
+msgstr ""
+
+msgid "Hourly traffic"
+msgstr ""
+
+msgid "Monitor selected interfaces"
+msgstr ""
+
+msgid "Monthly traffic"
+msgstr ""
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+
+msgid "Restart VnStat"
+msgstr ""
+
+msgid "Summary display"
+msgstr ""
+
+msgid "Top 10 display"
+msgstr ""
+
+msgid "Update »"
+msgstr ""
+
+msgid "VnStat"
+msgstr ""
+
+msgid "VnStat Graphs"
+msgstr ""
+
+msgid "VnStat Traffic Monitor"
+msgstr ""
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
diff --git a/applications/luci-app-vnstat/po/tr/vnstat.po b/applications/luci-app-vnstat/po/tr/vnstat.po
new file mode 100644
index 000000000..5e001c932
--- /dev/null
+++ b/applications/luci-app-vnstat/po/tr/vnstat.po
@@ -0,0 +1,58 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+msgid "Configuration"
+msgstr ""
+
+msgid "Daily traffic"
+msgstr ""
+
+msgid "Graphs"
+msgstr ""
+
+msgid "Hourly traffic"
+msgstr ""
+
+msgid "Monitor selected interfaces"
+msgstr ""
+
+msgid "Monthly traffic"
+msgstr ""
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+
+msgid "Restart VnStat"
+msgstr ""
+
+msgid "Summary display"
+msgstr ""
+
+msgid "Top 10 display"
+msgstr ""
+
+msgid "Update »"
+msgstr ""
+
+msgid "VnStat"
+msgstr ""
+
+msgid "VnStat Graphs"
+msgstr ""
+
+msgid "VnStat Traffic Monitor"
+msgstr ""
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
diff --git a/applications/luci-app-vnstat/po/uk/vnstat.po b/applications/luci-app-vnstat/po/uk/vnstat.po
new file mode 100644
index 000000000..5f9d25783
--- /dev/null
+++ b/applications/luci-app-vnstat/po/uk/vnstat.po
@@ -0,0 +1,67 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2013-08-13 15:33+0200\n"
+"Last-Translator: zubr_139 <zubr139@ukr.net>\n"
+"Language-Team: none\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
+"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Pootle 2.0.6\n"
+
+msgid "Configuration"
+msgstr "Конфігурація"
+
+msgid "Daily traffic"
+msgstr "Список щоденного трафіку"
+
+msgid "Graphs"
+msgstr "Графіки"
+
+msgid "Hourly traffic"
+msgstr "Список погодинного трафіку"
+
+msgid "Monitor selected interfaces"
+msgstr "Моніторинг обраних інтерфейсів"
+
+msgid "Monthly traffic"
+msgstr "Список щомісячного трафіку"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+"Не була створена база даних. Перейдіть до вкладки конфігурації VnStat та "
+"увімкніть моніторинг для одного або декількох інтерфейсів."
+
+msgid "Restart VnStat"
+msgstr "Перезапуск VnStat"
+
+#, fuzzy
+msgid "Summary display"
+msgstr "Загальна таблиця"
+
+msgid "Top 10 display"
+msgstr "Список Топ-10"
+
+msgid "Update »"
+msgstr "Оновлення »"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "Графіки VnStat"
+
+msgid "VnStat Traffic Monitor"
+msgstr "Моніторінг трафіку VnStat"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
+"VnStat - монітор мережного трафіку для Linux, який веде журнал мережевого "
+"трафіку для обраного інтерфейсу або декількох інтерфейсів."
diff --git a/applications/luci-app-vnstat/po/vi/vnstat.po b/applications/luci-app-vnstat/po/vi/vnstat.po
new file mode 100644
index 000000000..9e837ad9e
--- /dev/null
+++ b/applications/luci-app-vnstat/po/vi/vnstat.po
@@ -0,0 +1,59 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2010-11-16 20:55+0100\n"
+"Last-Translator: <xm@subsignal.org>\n"
+"Language-Team: German\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+msgid "Configuration"
+msgstr ""
+
+msgid "Daily traffic"
+msgstr ""
+
+msgid "Graphs"
+msgstr ""
+
+msgid "Hourly traffic"
+msgstr ""
+
+msgid "Monitor selected interfaces"
+msgstr ""
+
+msgid "Monthly traffic"
+msgstr ""
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr ""
+
+msgid "Restart VnStat"
+msgstr ""
+
+msgid "Summary display"
+msgstr ""
+
+msgid "Top 10 display"
+msgstr ""
+
+msgid "Update »"
+msgstr ""
+
+msgid "VnStat"
+msgstr ""
+
+msgid "VnStat Graphs"
+msgstr ""
+
+msgid "VnStat Traffic Monitor"
+msgstr ""
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr ""
diff --git a/applications/luci-app-vnstat/po/zh-cn/vnstat.po b/applications/luci-app-vnstat/po/zh-cn/vnstat.po
new file mode 100644
index 000000000..68e4905f0
--- /dev/null
+++ b/applications/luci-app-vnstat/po/zh-cn/vnstat.po
@@ -0,0 +1,61 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2013-10-08 14:05+0200\n"
+"Last-Translator: Tanyingyu <Tanyingyu@163.com>\n"
+"Language-Team: German\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: Pootle 2.0.6\n"
+
+msgid "Configuration"
+msgstr "配置"
+
+msgid "Daily traffic"
+msgstr "流量日报"
+
+msgid "Graphs"
+msgstr "图表"
+
+msgid "Hourly traffic"
+msgstr "流量时报"
+
+msgid "Monitor selected interfaces"
+msgstr "监控选择的接口"
+
+msgid "Monthly traffic"
+msgstr "流量月报"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr "没有创建统计数据。 去VnStat配置,并启动监控一个或多个接口。"
+
+msgid "Restart VnStat"
+msgstr "重置VnStat"
+
+msgid "Summary display"
+msgstr "摘要显示"
+
+msgid "Top 10 display"
+msgstr "显示前10"
+
+msgid "Update »"
+msgstr "更新"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "VnStat图表"
+
+msgid "VnStat Traffic Monitor"
+msgstr "VNStat流量监控"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr "vnstat是一个网络流量监控器,用于Linux保留所选接口的网络流量日志。"
diff --git a/applications/luci-app-vnstat/po/zh-tw/vnstat.po b/applications/luci-app-vnstat/po/zh-tw/vnstat.po
new file mode 100644
index 000000000..261747aad
--- /dev/null
+++ b/applications/luci-app-vnstat/po/zh-tw/vnstat.po
@@ -0,0 +1,61 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2014-05-14 10:52+0200\n"
+"Last-Translator: omnistack <omnistack@gmail.com>\n"
+"Language-Team: none\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: Pootle 2.0.6\n"
+
+msgid "Configuration"
+msgstr "設定"
+
+msgid "Daily traffic"
+msgstr "每日流量"
+
+msgid "Graphs"
+msgstr "圖表"
+
+msgid "Hourly traffic"
+msgstr "每小時流量"
+
+msgid "Monitor selected interfaces"
+msgstr "監控選到的介面"
+
+msgid "Monthly traffic"
+msgstr "每月流量"
+
+msgid ""
+"No database has been set up yet. Go to the VnStat configuration and enable "
+"monitoring for one or more interfaces."
+msgstr "尚無任何資料庫被設定. 進入VnStat針對某一個或多個介面設定並啟用監視."
+
+msgid "Restart VnStat"
+msgstr "從新啟動 VnStat"
+
+msgid "Summary display"
+msgstr "顯示概要"
+
+msgid "Top 10 display"
+msgstr "顯示前10名"
+
+msgid "Update »"
+msgstr "更新"
+
+msgid "VnStat"
+msgstr "VnStat"
+
+msgid "VnStat Graphs"
+msgstr "VnStat圖表"
+
+msgid "VnStat Traffic Monitor"
+msgstr "VnStat流量監視"
+
+msgid ""
+"VnStat is a network traffic monitor for Linux that keeps a log of network "
+"traffic for the selected interface(s)."
+msgstr " VnStat是一個針對Linux上的網路流量監視可達到保存特定介面的流量紀錄"
diff --git a/applications/luci-app-vnstat/root/etc/uci-defaults/luci-vnstat b/applications/luci-app-vnstat/root/etc/uci-defaults/luci-vnstat
new file mode 100755
index 000000000..fa204b3b4
--- /dev/null
+++ b/applications/luci-app-vnstat/root/etc/uci-defaults/luci-vnstat
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+uci -q batch <<-EOF >/dev/null
+ delete ucitrack.@vnstat[-1]
+ add ucitrack vnstat
+ set ucitrack.@vnstat[-1].init=vnstat
+ commit ucitrack
+EOF
+
+rm -f /tmp/luci-indexcache
+exit 0