From 830452c77c5606b3acfa8940511ad2e7e234ad42 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 5 Nov 2019 10:55:21 +0000 Subject: [PATCH] Checkbox for deactivating account --- translations/ar.json | 4 +++- translations/ca.json | 4 +++- translations/cy.json | 4 +++- translations/de.json | 4 +++- translations/en.json | 4 +++- translations/es.json | 4 +++- translations/fr.json | 4 +++- translations/ga.json | 4 +++- translations/hi.json | 4 +++- translations/it.json | 4 +++- translations/ja.json | 4 +++- translations/pt.json | 4 +++- translations/ru.json | 4 +++- translations/zh.json | 4 +++- webinterface.py | 4 ++++ 15 files changed, 46 insertions(+), 14 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index ffe1624d4..6cbd1246c 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -165,5 +165,7 @@ "November": "نوفمبر", "December": "ديسمبر", "Only people I follow can send me DMs": "يمكن للأشخاص الذين أتابعهم فقط إرسال رسائل مباشرة إلي", - "Logout": "خارج" + "Logout": "خارج", + "Danger Zone": "Danger Zone", + "Deactivate this account": "Deactivate this account" } diff --git a/translations/ca.json b/translations/ca.json index ceeb7ad30..00dde0a02 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -165,5 +165,7 @@ "November": "Novembre", "December": "Desembre", "Only people I follow can send me DMs": "Només les persones que segueixo em poden enviar missatges directes", - "Logout": "a fora" + "Logout": "a fora", + "Danger Zone": "Danger Zone", + "Deactivate this account": "Deactivate this account" } diff --git a/translations/cy.json b/translations/cy.json index e8a1b82c9..2607bc1e0 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -165,5 +165,7 @@ "November": "Tachwedd", "December": "Rhagfyr", "Only people I follow can send me DMs": "Dim ond y bobl rwy'n eu dilyn all anfon negeseuon uniongyrchol ataf", - "Logout": "Allgofnodi" + "Logout": "Allgofnodi", + "Danger Zone": "Danger Zone", + "Deactivate this account": "Deactivate this account" } diff --git a/translations/de.json b/translations/de.json index f7450bdb8..c0374eac0 100644 --- a/translations/de.json +++ b/translations/de.json @@ -165,5 +165,7 @@ "November": "November", "December": "Dezember", "Only people I follow can send me DMs": "Nur Personen, denen ich folge, können mir direkte Nachrichten senden", - "Logout": "Aus" + "Logout": "Aus", + "Danger Zone": "Danger Zone", + "Deactivate this account": "Deactivate this account" } diff --git a/translations/en.json b/translations/en.json index dbff141a6..2e4165f1c 100644 --- a/translations/en.json +++ b/translations/en.json @@ -165,5 +165,7 @@ "November": "November", "December": "December", "Only people I follow can send me DMs": "Only people I follow can send me DMs", - "Logout": "Logout" + "Logout": "Logout", + "Danger Zone": "Danger Zone", + "Deactivate this account": "Deactivate this account" } diff --git a/translations/es.json b/translations/es.json index 1293772f7..454b6f6c1 100644 --- a/translations/es.json +++ b/translations/es.json @@ -165,5 +165,7 @@ "November": "Noviembre", "December": "Diciembre", "Only people I follow can send me DMs": "Solo las personas que sigo pueden enviarme mensajes directos", - "Logout": "Cerrar" + "Logout": "Cerrar", + "Danger Zone": "Danger Zone", + "Deactivate this account": "Deactivate this account" } diff --git a/translations/fr.json b/translations/fr.json index d9080f1ef..5fe584727 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -165,5 +165,7 @@ "November": "Novembre", "December": "Décembre", "Only people I follow can send me DMs": "Seules les personnes que je suis en contact peuvent m'envoyer des messages directs", - "Logout": "Dehors" + "Logout": "Dehors", + "Danger Zone": "Danger Zone", + "Deactivate this account": "Deactivate this account" } diff --git a/translations/ga.json b/translations/ga.json index 19336012c..53382bf2a 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -165,5 +165,7 @@ "November": "Samhain", "December": "Nollaig", "Only people I follow can send me DMs": "Ní féidir ach le daoine a leanaim teachtaireachtaí díreacha a chur chugam", - "Logout": "Amach" + "Logout": "Amach", + "Danger Zone": "Danger Zone", + "Deactivate this account": "Deactivate this account" } diff --git a/translations/hi.json b/translations/hi.json index 5fcce5c2c..85b1a2245 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -165,5 +165,7 @@ "November": "नवंबर", "December": "दिसंबर", "Only people I follow can send me DMs": "मेरे द्वारा अनुसरण किए जाने वाले लोग ही मुझे सीधे संदेश भेज सकते हैं", - "Logout": "बाहर" + "Logout": "बाहर", + "Danger Zone": "Danger Zone", + "Deactivate this account": "Deactivate this account" } diff --git a/translations/it.json b/translations/it.json index 2f4bc2b00..bb2390b75 100644 --- a/translations/it.json +++ b/translations/it.json @@ -165,5 +165,7 @@ "November": "Novembre", "December": "Dicembre", "Only people I follow can send me DMs": "Solo le persone che seguo possono inviarmi messaggi diretti", - "Logout": "Su" + "Logout": "Su", + "Danger Zone": "Danger Zone", + "Deactivate this account": "Deactivate this account" } diff --git a/translations/ja.json b/translations/ja.json index 9999ba0d8..c065bba26 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -165,5 +165,7 @@ "November": "11月", "December": "12月", "Only people I follow can send me DMs": "直接メッセージを送信できるのは、フォローしている人だけです", - "Logout": "ログアウト" + "Logout": "ログアウト", + "Danger Zone": "Danger Zone", + "Deactivate this account": "Deactivate this account" } diff --git a/translations/pt.json b/translations/pt.json index f35740dd9..864bc934d 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -165,5 +165,7 @@ "November": "Novembro", "December": "Dezembro", "Only people I follow can send me DMs": "Somente as pessoas que eu sigo podem me enviar mensagens diretas", - "Logout": "Sair" + "Logout": "Sair", + "Danger Zone": "Danger Zone", + "Deactivate this account": "Deactivate this account" } diff --git a/translations/ru.json b/translations/ru.json index b072f55a5..248246513 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -165,5 +165,7 @@ "November": "ноябрь", "December": "Декабрь", "Only people I follow can send me DMs": "Только люди, на которых я подписан, могут отправлять мне прямые сообщения", - "Logout": "Выйти" + "Logout": "Выйти", + "Danger Zone": "Danger Zone", + "Deactivate this account": "Deactivate this account" } diff --git a/translations/zh.json b/translations/zh.json index 1f1f2b14d..27894dc52 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -165,5 +165,7 @@ "November": "十一月", "December": "十二月", "Only people I follow can send me DMs": "只有我关注的人可以向我发送直接消息", - "Logout": "登出" + "Logout": "登出", + "Danger Zone": "Danger Zone", + "Deactivate this account": "Deactivate this account" } diff --git a/webinterface.py b/webinterface.py index 53b23b08c..dd189404a 100644 --- a/webinterface.py +++ b/webinterface.py @@ -645,6 +645,10 @@ def htmlEditProfile(translate: {},baseDir: str,path: str,domain: str,port: int) ' '+translate['If you want to participate within organizations then you can indicate some skills that you have and approximate proficiency levels. This helps organizers to construct teams with an appropriate combination of skills.']+ \ skillsStr+moderatorsStr+ \ ' ' \ + '
' \ + ' '+translate['Danger Zone']+'
' \ + ' '+translate['Deactivate this account']+'
' \ + '
' \ ' ' \ '' editProfileForm+=htmlFooter()