From: BenoƮt Knecht Date: Wed, 14 Apr 2010 11:36:13 +0000 (+0000) Subject: ntpc: clean-up translation strings X-Git-Tag: 0.10.0~723 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=f431c7e184ef7799d03722ec57833878d01757a9 ntpc: clean-up translation strings --- diff --git a/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua b/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua index 9480f6fe7..ab7f73edb 100644 --- a/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua +++ b/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua @@ -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" diff --git a/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua b/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua index a1311657a..9b5633762 100644 --- a/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua +++ b/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua @@ -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")) diff --git a/po/templates/ntpc.pot b/po/templates/ntpc.pot index 8d85d0b11..8ec396ff2 100644 --- a/po/templates/ntpc.pot +++ b/po/templates/ntpc.pot @@ -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 \n" +"Language-Team: LANGUAGE \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 ""