From c57126dc748aeed6eaf0ddd3d79e745e440a05b4 Mon Sep 17 00:00:00 2001
From: Joost van Dijk
Date: Thu, 17 Sep 2015 17:56:46 +0200
Subject: [PATCH] add more i18n
---
www/tiqr/locales/en.yml | 1 +
www/tiqr/locales/nl.yml | 1 +
www/tiqr/views/index.html | 39 +++++++++++++++++++--------------------
3 files changed, 21 insertions(+), 20 deletions(-)
diff --git a/www/tiqr/locales/en.yml b/www/tiqr/locales/en.yml
index 6964482f..c2e8e57d 100644
--- a/www/tiqr/locales/en.yml
+++ b/www/tiqr/locales/en.yml
@@ -16,6 +16,7 @@ login:
otp: One time password
button: Go
no_account: No account yet? Please create a new account %link_start%here%link_end%.
+ cancel: Cancel
enrol:
title: Register new Tiqr account
status:
diff --git a/www/tiqr/locales/nl.yml b/www/tiqr/locales/nl.yml
index 2dc008d8..f7e067b3 100644
--- a/www/tiqr/locales/nl.yml
+++ b/www/tiqr/locales/nl.yml
@@ -16,6 +16,7 @@ login:
otp: One time password
button: Go
no_account: Geen account? Maak er dan %link_start%hier%link_end% eerst een aan.
+ cancel: Annuleren
enrol:
title: Registreer nieuw Tiqr-account
status:
diff --git a/www/tiqr/views/index.html b/www/tiqr/views/index.html
index dc2825ad..f933c043 100644
--- a/www/tiqr/views/index.html
+++ b/www/tiqr/views/index.html
@@ -2,7 +2,7 @@
- Inloggen met tiqr
+ tiqr login
@@ -38,14 +38,14 @@
-{% include "localeform.html" %}
-{{ 'login.title' | trans }}
+{% include "localeform.html" %}
+ {{ 'login.title' | trans }}
-{% if id %}
-
- {{ 'login.push.message' | trans }}
-
+ {% if id %}
+
+ {{ 'login.push.message' | trans }}
+
- {{ 'login.push.instructions.1' | trans }}
- {{ 'login.push.instructions.2' | trans }}
@@ -69,25 +69,24 @@ {{ 'login.title' | trans }}
{% endif %}
-
- {{ 'login.qr.no_account' | trans({'%link_start%': '', '%link_end%': ''}) | raw }}
-
+
+ {{ 'login.qr.no_account' | trans({'%link_start%': '', '%link_end%': ''}) | raw }}
+
-
+
-