From c6c021de2572b369b9f7e13226913b3eada8ba0e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 19 Sep 2023 12:32:28 +0100 Subject: [PATCH] Display mutuals --- translations/ar.json | 3 ++- translations/bn.json | 3 ++- translations/ca.json | 3 ++- translations/cy.json | 3 ++- translations/de.json | 3 ++- translations/el.json | 3 ++- translations/en.json | 3 ++- translations/es.json | 3 ++- translations/fa.json | 3 ++- translations/fr.json | 3 ++- translations/ga.json | 3 ++- translations/he.json | 3 ++- translations/hi.json | 3 ++- translations/it.json | 3 ++- translations/ja.json | 3 ++- translations/ko.json | 3 ++- translations/ku.json | 3 ++- translations/nl.json | 3 ++- translations/oc.json | 3 ++- translations/pl.json | 3 ++- translations/pt.json | 3 ++- translations/ru.json | 3 ++- translations/sw.json | 3 ++- translations/tr.json | 3 ++- translations/uk.json | 3 ++- translations/yi.json | 3 ++- translations/zh.json | 3 ++- webapp_person_options.py | 9 +++++++-- 28 files changed, 61 insertions(+), 29 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index 56bcc2645..7274f8218 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "ألقاب الحسابات التذكارية (واحد في كل سطر)", "Memorials": "النصب التذكارية", "places": "أماكن", - "offline": "غير متصل على الانترنت" + "offline": "غير متصل على الانترنت", + "Mutuals": "التعاضد" } diff --git a/translations/bn.json b/translations/bn.json index 9d7e28199..45d425441 100644 --- a/translations/bn.json +++ b/translations/bn.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "স্মারক অ্যাকাউন্টের ডাকনাম (প্রতি লাইনে একটি)", "Memorials": "স্মারক", "places": "জায়গা", - "offline": "অফলাইন" + "offline": "অফলাইন", + "Mutuals": "পারস্পরিক" } diff --git a/translations/ca.json b/translations/ca.json index 17c79d9d4..a3cf38a98 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Sobrenoms dels comptes commemoratius (un per línia)", "Memorials": "Memorials", "places": "llocs", - "offline": "fora de línia" + "offline": "fora de línia", + "Mutuals": "Mútues" } diff --git a/translations/cy.json b/translations/cy.json index f58dbb6a8..285f1c636 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Llysenwau cyfrifon coffa (un fesul llinell)", "Memorials": "Cofebau", "places": "lleoedd", - "offline": "all-lein" + "offline": "all-lein", + "Mutuals": "Cydfuddiol" } diff --git a/translations/de.json b/translations/de.json index 6d2634229..240b3a820 100644 --- a/translations/de.json +++ b/translations/de.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Spitznamen der Gedenkkonten (einer pro Zeile)", "Memorials": "Denkmäler", "places": "setzt", - "offline": "offline" + "offline": "offline", + "Mutuals": "Gegenseitigkeitsgesellschaften" } diff --git a/translations/el.json b/translations/el.json index de042a351..318b8d277 100644 --- a/translations/el.json +++ b/translations/el.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Ψευδώνυμα λογαριασμών μνήμης (ένα ανά γραμμή)", "Memorials": "Μνημείων", "places": "μέρη", - "offline": "εκτός σύνδεσης" + "offline": "εκτός σύνδεσης", + "Mutuals": "Αμοιβαία" } diff --git a/translations/en.json b/translations/en.json index e94420c4c..7d12dd94c 100644 --- a/translations/en.json +++ b/translations/en.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Nicknames of memorial accounts (one per line)", "Memorials": "Memorials", "places": "places", - "offline": "offline" + "offline": "offline", + "Mutuals": "Mutuals" } diff --git a/translations/es.json b/translations/es.json index 1b76c0676..4633d1dbe 100644 --- a/translations/es.json +++ b/translations/es.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Apodos de cuentas conmemorativas (uno por línea)", "Memorials": "Memoriales", "places": "lugares", - "offline": "desconectada" + "offline": "desconectada", + "Mutuals": "Mutuales" } diff --git a/translations/fa.json b/translations/fa.json index cdbed849c..4f39a6cf3 100644 --- a/translations/fa.json +++ b/translations/fa.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "نام مستعار حساب های یادبود (یکی در هر خط)", "Memorials": "یادبودها", "places": "مکان ها", - "offline": "آفلاین" + "offline": "آفلاین", + "Mutuals": "متقابل" } diff --git a/translations/fr.json b/translations/fr.json index 960de7668..2198979af 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Surnoms des comptes commémoratifs (un par ligne)", "Memorials": "Mémoriaux", "places": "lieux", - "offline": "hors ligne" + "offline": "hors ligne", + "Mutuals": "Mutuelles" } diff --git a/translations/ga.json b/translations/ga.json index 91f0b3b18..1aad73c34 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Leasainmneacha na gcuntas cuimhneacháin (ceann in aghaidh na líne)", "Memorials": "Cuimhneacháin", "places": "áiteanna", - "offline": "as líne" + "offline": "as líne", + "Mutuals": "Comhpháirteacha" } diff --git a/translations/he.json b/translations/he.json index 9c36e51a3..7ade6c801 100644 --- a/translations/he.json +++ b/translations/he.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "כינויים של חשבונות זיכרון (אחד בכל שורה)", "Memorials": "אנדרטאות", "places": "מקומות", - "offline": "במצב לא מקוון" + "offline": "במצב לא מקוון", + "Mutuals": "הדדיות" } diff --git a/translations/hi.json b/translations/hi.json index f7db24eee..a266bd69d 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "स्मारक खातों के उपनाम (प्रति पंक्ति एक)", "Memorials": "इतिवृत्त", "places": "स्थानों", - "offline": "ऑफलाइन" + "offline": "ऑफलाइन", + "Mutuals": "पारस्परिक" } diff --git a/translations/it.json b/translations/it.json index 988db5783..5df4c82f8 100644 --- a/translations/it.json +++ b/translations/it.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Soprannomi degli account commemorativi (uno per riga)", "Memorials": "Memoriali", "places": "luoghi", - "offline": "disconnessa" + "offline": "disconnessa", + "Mutuals": "Mutui" } diff --git a/translations/ja.json b/translations/ja.json index 9edbba3e7..86e9e78ec 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "追悼アカウントのニックネーム(1行に1つ)", "Memorials": "記念碑", "places": "場所", - "offline": "オフライン" + "offline": "オフライン", + "Mutuals": "相互作用" } diff --git a/translations/ko.json b/translations/ko.json index ee62608e0..03ba041cd 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "추모 계정의 닉네임(한 줄에 하나씩)", "Memorials": "기록", "places": "장소", - "offline": "오프라인" + "offline": "오프라인", + "Mutuals": "상호" } diff --git a/translations/ku.json b/translations/ku.json index 500e6b8c5..c53a7660e 100644 --- a/translations/ku.json +++ b/translations/ku.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Nasnavên hesabên bîranînê (yek ji rêzê)", "Memorials": "Memorials", "places": "cihên", - "offline": "offline" + "offline": "offline", + "Mutuals": "Mutuals" } diff --git a/translations/nl.json b/translations/nl.json index 5fd9e231b..c2dcd2f23 100644 --- a/translations/nl.json +++ b/translations/nl.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Bijnamen van herdenkingsverslagen (één per regel)", "Memorials": "Gedenktekens", "places": "plaatsen", - "offline": "offline" + "offline": "offline", + "Mutuals": "Mutualiteiten" } diff --git a/translations/oc.json b/translations/oc.json index 64675a02d..eb36f3028 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -634,5 +634,6 @@ "Nicknames of memorial accounts (one per line)": "Nicknames of memorial accounts (one per line)", "Memorials": "Memorials", "places": "places", - "offline": "offline" + "offline": "offline", + "Mutuals": "Mutuals" } diff --git a/translations/pl.json b/translations/pl.json index 8ec58b8a2..12f061882 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Pseudonimy kont pamięci (po jednym w wierszu)", "Memorials": "Pamiętnik", "places": "miejsca", - "offline": "nieaktywny" + "offline": "nieaktywny", + "Mutuals": "Wzajemne relacje" } diff --git a/translations/pt.json b/translations/pt.json index 9fd631029..58058235b 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Apelidos de contas memoriais (um por linha)", "Memorials": "Memoriais", "places": "lugares", - "offline": "desligada" + "offline": "desligada", + "Mutuals": "Mútuas" } diff --git a/translations/ru.json b/translations/ru.json index bc71a2076..899c4cbc4 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Никнеймы мемориальных аккаунтов (по одному в строке)", "Memorials": "Мемориалы", "places": "места", - "offline": "не в сети" + "offline": "не в сети", + "Mutuals": "Взаимные отношения" } diff --git a/translations/sw.json b/translations/sw.json index c2971c823..f797fab3a 100644 --- a/translations/sw.json +++ b/translations/sw.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Majina ya utani ya akaunti za ukumbusho (moja kwa kila mstari)", "Memorials": "Makumbusho", "places": "maeneo", - "offline": "nje ya mtandao" + "offline": "nje ya mtandao", + "Mutuals": "Kuheshimiana" } diff --git a/translations/tr.json b/translations/tr.json index 6d2bab9f2..b867012e5 100644 --- a/translations/tr.json +++ b/translations/tr.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Anma hesaplarının takma adları (her satıra bir tane)", "Memorials": "Anıtlar", "places": "yer", - "offline": "çevrimdışı" + "offline": "çevrimdışı", + "Mutuals": "Karşılıklar" } diff --git a/translations/uk.json b/translations/uk.json index f5d7d50a6..9b1c5f3b2 100644 --- a/translations/uk.json +++ b/translations/uk.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "Ніки меморіалів (по одному в рядку)", "Memorials": "Меморіали", "places": "місць", - "offline": "офлайн" + "offline": "офлайн", + "Mutuals": "Мутуали" } diff --git a/translations/yi.json b/translations/yi.json index c2c08f5b3..624cb8230 100644 --- a/translations/yi.json +++ b/translations/yi.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "ניקניימז פון דענקמאָל אַקאַונץ (איינער פּער שורה)", "Memorials": "מעמאָריאַלן", "places": "ערטער", - "offline": "אָפפלינע" + "offline": "אָפפלינע", + "Mutuals": "קעגנצייַטיק" } diff --git a/translations/zh.json b/translations/zh.json index 0ce23b3b5..faab8080e 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -638,5 +638,6 @@ "Nicknames of memorial accounts (one per line)": "纪念帐户昵称(每行一个)", "Memorials": "纪念馆", "places": "地方", - "offline": "离线" + "offline": "离线", + "Mutuals": "互助基金" } diff --git a/webapp_person_options.py b/webapp_person_options.py index fb6b0b641..4fb09ea1e 100644 --- a/webapp_person_options.py +++ b/webapp_person_options.py @@ -318,8 +318,13 @@ def html_person_options(default_timeline: str, translate['FollowWarning'] + '

\n' if follows_you and authorized: - options_str += \ - '

' + translate['Follows you'] + '

\n' + if follow_str != 'Unfollow': + options_str += \ + '

' + \ + translate['Follows you'] + '

\n' + else: + options_str += \ + '

' + translate['Mutuals'] + '

\n' options_str += '
\n' if moved_to: