fix: translate page numbers (#17492)
This commit is contained in:
parent
31ef1c7355
commit
2bf14bb29f
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@
|
|||
/* page number */
|
||||
{% set page_number_position = print_format.page_number.lower().replace(' ', '_') %}
|
||||
{% if page_number_position in ['top_left', 'top_center', 'top_right', 'bottom_left', 'bottom_center', 'bottom_right'] %}
|
||||
{{ render_margin_text(page_number_position, 'counter(page) " of " counter(pages)') }}
|
||||
{{ render_margin_text(page_number_position, _('{0} of {1}').format('counter(page) "', '" counter(pages)')) }}
|
||||
{% endif %}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue