Browse Source

update ICU documentation link (#19128)

tags/2.0.45
Ihor Sychevskyi 3 years ago committed by GitHub
parent
commit
0167c9b961
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/guide-fr/tutorial-i18n.md
  2. 2
      docs/guide-ja/tutorial-i18n.md
  3. 2
      docs/guide-ru/tutorial-i18n.md
  4. 2
      docs/guide-zh-CN/tutorial-i18n.md
  5. 2
      docs/guide/tutorial-i18n.md

2
docs/guide-fr/tutorial-i18n.md

@ -163,7 +163,7 @@ forme complète : {name,type,style}
echo Yii::t('app', "Example of string with ''-escaped characters'': '{' '}' '{test}' {count,plural,other{''count'' value is # '#{}'}}", ['count' => 3]);
```
Le format complet est décrit dans la [documentation ICU](http://icu-project.org/apiref/icu4c/classMessageFormat.html).
Le format complet est décrit dans la [documentation ICU](https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classMessageFormat.html).
Dans ce qui suit, nous allons présenter quelques usages courants.

2
docs/guide-ja/tutorial-i18n.md

@ -256,7 +256,7 @@ echo \Yii::t('app', 'Price: {0,number,currency}', $price);
echo Yii::t('app', "Example of string with ''-escaped characters'': '{' '}' '{test}' {count,plural,other{''count'' value is # '#{}'}}", ['count' => 3]);
+```
このようなプレースホルダを指定する方法についての完全な説明は、[ICU ドキュメント](http://icu-project.org/apiref/icu4c/classMessageFormat.html)を参照してください。以下では、よくある使用方法をいくつか示します。
このようなプレースホルダを指定する方法についての完全な説明は、[ICU ドキュメント](https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classMessageFormat.html)を参照してください。以下では、よくある使用方法をいくつか示します。
#### 数値 <span id="number"></span>

2
docs/guide-ru/tutorial-i18n.md

@ -138,7 +138,7 @@ echo \Yii::t('app', 'Balance: {0}', $sum);
После этого вам станет доступен расширенный синтаксис указателей, а также сокращённая запись `{placeholderName, argumentType}`,
эквивалентная форме `{placeholderName, argumentType, argumentStyle}`, позволяющая определять стиль форматирования.
Полная документация доступна на [сайте ICU](http://icu-project.org/apiref/icu4c/classMessageFormat.html), но далее в
Полная документация доступна на [сайте ICU](https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classMessageFormat.html), но далее в
документации будут приведены примеры использования расширенных возможностей интернационализации.
#### Числа

2
docs/guide-zh-CN/tutorial-i18n.md

@ -246,7 +246,7 @@ full form: {PlaceholderName, ParameterType, ParameterStyle}
echo Yii::t('app', "Example of string with ''-escaped characters'': '{' '}' '{test}' {count,plural,other{''count'' value is # '#{}'}}", ['count' => 3]);
```
请参阅 [ICU 文档](http://icu-project.org/apiref/icu4c/classMessageFormat.html)
请参阅 [ICU 文档](https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classMessageFormat.html)
关于如何指定这样的占位符的说明。接下来我们会展示一些常用的使用方法。

2
docs/guide/tutorial-i18n.md

@ -246,7 +246,7 @@ full form: {name,type,style}
echo Yii::t('app', "Example of string with ''-escaped characters'': '{' '}' '{test}' {count,plural,other{''count'' value is # '#{}'}}", ['count' => 3]);
```
Complete format is described in the [ICU documentation](http://icu-project.org/apiref/icu4c/classMessageFormat.html).
Complete format is described in the [ICU documentation](https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classMessageFormat.html).
In the following we will show some common usages.

Loading…
Cancel
Save