commit 699c27607522195cff8af2892bde75673ae8811e
parent 993ada836fc6992997cc69c1672ceb8d2dcf08c2
Author: tg(x) <*@tg-x.net>
Date: Tue, 1 Mar 2016 15:30:03 +0100
wallet-wx-i18n
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-wallet-wx.rst b/dev-wallet-wx.rst
@@ -153,12 +153,12 @@ call `mocha` with the right parameters.
Internationalisation
--------------------
-Strings in the JavaScript code are internationalised using the following functions,
+Strings in the JavaScript code are internationalised using the following functions:
- *i18n*: translate string with arbitrary arguments, the result is returned as string.
.. code-block:: js
- i18n`You have ${n} coins.
+ i18n`You have ${n} coins.`
- *i18n.parts*: Interpolate i18nized values with arbitrary objects. Useful for example to include HTML elements.
.. code-block:: js