mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
We are doing this refactor for the sake of keeping our template consistent with the indentation policy and maintaining its readability at the same time.
49 lines
2.1 KiB
Handlebars
49 lines
2.1 KiB
Handlebars
<div id="default_language_modal" class="modal hide" tabindex="-1" role="dialog"
|
||
aria-labelledby="default_language_modal_label" aria-hidden="true">
|
||
<div class="modal-header">
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
<h3 id="default_language_modal_label">{{t "Select default language" }}</h3>
|
||
</div>
|
||
<div class="modal-body">
|
||
<p>
|
||
The following is a few of the languages we have started to
|
||
support or are hoping to support in the near future. We would
|
||
love help translating; if you're interested in helping, make an
|
||
account at <a href='https://www.transifex.com/zulip/zulip/'>
|
||
https://www.transifex.com/zulip/zulip/</a>, and sign up for a
|
||
language! You can also request any language we don't currently
|
||
have. It only takes a few hours to translate the most important
|
||
parts of the app.
|
||
</p>
|
||
<div>
|
||
<table>
|
||
{{#each page_params.language_list_dbl_col}}
|
||
<tr>
|
||
<td>
|
||
<a class="language" data-code="{{this.first.code}}" data-name="{{this.first.name}}">
|
||
{{#if this.first.selected}}
|
||
<b>{{this.first.percent}}</b>
|
||
{{else}}
|
||
{{this.first.percent}}
|
||
{{/if}}
|
||
</a>
|
||
</td>
|
||
<td>
|
||
<a class="language" data-code="{{this.second.code}}" data-name="{{this.second.name}}">
|
||
{{#if this.second.selected}}
|
||
<b>{{this.second.percent}}</b>
|
||
{{else}}
|
||
{{this.second.percent}}
|
||
{{/if}}
|
||
</a>
|
||
</td>
|
||
</tr>
|
||
{{/each}}
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="modal-footer">
|
||
<button class="btn btn-primary" data-dismiss="modal" aria-hidden="true">{{t "Close" }}</button>
|
||
</div>
|
||
</div>
|