forked from leftypol/leftypol
Started on internationalization (i18n)
This commit is contained in:
parent
e8183e7899
commit
ff730c861b
30 changed files with 2584 additions and 103 deletions
|
@ -40,7 +40,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<th>
|
||||
Name
|
||||
{% trans %}Name{% endtrans %}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="name" size="25" maxlength="50" autocomplete="off" />
|
||||
|
@ -48,7 +48,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
Email
|
||||
{% trans %}Email{% endtrans %}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="email" size="25" maxlength="40" autocomplete="off" />
|
||||
|
@ -56,16 +56,16 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
Subject
|
||||
{% trans %}Subject{% endtrans %}
|
||||
</th>
|
||||
<td>
|
||||
<input style="float:left;" type="text" name="subject" size="25" maxlength="100" autocomplete="off" />
|
||||
<input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{% if config.button_newtopic %}{{ config.button_newtopic }}{% else %}New Topic{% endif %}" />{% if config.spoiler_images %} <input name="spoiler" type="checkbox" /> Spoiler Image{% endif %}
|
||||
<input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{{ config.button_newtopic }}" />{% if config.spoiler_images %} <input id="spoiler" name="spoiler" type="checkbox" /> <label for="spoiler">{% trans %}Spoiler Image{% endtrans %}</label>{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
Comment
|
||||
{% trans %}Comment{% endtrans %}
|
||||
</th>
|
||||
<td>
|
||||
<textarea name="body" id="body" rows="5" cols="30"></textarea>
|
||||
|
@ -74,7 +74,7 @@
|
|||
{% if config.recaptcha %}
|
||||
<tr>
|
||||
<th>
|
||||
Verification
|
||||
{% trans %}Verification{% endtrans %}
|
||||
</th>
|
||||
<td>
|
||||
<script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k={{ config.recaptcha_public }}"></script>
|
||||
|
@ -83,7 +83,7 @@
|
|||
{% endif %}
|
||||
<tr>
|
||||
<th>
|
||||
File
|
||||
{% trans %}File{% endtrans %}
|
||||
</th>
|
||||
<td>
|
||||
<input type="file" name="file" />
|
||||
|
@ -92,7 +92,7 @@
|
|||
{% if config.enable_embedding %}
|
||||
<tr>
|
||||
<th>
|
||||
Embed
|
||||
{% trans %}Embed{% endtrans %}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="embed" size="30" maxlength="120" autocomplete="off" />
|
||||
|
@ -102,31 +102,31 @@
|
|||
{% if mod %}
|
||||
<tr>
|
||||
<th>
|
||||
Flags
|
||||
{% trans %}Flags{% endtrans %}
|
||||
</th>
|
||||
<td>
|
||||
<div>
|
||||
<label for="sticky">Sticky</label>
|
||||
<input title="Sticky" type="checkbox" name="sticky" id="sticky" /><br />
|
||||
<label for="sticky">{% trans %}Sticky{% endtrans %}</label>
|
||||
<input title="{% trans %}Sticky{% endtrans %}" type="checkbox" name="sticky" id="sticky" /><br />
|
||||
</div>
|
||||
<div>
|
||||
<label for="lock">Lock</label><br />
|
||||
<input title="Lock" type="checkbox" name="lock" id="lock" />
|
||||
<label for="lock">{% trans %}Lock{% endtrans %}</label><br />
|
||||
<input title="{% trans %}Lock{% endtrans %}" type="checkbox" name="lock" id="lock" />
|
||||
</div>
|
||||
<div>
|
||||
<label for="raw">Raw HTML</label><br />
|
||||
<input title="Raw HTML" type="checkbox" name="raw" id="raw" />
|
||||
<label for="raw">{% trans %}Raw HTML{% endtrans %}</label><br />
|
||||
<input title="{% trans %}Raw HTML{% endtrans %}" type="checkbox" name="raw" id="raw" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr>
|
||||
<th>
|
||||
Password
|
||||
{% trans %}Password{% endtrans %}
|
||||
</th>
|
||||
<td>
|
||||
<input type="password" name="password" size="12" maxlength="18" autocomplete="off" />
|
||||
<span class="unimportant">(For file deletion.)</span>
|
||||
<span class="unimportant">{% trans %}(For file deletion.){% endtrans %}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -142,15 +142,15 @@
|
|||
{% if mod %}<input type="hidden" name="mod" value="1" />{% endif %}
|
||||
{{ body }}
|
||||
<div class="delete">
|
||||
Delete Post [<input title="Delete file only" type="checkbox" name="file" id="delete_file" />
|
||||
<label for="delete_file">File</label>] <label for="password">Password</label>
|
||||
{% trans %}Delete Post{% endtrans %} [<input title="Delete file only" type="checkbox" name="file" id="delete_file" />
|
||||
<label for="delete_file">{% trans %}File{% endtrans %}</label>] <label for="password">{% trans %}Password{% endtrans %}</label>
|
||||
<input id="password" type="password" name="password" size="12" maxlength="18" />
|
||||
<input type="submit" name="delete" value="Delete" />
|
||||
<input type="submit" name="delete" value="{% trans %}Delete{% endtrans %}" />
|
||||
</div>
|
||||
<div class="delete" style="clear:both">
|
||||
<label for="reason">Reason</label>
|
||||
<label for="reason">{% trans %}Reason{% endtrans %}</label>
|
||||
<input id="reason" type="text" name="reason" size="20" maxlength="30" />
|
||||
<input type="submit" name="report" value="Report" />
|
||||
<input type="submit" name="report" value="{% trans %}Report{% endtrans %}" />
|
||||
</div>
|
||||
</form>
|
||||
<div class="pages">{{ btn.prev }} {% for page in pages %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue