summaryrefslogtreecommitdiff
path: root/src/application/views/form_login.php
diff options
context:
space:
mode:
authorJonas Kohl <git@jonaskohl.de>2024-09-16 11:31:53 +0200
committerJonas Kohl <git@jonaskohl.de>2024-09-16 11:31:53 +0200
commit38f03c375eafdb6b95190729479c6fa0d721b400 (patch)
tree637616799ed5e20c72d8d7be7a78e72a11826cfa /src/application/views/form_login.php
parentcb9b87997993702131ca24d4d0e1fd45ef64805c (diff)
More i18n
Diffstat (limited to 'src/application/views/form_login.php')
-rw-r--r--src/application/views/form_login.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/application/views/form_login.php b/src/application/views/form_login.php
index de8f28c..1ae20a9 100644
--- a/src/application/views/form_login.php
+++ b/src/application/views/form_login.php
@@ -21,21 +21,24 @@ if (($_formError = RequestUtils::getAndClearFormError()) !== null) {
?>
<form action="<?= htmlentities($_SERVER["REQUEST_URI"]) ?>" method="post">
<div class="form-group">
- <label for="i_username">Username:</label>
+ <label for="i_username"><?= __("Username:") ?></label>
<input class="form-control" type="text" id="i_username" name="username" value="<?= htmlentities($lastForm["username"] ?? "") ?>" required autofocus>
</div>
<div class="form-group">
- <label for="i_password">Password:</label>
+ <label for="i_password"><?= __("Password:") ?></label>
<input class="form-control" type="password" id="i_password" name="password" required>
</div>
<div class="form-group">
- <button class="btn btn-default" type="submit">Log in</button>
+ <button class="btn btn-default" type="submit"><?= __("Log in") ?></button>
</div>
<div class="form-group">
- Don't have an account? <a href="?_action=register">Register now</a>
+ <?= __("Don't have an account? %link%Register now%/link%", [
+ "link" => '<a href="?_action=register">',
+ "/link" => '</a>',
+ ]) ?>
</div>
</form>
</div>