mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
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="content">
|
||||||
<div class="alert alert-warning" id="logout-status">
|
<div class="alert alert-warning" id="logout-status">
|
||||||
<b><?= t('Logging out...'); ?></b>
|
<b><?= $this->translate('Logging out...'); ?></b>
|
||||||
<br>
|
<br>
|
||||||
<?= t(
|
<?= $this->translate(
|
||||||
'If this message does not disappear, it might be necessary to quit the'
|
'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'
|
. ' current session manually by clearing the cache, or by closing the current'
|
||||||
. ' browser session.'
|
. ' browser session.'
|
||||||
@ -19,7 +19,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="container" >
|
<div class="container" >
|
||||||
<a href="<?= $this->href('dashboard/index'); ?>"><?= t('Login'); ?></a>
|
<a href="<?= $this->href('dashboard/index'); ?>"><?= $this->translate('Login'); ?></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
@ -41,7 +41,7 @@
|
|||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
}
|
}
|
||||||
msg.html('<?= t('Logout successful!'); ?>');
|
msg.html('<?= $this->translate('Logout successful!'); ?>');
|
||||||
msg.removeClass();
|
msg.removeClass();
|
||||||
msg.addClass('alert alert-success');
|
msg.addClass('alert alert-success');
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user