mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 13:02:24 +08:00
Fix bugs preventing generation of PDF guide [skip ci] (#19076)
This commit is contained in:
@ -350,7 +350,7 @@ echo Yii::t('app', 'You {likeCount,plural,
|
|||||||
// You and one other person liked this
|
// You and one other person liked this
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Sélection ordinale <span id="ordinal-selection">
|
#### Sélection ordinale <span id="ordinal-selection"></span>
|
||||||
|
|
||||||
L'argument `selectordinal` pour une valeur à remplacer numérique a pour but de choisir une chaîne de caractères basée sur les règles linguistiques de la locale cible pour les ordinaux. Ainsi,
|
L'argument `selectordinal` pour une valeur à remplacer numérique a pour but de choisir une chaîne de caractères basée sur les règles linguistiques de la locale cible pour les ordinaux. Ainsi,
|
||||||
|
|
||||||
|
|||||||
@ -500,7 +500,7 @@ echo Yii::t('app', 'You {likeCount,plural,
|
|||||||
> 横着をして、`{n, plural, ...}` を `{n, number}` に置き換えても、多分、大きな問題は生じないでしょう。
|
> 横着をして、`{n, plural, ...}` を `{n, number}` に置き換えても、多分、大きな問題は生じないでしょう。
|
||||||
|
|
||||||
|
|
||||||
#### 序数選択肢 <span id="ordinal-selection">
|
#### 序数選択肢 <span id="ordinal-selection"></span>
|
||||||
|
|
||||||
パラメータのタイプとして `selectordinal` を使うと、翻訳先ロケールの言語規則に基づいて序数のための文字列を選択することが出来ます。
|
パラメータのタイプとして `selectordinal` を使うと、翻訳先ロケールの言語規則に基づいて序数のための文字列を選択することが出来ます。
|
||||||
|
|
||||||
|
|||||||
@ -441,7 +441,7 @@ echo Yii::t('app', 'You {likeCount,plural,
|
|||||||
// You and one other person liked this
|
// You and one other person liked this
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 序数选择(Ordinal selection) <span id="ordinal-selection">
|
#### 序数选择(Ordinal selection) <span id="ordinal-selection"></span>
|
||||||
|
|
||||||
`selectordinal` 的参数类型旨在为您所翻译的语言环境选择一个基于语序规则的字符串:
|
`selectordinal` 的参数类型旨在为您所翻译的语言环境选择一个基于语序规则的字符串:
|
||||||
一个基于语序规则的字符串:
|
一个基于语序规则的字符串:
|
||||||
|
|||||||
@ -42,7 +42,7 @@ Application Structure <span id="application-structure"></span>
|
|||||||
|
|
||||||
The most important directories and files in your application are (assuming the application's root directory is `basic`):
|
The most important directories and files in your application are (assuming the application's root directory is `basic`):
|
||||||
|
|
||||||
```js
|
```
|
||||||
basic/ application base path
|
basic/ application base path
|
||||||
composer.json used by Composer, describes package information
|
composer.json used by Composer, describes package information
|
||||||
config/ contains application and other configurations
|
config/ contains application and other configurations
|
||||||
|
|||||||
@ -14,7 +14,7 @@ A module is organized as a directory which is called the [[yii\base\Module::base
|
|||||||
Within the directory, there are sub-directories, such as `controllers`, `models`, `views`, which hold controllers,
|
Within the directory, there are sub-directories, such as `controllers`, `models`, `views`, which hold controllers,
|
||||||
models, views, and other code, just like in an application. The following example shows the content within a module:
|
models, views, and other code, just like in an application. The following example shows the content within a module:
|
||||||
|
|
||||||
```js
|
```
|
||||||
forum/
|
forum/
|
||||||
Module.php the module class file
|
Module.php the module class file
|
||||||
controllers/ containing controller class files
|
controllers/ containing controller class files
|
||||||
|
|||||||
@ -441,7 +441,7 @@ echo Yii::t('app', 'You {likeCount,plural,
|
|||||||
// You and one other person liked this
|
// You and one other person liked this
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Ordinal selection <span id="ordinal-selection">
|
#### Ordinal selection <span id="ordinal-selection"></span>
|
||||||
|
|
||||||
The parameter type of `selectordinal` is meant to choose a string based on language rules for ordinals for the
|
The parameter type of `selectordinal` is meant to choose a string based on language rules for ordinals for the
|
||||||
locale you are translating to:
|
locale you are translating to:
|
||||||
|
|||||||
Reference in New Issue
Block a user