* luci/libs/uvl: translation fixes
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 5 Sep 2008 15:32:33 +0000 (15:32 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 5 Sep 2008 15:32:33 +0000 (15:32 +0000)
libs/uvl/luasrc/i18n/uvl.de.lua
libs/uvl/luasrc/i18n/uvl.de.xml
libs/uvl/luasrc/i18n/uvl.en.lua
libs/uvl/luasrc/i18n/uvl.en.xml
libs/uvl/luasrc/uvl/errors.lua

index 4946827..7962161 100644 (file)
@@ -27,8 +27,8 @@ uvl_err_sect_named = 'Die Sektion vom Typ \"%I\" ist anonym in der Konfiguration
 uvl_err_sect_notfound = 'Sektion vom Typ \"%I\" nicht in der Konfiguration gefunden'
 uvl_err_opt_unknown = 'Option \"%i\" (%I) nicht im Schema gefunden'
 uvl_err_opt_required = 'Die benötigte Option \"%i\" hat keinen Wert gesetzt'
-uvl_err_opt_badvalue = 'Der Wert \"%v\" von Option \"%i\" ist nicht in der Aufzählung %1 definiert'
-uvl_err_opt_invvalue = 'Der Wert \"%v\" von Option \"%i\" ist kein gültiger \"%1\" Datentyp'
+uvl_err_opt_badvalue = 'Der Wert \"%1\" von Option \"%i\" ist nicht in der Aufzählung %2 definiert'
+uvl_err_opt_invvalue = 'Der Wert \"%1\" von Option \"%i\" ist kein gültiger \"%2\" Datentyp'
 uvl_err_opt_notlist = 'Option \"%i\" ist als Liste definiert aber als einfache Option gespeichert'
 uvl_err_opt_datatype = 'Option \"%i\" hat unbekannten Datentyp \"%1\"'
 uvl_err_opt_notfound = 'Option \"%i\" nicht in der Konfiguration gefunden'
index b9b89b5..9d6ddee 100644 (file)
@@ -31,8 +31,8 @@
 <i18n:msg xml:id="uvl_err_sect_notfound" method="text">Sektion vom Typ "%I" nicht in der Konfiguration gefunden</i18n:msg>
 <i18n:msg xml:id="uvl_err_opt_unknown" method="text">Option "%i" (%I) nicht im Schema gefunden</i18n:msg>
 <i18n:msg xml:id="uvl_err_opt_required" method="text">Die benötigte Option "%i" hat keinen Wert gesetzt</i18n:msg>
-<i18n:msg xml:id="uvl_err_opt_badvalue" method="text">Der Wert "%v" von Option "%i" ist nicht in der Aufzählung %1 definiert</i18n:msg>
-<i18n:msg xml:id="uvl_err_opt_invvalue" method="text">Der Wert "%v" von Option "%i" ist kein gültiger "%1" Datentyp</i18n:msg>
+<i18n:msg xml:id="uvl_err_opt_badvalue" method="text">Der Wert "%1" von Option "%i" ist nicht in der Aufzählung %2 definiert</i18n:msg>
+<i18n:msg xml:id="uvl_err_opt_invvalue" method="text">Der Wert "%1" von Option "%i" ist kein gültiger "%2" Datentyp</i18n:msg>
 <i18n:msg xml:id="uvl_err_opt_notlist" method="text">Option "%i" ist als Liste definiert aber als einfache Option gespeichert</i18n:msg>
 <i18n:msg xml:id="uvl_err_opt_datatype" method="text">Option "%i" hat unbekannten Datentyp "%1"</i18n:msg>
 <i18n:msg xml:id="uvl_err_opt_notfound" method="text">Option "%i" nicht in der Konfiguration gefunden</i18n:msg>
index d7d8bfe..b0944a2 100644 (file)
@@ -27,8 +27,8 @@ uvl_err_sect_named = 'The section of type \"%p.%s\" is stored anonymously in con
 uvl_err_sect_notfound = 'Section \"%p.%s\" not found in config'
 uvl_err_opt_unknown = 'Option \"%i\" (%I) not found in scheme'
 uvl_err_opt_required = 'Required option \"%i\" has no value'
-uvl_err_opt_badvalue = 'Value \"%v\" of option \"%i\" is not defined in enum %1'
-uvl_err_opt_invvalue = 'Value \"%v\" of given option \"%i\" does not validate as datatype \"%1\"'
+uvl_err_opt_badvalue = 'Value \"%1\" of option \"%i\" is not defined in enum %2'
+uvl_err_opt_invvalue = 'Value \"%1\" of option \"%i\" does not validate as datatype \"%2\"'
 uvl_err_opt_notlist = 'Option \"%i\" is defined as list but stored as plain value'
 uvl_err_opt_datatype = 'Option \"%i\" has unknown datatype \"%1\"'
 uvl_err_opt_notfound = 'Option \"%p.%s.%o\" not found in config'
index 17711f1..e26f947 100644 (file)
@@ -31,8 +31,8 @@
 <i18n:msg xml:id="uvl_err_sect_notfound" method="text">Section "%p.%s" not found in config</i18n:msg>
 <i18n:msg xml:id="uvl_err_opt_unknown" method="text">Option "%i" (%I) not found in scheme</i18n:msg>
 <i18n:msg xml:id="uvl_err_opt_required" method="text">Required option "%i" has no value</i18n:msg>
-<i18n:msg xml:id="uvl_err_opt_badvalue" method="text">Value "%v" of option "%i" is not defined in enum %1</i18n:msg>
-<i18n:msg xml:id="uvl_err_opt_invvalue" method="text">Value "%v" of given option "%i" does not validate as datatype "%1"</i18n:msg>
+<i18n:msg xml:id="uvl_err_opt_badvalue" method="text">Value "%1" of option "%i" is not defined in enum %2</i18n:msg>
+<i18n:msg xml:id="uvl_err_opt_invvalue" method="text">Value "%1" of option "%i" does not validate as datatype "%2"</i18n:msg>
 <i18n:msg xml:id="uvl_err_opt_notlist" method="text">Option "%i" is defined as list but stored as plain value</i18n:msg>
 <i18n:msg xml:id="uvl_err_opt_datatype" method="text">Option "%i" has unknown datatype "%1"</i18n:msg>
 <i18n:msg xml:id="uvl_err_opt_notfound" method="text">Option "%p.%s.%o" not found in config</i18n:msg>
index aa1d8fb..8e0d78a 100644 (file)
@@ -54,7 +54,7 @@ ERRCODES = {
        { 'OPT_UNKNOWN',        'Option "%i" (%I) not found in scheme' },
        { 'OPT_REQUIRED',       'Required option "%i" has no value' },
        { 'OPT_BADVALUE',       'Value "%1" of option "%i" is not defined in enum %2' },
-       { 'OPT_INVVALUE',       'Value "%1" of given option "%i" does not validate as datatype "%2"' },
+       { 'OPT_INVVALUE',       'Value "%1" of option "%i" does not validate as datatype "%2"' },
        { 'OPT_NOTLIST',        'Option "%i" is defined as list but stored as plain value' },
        { 'OPT_DATATYPE',       'Option "%i" has unknown datatype "%1"' },
        { 'OPT_NOTFOUND',       'Option "%p.%s.%o" not found in config' },