examples
This commit is contained in:
parent
99aa4d4c41
commit
0b354d2a5c
@ -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}`);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user