diff --git a/docs/guide-fr/tutorial-i18n.md b/docs/guide-fr/tutorial-i18n.md index df2eb0bbcd..e07f8e3b8c 100644 --- a/docs/guide-fr/tutorial-i18n.md +++ b/docs/guide-fr/tutorial-i18n.md @@ -350,7 +350,7 @@ echo Yii::t('app', 'You {likeCount,plural, // You and one other person liked this ``` -#### Sélection ordinale +#### Sélection ordinale 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,  diff --git a/docs/guide-ja/tutorial-i18n.md b/docs/guide-ja/tutorial-i18n.md index 243dc3ce46..adb1dd9fc5 100644 --- a/docs/guide-ja/tutorial-i18n.md +++ b/docs/guide-ja/tutorial-i18n.md @@ -500,7 +500,7 @@ echo Yii::t('app', 'You {likeCount,plural, > 横着をして、`{n, plural, ...}` を `{n, number}` に置き換えても、多分、大きな問題は生じないでしょう。 -#### 序数選択肢 +#### 序数選択肢 パラメータのタイプとして `selectordinal` を使うと、翻訳先ロケールの言語規則に基づいて序数のための文字列を選択することが出来ます。 diff --git a/docs/guide-ru/db-query-builder.md b/docs/guide-ru/db-query-builder.md index 967b9e6eed..89d049cf9e 100644 --- a/docs/guide-ru/db-query-builder.md +++ b/docs/guide-ru/db-query-builder.md @@ -363,7 +363,7 @@ $query->filterWhere([ ### [[yii\db\Query::orderBy()|orderBy()]] Метод [[yii\db\Query::orderBy()|orderBy()]] определяет фрагмент `ORDER BY` SQL выражения. Например, - + ```php // ... ORDER BY `id` ASC, `name` DESC $query->orderBy([ @@ -460,14 +460,14 @@ $query->limit(10)->offset(20); ### [[yii\db\Query::join()|join()]] Метод [[yii\db\Query::join()|join()]] определяет фрагмент `JOIN` SQL запроса. - + ```php // ... LEFT JOIN `post` ON `post`.`user_id` = `user`.`id` $query->join('LEFT JOIN', 'post', 'post.user_id = user.id'); ``` Метод [[yii\db\Query::join()|join()]] принимает четыре параметра: - + - `$type`: тип объединения, например, `'INNER JOIN'`, `'LEFT JOIN'`. - `$table`: имя таблицы, которая должна быть присоединена. - `$on`: необязательное условие объединения, то есть фрагмент `ON`. Пожалуйста, обратитесь к документации для diff --git a/docs/guide-zh-CN/tutorial-i18n.md b/docs/guide-zh-CN/tutorial-i18n.md index 4d855adb0a..8ea0c9efa2 100644 --- a/docs/guide-zh-CN/tutorial-i18n.md +++ b/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 ``` -#### 序数选择(Ordinal selection) +#### 序数选择(Ordinal selection) `selectordinal` 的参数类型旨在为您所翻译的语言环境选择一个基于语序规则的字符串: 一个基于语序规则的字符串: diff --git a/docs/guide/start-workflow.md b/docs/guide/start-workflow.md index 202841cdc8..454b07e2de 100644 --- a/docs/guide/start-workflow.md +++ b/docs/guide/start-workflow.md @@ -42,7 +42,7 @@ Application Structure The most important directories and files in your application are (assuming the application's root directory is `basic`): -```js +``` basic/ application base path composer.json used by Composer, describes package information config/ contains application and other configurations diff --git a/docs/guide/structure-modules.md b/docs/guide/structure-modules.md index 3567a1443e..35ca09b8f1 100644 --- a/docs/guide/structure-modules.md +++ b/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, models, views, and other code, just like in an application. The following example shows the content within a module: -```js +``` forum/ Module.php the module class file controllers/ containing controller class files diff --git a/docs/guide/tutorial-i18n.md b/docs/guide/tutorial-i18n.md index 2123f57d91..b9ab117532 100644 --- a/docs/guide/tutorial-i18n.md +++ b/docs/guide/tutorial-i18n.md @@ -441,7 +441,7 @@ echo Yii::t('app', 'You {likeCount,plural, // You and one other person liked this ``` -#### Ordinal selection +#### Ordinal selection The parameter type of `selectordinal` is meant to choose a string based on language rules for ordinals for the locale you are translating to: