mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 13:01:50 +02:00
add history descriptions for currency and converted_amount
They could be merged in one line, but others requests will modify i18n for history.
This commit is contained in:
parent
dbeaf2e241
commit
d55f536091
1 changed files with 4 additions and 0 deletions
|
@ -225,6 +225,10 @@
|
|||
{{ simple_property_change(event, _("Amount")) }}
|
||||
{% elif event.prop_changed == "date" %}
|
||||
{{ simple_property_change(event, _("Date")) }}
|
||||
{% elif event.prop_changed == "original_currency" %}
|
||||
{{ simple_property_change(event, _("Currency")) }}
|
||||
{% elif event.prop_changed == "converted_amount" %}
|
||||
{{ simple_property_change(event, _("Amount in %(currency)s", currency=g.project.default_currency)) }}
|
||||
{% else %}
|
||||
{{ describe_object(event) }} {{ _("modified") }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue