Browse Source

Change 'de' to 'en' in comments of Formatter.php

9899-cache-bug
Alexandr 9 years ago
parent
commit
ded75253ca
  1. 20
      framework/i18n/Formatter.php

20
framework/i18n/Formatter.php

@ -95,7 +95,7 @@ class Formatter extends Component
* *
* It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax). * It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax).
* Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the * Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the
* PHP [date()](http://php.net/manual/de/function.date.php)-function. * PHP [date()](http://php.net/manual/en/function.date.php)-function.
* *
* For example: * For example:
* *
@ -111,7 +111,7 @@ class Formatter extends Component
* *
* It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax). * It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax).
* Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the * Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the
* PHP [date()](http://php.net/manual/de/function.date.php)-function. * PHP [date()](http://php.net/manual/en/function.date.php)-function.
* *
* For example: * For example:
* *
@ -128,7 +128,7 @@ class Formatter extends Component
* It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax). * It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax).
* *
* Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the * Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the
* PHP [date()](http://php.net/manual/de/function.date.php)-function. * PHP [date()](http://php.net/manual/en/function.date.php)-function.
* *
* For example: * For example:
* *
@ -196,7 +196,7 @@ class Formatter extends Component
* Please refer to the [PHP manual](http://php.net/manual/en/class.numberformatter.php#intl.numberformatter-constants.unumberformatsymbol) * Please refer to the [PHP manual](http://php.net/manual/en/class.numberformatter.php#intl.numberformatter-constants.unumberformatsymbol)
* for the possible options. * for the possible options.
* *
* For example to choose a custom currency symbol, e.g. [U+20BD](http://unicode-table.com/de/20BD/) instead of `руб.` for Russian Ruble: * For example to choose a custom currency symbol, e.g. [U+20BD](http://unicode-table.com/en/20BD/) instead of `руб.` for Russian Ruble:
* *
* ```php * ```php
* [ * [
@ -447,7 +447,7 @@ class Formatter extends Component
* It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime). * It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime).
* *
* Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the * Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the
* PHP [date()](http://php.net/manual/de/function.date.php)-function. * PHP [date()](http://php.net/manual/en/function.date.php)-function.
* *
* @return string the formatted result. * @return string the formatted result.
* @throws InvalidParamException if the input value can not be evaluated as a date value. * @throws InvalidParamException if the input value can not be evaluated as a date value.
@ -479,7 +479,7 @@ class Formatter extends Component
* It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime). * It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime).
* *
* Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the * Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the
* PHP [date()](http://php.net/manual/de/function.date.php)-function. * PHP [date()](http://php.net/manual/en/function.date.php)-function.
* *
* @return string the formatted result. * @return string the formatted result.
* @throws InvalidParamException if the input value can not be evaluated as a date value. * @throws InvalidParamException if the input value can not be evaluated as a date value.
@ -511,7 +511,7 @@ class Formatter extends Component
* It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime). * It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime).
* *
* Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the * Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the
* PHP [date()](http://php.net/manual/de/function.date.php)-function. * PHP [date()](http://php.net/manual/en/function.date.php)-function.
* *
* @return string the formatted result. * @return string the formatted result.
* @throws InvalidParamException if the input value can not be evaluated as a date value. * @throws InvalidParamException if the input value can not be evaluated as a date value.
@ -1170,9 +1170,9 @@ class Formatter extends Component
/** /**
* Normalizes a numeric input value * Normalizes a numeric input value
* *
* - everything [empty](http://php.net/manual/de/function.empty.php) will result in `0` * - everything [empty](http://php.net/manual/en/function.empty.php) will result in `0`
* - a [numeric](http://php.net/manual/de/function.is-numeric.php) string will be casted to float * - a [numeric](http://php.net/manual/en/function.is-numeric.php) string will be casted to float
* - everything else will be returned if it is [numeric](http://php.net/manual/de/function.is-numeric.php), * - everything else will be returned if it is [numeric](http://php.net/manual/en/function.is-numeric.php),
* otherwise an exception is thrown. * otherwise an exception is thrown.
* *
* @param mixed $value the input value * @param mixed $value the input value

Loading…
Cancel
Save