From 8bdb0d130e2229fa1af8cf3d54015da78effcdeb Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 19 May 2024 21:37:12 -0400 Subject: [PATCH] more i18n --- catalog/templates/_fetch_failed.html | 1 + .../_item_card_metadata_edition.html | 7 +- .../templates/_item_user_mark_history.html | 1 + catalog/templates/_item_user_pieces.html | 1 + developer/templates/oauth2_provider/base.html | 1 + journal/templates/_feature_stats.html | 1 + journal/templates/action_boost_post.html | 1 + journal/templates/action_like_post.html | 1 + journal/templates/action_open_post.html | 1 + journal/templates/action_reply_piece.html | 1 + journal/templates/action_reply_post.html | 1 + journal/templates/calendar_data.html | 1 + .../collection_update_item_note.html | 1 + locale/zh_Hans/LC_MESSAGES/django.po | 250 ++++++++++++------ social/templates/event/announcement.html | 1 + social/templates/event/boost.html | 1 + social/templates/event/identity_created.html | 1 + social/templates/event/post.html | 1 + users/templates/users/data_import_status.html | 1 + .../users/fetch_identity_failed.html | 1 + users/templates/users/follow_locked.html | 1 + users/templates/users/login.html | 43 +-- users/templates/users/profile_actions.html | 29 +- users/templates/users/relationship_list.html | 1 + 24 files changed, 230 insertions(+), 119 deletions(-) diff --git a/catalog/templates/_fetch_failed.html b/catalog/templates/_fetch_failed.html index 4c7dd620..534bd5b7 100644 --- a/catalog/templates/_fetch_failed.html +++ b/catalog/templates/_fetch_failed.html @@ -1,3 +1,4 @@ +{% load i18n %}

{% trans "Unable to fetch from the link, please check again. Some sites may require login for certain links, please manually create them here." %} diff --git a/catalog/templates/_item_card_metadata_edition.html b/catalog/templates/_item_card_metadata_edition.html index 244abfa2..2ed49ac5 100644 --- a/catalog/templates/_item_card_metadata_edition.html +++ b/catalog/templates/_item_card_metadata_edition.html @@ -36,8 +36,7 @@
{% endif %} {% endcomment %} {% include '_people.html' with people=item.other_title role='other title' max=2 %} -{% endif %} -

- {% if not hide_brief %}{{ item.brief | linebreaksbr }}{% endif %} -
+
+ {% if not hide_brief %}{{ item.brief | linebreaksbr }}{% endif %} +
{% endblock full %} diff --git a/catalog/templates/_item_user_mark_history.html b/catalog/templates/_item_user_mark_history.html index 3f296903..83623f86 100644 --- a/catalog/templates/_item_user_mark_history.html +++ b/catalog/templates/_item_user_mark_history.html @@ -1,3 +1,4 @@ +{% load i18n %}