diff --git a/templates/login.phtml b/templates/login.phtml index ecf708414123e2d3bfa2f0dbfd07865c168d19c3..4686ee613faeb22650a686437d72bdac79b67c40 100644 --- a/templates/login.phtml +++ b/templates/login.phtml @@ -19,9 +19,9 @@ <h2><?php $t('login.description'); ?></h2> <form method="post" action="login.php?action=login"> - <input name="username" type="text" placeholder="Username"> - <input name="password" type="password" placeholder="Password"> - <input type="submit" value="Login"> + <input name="username" type="text" placeholder="<?php $t('login.username'); ?>"> + <input name="password" type="password" placeholder="<?php $t('login.password'); ?>"> + <input type="submit" value="<?php $t('login.submit'); ?>"> </form> </body> diff --git a/translations/de.json b/translations/de.json index e834c6a9ffe5f631a62bce66452767b1ca54c2c5..2ba1b895c86ec815e7b92618b632a216780755e0 100644 --- a/translations/de.json +++ b/translations/de.json @@ -11,7 +11,10 @@ "error_unavailable": "No search history available" }, "login": { - "description": "You have to login to access this page" + "description": "You have to login to access this page", + "username": "Benutzername", + "password": "Passwort", + "submit": "Anmelden" }, "search": "Suchen", "logout": "Abmelden", diff --git a/translations/en.json b/translations/en.json index 2008ab311306f60d805e4741780d72ecaef1a99c..be43c3c60303f620e45f500a629f2af2d62ecab4 100644 --- a/translations/en.json +++ b/translations/en.json @@ -11,7 +11,10 @@ "error_unavailable": "No search history available" }, "login": { - "description": "You have to login to access this page" + "description": "You have to login to access this page", + "username": "Username", + "password": "Password", + "submit": "Login" }, "search": "Search", "logout": "Logout",