mirror of
https://github.com/DMOJ/online-judge.git
synced 2024-11-25 16:32:37 +08:00
Add more i18n
This commit is contained in:
parent
cf77afe48e
commit
f61e2582e4
@ -13,6 +13,6 @@
|
||||
<div id="comment-form-body">{{ form.body }}</div>
|
||||
</div>
|
||||
<hr>
|
||||
<input style="float: right" type="submit" value="Post!" class="button">
|
||||
<input style="float: right" type="submit" value="{{ _('Post!') }}" class="button">
|
||||
</form>
|
||||
</div>
|
||||
|
@ -59,11 +59,11 @@
|
||||
<table id="case-table" class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="sub-id">ID</th>
|
||||
<th class="sub-username">Username</th>
|
||||
<th class="sub-result">Result</th>
|
||||
<th class="sub-language">Language</th>
|
||||
<th class="sub-date">Date</th>
|
||||
<th class="sub-id">{{ _('ID') }}</th>
|
||||
<th class="sub-username">{{ _('Username') }}</th>
|
||||
<th class="sub-result">{{ _('Result') }}</th>
|
||||
<th class="sub-language">{{ _('Language') }}</th>
|
||||
<th class="sub-date">{{ _('Date') }}</th>
|
||||
{% for case in range(num_cases) %}
|
||||
<th class="sub-case">{{ loop.index }}</th>
|
||||
{% endfor %}
|
||||
|
@ -26,7 +26,7 @@
|
||||
$progress.filter('.progress-complete').show();
|
||||
break;
|
||||
case 'FAILURE':
|
||||
$fail_text.text(status.error || 'Failed');
|
||||
if (status.error) $fail_text.text(status.error);
|
||||
$fail.show();
|
||||
break;
|
||||
case 'PROGRESS':
|
||||
@ -89,10 +89,10 @@
|
||||
<div class="progress-bar progress-bar-animated" role="progressbar"></div>
|
||||
</div>
|
||||
<div class="progress progress-complete">
|
||||
<div class="progress-bar" role="progressbar">Completed!</div>
|
||||
<div class="progress-bar" role="progressbar">{{ _('Completed!') }}</div>
|
||||
</div>
|
||||
<div class="progress progress-failed">
|
||||
<div class="progress-bar" role="progressbar">Failed!</div>
|
||||
<div class="progress-bar" role="progressbar">{{ _('Failed!') }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user