Change followers terminology for group

main
Bob Mottram 2021-09-21 18:20:45 +01:00
parent f9aa3a0efb
commit d9317dd518
18 changed files with 40 additions and 19 deletions

View File

@ -484,5 +484,6 @@
"Buy": "يشتري", "Buy": "يشتري",
"Request to stay": "طلب البقاء", "Request to stay": "طلب البقاء",
"Profile": "الملف الشخصي", "Profile": "الملف الشخصي",
"Introduce yourself and specify the date and time when you wish to stay": "عرّف عن نفسك وحدد التاريخ والوقت اللذين ترغب في الإقامة فيهما" "Introduce yourself and specify the date and time when you wish to stay": "عرّف عن نفسك وحدد التاريخ والوقت اللذين ترغب في الإقامة فيهما",
"Members": "أعضاء"
} }

View File

@ -484,5 +484,6 @@
"Buy": "Comprar", "Buy": "Comprar",
"Request to stay": "Sol·licitud de permanència", "Request to stay": "Sol·licitud de permanència",
"Profile": "Perfil", "Profile": "Perfil",
"Introduce yourself and specify the date and time when you wish to stay": "Presenteu-vos i especifiqueu la data i lhora en què voleu romandre" "Introduce yourself and specify the date and time when you wish to stay": "Presenteu-vos i especifiqueu la data i lhora en què voleu romandre",
"Members": "Membres"
} }

View File

@ -484,5 +484,6 @@
"Buy": "Prynu", "Buy": "Prynu",
"Request to stay": "Cais i aros", "Request to stay": "Cais i aros",
"Profile": "Proffil", "Profile": "Proffil",
"Introduce yourself and specify the date and time when you wish to stay": "Cyflwynwch eich hun a nodwch y dyddiad a'r amser pan fyddwch yn dymuno aros" "Introduce yourself and specify the date and time when you wish to stay": "Cyflwynwch eich hun a nodwch y dyddiad a'r amser pan fyddwch yn dymuno aros",
"Members": "Aelodau"
} }

View File

@ -484,5 +484,6 @@
"Buy": "Besorgen", "Buy": "Besorgen",
"Request to stay": "Bitte um bleiben", "Request to stay": "Bitte um bleiben",
"Profile": "Profil", "Profile": "Profil",
"Introduce yourself and specify the date and time when you wish to stay": "Stellen Sie sich vor und geben Sie Datum und Uhrzeit Ihres Aufenthalts an" "Introduce yourself and specify the date and time when you wish to stay": "Stellen Sie sich vor und geben Sie Datum und Uhrzeit Ihres Aufenthalts an",
"Members": "Mitglieder"
} }

View File

@ -484,5 +484,6 @@
"Buy": "Buy", "Buy": "Buy",
"Request to stay": "Request to stay", "Request to stay": "Request to stay",
"Profile": "Profile", "Profile": "Profile",
"Introduce yourself and specify the date and time when you wish to stay": "Introduce yourself and specify the date and time when you wish to stay" "Introduce yourself and specify the date and time when you wish to stay": "Introduce yourself and specify the date and time when you wish to stay",
"Members": "Members"
} }

View File

@ -484,5 +484,6 @@
"Buy": "Comprar", "Buy": "Comprar",
"Request to stay": "Solicitud para quedarse", "Request to stay": "Solicitud para quedarse",
"Profile": "Perfil", "Profile": "Perfil",
"Introduce yourself and specify the date and time when you wish to stay": "Preséntese y especifique la fecha y hora en que desea quedarse" "Introduce yourself and specify the date and time when you wish to stay": "Preséntese y especifique la fecha y hora en que desea quedarse",
"Members": "Miembros"
} }

View File

@ -484,5 +484,6 @@
"Buy": "Acheter", "Buy": "Acheter",
"Request to stay": "Demande de séjour", "Request to stay": "Demande de séjour",
"Profile": "Profil", "Profile": "Profil",
"Introduce yourself and specify the date and time when you wish to stay": "Présentez-vous et précisez la date et l'heure auxquelles vous souhaitez rester" "Introduce yourself and specify the date and time when you wish to stay": "Présentez-vous et précisez la date et l'heure auxquelles vous souhaitez rester",
"Members": "Membres"
} }

