This commit is contained in:
Florian Dold 2016-09-26 22:56:01 +02:00
parent 99aa4d4c41
commit 0b354d2a5c

View File

@ -26,7 +26,7 @@ i18n.plural(i18n.foo`one bla ${"foo"}`, i18.foo`many bla ${"bar"}`);
let x = 42;
i18n.plural(i18n`I have ${x} apple`, i18`I have ${x} apples`);
i18n.plural(i18n`I have ${x} apple`, i18n`I have ${x} apples`);
console.log(i18n`${"foo"}Hello8,${123} World${42}`);