More consistent translations

This commit is contained in:
Baptiste Jonglez 2023-07-14 10:01:51 +02:00 committed by zorun
parent 9df4f0a3de
commit f06c49ce74
3 changed files with 5 additions and 5 deletions

View file

@ -432,7 +432,7 @@ class MemberForm(FlaskForm):
class InviteForm(FlaskForm):
emails = StringField(_("People to notify"), render_kw={"class": "tag"})
submit = SubmitField(_("Send invites"))
submit = SubmitField(_("Send the invitations"))
def validate_emails(self, field):
for email in [email.strip() for email in self.emails.data.split(",")]:

View file

@ -34,7 +34,7 @@
<button class="delete">{{ _("Delete project") }}</button>
</form>
<a class="show" href="{{ url_for('.list_bills', project_id=project.id) }}" title="{{ _(" show") }}">{{
<a class="show" href="{{ url_for('.list_bills', project_id=project.id) }}" title="{{ _("show") }}">{{
_('show') }}</a>
</td>
</tr>
@ -51,4 +51,4 @@
{% else %}
<div class="alert alert-danger">{{ _("The Dashboard is currently deactivated.") }}</div>
{% endif %}
{% endblock %}
{% endblock %}

View file

@ -101,7 +101,7 @@
{{ input(form.default_currency) }}
<div class="actions">
<button class="btn btn-primary">{{ _("Edit the project") }}</button>
<button class="btn btn-primary">{{ _("Save changes") }}</button>
</div>
{% endmacro %}
@ -113,7 +113,7 @@
{{ form.hidden_tag() }}
{{ input(form.password) }}
<div class="actions">
<button class="btn btn-primary">{{ _("Delete project") }}</button>
<button class="btn btn-danger">{{ _("Delete project") }}</button>
</div>
{% endmacro %}