From 2bf990d0509500cf2f4113680e2dcd37b4d8c8ea Mon Sep 17 00:00:00 2001 From: Matthew Vita Date: Wed, 26 Oct 2016 02:43:57 -0400 Subject: [PATCH] translations for product registration dialog close (#330) --- interface/login/login.php | 3 ++- interface/main/about_page.php | 5 +++-- interface/product_registration/product_registration_controller.js | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/interface/login/login.php b/interface/login/login.php index 10757bdd4..a0c82004f 100644 --- a/interface/login/login.php +++ b/interface/login/login.php @@ -55,7 +55,8 @@ var registrationTranslations = xla('No Thanks'), 'registeredEmail' => xla('Registered email'), 'registeredId' => xla('Registered id'), - 'genericError' => xla('Error. Try again later') + 'genericError' => xla('Error. Try again later'), + 'closeTooltip' => xla('Close') )); ?>; diff --git a/interface/main/about_page.php b/interface/main/about_page.php index 4d0a6b030..ba0695253 100644 --- a/interface/main/about_page.php +++ b/interface/main/about_page.php @@ -83,7 +83,8 @@ require_once("../globals.php"); 'noThanks' => xla('No Thanks'), 'registeredEmail' => xla('Registered email'), 'registeredId' => xla('Registered id'), - 'genericError' => xla('Error. Try again later') + 'genericError' => xla('Error. Try again later'), + 'closeTooltip' => xla('Close') )); ?>; @@ -137,4 +138,4 @@ require_once("../globals.php");

- \ No newline at end of file + diff --git a/interface/product_registration/product_registration_controller.js b/interface/product_registration/product_registration_controller.js index 6bb2b5dad..7a154e02c 100644 --- a/interface/product_registration/product_registration_controller.js +++ b/interface/product_registration/product_registration_controller.js @@ -48,7 +48,8 @@ function ProductRegistrationController() { draggable: false, title: registrationTranslations.title, modal: true, - buttons: buttonObject + buttons: buttonObject, + closeText: registrationTranslations.closeTooltip }); // Wire up "enter key" handler in case user doesn't click the modal buttons manually -- 2.11.4.GIT