Skip to content

Commit dca59fc

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: Enhancement: New rules for DOCtor-RST. [#14421] Merged the new description into the current sentence Adding more information about default translation domain 'messages'
2 parents aa0bcda + 8d8b06c commit dca59fc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.doctor-rst.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ rules:
2525
no_namespace_after_use_statements: ~
2626
no_php_open_tag_in_code_block_php_directive: ~
2727
no_space_before_self_xml_closing_tag: ~
28+
only_backslashes_in_namespace_in_php_code_block: ~
29+
only_backslashes_in_use_statements_in_php_code_block: ~
2830
ordered_use_statements: ~
2931
php_prefix_before_bin_console: ~
3032
replace_code_block_types: ~

translation.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,10 @@ priority message files.
387387
The filename of the translation files is also important: each message file
388388
must be named according to the following path: ``domain.locale.loader``:
389389

390-
* **domain**: An optional way to organize messages into groups. Unless
390+
* **domain**: Domains are a way to organize messages into groups. Unless
391391
parts of the application are explicitly separated from each other, it is
392-
recommended to only use default ``messages`` domain;
392+
recommended to only use the default ``messages`` domain (e.g.
393+
``messages.en.yaml``).
393394

394395
* **locale**: The locale that the translations are for (e.g. ``en_GB``, ``en``, etc);
395396

0 commit comments

Comments
 (0)