diff --git a/catalog/templates/catalog_delete.html b/catalog/templates/catalog_delete.html index a01779d1..a9d9a38a 100644 --- a/catalog/templates/catalog_delete.html +++ b/catalog/templates/catalog_delete.html @@ -3,8 +3,9 @@ {% load l10n %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/catalog/templates/catalog_edit.html b/catalog/templates/catalog_edit.html index 59c948a8..f77dd7af 100644 --- a/catalog/templates/catalog_edit.html +++ b/catalog/templates/catalog_edit.html @@ -1,8 +1,9 @@ {% load static %} {% load i18n %} {% load mastodon %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/catalog/templates/catalog_history.html b/catalog/templates/catalog_history.html index 32496156..4ee5a401 100644 --- a/catalog/templates/catalog_history.html +++ b/catalog/templates/catalog_history.html @@ -1,8 +1,9 @@ {% load static %} {% load i18n %} {% load mastodon %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/catalog/templates/catalog_merge.html b/catalog/templates/catalog_merge.html index 0b7f66d1..4acff3e0 100644 --- a/catalog/templates/catalog_merge.html +++ b/catalog/templates/catalog_merge.html @@ -3,8 +3,9 @@ {% load l10n %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/catalog/templates/discover.html b/catalog/templates/discover.html index c6428ae8..0c0dcf11 100644 --- a/catalog/templates/discover.html +++ b/catalog/templates/discover.html @@ -2,8 +2,9 @@ {% load i18n %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/catalog/templates/embed_base.html b/catalog/templates/embed_base.html index 3244c08a..4fee3b0c 100644 --- a/catalog/templates/embed_base.html +++ b/catalog/templates/embed_base.html @@ -5,8 +5,9 @@ {% load mastodon %} {% load strip_scheme %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/catalog/templates/fetch_pending.html b/catalog/templates/fetch_pending.html index 4690c533..16d9cc0c 100644 --- a/catalog/templates/fetch_pending.html +++ b/catalog/templates/fetch_pending.html @@ -4,8 +4,9 @@ {% load humanize %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/catalog/templates/item_base.html b/catalog/templates/item_base.html index 9ffb640c..b4cc964f 100644 --- a/catalog/templates/item_base.html +++ b/catalog/templates/item_base.html @@ -7,8 +7,9 @@ {% load thumb %} {% load user_actions %} {% load duration %} +{% get_current_language as LANGUAGE_CODE %} - + @@ -111,7 +112,7 @@

{% else %}

- + {% trans 'Login or register to review or add this item to your collection.' %}

diff --git a/catalog/templates/item_mark_list.html b/catalog/templates/item_mark_list.html index 0c9e3da1..117615e9 100644 --- a/catalog/templates/item_mark_list.html +++ b/catalog/templates/item_mark_list.html @@ -4,8 +4,9 @@ {% load thumb %} {% load user_actions %} {% load duration %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/catalog/templates/item_review_list.html b/catalog/templates/item_review_list.html index 907ea50f..ed9f3906 100644 --- a/catalog/templates/item_review_list.html +++ b/catalog/templates/item_review_list.html @@ -4,8 +4,9 @@ {% load thumb %} {% load user_actions %} {% load duration %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/catalog/templates/search_results.html b/catalog/templates/search_results.html index 22499bcd..5a4cad33 100644 --- a/catalog/templates/search_results.html +++ b/catalog/templates/search_results.html @@ -5,8 +5,9 @@ {% load mastodon %} {% load duration %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/common/templates/400.html b/common/templates/400.html index 553ac962..dbba3c86 100644 --- a/common/templates/400.html +++ b/common/templates/400.html @@ -3,8 +3,9 @@ {% load l10n %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/common/templates/503.html b/common/templates/503.html index 86cde81a..88e0002d 100644 --- a/common/templates/503.html +++ b/common/templates/503.html @@ -1,5 +1,7 @@ +{% load i18n %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/common/templates/_header.html b/common/templates/_header.html index b0ccc37e..8abcaabf 100644 --- a/common/templates/_header.html +++ b/common/templates/_header.html @@ -115,7 +115,7 @@ {% endif %} {% else %}
  • - {% trans 'Sign up or Login' %} + {% trans 'Sign up or Login' %}
  • {% endif %} diff --git a/common/templates/common/error.html b/common/templates/common/error.html index b9ad8109..a9e9027a 100644 --- a/common/templates/common/error.html +++ b/common/templates/common/error.html @@ -3,8 +3,9 @@ {% load l10n %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/common/templates/common/info.html b/common/templates/common/info.html index 14cabcf7..985140af 100644 --- a/common/templates/common/info.html +++ b/common/templates/common/info.html @@ -3,8 +3,9 @@ {% load l10n %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/docs/assets/servers.json b/docs/assets/servers.json new file mode 100644 index 00000000..f7ad0856 --- /dev/null +++ b/docs/assets/servers.json @@ -0,0 +1,40 @@ +{ + "version": "1.0", + "servers": [ + { + "name": "NeoDB", + "host": "neodb.social", + "labels": [ + "flagship" + ], + "languages": [ + "zh", + "en" + ] + }, + { + "name": "Eggplant", + "host": "eggplant.place", + "labels": [ + "beta" + ], + "languages": [ + "en" + ] + }, + { + "name": "ReviewDB", + "host": "neodb.social", + "languages": [ + "en" + ] + }, + { + "name": "Minreol", + "host": "minreol.dk", + "languages": [ + "da" + ] + } + ] +} diff --git a/journal/templates/collection.html b/journal/templates/collection.html index 5145836e..e45e2cc2 100644 --- a/journal/templates/collection.html +++ b/journal/templates/collection.html @@ -6,8 +6,9 @@ {% load thumb %} {% load collection %} {% load user_actions %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/journal/templates/collection_edit.html b/journal/templates/collection_edit.html index 8c030a73..09c658e7 100644 --- a/journal/templates/collection_edit.html +++ b/journal/templates/collection_edit.html @@ -1,8 +1,9 @@ {% load static %} {% load i18n %} {% load mastodon %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/journal/templates/piece_delete.html b/journal/templates/piece_delete.html index e36f8e59..8c1face1 100644 --- a/journal/templates/piece_delete.html +++ b/journal/templates/piece_delete.html @@ -1,8 +1,9 @@ {% load static %} {% load i18n %} {% load mastodon %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/journal/templates/profile.html b/journal/templates/profile.html index fa625fe1..e0f12a59 100644 --- a/journal/templates/profile.html +++ b/journal/templates/profile.html @@ -2,8 +2,10 @@ {% load i18n %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/journal/templates/review.html b/journal/templates/review.html index c3f0c444..130038a5 100644 --- a/journal/templates/review.html +++ b/journal/templates/review.html @@ -4,8 +4,9 @@ {% load thumb %} {% load user_actions %} {% load duration %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/journal/templates/review_edit.html b/journal/templates/review_edit.html index 54884edb..3d4d5a6a 100644 --- a/journal/templates/review_edit.html +++ b/journal/templates/review_edit.html @@ -2,8 +2,9 @@ {% load i18n %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/journal/templates/search_journal.html b/journal/templates/search_journal.html index 372b1726..1cffbcd9 100644 --- a/journal/templates/search_journal.html +++ b/journal/templates/search_journal.html @@ -5,8 +5,9 @@ {% load mastodon %} {% load duration %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/journal/templates/user_collection_list.html b/journal/templates/user_collection_list.html index 35e3f146..d3805f90 100644 --- a/journal/templates/user_collection_list.html +++ b/journal/templates/user_collection_list.html @@ -5,8 +5,9 @@ {% load mastodon %} {% load user_actions %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/journal/templates/user_item_list_base.html b/journal/templates/user_item_list_base.html index 10149954..f7d0cdd4 100644 --- a/journal/templates/user_item_list_base.html +++ b/journal/templates/user_item_list_base.html @@ -3,8 +3,9 @@ {% load l10n %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/journal/templates/user_tag_list.html b/journal/templates/user_tag_list.html index 6c6e2f0b..9f046370 100644 --- a/journal/templates/user_tag_list.html +++ b/journal/templates/user_tag_list.html @@ -4,8 +4,9 @@ {% load humanize %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/journal/templates/wrapped.html b/journal/templates/wrapped.html index 7cb7467f..6a180d24 100644 --- a/journal/templates/wrapped.html +++ b/journal/templates/wrapped.html @@ -6,8 +6,9 @@ {% load thumb %} {% load collection %} {% load user_actions %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/social/templates/feed.html b/social/templates/feed.html index 77cb6e3b..83969ef0 100644 --- a/social/templates/feed.html +++ b/social/templates/feed.html @@ -3,8 +3,9 @@ {% load l10n %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/social/templates/notification.html b/social/templates/notification.html index c9f7383f..71b8e6fc 100644 --- a/social/templates/notification.html +++ b/social/templates/notification.html @@ -3,8 +3,9 @@ {% load l10n %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/social/templates/search_feed.html b/social/templates/search_feed.html index 7239506a..5044a7be 100644 --- a/social/templates/search_feed.html +++ b/social/templates/search_feed.html @@ -3,8 +3,9 @@ {% load l10n %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/users/templates/users/account.html b/users/templates/users/account.html index d60f5d3b..dab5c971 100644 --- a/users/templates/users/account.html +++ b/users/templates/users/account.html @@ -2,8 +2,9 @@ {% load i18n %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/users/templates/users/announcements.html b/users/templates/users/announcements.html index cb97ab7f..e0468136 100644 --- a/users/templates/users/announcements.html +++ b/users/templates/users/announcements.html @@ -2,8 +2,9 @@ {% load i18n %} {% load humanize %} {% load duration %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/users/templates/users/data.html b/users/templates/users/data.html index 0652d741..30d8e0bf 100644 --- a/users/templates/users/data.html +++ b/users/templates/users/data.html @@ -2,8 +2,9 @@ {% load i18n %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/users/templates/users/fetch_identity_pending.html b/users/templates/users/fetch_identity_pending.html index c3670d4c..d9d66b55 100644 --- a/users/templates/users/fetch_identity_pending.html +++ b/users/templates/users/fetch_identity_pending.html @@ -4,8 +4,9 @@ {% load humanize %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/users/templates/users/home_anonymous.html b/users/templates/users/home_anonymous.html index f61603e6..6288d0dc 100644 --- a/users/templates/users/home_anonymous.html +++ b/users/templates/users/home_anonymous.html @@ -1,7 +1,8 @@ {% load static %} {% load i18n %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/users/templates/users/login.html b/users/templates/users/login.html index 4e9873e4..9d366fad 100644 --- a/users/templates/users/login.html +++ b/users/templates/users/login.html @@ -1,7 +1,8 @@ {% load i18n %} {% load static %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/users/templates/users/preferences.html b/users/templates/users/preferences.html index 53381a1e..a279da04 100644 --- a/users/templates/users/preferences.html +++ b/users/templates/users/preferences.html @@ -3,8 +3,9 @@ {% load mastodon %} {% load duration %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/users/templates/users/register.html b/users/templates/users/register.html index 960326c7..c87b5eb2 100644 --- a/users/templates/users/register.html +++ b/users/templates/users/register.html @@ -1,7 +1,8 @@ {% load i18n %} {% load static %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/users/templates/users/verify.html b/users/templates/users/verify.html index 9c7061c9..e871c29a 100644 --- a/users/templates/users/verify.html +++ b/users/templates/users/verify.html @@ -3,8 +3,9 @@ {% load l10n %} {% load mastodon %} {% load thumb %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/users/templates/users/verify_email.html b/users/templates/users/verify_email.html index 55f97114..a2f901bc 100644 --- a/users/templates/users/verify_email.html +++ b/users/templates/users/verify_email.html @@ -1,7 +1,8 @@ {% load i18n %} {% load static %} +{% get_current_language as LANGUAGE_CODE %} - + diff --git a/users/templates/users/welcome.html b/users/templates/users/welcome.html index 65ad13b9..f9197388 100644 --- a/users/templates/users/welcome.html +++ b/users/templates/users/welcome.html @@ -1,7 +1,8 @@ {% load i18n %} {% load static %} +{% get_current_language as LANGUAGE_CODE %} - +