From ff730c861b7a8c4e5b7502e198cb1a979ad04abd Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Tue, 11 Oct 2011 21:49:14 +1100 Subject: Started on internationalization (i18n) --- templates/index.html | 44 ++++++++++++++++++++++---------------------- templates/post_thread.html | 2 +- templates/thread.html | 38 +++++++++++++++++++------------------- 3 files changed, 42 insertions(+), 42 deletions(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index 8c15436f..5ac1f639 100644 --- a/templates/index.html +++ b/templates/index.html @@ -40,7 +40,7 @@ {% endif %}
- Name + {% trans %}Name{% endtrans %} @@ -48,7 +48,7 @@
- Email + {% trans %}Email{% endtrans %} @@ -56,16 +56,16 @@
- Subject + {% trans %}Subject{% endtrans %} - {% if config.spoiler_images %} Spoiler Image{% endif %} + {% if config.spoiler_images %} {% endif %}
- Comment + {% trans %}Comment{% endtrans %} @@ -74,7 +74,7 @@ {% if config.recaptcha %}
- Verification + {% trans %}Verification{% endtrans %} @@ -83,7 +83,7 @@ {% endif %}
- File + {% trans %}File{% endtrans %} @@ -92,7 +92,7 @@ {% if config.enable_embedding %}
- Embed + {% trans %}Embed{% endtrans %} @@ -102,31 +102,31 @@ {% if mod %}
- Flags + {% trans %}Flags{% endtrans %}
- -
+ +
-
- +
+
-
- +
+
- Password + {% trans %}Password{% endtrans %} - (For file deletion.) + {% trans %}(For file deletion.){% endtrans %}
@@ -142,15 +142,15 @@ {% if mod %}{% endif %} {{ body }}
- Delete Post [ - ] + {% trans %}Delete Post{% endtrans %} [ + ] - +
- + - +
{{ btn.prev }} {% for page in pages %} diff --git a/templates/post_thread.html b/templates/post_thread.html index 2e477e7b..48f57c6d 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -96,7 +96,7 @@ Locked {% endif %} {% if index %} - [Reply] + [{% trans %}Reply{% endtrans %}] {% endif %} {{ post.postControls }}

diff --git a/templates/thread.html b/templates/thread.html index 80d0f2ed..01063c1b 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -32,7 +32,7 @@

{{ board.url }} - {{ board.name }}

{% if board.title %}{{ board.title }}{% endif %}

{% if mod %}Return to dashboard{% endif %}

- +
{{ hidden_inputs }} @@ -41,7 +41,7 @@ @@ -115,11 +115,11 @@ {% endif %}
- Name + {% trans %}Name{% endtrans %} @@ -49,7 +49,7 @@
- Email + {% trans %}Email{% endtrans %} @@ -57,16 +57,16 @@
- Subject + {% trans %}Subject{% endtrans %} - {% if config.spoiler_images %} Spoiler Image{% endif %} + {% if config.spoiler_images %} {% endif %}
- Comment + {% trans %}Comment{% endtrans %} @@ -75,7 +75,7 @@ {% if config.recaptcha %}
- Verification + {% trans %}Verification{% endtrans %} @@ -84,7 +84,7 @@ {% endif %}
- File + {% trans %}File{% endtrans %} @@ -93,7 +93,7 @@ {% if config.enable_embedding %}
- Embed + {% trans %}Embed{% endtrans %} @@ -103,11 +103,11 @@ {% if mod %}
- Flags + {% trans %}Flags{% endtrans %}
-
+
- Password + {% trans %}Password{% endtrans %} - (For file deletion.) + {% trans %}(For file deletion.){% endtrans %}
@@ -135,18 +135,18 @@ {% if mod %}{% endif %} {{ body }}
- Delete Post [ - ] + {% trans %}Delete Post{% endtrans %} [ + ] - +
- + - +
- [Return] + [{% trans %}Return{% endtrans %}] {{ boardlist.bottom }}

Powered by Tinyboard {{ config.version }} | Tinyboard Copyright © 2010-2011 Tinyboard Development Group

-- cgit v1.3