Use View::translate() instead of t() in the logout view script
refs #8626
This commit is contained in:
parent
8df9520497
commit
0ff8416efb
|
@ -9,9 +9,9 @@
|
|||
-->
|
||||
<div class="content">
|
||||
<div class="alert alert-warning" id="logout-status">
|
||||
<b><?= t('Logging out...'); ?></b>
|
||||
<b><?= $this->translate('Logging out...'); ?></b>
|
||||
<br>
|
||||
<?= t(
|
||||
<?= $this->translate(
|
||||
'If this message does not disappear, it might be necessary to quit the'
|
||||
. ' current session manually by clearing the cache, or by closing the current'
|
||||
. ' browser session.'
|
||||
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
|
||||
<div class="container" >
|
||||
<a href="<?= $this->href('dashboard/index'); ?>"><?= t('Login'); ?></a>
|
||||
<a href="<?= $this->href('dashboard/index'); ?>"><?= $this->translate('Login'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
|
@ -41,7 +41,7 @@
|
|||
}
|
||||
} catch (e) {
|
||||
}
|
||||
msg.html('<?= t('Logout successful!'); ?>');
|
||||
msg.html('<?= $this->translate('Logout successful!'); ?>');
|
||||
msg.removeClass();
|
||||
msg.addClass('alert alert-success');
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue