ui: fix grammar mistakes (#570)

This commit is contained in:
remmymilkyway authored and GitHub committed 2023-05-09 16:53:00 +08:00
1 parent 831b8352fe
commit 4dcc2a2e78
19 files changed
+53 -53

No files matched your search

@@ -2,7 +2,7 @@
{% import "components/user.html" as user with context %}
{% import "components/paginator.html" as paginator with context %}
{% if not ddocs.length %}
{{ nothing.render('no discussion yet...') }}
{{ nothing.render('No discussion yet...') }}
{% else %}
<ol class="section__list discussion__list">
{%- for ddoc in ddocs -%}
@@ -39,6 +39,6 @@
</tbody>
</table>
{% else %}
{{ nothing.render('No file at current.') }}
{{ nothing.render('There are no files currently.') }}
{% endif %}
</div>
@@ -81,7 +81,7 @@
{%- for html in (model.system.get('ui-default.footer_extra_html')|default('')).split('\n') -%}
<li class="footer__extra-link-item">{{ html|safe }}</li>
{%- endfor -%}
<li class="footer__extra-link-item">Worker {{ process.env.NODE_APP_INSTANCE }} in {{ Date.now() - handler.args.__start }}ms</li>
<li class="footer__extra-link-item">Worker {{ process.env.NODE_APP_INSTANCE }}, {{ Date.now() - handler.args.__start }}ms</li>
<!-- Prepare {{ handler.args.__prepareDone - handler.args.__prepare }}ms -->
<!-- Method {{ handler.args.__methodDone - handler.args.__method }}ms -->
<li class="footer__extra-link-item">Powered by <a href="https://hydro.js.org">Hydro v{{ global.Hydro.version.hydrooj }}</a> {{ "Professional" if model.system.get('server.pro') else "Community" }}</li>
@@ -4,7 +4,7 @@
{% import "components/nothing.html" as nothing with context %}
<div data-fragment-id="problem_list">
{% if not pdocs.length %}
{{ nothing.render('Sorry, there is no problem in the problem set') }}
{{ nothing.render('Sorry, there are no problems in the problem set.') }}
{% else %}
{{ paginator.render(page, ppcount, position='top', add_qs=('q=' + qs if qs else '')) }}
<table class="data-table hide-problem-tag">
@@ -5,6 +5,6 @@
</a>
</p>
<div class="typo supplementary">
<p>{{ _('Pick a problem randomly based on current filter') }}</p>
<p>{{ _('Pick a problem randomly based on the current filter.') }}</p>
</div>
</div>
@@ -2,7 +2,7 @@
<h1 class="section__tab-title">{{ _('Recent Activities') }}</h1>
<div class="section__tab-main">
{% if not tdocs.length %}
{{ nothing.render("This person is lazy and didn't join any contest or homework") }}
{{ nothing.render("This person is lazy and didn't join any contests or homework.") }}
{% else %}
<div class="typo section__body no-media">
<ul>
@@ -3,7 +3,7 @@
<h1 class="section__tab-title">{{ _('Recent Solutions') }}</h1>
<div class="section__tab-main">
{% if not psdocs.length %}
{{ nothing.render("This person is lazy and didn't wrote any solution") }}
{{ nothing.render("This person is lazy and didn't write any solutions.") }}
{% else %}
<div class="section__body typo no-media">
<div class="typo section__body">