mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
More consistent translations
This commit is contained in:
parent
9df4f0a3de
commit
f06c49ce74
3 changed files with 5 additions and 5 deletions
|
@ -432,7 +432,7 @@ class MemberForm(FlaskForm):
|
||||||
|
|
||||||
class InviteForm(FlaskForm):
|
class InviteForm(FlaskForm):
|
||||||
emails = StringField(_("People to notify"), render_kw={"class": "tag"})
|
emails = StringField(_("People to notify"), render_kw={"class": "tag"})
|
||||||
submit = SubmitField(_("Send invites"))
|
submit = SubmitField(_("Send the invitations"))
|
||||||
|
|
||||||
def validate_emails(self, field):
|
def validate_emails(self, field):
|
||||||
for email in [email.strip() for email in self.emails.data.split(",")]:
|
for email in [email.strip() for email in self.emails.data.split(",")]:
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
<button class="delete">{{ _("Delete project") }}</button>
|
<button class="delete">{{ _("Delete project") }}</button>
|
||||||
</form>
|
</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>
|
_('show') }}</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -101,7 +101,7 @@
|
||||||
|
|
||||||
{{ input(form.default_currency) }}
|
{{ input(form.default_currency) }}
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<button class="btn btn-primary">{{ _("Edit the project") }}</button>
|
<button class="btn btn-primary">{{ _("Save changes") }}</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
{{ form.hidden_tag() }}
|
{{ form.hidden_tag() }}
|
||||||
{{ input(form.password) }}
|
{{ input(form.password) }}
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<button class="btn btn-primary">{{ _("Delete project") }}</button>
|
<button class="btn btn-danger">{{ _("Delete project") }}</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
Loading…
Reference in a new issue