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 6de6fb0d8..9f70a6565 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 5be498a27..1cf0ea9aa 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 9d7042b6e..110821695 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 f464f04ae..9f693f879 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 fb4f0c007..cd917b7d0 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 5a1c17bcc..ecd16f9d1 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 4758f0c3a..0265efc0e 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 a19d9b466..781864c70 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 7671fd74c..fd22de7bd 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 345230255..e26354ef1 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 58437ce42..a299eaa4e 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 0be551b96..c5e958c80 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 f9fa64048..7412ff479 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 0b2a8e8b1..69400ad57 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 983e69fa6..02952b6a0 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 c5350e52f..df454653c 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+=''