From 9ae5c4945f9988232c798a41e26bfdb1ddfe064c Mon Sep 17 00:00:00 2001 From: dabura667 Date: Fri, 18 Sep 2015 00:24:01 +0900 Subject: [PATCH 1/3] cut up translation for disclaimer so TM can match --- public/views/disclaimer.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/public/views/disclaimer.html b/public/views/disclaimer.html index baa3484fe..25306cdf5 100644 --- a/public/views/disclaimer.html +++ b/public/views/disclaimer.html @@ -13,19 +13,19 @@

-

+

+ Official English Disclaimer +

I affirm that I have read, understood, and agree with these terms.

diff --git a/src/js/controllers/disclaimer.js b/src/js/controllers/disclaimer.js index 1251e42bc..88533fd31 100644 --- a/src/js/controllers/disclaimer.js +++ b/src/js/controllers/disclaimer.js @@ -1,7 +1,7 @@ 'use strict'; angular.module('copayApp.controllers').controller('disclaimerController', - function($scope, $timeout, storageService, applicationService, gettextCatalog, isCordova) { + function($scope, $timeout, storageService, applicationService, gettextCatalog, isCordova, uxLanguage) { $scope.agree = function() { if (isCordova) { @@ -22,6 +22,7 @@ angular.module('copayApp.controllers').controller('disclaimerController', $scope.init = function() { storageService.getCopayDisclaimerFlag(function(err, val) { + $scope.lang = uxLanguage.currentLanguage; $scope.agreed = val; $timeout(function() { $scope.$digest();