From 9b18dd65d4cdab9dde07757aec1cdafcbf58942e Mon Sep 17 00:00:00 2001 From: JediKev <kevin@enhancesoft.com> Date: Wed, 4 Sep 2019 11:25:00 -0500 Subject: [PATCH] i18n: Register Include This addresses issue 4965 where the register.inc.php file for clients was missing translations for the action buttons. --- include/client/register.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/client/register.inc.php b/include/client/register.inc.php index a08e35fc9..4d64e0322 100644 --- a/include/client/register.inc.php +++ b/include/client/register.inc.php @@ -92,8 +92,8 @@ $info = Format::htmlchars(($errors && $_POST)?$_POST:$info); </table> <hr> <p style="text-align: center;"> - <input type="submit" value="Register"/> - <input type="button" value="Cancel" onclick="javascript: + <input type="submit" value="<?php echo __('Register'); ?>"/> + <input type="button" value="<?php echo __('Cancel'); ?>" onclick="javascript: window.location.href='index.php';"/> </p> </form> -- GitLab