From b3c4620702983487b744e49224661fa6e9b2bbf0 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Fri, 3 Oct 2014 11:27:44 -0400 Subject: [PATCH] Cleaned up some translation inconsistencies between blueprint/bootstrap. - Thanks to Ere Maijala for catching these. --- themes/bootstrap/templates/cart/save.phtml | 2 +- themes/bootstrap/templates/record/save.phtml | 4 ++-- themes/bootstrap3/templates/cart/save.phtml | 2 +- themes/bootstrap3/templates/record/save.phtml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/themes/bootstrap/templates/cart/save.phtml b/themes/bootstrap/templates/cart/save.phtml index 7a8585e5101..141dc742fc9 100644 --- a/themes/bootstrap/templates/cart/save.phtml +++ b/themes/bootstrap/templates/cart/save.phtml @@ -48,7 +48,7 @@ <option value=""><?=$this->transEsc('My Favorites') ?></option> <? endif; ?> </select> - <a class="btn btn-link" id="make-list" href="<?=$this->url('editList', array('id' => 'NEW')) . '?' . implode('&', $idParams) ?>" title="<?=$this->transEsc('Create a List') ?>"><?=count($this->lists) > 0 ? $this->transEsc('or').' '.$this->transEsc('Create a List') : $this->transEsc('Create a List'); ?></a> + <a class="btn btn-link" id="make-list" href="<?=$this->url('editList', array('id' => 'NEW')) . '?' . implode('&', $idParams) ?>" title="<?=$this->transEsc('Create a List') ?>"><?=count($this->lists) > 0 ? $this->transEsc('or create a new list') : $this->transEsc('Create a List'); ?></a> </div> </div> diff --git a/themes/bootstrap/templates/record/save.phtml b/themes/bootstrap/templates/record/save.phtml index 904e9083e05..5caffcde328 100644 --- a/themes/bootstrap/templates/record/save.phtml +++ b/themes/bootstrap/templates/record/save.phtml @@ -39,7 +39,7 @@ <? endif; ?> </select> <? endif; ?> - <a class="btn btn-link" id="make-list" href="<?=$this->url('editList', array('id' => 'NEW'))?>?recordId=<?=urlencode($this->driver->getUniqueId())?>&recordSource=<?=urlencode($this->driver->getResourceSource())?>" title="<?=$this->transEsc('Create a List') ?>"><?=$showLists ? $this->transEsc('or').' '.$this->transEsc('Create a List') : $this->transEsc('Create a List'); ?></a> + <a class="btn btn-link" id="make-list" href="<?=$this->url('editList', array('id' => 'NEW'))?>?recordId=<?=urlencode($this->driver->getUniqueId())?>&recordSource=<?=urlencode($this->driver->getResourceSource())?>" title="<?=$this->transEsc('Create a List') ?>"><?=$showLists ? $this->transEsc('or create a new list') : $this->transEsc('Create a List'); ?></a> </div> </div> @@ -61,7 +61,7 @@ </div> <div class="control-group"> <div class="controls"> - <input class="btn btn-primary" type="submit" value="<?=$this->transEsc('Save to List') ?>"/> + <input class="btn btn-primary" type="submit" value="<?=$this->transEsc('Save') ?>"/> </div> </div> <? endif; ?> diff --git a/themes/bootstrap3/templates/cart/save.phtml b/themes/bootstrap3/templates/cart/save.phtml index cc0ff9c599f..00848acd4cb 100644 --- a/themes/bootstrap3/templates/cart/save.phtml +++ b/themes/bootstrap3/templates/cart/save.phtml @@ -48,7 +48,7 @@ <option value=""><?=$this->transEsc('My Favorites') ?></option> <? endif; ?> </select> - <a class="btn btn-link" id="make-list" href="<?=$this->url('editList', array('id' => 'NEW')) . '?' . implode('&', $idParams) ?>" title="<?=$this->transEsc('Create a List') ?>"><?=count($this->lists) > 0 ? $this->transEsc('or').' '.$this->transEsc('Create a List') : $this->transEsc('Create a List'); ?></a> + <a class="btn btn-link" id="make-list" href="<?=$this->url('editList', array('id' => 'NEW')) . '?' . implode('&', $idParams) ?>" title="<?=$this->transEsc('Create a List') ?>"><?=count($this->lists) > 0 ? $this->transEsc('or create a new list') : $this->transEsc('Create a List'); ?></a> </div> </div> diff --git a/themes/bootstrap3/templates/record/save.phtml b/themes/bootstrap3/templates/record/save.phtml index a553f4c3d3e..718f0b087b8 100644 --- a/themes/bootstrap3/templates/record/save.phtml +++ b/themes/bootstrap3/templates/record/save.phtml @@ -40,7 +40,7 @@ <? endif; ?> </select> <? endif; ?> - <a class="btn btn-link" id="make-list" href="<?=$this->url('editList', array('id' => 'NEW'))?>?recordId=<?=urlencode($this->driver->getUniqueId())?>&recordSource=<?=urlencode($this->driver->getResourceSource())?>" title="<?=$this->transEsc('Create a List') ?>"><?=$showLists ? $this->transEsc('or').' '.$this->transEsc('Create a List') : $this->transEsc('Create a List'); ?></a> + <a class="btn btn-link" id="make-list" href="<?=$this->url('editList', array('id' => 'NEW'))?>?recordId=<?=urlencode($this->driver->getUniqueId())?>&recordSource=<?=urlencode($this->driver->getResourceSource())?>" title="<?=$this->transEsc('Create a List') ?>"><?=$showLists ? $this->transEsc('or create a new list') : $this->transEsc('Create a List'); ?></a> </div> </div> @@ -62,7 +62,7 @@ </div> <div class="form-group"> <div class="col-sm-9 col-sm-offset-3"> - <input class="btn btn-primary" type="submit" value="<?=$this->transEsc('Save to List') ?>"/> + <input class="btn btn-primary" type="submit" value="<?=$this->transEsc('Save') ?>"/> </div> </div> <? endif; ?> -- GitLab