Make it possible to rearrange the "Powered by" links (for i18n)
This commit is contained in:
@ -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.
|
||||
|
||||
|
@ -51,8 +51,7 @@ open_post = "افتح المنشور"
|
||||
poor = "ضعيف"
|
||||
posts = "الوظائف في المجموع"
|
||||
posts_with_tag = "المنشورات ذات العلامة"
|
||||
powered_by = "مدعوم من"
|
||||
powered_by_and = "و"
|
||||
powered_by = "مدعوم من $ZOLA و $DUCKQUILL"
|
||||
previous = "السابق"
|
||||
published = "منشور"
|
||||
reload = "إعادة التحميل"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -62,8 +62,7 @@ open_post = "Открыть Пост"
|
||||
poor = "Убогое"
|
||||
posts = "$NUMBER постов"
|
||||
posts_with_tag = "Посты с тегом"
|
||||
powered_by = "Работает на базе"
|
||||
powered_by_and = "и"
|
||||
powered_by = "Работает на базе $ZOLA и $DUCKQUILL"
|
||||
previous = "Предыдущий"
|
||||
published = "Опубликовано"
|
||||
reload = "Перезагрузить"
|
||||
|
@ -48,7 +48,9 @@
|
||||
{%- if config.extra.footer.show_powered_by %}
|
||||
<p>
|
||||
<small>
|
||||
{{ macros_translate::translate(key="powered_by", default="Powered by", language_strings=language_strings) }} <a class="link external" href="https://www.getzola.org" rel="{{ rel_attributes }}">Zola</a> {{ macros_translate::translate(key="powered_by_and", default="and", language_strings=language_strings) }} <a class="link external" href="https://duckquill.daudix.one" rel="{{ rel_attributes }}">Duckquill</a>
|
||||
{%- set zola_link = '<a class="link external" href="https://www.getzola.org" rel="' ~ rel_attributes ~ '">Zola</a>' -%}
|
||||
{%- set duckquill_link = '<a class="link external" href="https://duckquill.daudix.one" rel="' ~ rel_attributes ~ '">Duckquill</a>' -%}
|
||||
{{ 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 }}
|
||||
</small>
|
||||
</p>
|
||||
{%- endif %}
|
||||
|
Reference in New Issue
Block a user