From 0a8dcfb5ea61e84fb67005d3fe81312e5fecab02 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Tue, 21 Oct 2014 12:26:27 -0400 Subject: [PATCH] Added missing translations. - Thanks to Ere Maijala for catching these problems. --- themes/blueprint/templates/myresearch/newpassword.phtml | 2 +- themes/bootstrap/templates/Auth/AbstractBase/login.phtml | 2 +- themes/bootstrap/templates/myresearch/newpassword.phtml | 2 +- themes/bootstrap3/templates/Auth/AbstractBase/login.phtml | 2 +- themes/bootstrap3/templates/myresearch/cataloglogin.phtml | 2 +- themes/bootstrap3/templates/myresearch/newpassword.phtml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/themes/blueprint/templates/myresearch/newpassword.phtml b/themes/blueprint/templates/myresearch/newpassword.phtml index 28667d974a5..92f10533e5b 100644 --- a/themes/blueprint/templates/myresearch/newpassword.phtml +++ b/themes/blueprint/templates/myresearch/newpassword.phtml @@ -12,7 +12,7 @@ <input type="hidden" value="<?=$this->escapeHtmlAttr($this->username) ?>" name="username"/> <input type="hidden" value="<?=$this->escapeHtmlAttr($this->auth_method) ?>" name="auth_method"/> <?=$this->recaptcha()->html($this->useRecaptcha) ?> - <input name="submit" type="submit"/> + <input name="submit" type="submit" value="<?=$this->transEsc('Submit')?>"/> </form> <? endif; ?> </div> diff --git a/themes/bootstrap/templates/Auth/AbstractBase/login.phtml b/themes/bootstrap/templates/Auth/AbstractBase/login.phtml index 67db2556934..2b531a0fed4 100644 --- a/themes/bootstrap/templates/Auth/AbstractBase/login.phtml +++ b/themes/bootstrap/templates/Auth/AbstractBase/login.phtml @@ -9,7 +9,7 @@ <? if ($account->supportsCreation()): ?> <a class="btn btn-link createAccountLink" href="<?=$this->url('myresearch-account') ?>?auth_method=<?=$this->auth()->getActiveAuthMethod()?>"><?=$this->transEsc('Create New Account')?></a> <? endif; ?> - <input class="btn btn-primary" type="submit" name="processLogin" value="Login"> + <input class="btn btn-primary" type="submit" name="processLogin" value="<?=$this->transEsc('Login')?>"> <? if ($account->supportsRecovery()): ?> <br/> <a class="btn btn-link" href="<?=$this->url('myresearch-recover') ?>?auth_method=<?=$this->auth()->getActiveAuthMethod()?>"><?=$this->transEsc('Forgot Password')?></a> diff --git a/themes/bootstrap/templates/myresearch/newpassword.phtml b/themes/bootstrap/templates/myresearch/newpassword.phtml index cff6c5e0d9d..cdb2d5d94ab 100644 --- a/themes/bootstrap/templates/myresearch/newpassword.phtml +++ b/themes/bootstrap/templates/myresearch/newpassword.phtml @@ -14,7 +14,7 @@ <?=$this->recaptcha()->html($this->useRecaptcha) ?> <div class="control-group"> <div class="controls"> - <input class="btn" name="submit" type="submit"/> + <input class="btn" name="submit" type="submit" value="<?=$this->transEsc('Submit')?>"/> </div> </div> </form> diff --git a/themes/bootstrap3/templates/Auth/AbstractBase/login.phtml b/themes/bootstrap3/templates/Auth/AbstractBase/login.phtml index 40b093d0260..6046ca9a4ee 100644 --- a/themes/bootstrap3/templates/Auth/AbstractBase/login.phtml +++ b/themes/bootstrap3/templates/Auth/AbstractBase/login.phtml @@ -9,7 +9,7 @@ <? if ($account->supportsCreation()): ?> <a class="btn btn-link createAccountLink" href="<?=$this->url('myresearch-account') ?>?auth_method=<?=$this->auth()->getActiveAuthMethod()?>"><?=$this->transEsc('Create New Account')?></a> <? endif; ?> - <input class="btn btn-primary" type="submit" name="processLogin" value="Login"> + <input class="btn btn-primary" type="submit" name="processLogin" value="<?=$this->transEsc('Login')?>"> <? if ($account->supportsRecovery()): ?> <br/> <a class="btn btn-link" href="<?=$this->url('myresearch-recover') ?>?auth_method=<?=$this->auth()->getActiveAuthMethod()?>"><?=$this->transEsc('Forgot Password')?></a> diff --git a/themes/bootstrap3/templates/myresearch/cataloglogin.phtml b/themes/bootstrap3/templates/myresearch/cataloglogin.phtml index 8ddcfcf65e3..dda95948a51 100644 --- a/themes/bootstrap3/templates/myresearch/cataloglogin.phtml +++ b/themes/bootstrap3/templates/myresearch/cataloglogin.phtml @@ -35,7 +35,7 @@ </div> <div class="form-group"> <div class="col-sm-offset-2 col-sm-10"> - <input class="btn btn-primary" type="submit" name="processLogin" value="Login"> + <input class="btn btn-primary" type="submit" name="processLogin" value="<?=$this->transEsc('Login')?>"> </div> </div> </form> diff --git a/themes/bootstrap3/templates/myresearch/newpassword.phtml b/themes/bootstrap3/templates/myresearch/newpassword.phtml index 498bbcb311e..0d934fae3ba 100644 --- a/themes/bootstrap3/templates/myresearch/newpassword.phtml +++ b/themes/bootstrap3/templates/myresearch/newpassword.phtml @@ -18,7 +18,7 @@ <?=$this->recaptcha()->html($this->useRecaptcha) ?> <div class="form-group"> <div class="col-sm-9 col-sm-offset-3"> - <input class="btn btn-primary" name="submit" type="submit"/> + <input class="btn btn-primary" name="submit" type="submit" value="<?=$this->transEsc('Submit')?>" /> </div> </div> </form> -- GitLab