Line data Source code
1 : /** 2 : * Function is used by the extract-messages tool. 3 : * So it may only be used on a plain string, 4 : * it won't have any effect on a calculated string. 5 : */ 6 : function markForTranslation(message) 7 : { 8 8 : return message; 9 : } 10 : 11 : function markForTranslationWithContext(context, message) 12 : { 13 0 : return message; 14 : } 15 : 16 : function markForPluralTranslation(singularMessage, pluralMessage, number) 17 : { 18 0 : return { 19 : "message": singularMessage, 20 : "pluralMessage": pluralMessage, 21 : "pluralCount": number 22 : }; 23 : }