From 52f3743ecce717a8ccaebd6aa9fb87f62bfb8ef7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 12 Jan 2020 10:28:33 +0000 Subject: [PATCH] Checkbox for scheduled posts --- translations/ar.json | 3 ++- translations/ca.json | 3 ++- translations/cy.json | 3 ++- translations/de.json | 3 ++- translations/en.json | 3 ++- translations/es.json | 3 ++- translations/fr.json | 3 ++- translations/ga.json | 3 ++- translations/hi.json | 3 ++- translations/it.json | 3 ++- translations/ja.json | 3 ++- translations/oc.json | 3 ++- translations/pt.json | 3 ++- translations/ru.json | 3 ++- translations/zh.json | 3 ++- webinterface.py | 11 ++++++----- 16 files changed, 36 insertions(+), 20 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index 6de6fb0d..9f70a656 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -204,5 +204,6 @@ "XMPP": "XMPP", "Matrix": "Matrix", "Email": "البريد الإلكتروني", - "PGP": "PGP" + "PGP": "PGP", + "Schedule post for release at this date and time.": "Schedule post for release at this date and time." } diff --git a/translations/ca.json b/translations/ca.json index 5be498a2..1cf0ea9a 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -204,5 +204,6 @@ "XMPP": "XMPP", "Matrix": "Matrix", "Email": "Correu electrònic", - "PGP": "PGP" + "PGP": "PGP", + "Schedule post for release at this date and time.": "Schedule post for release at this date and time." } diff --git a/translations/cy.json b/translations/cy.json index 9d7042b6..11082169 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -204,5 +204,6 @@ "XMPP": "XMPP", "Matrix": "Matrix", "Email": "E-bost", - "PGP": "PGP" + "PGP": "PGP", + "Schedule post for release at this date and time.": "Schedule post for release at this date and time." } diff --git a/translations/de.json b/translations/de.json index f464f04a..9f693f87 100644 --- a/translations/de.json +++ b/translations/de.json @@ -204,5 +204,6 @@ "XMPP": "XMPP", "Matrix": "Matrix", "Email": "Email", - "PGP": "PGP" + "PGP": "PGP", + "Schedule post for release at this date and time.": "Schedule post for release at this date and time." } diff --git a/translations/en.json b/translations/en.json index fb4f0c00..cd917b7d 100644 --- a/translations/en.json +++ b/translations/en.json @@ -204,5 +204,6 @@ "XMPP": "XMPP", "Matrix": "Matrix", "Email": "Email", - "PGP": "PGP" + "PGP": "PGP", + "Schedule post for release at this date and time.": "Schedule post for release at this date and time." } diff --git a/translations/es.json b/translations/es.json index 5a1c17bc..ecd16f9d 100644 --- a/translations/es.json +++ b/translations/es.json @@ -204,5 +204,6 @@ "XMPP": "XMPP", "Matrix": "Matrix", "Email": "Email", - "PGP": "PGP" + "PGP": "PGP", + "Schedule post for release at this date and time.": "Schedule post for release at this date and time." } diff --git a/translations/fr.json b/translations/fr.json index 4758f0c3..0265efc0 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -204,5 +204,6 @@ "XMPP": "XMPP", "Matrix": "Matrix", "Email": "Email", - "PGP": "PGP" + "PGP": "PGP", + "Schedule post for release at this date and time.": "Schedule post for release at this date and time." } diff --git a/translations/ga.json b/translations/ga.json index a19d9b46..781864c7 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -204,5 +204,6 @@ "XMPP": "XMPP", "Matrix": "Matrix", "Email": "Ríomhphost", - "PGP": "PGP" + "PGP": "PGP", + "Schedule post for release at this date and time.": "Schedule post for release at this date and time." } diff --git a/translations/hi.json b/translations/hi.json index 7671fd74..fd22de7b 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -204,5 +204,6 @@ "XMPP": "XMPP", "Matrix": "Matrix", "Email": "ईमेल", - "PGP": "PGP" + "PGP": "PGP", + "Schedule post for release at this date and time.": "Schedule post for release at this date and time." } diff --git a/translations/it.json b/translations/it.json index 34523025..e26354ef 100644 --- a/translations/it.json +++ b/translations/it.json @@ -204,5 +204,6 @@ "XMPP": "XMPP", "Matrix": "Matrix", "Email": "E-mail", - "PGP": "PGP" + "PGP": "PGP", + "Schedule post for release at this date and time.": "Schedule post for release at this date and time." } diff --git a/translations/ja.json b/translations/ja.json index 58437ce4..a299eaa4 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -204,5 +204,6 @@ "XMPP": "XMPP", "Matrix": "Matrix", "Email": "Eメール", - "PGP": "PGP" + "PGP": "PGP", + "Schedule post for release at this date and time.": "Schedule post for release at this date and time." } diff --git a/translations/oc.json b/translations/oc.json index 0be551b9..c5e958c8 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -200,5 +200,6 @@ "XMPP": "XMPP", "Matrix": "Matrix", "Email": "Email", - "PGP": "PGP" + "PGP": "PGP", + "Schedule post for release at this date and time.": "Schedule post for release at this date and time." } diff --git a/translations/pt.json b/translations/pt.json index f9fa6404..7412ff47 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -204,5 +204,6 @@ "XMPP": "XMPP", "Matrix": "Matrix", "Email": "Email", - "PGP": "PGP" + "PGP": "PGP", + "Schedule post for release at this date and time.": "Schedule post for release at this date and time." } diff --git a/translations/ru.json b/translations/ru.json index 0b2a8e8b..69400ad5 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -204,5 +204,6 @@ "XMPP": "XMPP", "Matrix": "Matrix", "Email": "Эл. адрес", - "PGP": "PGP" + "PGP": "PGP", + "Schedule post for release at this date and time.": "Schedule post for release at this date and time." } diff --git a/translations/zh.json b/translations/zh.json index 983e69fa..02952b6a 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -204,5 +204,6 @@ "XMPP": "XMPP", "Matrix": "Matrix", "Email": "电子邮件", - "PGP": "PGP" + "PGP": "PGP", + "Schedule post for release at this date and time.": "Schedule post for release at this date and time." } diff --git a/webinterface.py b/webinterface.py index c5350e52..df454653 100644 --- a/webinterface.py +++ b/webinterface.py @@ -751,12 +751,12 @@ def htmlEditProfile(translate: {},baseDir: str,path: str,domain: str,port: int,h editProfileForm+=' ' editProfileForm+=' ' editProfileForm+='
' - editProfileForm+=' '+translate['Approve follower requests']+'
' - editProfileForm+=' '+translate['This is a bot account']+'
' - editProfileForm+=' '+translate['This is a group account']+'
' - editProfileForm+=' '+translate['Only people I follow can send me DMs']+'
' + editProfileForm+=' '+translate['Approve follower requests']+'
' + editProfileForm+=' '+translate['This is a bot account']+'
' + editProfileForm+=' '+translate['This is a group account']+'
' + editProfileForm+=' '+translate['Only people I follow can send me DMs']+'
' if path.startswith('/users/'+adminNickname+'/'): - editProfileForm+=' '+translate['This is a media instance']+'
' + editProfileForm+=' '+translate['This is a media instance']+'
' editProfileForm+='
' editProfileForm+='
' editProfileForm+=' ' @@ -1118,6 +1118,7 @@ def htmlNewPost(mediaInstance: bool,translate: {}, \ dateAndLocation='' if endpoint!='newshare' and endpoint!='newreport' and endpoint!='newquestion': dateAndLocation='
' + dateAndLocation+='

'+translate['Schedule post for release at this date and time.']+'

' dateAndLocation+='

' dateAndLocation+='' dateAndLocation+=''