jscript: Added Number.toFixed implementation.
This commit is contained in:
parent
b81e44f8d9
commit
a20c0d1141
|
@ -505,6 +505,7 @@ static inline DWORD make_grfdex(script_ctx_t *ctx, DWORD flags)
|
|||
#define JS_E_REGEXP_SYNTAX MAKE_JSERROR(IDS_REGEXP_SYNTAX_ERROR)
|
||||
#define JS_E_INVALID_URI_CODING MAKE_JSERROR(IDS_URI_INVALID_CODING)
|
||||
#define JS_E_INVALID_URI_CHAR MAKE_JSERROR(IDS_URI_INVALID_CHAR)
|
||||
#define JS_E_FRACTION_DIGITS_OUT_OF_RANGE MAKE_JSERROR(IDS_FRACTION_DIGITS_OUT_OF_RANGE)
|
||||
#define JS_E_INVALID_LENGTH MAKE_JSERROR(IDS_INVALID_LENGTH)
|
||||
#define JS_E_ARRAY_EXPECTED MAKE_JSERROR(IDS_ARRAY_EXPECTED)
|
||||
|
||||
|
|
|
@ -54,6 +54,7 @@ STRINGTABLE
|
|||
IDS_REGEXP_SYNTAX_ERROR "Syntax error in regular expression"
|
||||
IDS_URI_INVALID_CODING "URI to be decoded is incorrect"
|
||||
IDS_URI_INVALID_CHAR "URI to be encoded contains invalid characters"
|
||||
IDS_FRACTION_DIGITS_OUT_OF_RANGE "Number of fraction digits is out of range"
|
||||
IDS_INVALID_LENGTH "Array length must be a finite positive integer"
|
||||
IDS_ARRAY_EXPECTED "Array object expected"
|
||||
}
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "wine/port.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "jscript.h"
|
||||
|
||||
|
@ -41,6 +42,7 @@ static const WCHAR toPrecisionW[] = {'t','o','P','r','e','c','i','s','i','o','n'
|
|||
static const WCHAR valueOfW[] = {'v','a','l','u','e','O','f',0};
|
||||
|
||||
#define NUMBER_TOSTRING_BUF_SIZE 64
|
||||
#define NUMBER_DTOA_SIZE 18
|
||||
|
||||
static inline NumberInstance *number_from_vdisp(vdisp_t *vdisp)
|
||||
{
|
||||
|
@ -52,6 +54,102 @@ static inline NumberInstance *number_this(vdisp_t *jsthis)
|
|||
return is_vclass(jsthis, JSCLASS_NUMBER) ? number_from_vdisp(jsthis) : NULL;
|
||||
}
|
||||
|
||||
static inline void dtoa(double d, WCHAR *buf, int size, int *dec_point)
|
||||
{
|
||||
ULONGLONG l;
|
||||
int i;
|
||||
|
||||
/* TODO: this function should print doubles with bigger precision */
|
||||
assert(size>=2 && size<=NUMBER_DTOA_SIZE && d>=0);
|
||||
|
||||
if(d == 0)
|
||||
*dec_point = 0;
|
||||
else
|
||||
*dec_point = floor(log10(d));
|
||||
l = d*pow(10, size-*dec_point-1);
|
||||
|
||||
if(l%10 >= 5)
|
||||
l = l/10+1;
|
||||
else
|
||||
l /= 10;
|
||||
|
||||
buf[size-1] = 0;
|
||||
for(i=size-2; i>=0; i--) {
|
||||
buf[i] = '0'+l%10;
|
||||
l /= 10;
|
||||
}
|
||||
|
||||
/* log10 was wrong by 1 or rounding changed number of digits */
|
||||
if(l) {
|
||||
(*dec_point)++;
|
||||
memmove(buf+1, buf, size-2);
|
||||
buf[0] = '0'+l;
|
||||
}else if(buf[0]=='0' && buf[1]>='1' && buf[1]<='9') {
|
||||
(*dec_point)--;
|
||||
memmove(buf, buf+1, size-2);
|
||||
buf[size-2] = '0';
|
||||
}
|
||||
}
|
||||
|
||||
static inline void number_to_fixed(double val, int prec, BSTR *out)
|
||||
{
|
||||
WCHAR buf[NUMBER_DTOA_SIZE];
|
||||
int dec_point, size, buf_size, buf_pos;
|
||||
BOOL neg = FALSE;
|
||||
BSTR str;
|
||||
|
||||
if(val < 0) {
|
||||
neg = TRUE;
|
||||
val = -val;
|
||||
}
|
||||
|
||||
if(val<=-1 || val>=1)
|
||||
buf_size = log10(val)+prec+2;
|
||||
else
|
||||
buf_size = prec+1;
|
||||
if(buf_size > NUMBER_DTOA_SIZE)
|
||||
buf_size = NUMBER_DTOA_SIZE;
|
||||
|
||||
dtoa(val, buf, buf_size, &dec_point);
|
||||
dec_point++;
|
||||
size = 0;
|
||||
if(neg)
|
||||
size++;
|
||||
if(dec_point > 0)
|
||||
size += dec_point;
|
||||
else
|
||||
size++;
|
||||
if(prec)
|
||||
size += prec+1;
|
||||
|
||||
str = SysAllocStringLen(NULL, size);
|
||||
size = buf_pos = 0;
|
||||
if(neg)
|
||||
str[size++] = '-';
|
||||
if(dec_point > 0) {
|
||||
for(;buf_pos<buf_size-1 && dec_point; dec_point--)
|
||||
str[size++] = buf[buf_pos++];
|
||||
}else {
|
||||
str[size++] = '0';
|
||||
}
|
||||
for(; dec_point>0; dec_point--)
|
||||
str[size++] = '0';
|
||||
if(prec) {
|
||||
str[size++] = '.';
|
||||
|
||||
for(; dec_point<0 && prec; dec_point++, prec--)
|
||||
str[size++] = '0';
|
||||
for(; buf_pos<buf_size-1 && prec; prec--)
|
||||
str[size++] = buf[buf_pos++];
|
||||
for(; prec; prec--) {
|
||||
str[size++] = '0';
|
||||
}
|
||||
}
|
||||
str[size++] = 0;
|
||||
|
||||
*out = str;
|
||||
}
|
||||
|
||||
/* ECMA-262 3rd Edition 15.7.4.2 */
|
||||
static HRESULT Number_toString(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp,
|
||||
VARIANT *retv, jsexcept_t *ei)
|
||||
|
@ -188,8 +286,45 @@ static HRESULT Number_toLocaleString(script_ctx_t *ctx, vdisp_t *jsthis, WORD fl
|
|||
static HRESULT Number_toFixed(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp,
|
||||
VARIANT *retv, jsexcept_t *ei)
|
||||
{
|
||||
FIXME("\n");
|
||||
return E_NOTIMPL;
|
||||
NumberInstance *number;
|
||||
DOUBLE val;
|
||||
INT prec = 0;
|
||||
BSTR str;
|
||||
HRESULT hres;
|
||||
|
||||
TRACE("\n");
|
||||
|
||||
if(!(number = number_this(jsthis)))
|
||||
return throw_type_error(ctx, ei, JS_E_NUMBER_EXPECTED, NULL);
|
||||
|
||||
if(arg_cnt(dp)) {
|
||||
hres = to_int32(ctx, get_arg(dp, 0), ei, &prec);
|
||||
if(FAILED(hres))
|
||||
return hres;
|
||||
|
||||
if(prec<0 || prec>20)
|
||||
return throw_range_error(ctx, ei, JS_E_FRACTION_DIGITS_OUT_OF_RANGE, NULL);
|
||||
}
|
||||
|
||||
val = number->value;
|
||||
if(isinf(val) || isnan(val)) {
|
||||
VARIANT v;
|
||||
|
||||
num_set_val(&v, val);
|
||||
hres = to_string(ctx, &v, ei, &str);
|
||||
if(FAILED(hres))
|
||||
return hres;
|
||||
}else {
|
||||
number_to_fixed(val, prec, &str);
|
||||
}
|
||||
|
||||
if(retv) {
|
||||
V_VT(retv) = VT_BSTR;
|
||||
V_BSTR(retv) = str;
|
||||
}else {
|
||||
SysFreeString(str);
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT Number_toExponential(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp,
|
||||
|
|
|
@ -54,5 +54,6 @@
|
|||
#define IDS_REGEXP_SYNTAX_ERROR 0x1399
|
||||
#define IDS_URI_INVALID_CHAR 0x13A0
|
||||
#define IDS_URI_INVALID_CODING 0x13A1
|
||||
#define IDS_FRACTION_DIGITS_OUT_OF_RANGE 0x13A2
|
||||
#define IDS_INVALID_LENGTH 0x13A5
|
||||
#define IDS_ARRAY_EXPECTED 0x13A7
|
||||
|
|
|
@ -1018,10 +1018,33 @@ tmp = Array.prototype.slice.call(obj, 1, 2);
|
|||
ok(tmp.length === 1, "tmp.length = " + tmp.length);
|
||||
ok(tmp[0] === 2, "tmp[0] = " + tmp[0]);
|
||||
|
||||
var num = new Number(2);
|
||||
ok(num.toString() === "2", "num(2).toString !== 2");
|
||||
var num = new Number();
|
||||
ok(num.toString() === "0", "num().toString !== 0");
|
||||
tmp = (new Number(2)).toString();
|
||||
ok(tmp === "2", "num(2).toString = " + tmp);
|
||||
tmp = (new Number()).toString();
|
||||
ok(tmp === "0", "num().toString = " + tmp);
|
||||
tmp = (new Number(5.5)).toString(2);
|
||||
ok(tmp === "101.1", "num(5.5).toString(2) = " + tmp);
|
||||
|
||||
tmp = (new Number(3)).toFixed(3);
|
||||
ok(tmp === "3.000", "num(3).toFixed(3) = " + tmp);
|
||||
tmp = (new Number(1.76)).toFixed(1);
|
||||
ok(tmp === "1.8", "num(1.76).toFixed(1) = " + tmp);
|
||||
tmp = (new Number(7.92)).toFixed(5);
|
||||
ok(tmp === "7.92000", "num(7.92).toFixed(5) = " + tmp);
|
||||
tmp = (new Number(2.88)).toFixed();
|
||||
ok(tmp === "3", "num(2.88).toFixed = " + tmp);
|
||||
tmp = (new Number(-2.5)).toFixed();
|
||||
ok(tmp === "-3", "num(-2.5).toFixed = " + tmp);
|
||||
tmp = (new Number(1000000000000000128)).toFixed(0);
|
||||
//todo_wine ok(tmp === "1000000000000000100", "num(1000000000000000128) = " + tmp);
|
||||
tmp = (new Number(3.14).toFixed(NaN));
|
||||
ok(tmp === "3", "num(3.14).toFixed = " + tmp);
|
||||
tmp = (new Number(0.95).toFixed(1));
|
||||
ok(tmp === "1.0", "num(0.95).toFixed(1) = " + tmp);
|
||||
tmp = (new Number(1e900)).toFixed(0);
|
||||
ok(tmp === "Infinity", "num(1000000000000000128) = " + tmp);
|
||||
tmp = (new Number(0.12345678901234567890123)).toFixed(20);
|
||||
ok(tmp === "0.12345678901234568000", "num(0.12345678901234567890123) = " + tmp);
|
||||
|
||||
ok(Number() === 0, "Number() = " + Number());
|
||||
ok(Number(false) === 0, "Number(false) = " + Number(false));
|
||||
|
@ -1994,7 +2017,8 @@ var exception_array = {
|
|||
|
||||
E_ILLEGAL_ASSIGN: { type: "ReferenceError", number: -2146823280 },
|
||||
|
||||
E_SUBSCRIPT_OUT_OF_RANGE: {type: "RangeError", number: -2146828279 },
|
||||
E_FRACTION_DIGITS_OUT_OF_RANGE: {type: "RangeError", number: -2146823262 },
|
||||
E_SUBSCRIPT_OUT_OF_RANGE: {type: "RangeError", number: -2146828279 },
|
||||
|
||||
E_REGEXP_SYNTAX_ERROR: { type: "RegExpError", number: -2146823271 },
|
||||
|
||||
|
@ -2027,8 +2051,10 @@ testException(function() {createArray().getItem(3);}, "E_SUBSCRIPT_OUT_OF_RANGE"
|
|||
testException(function() {date.setTime();}, "E_ARG_NOT_OPT");
|
||||
testException(function() {date.setYear();}, "E_ARG_NOT_OPT");
|
||||
testException(function() {arr.test();}, "E_NO_PROPERTY");
|
||||
testException(function() {arr.toString = Number.prototype.toString; arr.toString();}, "E_NOT_NUM");
|
||||
testException(function() {Number.prototype.toString.call(arr);}, "E_NOT_NUM");
|
||||
testException(function() {Number.prototype.toFixed.call(arr);}, "E_NOT_NUM");
|
||||
testException(function() {(new Number(3)).toString(1);}, "E_INVALID_CALL_ARG");
|
||||
testException(function() {(new Number(3)).toFixed(21);}, "E_FRACTION_DIGITS_OUT_OF_RANGE");
|
||||
testException(function() {not_existing_variable.something();}, "E_UNDEFINED");
|
||||
testException(function() {date();}, "E_NOT_FUNC");
|
||||
testException(function() {arr();}, "E_NOT_FUNC");
|
||||
|
|
6
po/ar.po
6
po/ar.po
|
@ -3513,10 +3513,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
6
po/bg.po
6
po/bg.po
|
@ -3528,10 +3528,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
8
po/ca.po
8
po/ca.po
|
@ -3559,10 +3559,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "URI per a descodificar és incorrecte"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Valor d'enumeració fora de rang.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Longitud del vector ha de ser un enter positiu finit"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "S'esperava un objecte Array"
|
||||
|
||||
|
|
6
po/cs.po
6
po/cs.po
|
@ -3564,10 +3564,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
8
po/da.po
8
po/da.po
|
@ -3534,10 +3534,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "URI der skal afkodes er forkert"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Opregnings værdi uden for intervallet.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Array længde skal være et endeligt positivt heltal"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Array objekt forventet"
|
||||
|
||||
|
|
8
po/de.po
8
po/de.po
|
@ -3537,10 +3537,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "Zu entschlüsselnde URI ist ungültig"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Aufzählungswert außerhalb des Bereichs.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Array-Größe muss eine natürliche Zahl sein"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Array Objekt erwartet"
|
||||
|
||||
|
|
6
po/el.po
6
po/el.po
|
@ -3472,10 +3472,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
6
po/en.po
6
po/en.po
|
@ -3418,10 +3418,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "URI to be decoded is incorrect"
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Number of fraction digits is out of range"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Array length must be a finite positive integer"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Array object expected"
|
||||
|
||||
|
|
|
@ -3531,10 +3531,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "URI to be decoded is incorrect"
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Number of fraction digits is out of range"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Array length must be a finite positive integer"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Array object expected"
|
||||
|
||||
|
|
6
po/eo.po
6
po/eo.po
|
@ -3443,10 +3443,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
8
po/es.po
8
po/es.po
|
@ -3550,10 +3550,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "URI a decodificar es incorrecta"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Valor de la enumeración fuera de rango.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "La longitud del array debe ser un entero positivo finito"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Objeto array esperado"
|
||||
|
||||
|
|
6
po/fa.po
6
po/fa.po
|
@ -3513,10 +3513,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
8
po/fi.po
8
po/fi.po
|
@ -3526,10 +3526,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "Dekoodattava URI on virheellinen"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Arvo on luettelon ulkopuolella.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Taulukon pituuden täytyy olla positiivinen kokonaisluku"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Odotettiin taulukkoa"
|
||||
|
||||
|
|
8
po/fr.po
8
po/fr.po
|
@ -3554,10 +3554,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "L'URI à décoder est incorrecte"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Valeur d'énumération hors plage.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "La longueur d'un tableau doit être un entier positif"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Objet tableau attendu"
|
||||
|
||||
|
|
6
po/he.po
6
po/he.po
|
@ -3523,10 +3523,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
6
po/hi.po
6
po/hi.po
|
@ -3449,10 +3449,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
8
po/hu.po
8
po/hu.po
|
@ -3551,10 +3551,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "A kódolandó URI érvénytelen karaktereket tartalmaz"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Felsorolási érték határon kívül esik.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "A tömb hosszának egy véges pozitív egész számnak kell lennie"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Tömb objektumot vártam"
|
||||
|
||||
|
|
8
po/it.po
8
po/it.po
|
@ -3559,10 +3559,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "L'URI da decodificare non è corretto"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Valore dell'enumerazione fuori portata.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "La lunghezza dell'array deve essere un intero finito e positivo"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Previsto un oggetto array"
|
||||
|
||||
|
|
8
po/ja.po
8
po/ja.po
|
@ -3531,10 +3531,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "デコードされるURIが正しくありません"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "列挙値が範囲外です。\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "配列の長さは有限の正整数でなければなりません"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "配列オブジェクトを期待していました"
|
||||
|
||||
|
|
8
po/ko.po
8
po/ko.po
|
@ -3520,10 +3520,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "해독하는 URI가 올바르지 않음"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "열거 값이 범위를 벗어남.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "배열 길이는 반드시 한정된 양의 정수이어야 함"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "배열 객체가 필요함"
|
||||
|
||||
|
|
8
po/lt.po
8
po/lt.po
|
@ -3540,10 +3540,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "Dekoduojamas URI yra neteisingas"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Išvardijimo reikšmė ne tarp rėžių.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Masyvo dydis turi būti teigiamas sveikasis skaičius"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Tikėtasi masyvo objekto"
|
||||
|
||||
|
|
6
po/ml.po
6
po/ml.po
|
@ -3449,10 +3449,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -3700,10 +3700,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "URI'en som skulle kodes inneholder ugyldige tegn"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Enum-verdien er utenfor rekkevidde.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Rekkens lengde må være et endelig, positivt tall"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Forventet rekke-objekt"
|
||||
|
||||
|
|
8
po/nl.po
8
po/nl.po
|
@ -3580,10 +3580,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "De te decoderen URI is niet correct"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Opsommingsaantal buiten bereik.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Array lengte moet een eindig, positief geheel getal zijn"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Array object verwacht"
|
||||
|
||||
|
|
6
po/or.po
6
po/or.po
|
@ -3449,10 +3449,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
6
po/pa.po
6
po/pa.po
|
@ -3449,10 +3449,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
8
po/pl.po
8
po/pl.po
|
@ -3551,10 +3551,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "URI do dekodowania jest niepoprawny"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Wartość typu wyliczeniowego poza zakresem.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Długość tablicy musi być skończoną dodatnią liczbą stałą"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Oczekiwany obiekt tablicowy"
|
||||
|
||||
|
|
|
@ -3557,10 +3557,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "URI a ser codificado está incorreto"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Valor de enumeração fora dos limites.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Tamanho do vetor tem que ser um inteiro finito positivo"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Objeto Vetor esperado"
|
||||
|
||||
|
|
|
@ -3556,10 +3556,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "URI a ser descodificado é incorreto"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Valor de enumeração fora dos limites.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Tamanho do vector tem de ser um inteiro finito positivo"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Objecto Array esperado"
|
||||
|
||||
|
|
6
po/rm.po
6
po/rm.po
|
@ -3477,10 +3477,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
6
po/ro.po
6
po/ro.po
|
@ -3533,10 +3533,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "URI care trebuie codificat conține caractere nevalide"
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Lungimea unei matrice trebuie să fie un număr întreg pozitiv"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Se așteaptă un obiect matrice"
|
||||
|
||||
|
|
8
po/ru.po
8
po/ru.po
|
@ -3538,10 +3538,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "Декодируемый URI неверен"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Значение перечисления вне диапазона.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Длиной массива должно быть конечное положительное число"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Ожидается объект типа 'Array'"
|
||||
|
||||
|
|
6
po/sk.po
6
po/sk.po
|
@ -3459,10 +3459,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
8
po/sl.po
8
po/sl.po
|
@ -3548,10 +3548,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "URI za odkodiranje je nepravilen"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Vrednost oštevilčenja je izven obsega.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Dolžina polja mora bit pozitivno celo število"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Pričakovan je bil predmet polja"
|
||||
|
||||
|
|
|
@ -3561,10 +3561,15 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "URI садржи неисправне знакове"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Потпис је ван домета.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Низ дужине мора бити коначан позитиван цео број"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Очекивани низ објекта"
|
||||
|
||||
|
|
|
@ -3639,10 +3639,15 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "URI sadrži neispravne znakove"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Potpis je van dometa.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Niz dužine mora biti konačan pozitivan ceo broj"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Očekivani niz objekta"
|
||||
|
||||
|
|
8
po/sv.po
8
po/sv.po
|
@ -3521,10 +3521,16 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "Den URI som ska avkodas är felaktig"
|
||||
|
||||
#: jscript.rc:57
|
||||
#, fuzzy
|
||||
#| msgid "Enumeration value out of range.\n"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr "Uppräkningsvärde utanför giltigt intervall.\n"
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Array-längd måste vara ett positivt ändligt heltal"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Array-objekt förväntades"
|
||||
|
||||
|
|
6
po/te.po
6
po/te.po
|
@ -3449,10 +3449,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
6
po/th.po
6
po/th.po
|
@ -3489,10 +3489,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
6
po/tr.po
6
po/tr.po
|
@ -3436,10 +3436,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
6
po/uk.po
6
po/uk.po
|
@ -3542,10 +3542,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr "URI, що буде закодований, некоректний"
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr "Довжиною масиву повинне бути скінченне додатнє ціле число"
|
||||
|
||||
#: jscript.rc:58
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr "Очікується об'єкт Array"
|
||||
|
||||
|
|
6
po/wa.po
6
po/wa.po
|
@ -3498,10 +3498,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -3411,10 +3411,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -3438,10 +3438,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -3441,10 +3441,14 @@ msgid "URI to be decoded is incorrect"
|
|||
msgstr ""
|
||||
|
||||
#: jscript.rc:57
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgid "Number of fraction digits is out of range"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:58
|
||||
msgid "Array length must be a finite positive integer"
|
||||
msgstr ""
|
||||
|
||||
#: jscript.rc:59
|
||||
msgid "Array object expected"
|
||||
msgstr ""
|
||||
|
||||
|
|
Loading…
Reference in New Issue