diff --git a/templates/frontpage.php b/templates/frontpage.php index 9b82429fd0d8db82aa8864ca0b013af6c693b41c..36ec1e772e06ec075d427ba87815b681e103d6c4 100644 --- a/templates/frontpage.php +++ b/templates/frontpage.php @@ -18,9 +18,9 @@ $(document).ready(function() { $this->includeAtTemplateBase('includes/header.php'); if ($this->data['isadmin']) { - echo '<p style="float: right">You are logged in as administrator</p>'; + echo '<p style="float: right">' . $this->t('loggedin_as_admin') . '</p>'; } else { - echo '<p style="float: right"><a href="' . $this->data['loginurl'] . '">Log in as administrator</a></p>'; + echo '<p style="float: right"><a href="' . $this->data['loginurl'] . '">' . $this->t('login_as_admin') . '</a></p>'; } ?>