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