Replace recipient macros with formatters

We prefer formatters now. Removing uses of the aliasing macro lets
remove it entirely.
This commit is contained in:
Chris Hill-Scott
2021-01-06 13:02:09 +00:00
parent 462294c9d1
commit 4615c0ea3d
11 changed files with 17 additions and 38 deletions

View File

@@ -2,14 +2,6 @@
{{ count|message_count_noun(template_type) }} {{ suffix }}
{%- endmacro %}
{% macro recipient_count_label(count, template_type) -%}
{{ count|recipient_count_label(template_type) }}
{%- endmacro %}
{% macro recipient_count(count, template_type, prefix='') -%}
{{ count|format_thousands }} {{ prefix }} {{ count|recipient_count_label(template_type) }}
{% endmacro %}
{% macro iteration_count(count) -%}
{{ count|iteration_count }}
{% endmacro %}