View File

@ -484,5 +484,6 @@
"Buy": "Ceannaigh", "Buy": "Ceannaigh",
"Request to stay": "Iarraidh fanacht", "Request to stay": "Iarraidh fanacht",
"Profile": "Próifíl", "Profile": "Próifíl",
"Introduce yourself and specify the date and time when you wish to stay": "Cuir tú féin in aithne agus sonraigh an dáta agus an t-am ar mhaith leat fanacht" "Introduce yourself and specify the date and time when you wish to stay": "Cuir tú féin in aithne agus sonraigh an dáta agus an t-am ar mhaith leat fanacht",
"Members": "Baill"
} }

View File

@ -484,5 +484,6 @@
"Buy": "खरीदना", "Buy": "खरीदना",
"Request to stay": "रहने का अनुरोध", "Request to stay": "रहने का अनुरोध",
"Profile": "प्रोफ़ाइल", "Profile": "प्रोफ़ाइल",
"Introduce yourself and specify the date and time when you wish to stay": "अपना परिचय दें और वह तारीख और समय निर्दिष्ट करें जब आप रुकना चाहते हैं" "Introduce yourself and specify the date and time when you wish to stay": "अपना परिचय दें और वह तारीख और समय निर्दिष्ट करें जब आप रुकना चाहते हैं",
"Members": "सदस्यों"
} }

View File

@ -484,5 +484,6 @@
"Buy": "Acquistare", "Buy": "Acquistare",
"Request to stay": "Richiesta di soggiorno", "Request to stay": "Richiesta di soggiorno",
"Profile": "Profilo", "Profile": "Profilo",
"Introduce yourself and specify the date and time when you wish to stay": "Presentati e specifica la data e l'ora in cui desideri soggiornare" "Introduce yourself and specify the date and time when you wish to stay": "Presentati e specifica la data e l'ora in cui desideri soggiornare",
"Members": "Membri"
} }

View File

@ -484,5 +484,6 @@
"Buy": "買う", "Buy": "買う",
"Request to stay": "滞在リクエスト", "Request to stay": "滞在リクエスト",
"Profile": "プロフィール", "Profile": "プロフィール",
"Introduce yourself and specify the date and time when you wish to stay": "自己紹介をし、滞在したい日時を指定してください" "Introduce yourself and specify the date and time when you wish to stay": "自己紹介をし、滞在したい日時を指定してください",
"Members": "メンバー"
} }

View File

@ -484,5 +484,6 @@
"Buy": "Kirrîn", "Buy": "Kirrîn",
"Request to stay": "Daxwaza mayînê bikin", "Request to stay": "Daxwaza mayînê bikin",
"Profile": "Tengal", "Profile": "Tengal",
"Introduce yourself and specify the date and time when you wish to stay": "Xwe bidin nasîn û roj û dema ku hûn dixwazin bimînin bimînin diyar bikin" "Introduce yourself and specify the date and time when you wish to stay": "Xwe bidin nasîn û roj û dema ku hûn dixwazin bimînin bimînin diyar bikin",
"Members": "Endam"
} }

View File

@ -480,5 +480,6 @@
"Buy": "Buy", "Buy": "Buy",
"Request to stay": "Request to stay", "Request to stay": "Request to stay",
"Profile": "Profile", "Profile": "Profile",
"Introduce yourself and specify the date and time when you wish to stay": "Introduce yourself and specify the date and time when you wish to stay" "Introduce yourself and specify the date and time when you wish to stay": "Introduce yourself and specify the date and time when you wish to stay",
"Members": "Members"
} }

View File

