diff --git a/src/Compiler/FSComp.txt b/src/Compiler/FSComp.txt index eda76095bb2..fc7ec673e2c 100644 --- a/src/Compiler/FSComp.txt +++ b/src/Compiler/FSComp.txt @@ -1033,8 +1033,8 @@ lexUnexpectedChar,"Unexpected character '%s'" 1151,lexOutsideNativeSigned,"This number is outside the allowable range for signed native integers" 1152,lexOutsideNativeUnsigned,"This number is outside the allowable range for unsigned native integers" 1153,lexInvalidFloat,"Invalid floating point number" -1154,lexOusideDecimal,"This number is outside the allowable range for decimal literals" -1155,lexOusideThirtyTwoBitFloat,"This number is outside the allowable range for 32-bit floats" +1154,lexOutsideDecimal,"This number is outside the allowable range for decimal literals" +1155,lexOutsideThirtyTwoBitFloat,"This number is outside the allowable range for 32-bit floats" 1156,lexInvalidNumericLiteral,"This is not a valid numeric literal. Valid numeric literals include 1, 0x1, 0o1, 0b1, 1l (int/int32), 1u (uint/uint32), 1L (int64), 1UL (uint64), 1s (int16), 1us (uint16), 1y (int8/sbyte), 1uy (uint8/byte), 1.0 (float/double), 1.0f (float32/single), 1.0m (decimal), 1I (bigint)." 1157,lexInvalidByteLiteral,"This is not a valid byte literal" 1158,lexInvalidCharLiteral,"This is not a valid character literal" diff --git a/src/Compiler/lex.fsl b/src/Compiler/lex.fsl index 1e48cc8d0a2..cd73aa454c2 100644 --- a/src/Compiler/lex.fsl +++ b/src/Compiler/lex.fsl @@ -488,14 +488,14 @@ rule token (args: LexArgs) (skip: bool) = parse let d = System.Decimal.Parse(s,System.Globalization.NumberStyles.AllowExponent ||| System.Globalization.NumberStyles.Number,System.Globalization.CultureInfo.InvariantCulture) DECIMAL d with - e -> fail args lexbuf (FSComp.SR.lexOusideDecimal()) (DECIMAL (decimal 0)) + e -> fail args lexbuf (FSComp.SR.lexOutsideDecimal()) (DECIMAL (decimal 0)) } | xieee32 { let s = removeUnderscores (lexemeTrimRight lexbuf 2) // Even though the intermediate step is an int64, display the "invalid float" message, since it will be less confusing to the user let n64 = (try (int64 s) with _ -> fail args lexbuf (FSComp.SR.lexInvalidFloat()) 0L) - if n64 > 0xFFFFFFFFL || n64 < 0L then fail args lexbuf (FSComp.SR.lexOusideThirtyTwoBitFloat()) (IEEE32 0.0f) else + if n64 > 0xFFFFFFFFL || n64 < 0L then fail args lexbuf (FSComp.SR.lexOutsideThirtyTwoBitFloat()) (IEEE32 0.0f) else IEEE32 (System.BitConverter.ToSingle(System.BitConverter.GetBytes(int32 (uint32 (uint64 n64))),0)) } | xieee64 diff --git a/src/Compiler/xlf/FSComp.txt.cs.xlf b/src/Compiler/xlf/FSComp.txt.cs.xlf index 29a83a20d98..9e2041be6a7 100644 --- a/src/Compiler/xlf/FSComp.txt.cs.xlf +++ b/src/Compiler/xlf/FSComp.txt.cs.xlf @@ -6417,12 +6417,12 @@ Neplatné číslo s plovoucí desetinnou čárkou - + This number is outside the allowable range for decimal literals Toto číslo je mimo povolený rozsah pro desítkové literály. - + This number is outside the allowable range for 32-bit floats Toto číslo je mimo povolený rozsah pro 32bitové číslo s plovoucí desetinnou čárkou. diff --git a/src/Compiler/xlf/FSComp.txt.de.xlf b/src/Compiler/xlf/FSComp.txt.de.xlf index e28b1177ea9..b7a54472a48 100644 --- a/src/Compiler/xlf/FSComp.txt.de.xlf +++ b/src/Compiler/xlf/FSComp.txt.de.xlf @@ -6417,12 +6417,12 @@ Ungültige Gleitkommazahl. - + This number is outside the allowable range for decimal literals Diese Zahl liegt außerhalb des zulässigen Bereichs für Dezimalliterale. - + This number is outside the allowable range for 32-bit floats Diese Zahl liegt außerhalb des zulässigen Bereichs für 32-Bit-Gleitkommastellen. diff --git a/src/Compiler/xlf/FSComp.txt.es.xlf b/src/Compiler/xlf/FSComp.txt.es.xlf index d86bb178a0d..3b2029ccc3a 100644 --- a/src/Compiler/xlf/FSComp.txt.es.xlf +++ b/src/Compiler/xlf/FSComp.txt.es.xlf @@ -6417,12 +6417,12 @@ Número de punto flotante no válido. - + This number is outside the allowable range for decimal literals Este número está fuera del intervalo permitido para literales decimales. - + This number is outside the allowable range for 32-bit floats Este número está fuera del intervalo permitido para flotantes de 32 bits. diff --git a/src/Compiler/xlf/FSComp.txt.fr.xlf b/src/Compiler/xlf/FSComp.txt.fr.xlf index e9cefd5803b..aa38b4e8922 100644 --- a/src/Compiler/xlf/FSComp.txt.fr.xlf +++ b/src/Compiler/xlf/FSComp.txt.fr.xlf @@ -6417,12 +6417,12 @@ Nombre à virgule flottante non valide - + This number is outside the allowable range for decimal literals Ce nombre se trouve en dehors de la plage autorisée pour les littéraux décimaux - + This number is outside the allowable range for 32-bit floats Ce nombre se trouve en dehors de la plage autorisée pour les valeurs float 32 bits diff --git a/src/Compiler/xlf/FSComp.txt.it.xlf b/src/Compiler/xlf/FSComp.txt.it.xlf index 539502d9670..8fd0dcfaea8 100644 --- a/src/Compiler/xlf/FSComp.txt.it.xlf +++ b/src/Compiler/xlf/FSComp.txt.it.xlf @@ -6417,12 +6417,12 @@ Numero a virgola mobile non valido - + This number is outside the allowable range for decimal literals Questo numero non è compreso nell'intervallo consentito per valori letterali decimali - + This number is outside the allowable range for 32-bit floats Questo numero non è compreso nell'intervallo consentito per valori float a 32 bit diff --git a/src/Compiler/xlf/FSComp.txt.ja.xlf b/src/Compiler/xlf/FSComp.txt.ja.xlf index a364c7953d6..0dd12ee7305 100644 --- a/src/Compiler/xlf/FSComp.txt.ja.xlf +++ b/src/Compiler/xlf/FSComp.txt.ja.xlf @@ -6417,12 +6417,12 @@ 浮動小数点数が無効です - + This number is outside the allowable range for decimal literals この数値は、10 進リテラルに使用できる範囲から外れています - + This number is outside the allowable range for 32-bit floats この数値は、32 ビット浮動小数点に使用できる範囲から外れています diff --git a/src/Compiler/xlf/FSComp.txt.ko.xlf b/src/Compiler/xlf/FSComp.txt.ko.xlf index 96768306e24..a95ed17034f 100644 --- a/src/Compiler/xlf/FSComp.txt.ko.xlf +++ b/src/Compiler/xlf/FSComp.txt.ko.xlf @@ -6417,12 +6417,12 @@ 부동 소수점 수가 잘못되었습니다. - + This number is outside the allowable range for decimal literals 이 숫자는 10진 리터럴에 대해 허용 가능한 범위를 벗어납니다. - + This number is outside the allowable range for 32-bit floats 이 숫자는 32비트 부동 수에 대해 허용 가능한 범위를 벗어납니다. diff --git a/src/Compiler/xlf/FSComp.txt.pl.xlf b/src/Compiler/xlf/FSComp.txt.pl.xlf index 22210fdee9c..2d8a082957d 100644 --- a/src/Compiler/xlf/FSComp.txt.pl.xlf +++ b/src/Compiler/xlf/FSComp.txt.pl.xlf @@ -6417,12 +6417,12 @@ Nieprawidłowa liczba zmiennoprzecinkowa - + This number is outside the allowable range for decimal literals Ta liczba jest poza dozwolonym zakresem literałów dziesiętnych - + This number is outside the allowable range for 32-bit floats Ta liczba jest poza dozwolonym zakresem 32-bitowych liczb zmiennoprzecinkowych diff --git a/src/Compiler/xlf/FSComp.txt.pt-BR.xlf b/src/Compiler/xlf/FSComp.txt.pt-BR.xlf index 8449413e457..ab92e7a8efe 100644 --- a/src/Compiler/xlf/FSComp.txt.pt-BR.xlf +++ b/src/Compiler/xlf/FSComp.txt.pt-BR.xlf @@ -6417,12 +6417,12 @@ Número do ponto flutuante inválido - + This number is outside the allowable range for decimal literals Este número está fora do intervalo permitido para literais decimais - + This number is outside the allowable range for 32-bit floats Este número está fora do intervalo permitido para floats de 32-bit diff --git a/src/Compiler/xlf/FSComp.txt.ru.xlf b/src/Compiler/xlf/FSComp.txt.ru.xlf index 41129014c1b..5c1b8a30392 100644 --- a/src/Compiler/xlf/FSComp.txt.ru.xlf +++ b/src/Compiler/xlf/FSComp.txt.ru.xlf @@ -6417,12 +6417,12 @@ Недопустимое число с плавающей точкой - + This number is outside the allowable range for decimal literals Это число находится вне допустимого диапазона для десятичных литералов - + This number is outside the allowable range for 32-bit floats Это число находится вне допустимого диапазона для 32-битных чисел с плавающей точкой diff --git a/src/Compiler/xlf/FSComp.txt.tr.xlf b/src/Compiler/xlf/FSComp.txt.tr.xlf index 659004ddc36..6fb22666262 100644 --- a/src/Compiler/xlf/FSComp.txt.tr.xlf +++ b/src/Compiler/xlf/FSComp.txt.tr.xlf @@ -6417,12 +6417,12 @@ Geçersiz kayan noktalı sayı - + This number is outside the allowable range for decimal literals Bu sayı, ondalık sabit değerleri için izin verilen aralığın dışında - + This number is outside the allowable range for 32-bit floats Bu sayı, 32 bit kayan noktalı sayılar için izin verilen aralığın dışında diff --git a/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf b/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf index 1b8716f794d..0d4033c4989 100644 --- a/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf +++ b/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf @@ -6417,12 +6417,12 @@ 浮点数无效 - + This number is outside the allowable range for decimal literals 此数字在允许的十进制文本范围之外 - + This number is outside the allowable range for 32-bit floats 此数字在允许的 32 位浮点数范围之外 diff --git a/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf b/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf index 43da50f6960..b23e1b578d8 100644 --- a/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf +++ b/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf @@ -6417,12 +6417,12 @@ 無效的浮點數 - + This number is outside the allowable range for decimal literals 這個數字已經超出十進位常值允許的範圍 - + This number is outside the allowable range for 32-bit floats 這個數字已經超出 32 位元浮點數允許的範圍