From 7da774864a237ae4ef9abdd61c1579e1a0b05425 Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Tue, 2 May 2017 20:00:53 +1000 Subject: [PATCH] l10n: make labels localizable (closes #327) --- index.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index ae593c6d..85ce2704 100644 --- a/index.html +++ b/index.html @@ -1504,7 +1504,7 @@

         dictionary PaymentItem {
-          required DOMString label;
+          required LocalizableString label;
           required PaymentCurrencyAmount amount;
           boolean pending = false;
         };
@@ -1680,7 +1680,7 @@ 

         dictionary PaymentShippingOption {
           required DOMString id;
-          required DOMString label;
+          required LocalizableString label;
           required PaymentCurrencyAmount amount;
           boolean selected = false;
         };
@@ -2847,6 +2847,10 @@ 

Web IDL
+

+ The LocalizableString typedef is defined by [[!WEBIDL-LS]]. +

When this specification says to throw an error, the user agent must