diff options
Diffstat (limited to 'extension/popup/popup.tsx')
-rw-r--r-- | extension/popup/popup.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extension/popup/popup.tsx b/extension/popup/popup.tsx index 11f722d4b..a5d271b5c 100644 --- a/extension/popup/popup.tsx +++ b/extension/popup/popup.tsx @@ -116,6 +116,11 @@ namespace WalletBalance { let link = m("a[href=https://demo.taler.net]", {config: openInExtension}, i18n`free KUDOS`); + // i18n test + let amount = 5, currency = "EUR", date = new Date(), text = 'demo.taler.net'; + console.log (i18n`Your balance on ${date} is ${amount} KUDO. Get more at ${text}`); + console.log (i18n.parts`Your balance on ${date} is ${amount} KUDO. Get more at ${link}`); + return i18n.parts`You have no balance to show. Want to get some ${link}?`; } } @@ -272,4 +277,3 @@ function openTab(page) { }); } } - |