From d0b5981a0bb83ae795f0a601b3b444022e30c794 Mon Sep 17 00:00:00 2001
From: Johann150
Date: Sun, 10 Jul 2022 10:42:27 +0200
Subject: [PATCH] Revert "Revert option to collapse long notes (Misskey PR
8561)"
This reverts commit 71150f21cd91df7bdd78a8f708db092418e85baa and reinstates
the option to collapse long notes again after they were expanded.
It is unclear why this commit was reverted in the first place, syuilo
claimed there to be issues with URL previews and attached images. These
problems could not be reproduced when testing.
---
locales/ja-JP.yml | 1 +
packages/client/src/components/note.vue | 27 ++++++++++++++++++++++---
2 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml
index f7011455b..813e9abfa 100644
--- a/locales/ja-JP.yml
+++ b/locales/ja-JP.yml
@@ -52,6 +52,7 @@ searchUser: "ユーザーを検索"
reply: "返信"
loadMore: "もっと見る"
showMore: "もっと見る"
+showLess: "閉じる"
youGotNewFollower: "フォローされました"
receiveFollowRequest: "フォローリクエストされました"
followRequestAccepted: "フォローが承認されました"
diff --git a/packages/client/src/components/note.vue b/packages/client/src/components/note.vue
index c2c92f541..5b8b45f32 100644
--- a/packages/client/src/components/note.vue
+++ b/packages/client/src/components/note.vue
@@ -46,7 +46,7 @@