From 5b28d7bf90c6a98717a089f4e6419ed1a8b72395 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Sat, 11 Jul 2020 06:25:20 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=82=A4=E3=83=A0=E3=83=A9=E3=82=A4?= =?UTF-8?q?=E3=83=B3=E4=B8=8A=E3=81=A7Twitter=E3=82=A6=E3=82=A3=E3=82=B8?= =?UTF-8?q?=E3=83=83=E3=83=88=E3=82=92=E5=B1=95=E9=96=8B=E3=81=A7=E3=81=8D?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E3=81=AA=E3=81=A9=20(#6496?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * TL上でTwitterウィジットを展開できるようになど * use iframe * Twitterウィジットがはみ出すのを修正 --- locales/ja-JP.yml | 3 ++ src/client/components/url-preview.vue | 78 ++++++++++++++++----------- 2 files changed, 50 insertions(+), 31 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 95e03babc..2df16db6a 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -516,6 +516,9 @@ visibility: "公開範囲" poll: "アンケート" useCw: "内容を隠す" fixedWidgetsPosition: "ウィジェットの位置を固定する" +enablePlayer: "プレイヤーを開く" +disablePlayer: "プレイヤーを閉じる" +expandTweet: "ツイートを展開する" _theme: explore: "テーマを探す" diff --git a/src/client/components/url-preview.vue b/src/client/components/url-preview.vue index d77cfafd1..c1e853cc3 100644 --- a/src/client/components/url-preview.vue +++ b/src/client/components/url-preview.vue @@ -1,18 +1,16 @@