forked from yiisoft/yii-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
38 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
* | ||
* A message source stores message translations in some persistent storage. | ||
* | ||
* Child classes should override {@see loadMessages()} to provide translated messages. | ||
* Child classes should override {@see MessageSource::loadMessages()} to provide translated messages. | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
* @since 2.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
* | ||
* - Each PHP script contains one array which stores the message translations in one particular | ||
* language and for a single message category; | ||
* - Each PHP script is saved as a file named as "{@see basePath}/LanguageID/CategoryName.php"; | ||
* - Each PHP script is saved as a file named as "{@see PhpMessageSource::basePath}/LanguageID/CategoryName.php"; | ||
* - Within each PHP script, the message translations are returned as an array like the following: | ||
* | ||
* ```php | ||
|
@@ -27,7 +27,7 @@ | |
* ]; | ||
* ``` | ||
* | ||
* You may use {@see fileMap} to customize the association between category names and the file names. | ||
* You may use {@see PhpMessageSource::fileMap} to customize the association between category names and the file names. | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
* @since 2.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* @property MessageFormatter $messageFormatter The message formatter to be used to format message via ICU | ||
* message format. Note that the type of this property differs in getter and setter. See | ||
* {@see getMessageFormatter()} and {@see setMessageFormatter()} for details. | ||
* {@see Translator::getMessageFormatter()} and {@see Translator::setMessageFormatter()} for details. | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
* @since 2.0 | ||
|