equal
deleted
inserted
replaced
16 /** |
16 /** |
17 * Whether the entry contains a string and its plural form, default is false |
17 * Whether the entry contains a string and its plural form, default is false |
18 * |
18 * |
19 * @var boolean |
19 * @var boolean |
20 */ |
20 */ |
21 var $is_plural = false; |
21 public $is_plural = false; |
22 |
22 |
23 var $context = null; |
23 public $context = null; |
24 var $singular = null; |
24 public $singular = null; |
25 var $plural = null; |
25 public $plural = null; |
26 var $translations = array(); |
26 public $translations = array(); |
27 var $translator_comments = ''; |
27 public $translator_comments = ''; |
28 var $extracted_comments = ''; |
28 public $extracted_comments = ''; |
29 var $references = array(); |
29 public $references = array(); |
30 var $flags = array(); |
30 public $flags = array(); |
31 |
31 |
32 /** |
32 /** |
33 * @param array $args associative array, support following keys: |
33 * @param array $args associative array, support following keys: |
34 * - singular (string) -- the string to translate, if omitted and empty entry will be created |
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 |
35 * - plural (string) -- the plural form of the string, setting this will set {@link $is_plural} to true |