summaryrefslogtreecommitdiff
path: root/dev-wallet-wx.rst
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-09-21 14:01:09 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-09-21 14:01:09 +0200
commitf3bdacc82bd86c4895dd5ec62b4093a8716f8503 (patch)
tree9f189e5dfc87bd3c4767807113cb15da8c48494a /dev-wallet-wx.rst
parent0f8d396a7163a40b52a21b9896a7656ab7916d06 (diff)
downloaddocs-f3bdacc82bd86c4895dd5ec62b4093a8716f8503.tar.gz
docs-f3bdacc82bd86c4895dd5ec62b4093a8716f8503.tar.bz2
docs-f3bdacc82bd86c4895dd5ec62b4093a8716f8503.zip
addressing warnings and error in compilation
Diffstat (limited to 'dev-wallet-wx.rst')
-rw-r--r--dev-wallet-wx.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-wallet-wx.rst b/dev-wallet-wx.rst
index 5995226..8ba2997 100644
--- a/dev-wallet-wx.rst
+++ b/dev-wallet-wx.rst
@@ -170,12 +170,14 @@ Internationalisation
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.parts*: Interpolate i18nized values with arbitrary objects.
Useful for example to include HTML elements.
+
.. code-block:: js
i18n.parts`Visit ${link} to get more coins.`