Finish localizing all current strings
This commit is contained in:
parent
362699b82e
commit
04c52d20c3
@ -3,7 +3,10 @@ EXISTING_STRINGS = {
|
||||
"options",
|
||||
"log_in",
|
||||
"register",
|
||||
"log_out"
|
||||
"log_out",
|
||||
"main_page",
|
||||
"username",
|
||||
"password"
|
||||
}
|
||||
|
||||
ENGLISH = {
|
||||
@ -13,7 +16,10 @@ ENGLISH = {
|
||||
"register": "Register",
|
||||
"log_out": "Log out",
|
||||
"kanji": "Kanji",
|
||||
"forum": "Forum"
|
||||
"forum": "Forum",
|
||||
"main_page": "Main Page",
|
||||
"username": "Username",
|
||||
"password": "Password"
|
||||
}
|
||||
|
||||
JAPANESE = {
|
||||
@ -23,7 +29,10 @@ JAPANESE = {
|
||||
"register": "登録",
|
||||
"log_out": "ログアウト",
|
||||
"kanji": "漢字",
|
||||
"forum": "掲示板"
|
||||
"forum": "掲示板",
|
||||
"main_page": "ホームページ",
|
||||
"username": "ユーザー名",
|
||||
"password": "パスワード"
|
||||
}
|
||||
|
||||
LANGUAGES = [
|
||||
|
@ -1,15 +1,15 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block header %}
|
||||
<h1>{% block title %}Log In{% endblock %}</h1>
|
||||
<h1>{% block title %}{{ localize("log_in") }}{% endblock %}</h1>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form method="post">
|
||||
<label for="username">Username</label>
|
||||
<label for="username">{{ localize("username") }}</label>
|
||||
<input name="username" id="username" required autofocus>
|
||||
<label for="password">Password</label>
|
||||
<label for="password">{{ localize("password") }}</label>
|
||||
<input type="password" name="password" id="password" required>
|
||||
<input type="submit" value="Log In">
|
||||
<input type="submit" value="{{ localize("log_in") }}">
|
||||
</form>
|
||||
{% endblock %}
|
@ -1,7 +1,7 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block header %}
|
||||
<h1>{% block title %}Main Page{% endblock %}</h1>
|
||||
<h1>{% block title %}{{ localize("main_page") }}{% endblock %}</h1>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block header %}
|
||||
<h1>{% block title %}Options{% endblock %}</h1>
|
||||
<h1>{% block title %}{{ localize("options") }}{% endblock %}</h1>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
Loading…
Reference in New Issue
Block a user