Archived
1
0

fix internationalization on default templates

This commit is contained in:
Jeff Becker 2017-11-05 10:05:59 -05:00
parent de253fb204
commit ba16d5d717
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
2 changed files with 7 additions and 7 deletions

View File

@ -32,13 +32,13 @@
| |
</span> </span>
<span class="navbar-links"> <span class="navbar-links">
<span class="navbar-link"><a href="{{prefix}}">{{#i18n.Translations}}{{front_page_title}}{{/i18n.Translations}}</a></span> <span class="navbar-link"><a href="{{prefix}}?lang={{i18n.Name}}">{{#i18n.Translations}}{{front_page_title}}{{/i18n.Translations}}</a></span>
</span> </span>
<span class="navbar-sep"> <span class="navbar-sep">
| |
</span> </span>
<span class="navbar-links"> <span class="navbar-links">
<span class="navbar-link"><a href="{{prefix}}o/">{{#i18n.Translations}}{{overboard_title}}{{/i18n.Translations}}</a></span> <span class="navbar-link"><a href="{{prefix}}o/?lang={{i18n.Name}}">{{#i18n.Translations}}{{overboard_title}}{{/i18n.Translations}}</a></span>
</span> </span>
<span class="navbar-sep"> <span class="navbar-sep">
| |

View File

@ -27,17 +27,17 @@
<div id="ukko_paginator"> <div id="ukko_paginator">
{{#prev}} {{#prev}}
<span id="ukko_prev"> <span id="ukko_prev">
<a href="{{prefix}}o/{{no}}/">previous</a> <a href="{{prefix}}o/{{no}}/?lang={{i18n.Name}}">previous</a>
</span> </span>
{{/prev}} {{/prev}}
{{#next}} {{#next}}
<span id="ukko_next"> <span id="ukko_next">
<a href="{{prefix}}o/{{no}}/">next</a> <a href="{{prefix}}o/{{no}}/?lang={{i18n.Name}}">next</a>
</span> </span>
{{/next}} {{/next}}
</div> </div>
<div id="ukko_threads"> <div id="ukko_threads">
<pre><a href="{{prefix}}livechan/">livechan</a></pre> <pre><a href="{{prefix}}livechan/?lang={{i18n.Name}}">livechan</a></pre>
{{#threads}} {{#threads}}
<div class="thread" id="thread_{{OP.PostHash}}"> <div class="thread" id="thread_{{OP.PostHash}}">
<div class="truncated_post"> <div class="truncated_post">
@ -78,12 +78,12 @@
<div id="ukko_paginator"> <div id="ukko_paginator">
{{#prev}} {{#prev}}
<span id="ukko_prev"> <span id="ukko_prev">
<a href="{{prefix}}o/{{no}}/">previous</a> <a href="{{prefix}}o/{{no}}/?lang={{i18n.Name}}">previous</a>
</span> </span>
{{/prev}} {{/prev}}
{{#next}} {{#next}}
<span id="ukko_next"> <span id="ukko_next">
<a href="{{prefix}}o/{{no}}/">next</a> <a href="{{prefix}}o/{{no}}/?lang={{i18n.Name}}">next</a>
</span> </span>
{{/next}} {{/next}}
</div> </div>