Browse Source

Fix bugs preventing generation of PDF guide [skip ci] (#19076)

tags/2.0.44
Alexey Rogachev 3 years ago committed by GitHub
parent
commit
58ac2e134e
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. 6
      docs/guide-ru/db-query-builder.md
  4. 2
      docs/guide-zh-CN/tutorial-i18n.md
  5. 2
      docs/guide/start-workflow.md
  6. 2
      docs/guide/structure-modules.md
  7. 2
      docs/guide/tutorial-i18n.md

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

@ -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, 

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

@ -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` を使うと、翻訳先ロケールの言語規則に基づいて序数のための文字列を選択することが出来ます。

6
docs/guide-ru/db-query-builder.md

@ -363,7 +363,7 @@ $query->filterWhere([
### [[yii\db\Query::orderBy()|orderBy()]] <span id="order-by"></span> ### [[yii\db\Query::orderBy()|orderBy()]] <span id="order-by"></span>
Метод [[yii\db\Query::orderBy()|orderBy()]] определяет фрагмент `ORDER BY` SQL выражения. Например, Метод [[yii\db\Query::orderBy()|orderBy()]] определяет фрагмент `ORDER BY` SQL выражения. Например,
```php ```php
// ... ORDER BY `id` ASC, `name` DESC // ... ORDER BY `id` ASC, `name` DESC
$query->orderBy([ $query->orderBy([
@ -460,14 +460,14 @@ $query->limit(10)->offset(20);
### [[yii\db\Query::join()|join()]] <span id="join"></span> ### [[yii\db\Query::join()|join()]] <span id="join"></span>
Метод [[yii\db\Query::join()|join()]] определяет фрагмент `JOIN` SQL запроса. Метод [[yii\db\Query::join()|join()]] определяет фрагмент `JOIN` SQL запроса.
```php ```php
// ... LEFT JOIN `post` ON `post`.`user_id` = `user`.`id` // ... LEFT JOIN `post` ON `post`.`user_id` = `user`.`id`
$query->join('LEFT JOIN', 'post', 'post.user_id = user.id'); $query->join('LEFT JOIN', 'post', 'post.user_id = user.id');
``` ```
Метод [[yii\db\Query::join()|join()]] принимает четыре параметра: Метод [[yii\db\Query::join()|join()]] принимает четыре параметра:
- `$type`: тип объединения, например, `'INNER JOIN'`, `'LEFT JOIN'`. - `$type`: тип объединения, например, `'INNER JOIN'`, `'LEFT JOIN'`.
- `$table`: имя таблицы, которая должна быть присоединена. - `$table`: имя таблицы, которая должна быть присоединена.
- `$on`: необязательное условие объединения, то есть фрагмент `ON`. Пожалуйста, обратитесь к документации для - `$on`: необязательное условие объединения, то есть фрагмент `ON`. Пожалуйста, обратитесь к документации для

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

@ -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` 的参数类型旨在为您所翻译的语言环境选择一个基于语序规则的字符串:
一个基于语序规则的字符串: 一个基于语序规则的字符串:

2
docs/guide/start-workflow.md

@ -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

2
docs/guide/structure-modules.md

@ -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

2
docs/guide/tutorial-i18n.md

@ -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:

Loading…
Cancel
Save