summaryrefslogtreecommitdiff
path: root/taler-merchant-pos-terminal.rst
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-03-02 17:34:13 -0300
committerTorsten Grote <t@grobox.de>2020-03-02 17:34:13 -0300
commit1cd31101036559e6a02c10ee2e6e60f283f925c7 (patch)
tree72cacc1daf69026c343dd4f3e2d59f820d6b6555 /taler-merchant-pos-terminal.rst
parentbe60dad5283e0afb0ecbbb167a67fc6ce083d41b (diff)
downloaddocs-1cd31101036559e6a02c10ee2e6e60f283f925c7.tar.gz
docs-1cd31101036559e6a02c10ee2e6e60f283f925c7.tar.bz2
docs-1cd31101036559e6a02c10ee2e6e60f283f925c7.zip
Move to better backwards-compatible i18n format for contract terms
Diffstat (limited to 'taler-merchant-pos-terminal.rst')
-rw-r--r--taler-merchant-pos-terminal.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/taler-merchant-pos-terminal.rst b/taler-merchant-pos-terminal.rst
index 02cb64b7..b606461a 100644
--- a/taler-merchant-pos-terminal.rst
+++ b/taler-merchant-pos-terminal.rst
@@ -126,6 +126,9 @@ The elements of the JSON file are defined as follows:
// The name of the category. This will be shown to users and used in the order summary.
name: string;
+
+ // Map from IETF BCP 47 language tags to localized names
+ name_i18n?: { [lang_tag: string]: string };
}
@@ -139,6 +142,9 @@ The elements of the JSON file are defined as follows:
// that will be shown to the user and used in contract terms
description: string;
+ // Map from IETF BCP 47 language tags to localized descriptions
+ description_i18n?: { [lang_tag: string]: string };
+
// The price of the product
price: Amount;