ntpc: clean-up translation strings
authorBenoît Knecht <benoit.knecht@gmail.com>
Wed, 14 Apr 2010 11:36:13 +0000 (11:36 +0000)
committerBenoît Knecht <benoit.knecht@gmail.com>
Wed, 14 Apr 2010 11:36:13 +0000 (11:36 +0000)
applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua
applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua
po/templates/ntpc.pot

index 9480f6f..ab7f73e 100644 (file)
@@ -18,18 +18,18 @@ s = m:section(TypedSection, "ntpclient", translate("General"))
 s.anonymous = true
 s.addremove = false
 
-s:option(DummyValue, "_time", translate("ntpc_current")).value = os.date("%c")
+s:option(DummyValue, "_time", translate("Current system time")).value = os.date("%c")
 
-s:option(Value, "interval", translate("Update Interval (in s)")).rmempty = true
-s:option(Value, "count", translate("Count of Time Measurements"), translate("empty = infinite")).rmempty = true
+s:option(Value, "interval", translate("Update interval (in seconds)")).rmempty = true
+s:option(Value, "count", translate("Count of time measurements"), translate("empty = infinite")).rmempty = true
 
 
 s2 = m:section(TypedSection, "ntpdrift", translate("Clock Adjustment"))
 s2.anonymous = true
 s2.addremove = false
-s2:option(Value, "freq", translate("Offset Frequency")).rmempty = true
+s2:option(Value, "freq", translate("Offset frequency")).rmempty = true
 
-s3 = m:section(TypedSection, "ntpserver", translate("Time Server"))
+s3 = m:section(TypedSection, "ntpserver", translate("Time Servers"))
 s3.anonymous = true
 s3.addremove = true
 s3.template = "cbi/tblsection"
index a131165..9b56337 100644 (file)
@@ -19,9 +19,9 @@ s = m:section(TypedSection, "ntpclient", translate("General"))
 s.anonymous = true
 s.addremove = false
 
-s:option(DummyValue, "_time", translate("ntpc_current")).value = os.date("%c")
+s:option(DummyValue, "_time", translate("Current system time")).value = os.date("%c")
 
-s:option(Value, "interval", translate("Update Interval (in s)")).rmempty = true
+s:option(Value, "interval", translate("Update interval (in seconds)")).rmempty = true
 
 
 s3 = m:section(TypedSection, "ntpserver", translate("Time Server"))
index 8d85d0b..8ec396f 100644 (file)
@@ -1,49 +1,50 @@
-#  ntpc.pot
-#  generated from ./applications/luci-ntpc/luasrc/i18n/ntpc.en.lua
+# Generated from applications/luci-ntpc/luasrc/model/cbi/ntpc/*.lua
+#
+#, fuzzy
 msgid ""
-msgstr "Content-Type: text/plain; charset=UTF-8"
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-04-14 13:24+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
 
-#. Time Synchronisation
-#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:1
 msgid "Time Synchronisation"
 msgstr ""
 
-#. Synchronizes the system time
-#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:2
 msgid "Synchronizes the system time"
 msgstr ""
 
-#. Time Server
-#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:3
-msgid "Time Server"
+msgid "General"
 msgstr ""
 
-#. Update Interval (in s)
-#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:4
-msgid "Update Interval (in s)"
+msgid "Current system time"
 msgstr ""
 
-#. Count of Time Measurements
-#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:5
-msgid "Count of Time Measurements"
+msgid "Update interval (in seconds)"
+msgstr ""
+
+msgid "Count of time measurements"
 msgstr ""
 
-#. empty = infinite
-#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:6
 msgid "empty = infinite"
 msgstr ""
 
-#. Clock Adjustment
-#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:7
 msgid "Clock Adjustment"
 msgstr ""
 
-#. Offset Frequency
-#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:8
-msgid "Offset Frequency"
+msgid "Offset frequency"
 msgstr ""
 
-#. Current system time
-#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:9
-msgid "Current system time"
+msgid "Time Servers"
+msgstr ""
+
+msgid "Hostname"
+msgstr ""
+
+msgid "Port"
 msgstr ""