Changeset 52332 for trunk/src/wp-includes/pomo/entry.php
- Timestamp:
- 12/07/2021 12:18:50 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/pomo/entry.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pomo/entry.php
r52299 r52332 31 31 32 32 /** 33 * @param array $args associative array, support following keys: 34 * - singular (string) -- the string to translate, if omitted and empty entry will be created 35 * - plural (string) -- the plural form of the string, setting this will set {@link $is_plural} to true 36 * - translations (array) -- translations of the string and possibly -- its plural forms 37 * - context (string) -- a string differentiating two equal strings used in different contexts 38 * - translator_comments (string) -- comments left by translators 39 * - extracted_comments (string) -- comments left by developers 40 * - references (array) -- places in the code this strings is used, in relative_to_root_path/file.php:linenum form 41 * - flags (array) -- flags like php-format 33 * @param array $args { 34 * Arguments array, supports the following keys: 35 * 36 * @type string $singular The string to translate, if omitted an 37 * empty entry will be created. 38 * @type string $plural The plural form of the string, setting 39 * this will set {@link $is_plural} to true. 40 * @type array $translations Translations of the string and possibly 41 * its plural forms. 42 * @type string $context A string differentiating two equal strings 43 * used in different contexts. 44 * @type string $translator_comments Comments left by translators. 45 * @type string $extracted_comments Comments left by developers. 46 * @type array $references Places in the code this string is used, in 47 * relative_to_root_path/file.php:linenum form. 48 * @type array $flags Flags like php-format. 49 * } 42 50 */ 43 51 public function __construct( $args = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.