* @param {object} parameters
* @see wcf\system\template\plugin\PluralFunctionTemplatePlugin::execute()
*/
- getCategoryFromTemplateParmeters: function(parameters) {
+ getCategoryFromTemplateParameters: function(parameters) {
if (!parameters['value'] ) {
throw new Error('Missing parameter value');
}
+ "return (looped ? result : " + ($5 || "''") + "); })()"
}
| '{plural' PLURAL_PARAMETER_LIST '}' {
- $$ = "I18nPlural.getCategoryFromTemplateParmeters({"
+ $$ = "I18nPlural.getCategoryFromTemplateParameters({"
var needsComma = false;
for (var key in $2) {
if (objOwns($2, key)) {
break;
case 12:
- this.$ = "I18nPlural.getCategoryFromTemplateParmeters({"
+ this.$ = "I18nPlural.getCategoryFromTemplateParameters({"
var needsComma = false;
for (var key in $$[$0-1]) {
if (objOwns($$[$0-1], key)) {