From 14bb23693750ca4ee00ea01fc87b7b87303df637 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 21 Mar 2024 20:32:30 +0000 Subject: [PATCH] Change followers to fans for premium accounts --- translations/ar.json | 5 ++++- translations/bn.json | 5 ++++- translations/ca.json | 5 ++++- translations/cy.json | 5 ++++- translations/de.json | 5 ++++- translations/el.json | 5 ++++- translations/en.json | 5 ++++- translations/es.json | 5 ++++- translations/fa.json | 5 ++++- translations/fr.json | 5 ++++- translations/ga.json | 5 ++++- translations/he.json | 5 ++++- translations/hi.json | 5 ++++- translations/it.json | 5 ++++- translations/ja.json | 5 ++++- translations/ko.json | 5 ++++- translations/ku.json | 5 ++++- translations/nl.json | 5 ++++- translations/oc.json | 5 ++++- translations/pl.json | 5 ++++- translations/pt.json | 5 ++++- translations/ru.json | 5 ++++- translations/sw.json | 5 ++++- translations/tr.json | 5 ++++- translations/uk.json | 5 ++++- translations/yi.json | 5 ++++- translations/zh.json | 5 ++++- webapp_profile.py | 9 ++++++++- 28 files changed, 116 insertions(+), 28 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index 2739d06f4..f22b4888e 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -663,5 +663,8 @@ "Premium account": "حساب الأقساط", "Premium account subscription link": "رابط الاشتراك في الحساب المميز", "Fans": "المشجعين", - "Only to fans": "فقط للجماهير" + "Only to fans": "فقط للجماهير", + "Approve fans": "الموافقة على المشجعين", + "Only allow replies from fans": "السماح فقط بالردود من المعجبين", + "Do not show fans on your profile": "لا تظهر المعجبين في ملفك الشخصي" } diff --git a/translations/bn.json b/translations/bn.json index 43f98d7a3..681d2966a 100644 --- a/translations/bn.json +++ b/translations/bn.json @@ -663,5 +663,8 @@ "Premium account": "প্রিমিয়াম অ্যাকাউন্ট", "Premium account subscription link": "প্রিমিয়াম অ্যাকাউন্ট সাবস্ক্রিপশন লিঙ্ক", "Fans": "ভক্ত", - "Only to fans": "শুধুমাত্র ভক্তদের জন্য" + "Only to fans": "শুধুমাত্র ভক্তদের জন্য", + "Approve fans": "ভক্তদের অনুমোদন করুন", + "Only allow replies from fans": "শুধুমাত্র অনুরাগীদের কাছ থেকে উত্তরের অনুমতি দিন", + "Do not show fans on your profile": "আপনার প্রোফাইলে ভক্ত দেখাবেন না" } diff --git a/translations/ca.json b/translations/ca.json index c2478aa8c..c19707625 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -663,5 +663,8 @@ "Premium account": "Compte Premium", "Premium account subscription link": "Enllaç de subscripció al compte Premium", "Fans": "Ventiladors", - "Only to fans": "Només als aficionats" + "Only to fans": "Només als aficionats", + "Approve fans": "Aprovar els aficionats", + "Only allow replies from fans": "Només permet respostes dels fans", + "Do not show fans on your profile": "No mostris els fans al teu perfil" } diff --git a/translations/cy.json b/translations/cy.json index 0747d38ea..9f3216575 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -663,5 +663,8 @@ "Premium account": "Cyfrif premiwm", "Premium account subscription link": "Dolen tanysgrifiad cyfrif premiwm", "Fans": "Cefnogwyr", - "Only to fans": "Dim ond i gefnogwyr" + "Only to fans": "Dim ond i gefnogwyr", + "Approve fans": "Cymeradwyo cefnogwyr", + "Only allow replies from fans": "Caniatewch atebion gan gefnogwyr yn unig", + "Do not show fans on your profile": "Peidiwch â dangos cefnogwyr ar eich proffil" } diff --git a/translations/de.json b/translations/de.json index 72510e798..0776816bc 100644 --- a/translations/de.json +++ b/translations/de.json @@ -663,5 +663,8 @@ "Premium account": "Premiumaccount", "Premium account subscription link": "Link zum Abonnement eines Premium-Kontos", "Fans": "Fans", - "Only to fans": "Nur für Fans" + "Only to fans": "Nur für Fans", + "Approve fans": "Fans genehmigen", + "Only allow replies from fans": "Erlaube nur Antworten von Fans", + "Do not show fans on your profile": "Zeigen Sie keine Fans in Ihrem Profil an" } diff --git a/translations/el.json b/translations/el.json index 06a6342c0..c746444cd 100644 --- a/translations/el.json +++ b/translations/el.json @@ -663,5 +663,8 @@ "Premium account": "Λογαριασμός Premium", "Premium account subscription link": "Σύνδεσμος εγγραφής λογαριασμού Premium", "Fans": "Θαυμαστές", - "Only to fans": "Μόνο στους οπαδούς" + "Only to fans": "Μόνο στους οπαδούς", + "Approve fans": "Έγκριση οπαδών", + "Only allow replies from fans": "Επιτρέπονται μόνο απαντήσεις από θαυμαστές", + "Do not show fans on your profile": "Μην εμφανίζετε θαυμαστές στο προφίλ σας" } diff --git a/translations/en.json b/translations/en.json index c73f5a301..a1b62abdb 100644 --- a/translations/en.json +++ b/translations/en.json @@ -663,5 +663,8 @@ "Premium account": "Premium account", "Premium account subscription link": "Premium account subscription link", "Fans": "Fans", - "Only to fans": "Only to fans" + "Only to fans": "Only to fans", + "Approve fans": "Approve fans", + "Only allow replies from fans": "Only allow replies from fans", + "Do not show fans on your profile": "Do not show fans on your profile" } diff --git a/translations/es.json b/translations/es.json index de1bb6f7a..073eb734c 100644 --- a/translations/es.json +++ b/translations/es.json @@ -663,5 +663,8 @@ "Premium account": "Cuenta privilegiada", "Premium account subscription link": "Enlace de suscripción a cuenta premium", "Fans": "Aficionadas", - "Only to fans": "Solo para las fans" + "Only to fans": "Solo para las fans", + "Approve fans": "Aprobar las fans", + "Only allow replies from fans": "Solo permitir respuestas de las fans", + "Do not show fans on your profile": "No mostrar fans en tu perfil" } diff --git a/translations/fa.json b/translations/fa.json index 108747391..0764fa4bc 100644 --- a/translations/fa.json +++ b/translations/fa.json @@ -663,5 +663,8 @@ "Premium account": "حساب ویژه", "Premium account subscription link": "لینک اشتراک حساب پریمیوم", "Fans": "طرفداران", - "Only to fans": "فقط به طرفداران" + "Only to fans": "فقط به طرفداران", + "Approve fans": "طرفداران را تایید کنید", + "Only allow replies from fans": "فقط اجازه پاسخ از طرفداران را بدهید", + "Do not show fans on your profile": "طرفداران را در نمایه خود نشان ندهید" } diff --git a/translations/fr.json b/translations/fr.json index b37d6df9a..9e351e61c 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -663,5 +663,8 @@ "Premium account": "Compte Premium", "Premium account subscription link": "Lien d'abonnement au compte Premium", "Fans": "Ventilateurs", - "Only to fans": "Uniquement aux fans" + "Only to fans": "Uniquement aux fans", + "Approve fans": "Approuver les fans", + "Only allow replies from fans": "Autoriser uniquement les réponses des fans", + "Do not show fans on your profile": "Ne pas afficher les fans sur votre profil" } diff --git a/translations/ga.json b/translations/ga.json index 4b18d1803..458c87afc 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -663,5 +663,8 @@ "Premium account": "Cuntas préimhe", "Premium account subscription link": "Nasc síntiús cuntas préimhe", "Fans": "Lucht leanúna", - "Only to fans": "A lucht leanúna amháin" + "Only to fans": "A lucht leanúna amháin", + "Approve fans": "Lucht leanúna a cheadú", + "Only allow replies from fans": "Ná ceadaigh ach freagraí ón lucht leanúna", + "Do not show fans on your profile": "Ná taispeáin lucht leanúna ar do phróifíl" } diff --git a/translations/he.json b/translations/he.json index 611640c07..081d9c7b9 100644 --- a/translations/he.json +++ b/translations/he.json @@ -663,5 +663,8 @@ "Premium account": "חשבון פרימיום", "Premium account subscription link": "קישור מנוי לחשבון פרימיום", "Fans": "מעריצים", - "Only to fans": "רק למעריצים" + "Only to fans": "רק למעריצים", + "Approve fans": "לאשר מעריצים", + "Only allow replies from fans": "אפשר רק תשובות ממעריצים", + "Do not show fans on your profile": "אל תראה מעריצים בפרופיל שלך" } diff --git a/translations/hi.json b/translations/hi.json index 3e75f69de..01af8ad67 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -663,5 +663,8 @@ "Premium account": "प्रीमियम खाता", "Premium account subscription link": "प्रीमियम खाता सदस्यता लिंक", "Fans": "प्रशंसक", - "Only to fans": "केवल प्रशंसकों के लिए" + "Only to fans": "केवल प्रशंसकों के लिए", + "Approve fans": "प्रशंसकों का अनुमोदन करें", + "Only allow replies from fans": "केवल प्रशंसकों के उत्तरों की अनुमति दें", + "Do not show fans on your profile": "अपनी प्रोफ़ाइल पर प्रशंसकों को न दिखाएं" } diff --git a/translations/it.json b/translations/it.json index f70bbe00e..e83729d5f 100644 --- a/translations/it.json +++ b/translations/it.json @@ -663,5 +663,8 @@ "Premium account": "Account premium", "Premium account subscription link": "Collegamento per l'abbonamento all'account Premium", "Fans": "Tifosi", - "Only to fans": "Solo ai tifosi" + "Only to fans": "Solo ai tifosi", + "Approve fans": "Approva i fan", + "Only allow replies from fans": "Consenti solo risposte da parte dei fan", + "Do not show fans on your profile": "Non mostrare i fan sul tuo profilo" } diff --git a/translations/ja.json b/translations/ja.json index c29b2821e..c40964cac 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -663,5 +663,8 @@ "Premium account": "プレミアムアカウント", "Premium account subscription link": "プレミアムアカウントのサブスクリプションリンク", "Fans": "ファン", - "Only to fans": "ファンだけに" + "Only to fans": "ファンだけに", + "Approve fans": "ファンを承認する", + "Only allow replies from fans": "ファンからの返信のみを許可する", + "Do not show fans on your profile": "プロフィールにファンを表示しない" } diff --git a/translations/ko.json b/translations/ko.json index a3c1556de..0132c4db2 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -663,5 +663,8 @@ "Premium account": "프리미엄 계정", "Premium account subscription link": "프리미엄 계정 구독 링크", "Fans": "팬", - "Only to fans": "팬들에게만" + "Only to fans": "팬들에게만", + "Approve fans": "팬 승인", + "Only allow replies from fans": "팬의 답글만 허용", + "Do not show fans on your profile": "프로필에 팬을 표시하지 마세요." } diff --git a/translations/ku.json b/translations/ku.json index 829987d5e..fa67a7951 100644 --- a/translations/ku.json +++ b/translations/ku.json @@ -663,5 +663,8 @@ "Premium account": "Hesabê Premium", "Premium account subscription link": "Zencîreya abonetiya hesabê Premium", "Fans": "Fans", - "Only to fans": "Tenê ji temaşevanan re" + "Only to fans": "Tenê ji temaşevanan re", + "Approve fans": "Fans pejirandî", + "Only allow replies from fans": "Tenê destûr bidin bersivên temaşevanan", + "Do not show fans on your profile": "Li ser profîla xwe temaşevanan nîşan nedin" } diff --git a/translations/nl.json b/translations/nl.json index 2f751f53e..a83a86e9c 100644 --- a/translations/nl.json +++ b/translations/nl.json @@ -663,5 +663,8 @@ "Premium account": "Premium account", "Premium account subscription link": "Abonnementlink voor premiumaccount", "Fans": "Fans", - "Only to fans": "Alleen voor fans" + "Only to fans": "Alleen voor fans", + "Approve fans": "Fans goedkeuren", + "Only allow replies from fans": "Sta alleen antwoorden van fans toe", + "Do not show fans on your profile": "Toon geen fans op je profiel" } diff --git a/translations/oc.json b/translations/oc.json index b6afc88fb..44b3f759d 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -659,5 +659,8 @@ "Premium account": "Premium account", "Premium account subscription link": "Premium account subscription link", "Fans": "Fans", - "Only to fans": "Only to fans" + "Only to fans": "Only to fans", + "Approve fans": "Approve fans", + "Only allow replies from fans": "Only allow replies from fans", + "Do not show fans on your profile": "Do not show fans on your profile" } diff --git a/translations/pl.json b/translations/pl.json index f09b3e962..f2bc24ec3 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -663,5 +663,8 @@ "Premium account": "Konto premium", "Premium account subscription link": "Link do subskrypcji konta premium", "Fans": "Fani", - "Only to fans": "Tylko dla fanów" + "Only to fans": "Tylko dla fanów", + "Approve fans": "Zatwierdź fanów", + "Only allow replies from fans": "Zezwalaj tylko na odpowiedzi od fanów", + "Do not show fans on your profile": "Nie pokazuj fanów na swoim profilu" } diff --git a/translations/pt.json b/translations/pt.json index ba19ea99e..2d2d6dd6e 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -663,5 +663,8 @@ "Premium account": "Conta Premium", "Premium account subscription link": "Link de assinatura da conta premium", "Fans": "Fãs", - "Only to fans": "Somente para fãs" + "Only to fans": "Somente para fãs", + "Approve fans": "Aprovar fãs", + "Only allow replies from fans": "Permitir apenas respostas de fãs", + "Do not show fans on your profile": "Não mostre fãs em seu perfil" } diff --git a/translations/ru.json b/translations/ru.json index b362c8ea3..b58eb5b1a 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -663,5 +663,8 @@ "Premium account": "Премиум аккаунт", "Premium account subscription link": "Ссылка на подписку на премиум-аккаунт", "Fans": "Поклонники", - "Only to fans": "Только фанатам" + "Only to fans": "Только фанатам", + "Approve fans": "Одобрить поклонников", + "Only allow replies from fans": "Разрешить ответы только от фанатов", + "Do not show fans on your profile": "Не показывать поклонников в своем профиле" } diff --git a/translations/sw.json b/translations/sw.json index 788644137..b854dea0d 100644 --- a/translations/sw.json +++ b/translations/sw.json @@ -663,5 +663,8 @@ "Premium account": "Akaunti ya malipo", "Premium account subscription link": "Kiungo cha usajili wa akaunti ya Premium", "Fans": "Mashabiki", - "Only to fans": "Kwa mashabiki pekee" + "Only to fans": "Kwa mashabiki pekee", + "Approve fans": "Idhinisha mashabiki", + "Only allow replies from fans": "Ruhusu majibu kutoka kwa mashabiki pekee", + "Do not show fans on your profile": "Usionyeshe mashabiki kwenye wasifu wako" } diff --git a/translations/tr.json b/translations/tr.json index 8dd5a192d..aa7f6008d 100644 --- a/translations/tr.json +++ b/translations/tr.json @@ -663,5 +663,8 @@ "Premium account": "Özel hesap", "Premium account subscription link": "Premium hesap abonelik bağlantısı", "Fans": "Hayranlar", - "Only to fans": "Sadece hayranlara" + "Only to fans": "Sadece hayranlara", + "Approve fans": "Hayranları onayla", + "Only allow replies from fans": "Yalnızca hayranlardan gelen yanıtlara izin ver", + "Do not show fans on your profile": "Hayranlarınızı profilinizde gösterme" } diff --git a/translations/uk.json b/translations/uk.json index 2285ea1ba..8d49ef7b1 100644 --- a/translations/uk.json +++ b/translations/uk.json @@ -663,5 +663,8 @@ "Premium account": "Преміум акаунт", "Premium account subscription link": "Посилання на підписку на преміум-акаунт", "Fans": "вболівальники", - "Only to fans": "Тільки фанатам" + "Only to fans": "Тільки фанатам", + "Approve fans": "Схвалити шанувальників", + "Only allow replies from fans": "Дозволити лише відповіді від шанувальників", + "Do not show fans on your profile": "Не показуйте шанувальників у своєму профілі" } diff --git a/translations/yi.json b/translations/yi.json index b53d5423a..d0263a195 100644 --- a/translations/yi.json +++ b/translations/yi.json @@ -663,5 +663,8 @@ "Premium account": "פּרעמיום חשבון", "Premium account subscription link": "פּרעמיום חשבון אַבאָנעמענט לינק", "Fans": "פאַנס", - "Only to fans": "נאָר צו פאַנס" + "Only to fans": "נאָר צו פאַנס", + "Approve fans": "אַפּרווו פאַנס", + "Only allow replies from fans": "נאָר לאָזן ענטפֿערס פון פאַנס", + "Do not show fans on your profile": "צי ניט ווייַזן פאַנס אויף דיין פּראָפיל" } diff --git a/translations/zh.json b/translations/zh.json index 318a613f4..27bb36ac0 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -663,5 +663,8 @@ "Premium account": "至尊帐号", "Premium account subscription link": "高级帐户订阅链接", "Fans": "粉丝", - "Only to fans": "只给粉丝" + "Only to fans": "只给粉丝", + "Approve fans": "批准粉丝", + "Only allow replies from fans": "只允许粉丝回复", + "Do not show fans on your profile": "不要在您的个人资料上显示粉丝" } diff --git a/webapp_profile.py b/webapp_profile.py index 14a0a30a9..5e4e6e527 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -2730,8 +2730,11 @@ def _html_edit_profile_options(is_admin: bool, edit_profile_form = '
\n' edit_profile_form += \ edit_check_box(translate['Premium account'], 'premiumAccount', premium) + approve_followers_str = translate['Approve follower requests'] + if premium: + approve_followers_str = translate['Approve fans'] edit_profile_form += \ - edit_check_box(translate['Approve follower requests'], + edit_check_box(approve_followers_str, 'approveFollowers', manually_approves_followers) edit_profile_form += \ edit_check_box(translate['Reject spam accounts'], @@ -2781,6 +2784,8 @@ def _html_edit_profile_options(is_admin: bool, edit_profile_form += \ edit_check_box(show_vote_posts_str, 'showVotes', show_vote_posts) show_replies_followers_str = translate['Only allow replies from followers'] + if premium: + show_replies_followers_str = translate['Only allow replies from fans'] edit_profile_form += \ edit_check_box(show_replies_followers_str, 'repliesFromFollowersOnly', show_replies_followers) @@ -2789,6 +2794,8 @@ def _html_edit_profile_options(is_admin: bool, edit_check_box(show_replies_mutuals_str, 'repliesFromMutualsOnly', show_replies_mutuals) hide_follows_str = translate['Do not show follows on your profile'] + if premium: + hide_follows_str = translate['Do not show fans on your profile'] edit_profile_form += \ edit_check_box(hide_follows_str, 'hideFollows', hide_follows)