{number} is replaced by number argument passed to formater.
{number : subexpression [, subexpression]} is replaced by value of first subexpression which match.
Each subexpression looks like condition -> 'value' pair (in last subexpression you can skip condition -> part, that subexpression always match). In value parr you can use {number} expressions. All special symbols must be escaped with '\' char.
'number1 .. number2' - match if rule argument is number between number1 and number2 inclusive.
'number1' - match if rule argument is equal to number1.
'null' - match if rule argument is null.
'/regexp/' match if rule argument is matched by regexp.
All conditions can be prepended with negation symbol ('!').
|
|
Create new StringBundle object.
|
|
||||||||||||
|
Get string from bundle, and format it. This method use default mozilla syntax format strings..
|
|
||||||||||||
|
Format string from bundle, which use extended syntax. This syntax is described in extended format string definition.
|
|
|
Get string from bundle.
|
1.4.0