Include mentions text entry for dms

main
Bob Mottram 2020-06-26 10:23:14 +00:00
parent fcbdf2be84
commit 8e6e32bd89
16 changed files with 39 additions and 18 deletions

View File

@ -235,5 +235,6 @@
"QR Code": "رمز الاستجابة السريعة", "QR Code": "رمز الاستجابة السريعة",
"Reminder": "تذكير", "Reminder": "تذكير",
"Scheduled note to yourself": "ملاحظة مجدولة لنفسك", "Scheduled note to yourself": "ملاحظة مجدولة لنفسك",
"Replying to": "الرد على" "Replying to": "الرد على",
"Send to": "ارسل إلى"
} }

View File

@ -235,5 +235,6 @@
"QR Code": "Codi QR", "QR Code": "Codi QR",
"Reminder": "Recordatori", "Reminder": "Recordatori",
"Scheduled note to yourself": "Nota programada a tu mateix", "Scheduled note to yourself": "Nota programada a tu mateix",
"Replying to": "Responent a" "Replying to": "Responent a",
"Send to": "Envia a"
} }

View File

@ -235,5 +235,6 @@
"QR Code": "Cod QR", "QR Code": "Cod QR",
"Reminder": "Nodyn atgoffa", "Reminder": "Nodyn atgoffa",
"Scheduled note to yourself": "Nodyn wedi'i drefnu i chi'ch hun", "Scheduled note to yourself": "Nodyn wedi'i drefnu i chi'ch hun",
"Replying to": "Ymateb i" "Replying to": "Ymateb i",
"Send to": "Anfon i"
} }

View File

@ -235,5 +235,6 @@
"QR Code": "QR-Code", "QR Code": "QR-Code",
"Reminder": "Erinnerung", "Reminder": "Erinnerung",
"Scheduled note to yourself": "Geplante Notiz an dich", "Scheduled note to yourself": "Geplante Notiz an dich",
"Replying to": "Antworten auf" "Replying to": "Antworten auf",
"Send to": "Senden an"
} }

View File

@ -235,5 +235,6 @@
"QR Code": "QR Code", "QR Code": "QR Code",
"Reminder": "Reminder", "Reminder": "Reminder",
"Scheduled note to yourself": "Scheduled note to yourself", "Scheduled note to yourself": "Scheduled note to yourself",
"Replying to": "Replying to" "Replying to": "Replying to",
"Send to": "Send to"
} }

View File

@ -235,5 +235,6 @@
"QR Code": "Código QR", "QR Code": "Código QR",
"Reminder": "Recordatorio", "Reminder": "Recordatorio",
"Scheduled note to yourself": "Nota programada para ti", "Scheduled note to yourself": "Nota programada para ti",
"Replying to": "Respondiendo a" "Replying to": "Respondiendo a",
"Send to": "Enviar a"
} }

View File

@ -235,5 +235,6 @@
"QR Code": "QR Code", "QR Code": "QR Code",
"Reminder": "Rappel", "Reminder": "Rappel",
"Scheduled note to yourself": "Note programmée pour vous", "Scheduled note to yourself": "Note programmée pour vous",
"Replying to": "Répondre à" "Replying to": "Répondre à",
"Send to": "Envoyer à"
} }

View File

@ -235,5 +235,6 @@
"QR Code": "Cód QR", "QR Code": "Cód QR",
"Reminder": "Meabhrúchán", "Reminder": "Meabhrúchán",
"Scheduled note to yourself": "Nóta sceidealta duit féin", "Scheduled note to yourself": "Nóta sceidealta duit féin",
"Replying to": "Ag freagairt do" "Replying to": "Ag freagairt do",
"Send to": "Sheoladh chuig"
} }

View File

@ -235,5 +235,6 @@
"QR Code": "क्यूआर कोड", "QR Code": "क्यूआर कोड",
"Reminder": "अनुस्मारक", "Reminder": "अनुस्मारक",
"Scheduled note to yourself": "खुद को निर्धारित नोट", "Scheduled note to yourself": "खुद को निर्धारित नोट",
"Replying to": "को जवाब दे रहा है" "Replying to": "को जवाब दे रहा है",
"Send to": "भेजना"
} }

View File

@ -235,5 +235,6 @@
"QR Code": "QR Code", "QR Code": "QR Code",
"Reminder": "Promemoria", "Reminder": "Promemoria",
"Scheduled note to yourself": "Nota programmata per te", "Scheduled note to yourself": "Nota programmata per te",
"Replying to": "In risposta a" "Replying to": "In risposta a",
"Send to": "Inviare a"
} }

View File

@ -235,5 +235,6 @@
"QR Code": "QRコード", "QR Code": "QRコード",
"Reminder": "リマインダー", "Reminder": "リマインダー",
"Scheduled note to yourself": "自分への予定されたメモ", "Scheduled note to yourself": "自分への予定されたメモ",
"Replying to": "に返信しています" "Replying to": "に返信しています",
"Send to": "に送る"
} }

View File

@ -231,5 +231,6 @@
"QR Code": "QR Code", "QR Code": "QR Code",
"Reminder": "Reminder", "Reminder": "Reminder",
"Scheduled note to yourself": "Scheduled note to yourself", "Scheduled note to yourself": "Scheduled note to yourself",
"Replying to": "Replying to" "Replying to": "Replying to",
"Send to": "Send to"
} }

View File

@ -235,5 +235,6 @@
"QR Code": "Código QR", "QR Code": "Código QR",
"Reminder": "Lembrete", "Reminder": "Lembrete",
"Scheduled note to yourself": "Nota agendada para si mesmo", "Scheduled note to yourself": "Nota agendada para si mesmo",
"Replying to": "Respondendo a" "Replying to": "Respondendo a",
"Send to": "Enviar para"
} }

View File

@ -235,5 +235,6 @@
"QR Code": "QR код", "QR Code": "QR код",
"Reminder": "напоминание", "Reminder": "напоминание",
"Scheduled note to yourself": "Запланированная заметка для себя", "Scheduled note to yourself": "Запланированная заметка для себя",
"Replying to": "Отвечать на" "Replying to": "Отвечать на",
"Send to": "Отправить"
} }

View File

@ -234,5 +234,6 @@
"QR Code": "二维码", "QR Code": "二维码",
"Reminder": "提醒", "Reminder": "提醒",
"Scheduled note to yourself": "预定给自己的笔记", "Scheduled note to yourself": "预定给自己的笔记",
"Replying to": "回覆" "Replying to": "回覆",
"Send to": "发给"
} }

View File

@ -2081,9 +2081,15 @@ def htmlNewPost(mediaInstance: bool, translate: {},
newPostForm += ' <input type="text" name="subject">' newPostForm += ' <input type="text" name="subject">'
newPostForm += '' newPostForm += ''
if inReplyTo: if inReplyTo or endpoint == 'newdm':
newPostForm += \ if inReplyTo:
' <label class="labels">' + placeholderMentions + '</label><br>' newPostForm += \
' <label class="labels">' + placeholderMentions + \
'</label><br>'
else:
newPostForm += \
' <label class="labels">' + translate['Send to'] + \
'</label><br>'
newPostForm += \ newPostForm += \
' <input type="text" name="mentions" value="' + \ ' <input type="text" name="mentions" value="' + \
mentionsStr + '">' mentionsStr + '">'