diff --git a/CHANGELOG.md b/CHANGELOG.md index e50915f..8c21f88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Focus search after opening it. +- Make it possible to rearrange the "Powered by" links (for i18n). - Move quick navigation buttons to the top on mobile. - Return some `-webkit-` prefixes for wider compatibility. diff --git a/i18n/ar.toml b/i18n/ar.toml index 9333a38..80f8091 100644 --- a/i18n/ar.toml +++ b/i18n/ar.toml @@ -51,8 +51,7 @@ open_post = "افتح المنشور" poor = "ضعيف" posts = "الوظائف في المجموع" posts_with_tag = "المنشورات ذات العلامة" -powered_by = "مدعوم من" -powered_by_and = "و" +powered_by = "مدعوم من $ZOLA و $DUCKQUILL" previous = "السابق" published = "منشور" reload = "إعادة التحميل" diff --git a/i18n/en.toml b/i18n/en.toml index 555bdcb..5672e6f 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -55,8 +55,7 @@ open_post = "Open Post" poor = "Poor" posts = "$NUMBER posts in total" posts_with_tag = "Posts with tag" -powered_by = "Powered by" -powered_by_and = "and" +powered_by = "Powered by $ZOLA and $DUCKQUILL" previous = "Previous" published = "Published on" reload = "Reload" diff --git a/i18n/es.toml b/i18n/es.toml index e0ae25d..baf80bf 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -55,8 +55,7 @@ open_post = "Abrir publicación" poor = "Pobre" posts = "$NUMBER publicaciones en total" posts_with_tag = "Publicaciones con etiqueta" -powered_by = "Desarrollado por" -powered_by_and = "y" +powered_by = "Desarrollado por $ZOLA y $DUCKQUILL" previous = "Anterior" published = "Publicado el" reload = "Recargar" diff --git a/i18n/ms.toml b/i18n/ms.toml index dda5f3c..4e8391d 100644 --- a/i18n/ms.toml +++ b/i18n/ms.toml @@ -55,8 +55,7 @@ open_post = "Buka siaran" poor = "Lapok" posts = "$NUMBER siaran secara kesuluruhan" posts_with_tag = "Siaran dengan tag" -powered_by = "Dikuasakan oleh" -powered_by_and = "dengan" +powered_by = "Dikuasakan oleh $ZOLA dengan $DUCKQUILL" previous = "Sebelumnya" published = "Diterbit pada" reload = "Muat semula" diff --git a/i18n/ru.toml b/i18n/ru.toml index 5d555d6..1e2dfe1 100644 --- a/i18n/ru.toml +++ b/i18n/ru.toml @@ -62,8 +62,7 @@ open_post = "Открыть Пост" poor = "Убогое" posts = "$NUMBER постов" posts_with_tag = "Посты с тегом" -powered_by = "Работает на базе" -powered_by_and = "и" +powered_by = "Работает на базе $ZOLA и $DUCKQUILL" previous = "Предыдущий" published = "Опубликовано" reload = "Перезагрузить" diff --git a/templates/partials/footer.html b/templates/partials/footer.html index 9d3cfb6..902aa7b 100644 --- a/templates/partials/footer.html +++ b/templates/partials/footer.html @@ -48,7 +48,9 @@ {%- if config.extra.footer.show_powered_by %}
- {{ macros_translate::translate(key="powered_by", default="Powered by", language_strings=language_strings) }} Zola {{ macros_translate::translate(key="powered_by_and", default="and", language_strings=language_strings) }} Duckquill + {%- set zola_link = 'Zola' -%} + {%- set duckquill_link = 'Duckquill' -%} + {{ macros_translate::translate(key="powered_by", default="Powered by $ZOLA and $DUCKQUILL", language_strings=language_strings) | replace(from="$ZOLA", to=zola_link) | replace(from="$DUCKQUILL", to=duckquill_link) | safe }}
{%- endif %}