From 5b32b900e4df3a4868f23ffe74ebbb824227e29a Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Mon, 21 Jan 2019 16:34:17 +0900 Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E7=A5=A8=E6=9C=AA=E5=AF=BE=E5=BF=9C?= =?UTF-8?q?=E3=82=A4=E3=83=B3=E3=82=B9=E3=82=BF=E3=83=B3=E3=82=B9=E5=90=91?= =?UTF-8?q?=E3=81=91=E3=83=A1=E3=83=83=E3=82=BB=E3=83=BC=E3=82=B8=E3=82=92?= =?UTF-8?q?=E3=82=8F=E3=81=8B=E3=82=8A=E3=82=84=E3=81=99=E3=81=8F=E3=81=99?= =?UTF-8?q?=E3=82=8B=20(#3944)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Poll message * fix * fix * とりあえず日本語にしちゃう * TODO * fix --- src/remote/activitypub/renderer/note.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/remote/activitypub/renderer/note.ts b/src/remote/activitypub/renderer/note.ts index 190e01838b..910e4dba76 100644 --- a/src/remote/activitypub/renderer/note.ts +++ b/src/remote/activitypub/renderer/note.ts @@ -98,7 +98,7 @@ export default async function renderNote(note: INote, dive = true): Promise if (text == null) text = ''; const url = `${config.url}/notes/${note._id}`; // TODO: i18n - text += `\n\n[リモートで投票を見る](${url})`; + text += `\n[リモートで結果を表示](${url})`; question = `${config.url}/questions/${note._id}`; } @@ -109,8 +109,10 @@ export default async function renderNote(note: INote, dive = true): Promise // Provides choices as text for AP if (note.poll != null) { const cs = note.poll.choices.map(c => `${c.id}: ${c.text}`); - apText += '\n'; + apText += '\n----------------------------------------\n'; apText += cs.join('\n'); + apText += '\n----------------------------------------\n'; + apText += '番号を返信して投票'; } if (quote) {