Skip to content

Commit

Permalink
Validation fixes (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
KarolisJasad authored Feb 21, 2024
1 parent ca3fc1d commit 4b42fe3
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/templates/check_domain.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h5 class="card-title">{% trans %}Check domain{% endtrans %}</h5>
<form action="{{ url_for('check_domain_scan_post') }}" method="POST" class="card-text">
<div class="form-group">
<label for="domain-input">{% trans %}Domain{% endtrans %}</label>
<input name="domain" type="text" autocomplete="off" class="form-control" id="domain-input" aria-describedby="domain-info" required="true">
<input name="domain" type="text" autocomplete="off" class="form-control" id="domain-input" aria-describedby="domain-info" required>
<small id="domain-info" class="form-text text-muted">
{% trans %}Don't put the entire e-mail address here, only the part after "@"{% endtrans %}
</small>
Expand Down
4 changes: 2 additions & 2 deletions app/templates/check_email.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<div class="card-body">
<h5 class="card-title">{% trans %}Check configuration by sending an e-mail{% endtrans %}</h5>
<div class="card-text">
<label for="email-input">
<label for="email">
{{ _("To verify e-mail configuration, send any e-mail message to the address <b>shown below</b>:")|safe }}
</label>
<div class="mailto-link-with-button">
Expand All @@ -53,7 +53,7 @@ <h5 class="card-title">{% trans %}Check configuration by sending an e-mail{% end
</div>
</div>

<img class="spinner waiting" src="/static/images/spinner.svg" />
<img class="spinner waiting" src="/static/images/spinner.svg" alt="{% trans %}Waiting{% endtrans %}"/>
<h5 class="waiting">{% trans %}Waiting for the message to be received{% endtrans %}</h5>

<p>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/check_running.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="p-4">
<h1>{% trans %}Configuration analysis is running{% endtrans %}</h1>
<div>
<img class="float-start" src="/static/images/spinner.svg" />
<img class="float-start" src="/static/images/spinner.svg" alt="{% trans %}Waiting{% endtrans %}"/>
<div class="py-5">
<h5 class="waiting">{% trans %}Waiting for the analysis to finish{% endtrans %}</h5>
<div>{% trans %}This page will refresh automatically.{% endtrans %}</div>
Expand Down
4 changes: 4 additions & 0 deletions app/translations/en_US/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ msgid ""
"<b>shown below</b>:"
msgstr ""

#: app/templates/check_email.html:56 app/templates/check_running.html:12
msgid "Waiting"
msgstr ""

#: app/templates/check_email.html:57
msgid "Waiting for the message to be received"
msgstr ""
Expand Down
4 changes: 4 additions & 0 deletions app/translations/lt_LT/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ msgstr ""
"Kad patikrinti el-pašto konfiguraciją, reikia išsiųsti bet kokį laišką "
"adresatui <b>nurodytam žemiau</b>:"

#: app/templates/check_email.html:56 app/templates/check_running.html:12
msgid "Waiting"
msgstr "Luktelkite"

#: app/templates/check_email.html:57
msgid "Waiting for the message to be received"
msgstr "Laukiama kada el-laiškas bus gautas"
Expand Down
4 changes: 4 additions & 0 deletions app/translations/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ msgid ""
"<b>shown below</b>:"
msgstr ""

#: app/templates/check_email.html:56 app/templates/check_running.html:12
msgid "Waiting"
msgstr ""

#: app/templates/check_email.html:57
msgid "Waiting for the message to be received"
msgstr ""
Expand Down
4 changes: 4 additions & 0 deletions app/translations/pl_PL/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ msgstr ""
"Aby zweryfikować konfigurację poczty, wyślij dowolną wiadomość e-mail na "
"adres <b>podany poniżej</b>:"

#: app/templates/check_email.html:56 app/templates/check_running.html:12
msgid "Waiting"
msgstr "Oczekiwanie"

#: app/templates/check_email.html:57
msgid "Waiting for the message to be received"
msgstr "Oczekiwanie na odbiór wiadomości"
Expand Down

0 comments on commit 4b42fe3

Please sign in to comment.