Compare commits

..

3 Commits

Author SHA1 Message Date
syuilo
67f391f6d4 12.64.2 2020-12-28 23:41:54 +09:00
syuilo
c6b25f317e locale migration 2020-12-28 23:41:41 +09:00
syuilo
d91fa1a37a fix bug 2020-12-28 23:41:09 +09:00
3 changed files with 4 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "misskey",
"author": "syuilo <syuilotan@yahoo.co.jp>",
"version": "12.64.1",
"version": "12.64.2",
"codename": "indigo",
"repository": {
"type": "git",

View File

@@ -31,6 +31,7 @@ if (localStorage.getItem('vuex') != null) {
localStorage.setItem('vuex-old', JSON.stringify(vuex));
localStorage.removeItem('vuex');
localStorage.removeItem('i');
localStorage.removeItem('locale');
location.reload();
}

View File

@@ -33,7 +33,7 @@ export const getNoteSummary = (note: any, locale: any): string => {
// 返信のとき
if (note.replyId) {
if (note.reply) {
summary += `\n\nRE: ${summarize(note.reply, locale)}`;
summary += `\n\nRE: ${getNoteSummary(note.reply, locale)}`;
} else {
summary += '\n\nRE: ...';
}
@@ -42,7 +42,7 @@ export const getNoteSummary = (note: any, locale: any): string => {
// Renoteのとき
if (note.renoteId) {
if (note.renote) {
summary += `\n\nRN: ${summarize(note.renote, locale)}`;
summary += `\n\nRN: ${getNoteSummary(note.renote, locale)}`;
} else {
summary += '\n\nRN: ...';
}