From 7c0ca49d0351ce8edfb1533146ff5ceb1aba41cf Mon Sep 17 00:00:00 2001 From: "tg(x)" <*@tg-x.net> Date: Mon, 29 Feb 2016 18:19:20 +0100 Subject: html lang --- lib/i18n.ts | 6 +++++ pages/confirm-contract.html | 52 +++++++++++++++++++++------------------ pages/confirm-create-reserve.html | 36 ++++++++++++++------------- popup/popup.html | 12 ++++++--- style/wallet.css | 2 +- 5 files changed, 62 insertions(+), 46 deletions(-) diff --git a/lib/i18n.ts b/lib/i18n.ts index 60da6644f..230bddd7d 100644 --- a/lib/i18n.ts +++ b/lib/i18n.ts @@ -16,6 +16,12 @@ "use strict"; +document.addEventListener( + "DOMContentLoaded", + function () { + document.body.lang = chrome.i18n.getUILanguage(); + }); + declare var i18n: any; const JedModule = window["Jed"]; diff --git a/pages/confirm-contract.html b/pages/confirm-contract.html index 2eac4a8e8..e80fb50c9 100644 --- a/pages/confirm-contract.html +++ b/pages/confirm-contract.html @@ -1,30 +1,34 @@ - - + - - Taler Wallet: Confirm Reserve Creation - - - - - - - - - - -
- -

Payment Confirmation

-
+ + Taler Wallet: Confirm Reserve Creation + + + + + + + + + + + + + + + +
+ +

Payment Confirmation

+
- + -
-
-
+
+
+
+ - diff --git a/pages/confirm-create-reserve.html b/pages/confirm-create-reserve.html index e14d10221..b8cfd4a00 100644 --- a/pages/confirm-create-reserve.html +++ b/pages/confirm-create-reserve.html @@ -1,34 +1,36 @@ - - + + Taler Wallet: Select Taler Provider + + + + + - +
+ +

Select Taler Provider

+
-
- -

Select Taler Provider

-
+ - - -
- -
-
-
- -
+
+
+
+
+
+ diff --git a/popup/popup.html b/popup/popup.html index c67085c1b..fbf9c2193 100644 --- a/popup/popup.html +++ b/popup/popup.html @@ -1,8 +1,12 @@ + - + + + + @@ -11,10 +15,10 @@ + - -
+ +
- diff --git a/style/wallet.css b/style/wallet.css index 0af2240e0..230cf671e 100644 --- a/style/wallet.css +++ b/style/wallet.css @@ -135,4 +135,4 @@ button.linky { table, th, td { border: 1px solid black; -} \ No newline at end of file +} -- cgit v1.2.3