Adjust strings to make translation to specific languages possible (#100)

This commit is contained in:
daudix
2024-10-05 17:15:31 +03:00
parent 4d4a2b4dc1
commit aa43730750
8 changed files with 23 additions and 21 deletions

View File

@ -4,7 +4,9 @@
{%- set date_format = macros_translate::translate(key="date_format", default="%B %d, %Y", language_strings=language_strings) -%}
{%- set date_locale = macros_translate::translate(key="date_locale", default="en_US", language_strings=language_strings) -%}
{%- set number_of_posts = term.pages | length -%}
<h1>{{ macros_translate::translate(key="posts_with_tag", default="Posts with tag", language_strings=language_strings) }} “{{ term.name }}”</h1>
{%- set term_name = "“" ~ term.name ~ "”" -%}
<h1>{{ macros_translate::translate(key="posts_with_tag", default="Posts with tag $TAG", language_strings=language_strings) | replace(from="$TAG", to=term_name) }}</h1>
<p>
<small>