@ -484,5 +484,6 @@
"Buy": "Comprar", "Buy": "Comprar",
"Request to stay": "Pedido para ficar", "Request to stay": "Pedido para ficar",
"Profile": "Perfil", "Profile": "Perfil",
"Introduce yourself and specify the date and time when you wish to stay": "Apresente-se e especifique a data e hora em que deseja ficar" "Introduce yourself and specify the date and time when you wish to stay": "Apresente-se e especifique a data e hora em que deseja ficar",
"Members": "Membros"
} }

View File

@ -484,5 +484,6 @@
"Buy": "Купить", "Buy": "Купить",
"Request to stay": "Просьба остаться", "Request to stay": "Просьба остаться",
"Profile": "Профиль", "Profile": "Профиль",
"Introduce yourself and specify the date and time when you wish to stay": "Представьтесь и укажите дату и время, когда вы хотите остаться" "Introduce yourself and specify the date and time when you wish to stay": "Представьтесь и укажите дату и время, когда вы хотите остаться",
"Members": "Члены"
} }

View File

@ -484,5 +484,6 @@
"Buy": "Nunua", "Buy": "Nunua",
"Request to stay": "Omba kukaa", "Request to stay": "Omba kukaa",
"Profile": "Profaili", "Profile": "Profaili",
"Introduce yourself and specify the date and time when you wish to stay": "Jitambulishe na taja tarehe na saa unapotaka kukaa" "Introduce yourself and specify the date and time when you wish to stay": "Jitambulishe na taja tarehe na saa unapotaka kukaa",
"Members": "Wanachama"
} }

View File

@ -484,5 +484,6 @@
"Buy": "买", "Buy": "买",
"Request to stay": "要求留下", "Request to stay": "要求留下",
"Profile": "轮廓", "Profile": "轮廓",
"Introduce yourself and specify the date and time when you wish to stay": "自我介绍并指定您希望入住的日期和时间" "Introduce yourself and specify the date and time when you wish to stay": "自我介绍并指定您希望入住的日期和时间",
"Members": "会员"
} }

View File

@ -9,6 +9,7 @@ __module_group__ = "Web Interface"
import os import os
from pprint import pprint from pprint import pprint
from utils import isGroupAccount
from utils import hasObjectDict from utils import hasObjectDict
from utils import getOccupationName from utils import getOccupationName
from utils import getLockedAccount from utils import getLockedAccount
@ -786,8 +787,11 @@ def htmlProfile(signingPrivateKeyPem: str,
htmlHideFromScreenReader('') + ' ' + translate['Edit'] htmlHideFromScreenReader('') + ' ' + translate['Edit']
menuFollowing = \ menuFollowing = \
htmlHideFromScreenReader('👥') + ' ' + translate['Following'] htmlHideFromScreenReader('👥') + ' ' + translate['Following']
followersStr = translate['Followers']
if isGroupAccount(baseDir, nickname, domain):
followersStr = translate['Members']
menuFollowers = \ menuFollowers = \
htmlHideFromScreenReader('👪') + ' ' + translate['Followers'] htmlHideFromScreenReader('👪') + ' ' + followersStr
menuRoles = \ menuRoles = \
htmlHideFromScreenReader('🤚') + ' ' + translate['Roles'] htmlHideFromScreenReader('🤚') + ' ' + translate['Roles']
menuSkills = \ menuSkills = \
@ -826,7 +830,7 @@ def htmlProfile(signingPrivateKeyPem: str,
profileStr += \ profileStr += \
' <a href="' + usersPath + '/followers#buttonheader">' + \ ' <a href="' + usersPath + '/followers#buttonheader">' + \
'<button class="' + followersButton + \ '<button class="' + followersButton + \
'"><span>' + translate['Followers'] + ' </span></button></a>' '"><span>' + followersStr + ' </span></button></a>'
profileStr += \ profileStr += \
' <a href="' + usersPath + '/roles#buttonheader">' + \ ' <a href="' + usersPath + '/roles#buttonheader">' + \
'<button class="' + rolesButton + '"><span>' + \ '<button class="' + rolesButton + '"><span>' + \