web: translate spam to en_US

This commit is contained in:
radex 2024-07-09 12:44:29 +02:00
parent 697626e942
commit 1750d30b29
Signed by: radex
SSH key fingerprint: SHA256:hvqRXAGG1h89yqnS+cyFTLKQbzjWD4uXIqw7Y+0ws30

View file

@ -1,35 +1,30 @@
Siemasz {{ member.username }},
Hi {{ member.username }},
automatycznie wygenerowałem raport ze stanu składek dla Twojego konta.
Oto stan na dzień {{ now.strftime('%d/%m/%Y') }}:
Here's an (automatically genered) report about your membership fees as of {{ now.strftime('%Y-%m-%d') }}:
{% if status['months_due'] > 0 -%}
Jesteś {{ status['months_due']|inflect('składkę', 'składki', 'składek') }}
{%- if status['money_due'] %} ({{ status['money_due'] }} PLN){% endif %} do tyłu. Kiepsko.
You are {{ status['months_due'] }} months
{%- if status['money_due'] %} ({{ status['money_due'] }} PLN){% endif %} behind. {% if status['months_due'] > 2 -%}Oof!{% endif %}
{% elif status['months_due'] == 0 -%}
Jesteś na bieżąco ze składkami. Hura!
You are up to date with your membership fees, yay!
{% else -%}
Jesteś do przodu ze składkami. Świetnie!
You are {{ -status['months_due'] }} months ahead with your membership fees. Cool!
{% endif -%}
{% if status['months_due'] > 2 %}
{%- if status['months_due'] > 2 %}
According to Warsaw Hackerspace bylaws, if you are three months behind on your membership fees, you
will be automatically removed from membership. Your door and service access will also be revoked.
Zgodnie z regulaminem HS, trzymiesięczna zaległość w składkach oznacza
automatyczne wykreślenie z listy członków i usunięcie karty z zamka.
Masz tydzień na uregulowanie składki od daty wysłania tego emaila.
Please catch up on your membership fees as soon as possible!
{% endif %}
Oto szczegółowe informacje o Twoich ostatnich wpłatach:
Here's detailed information about your recent transfers:
{% for t in transfers %}
- opłata za {{ t.month }}/{{ t.year }}, pokryta przelewem za {{
'%.02f'|format(t.transfer.amount/100) }} PLN w dniu {{ t.transfer.date.strftime('%d/%m/%Y') }}
- membership fee for {{ t.year }}-{{ t.month }}, covered by a {{
'%.02f'|format(t.transfer.amount/100) }} PLN transfer on {{ t.transfer.date.strftime('%Y-%m-%d') }}
{%- endfor %}
Jeśli coś się nie zgadza, odpisz na tego mejla z pretensjami - wiadomość trafi
do naszego białkowego skarbnika który postara się ustalić, co poszło źle.
Jednocześnie przypominam, że trzymiesięczna zaległość w płaceniu oznacza
wykreślenie z listy członków - automatyczną!
If something is wrong with the above, please respond to this email with your grievances. Your message
will be handled by a protein-based lifeform, who will do their best to figure out what went wrong.
xoxoxoxo,
Hackerspace'owy Kasownik
--
„100 linii pythona!” - enki o skrypcie do składek
Kind regards,
Kasownik, Warsaw Hackerspace's Membership Fees Automaton