ntpc: clean-up translation strings

This commit is contained in:
Benoît Knecht 2010-04-14 11:36:13 +00:00
parent cb68f5e12b
commit f431c7e184
3 changed files with 34 additions and 33 deletions

View file

@ -18,18 +18,18 @@ s = m:section(TypedSection, "ntpclient", translate("General"))
s.anonymous = true s.anonymous = true
s.addremove = false 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
s:option(Value, "count", translate("Count of Time Measurements"), translate("empty = infinite")).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 = m:section(TypedSection, "ntpdrift", translate("Clock Adjustment"))
s2.anonymous = true s2.anonymous = true
s2.addremove = false 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.anonymous = true
s3.addremove = true s3.addremove = true
s3.template = "cbi/tblsection" s3.template = "cbi/tblsection"

View file

@ -19,9 +19,9 @@ s = m:section(TypedSection, "ntpclient", translate("General"))
s.anonymous = true s.anonymous = true
s.addremove = false 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")) s3 = m:section(TypedSection, "ntpserver", translate("Time Server"))

View file

@ -1,49 +1,50 @@
# ntpc.pot # Generated from applications/luci-ntpc/luasrc/model/cbi/ntpc/*.lua
# generated from ./applications/luci-ntpc/luasrc/i18n/ntpc.en.lua #
#, fuzzy
msgid "" 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" msgid "Time Synchronisation"
msgstr "" msgstr ""
#. Synchronizes the system time
#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:2
msgid "Synchronizes the system time" msgid "Synchronizes the system time"
msgstr "" msgstr ""
#. Time Server msgid "General"
#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:3
msgid "Time Server"
msgstr "" msgstr ""
#. Update Interval (in s) msgid "Current system time"
#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:4
msgid "Update Interval (in s)"
msgstr "" msgstr ""
#. Count of Time Measurements msgid "Update interval (in seconds)"
#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:5 msgstr ""
msgid "Count of Time Measurements"
msgid "Count of time measurements"
msgstr "" msgstr ""
#. empty = infinite
#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:6
msgid "empty = infinite" msgid "empty = infinite"
msgstr "" msgstr ""
#. Clock Adjustment
#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:7
msgid "Clock Adjustment" msgid "Clock Adjustment"
msgstr "" msgstr ""
#. Offset Frequency msgid "Offset frequency"
#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:8
msgid "Offset Frequency"
msgstr "" msgstr ""
#. Current system time msgid "Time Servers"
#: applications/luci-ntpc/luasrc/i18n/ntpc.en.lua:9 msgstr ""
msgid "Current system time"
msgid "Hostname"
msgstr ""
msgid "Port"
msgstr "" msgstr ""