summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-10-20 07:01:09 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-10-20 07:01:09 +0900
commite0d6f7c7c4eeb3a9e19ec87b96538e5a4202b2d2 (patch)
tree8595d433439deae7c13d5c8bf4e1c7c8bd48f7e5 /src
parentImprove performance (diff)
downloadsharkey-e0d6f7c7c4eeb3a9e19ec87b96538e5a4202b2d2.tar.gz
sharkey-e0d6f7c7c4eeb3a9e19ec87b96538e5a4202b2d2.tar.bz2
sharkey-e0d6f7c7c4eeb3a9e19ec87b96538e5a4202b2d2.zip
RP --> RN
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/views/components/note.vue2
-rw-r--r--src/client/app/desktop/views/components/sub-note-content.vue2
-rw-r--r--src/client/app/mobile/views/components/note.vue2
-rw-r--r--src/client/app/mobile/views/components/sub-note-content.vue2
-rw-r--r--src/misc/get-note-summary.ts4
5 files changed, 6 insertions, 6 deletions
diff --git a/src/client/app/desktop/views/components/note.vue b/src/client/app/desktop/views/components/note.vue
index 7fa423b19b..e0421e5a20 100644
--- a/src/client/app/desktop/views/components/note.vue
+++ b/src/client/app/desktop/views/components/note.vue
@@ -35,7 +35,7 @@
<span v-if="appearNote.isHidden" style="opacity: 0.5">%i18n:@private%</span>
<a class="reply" v-if="appearNote.reply">%fa:reply%</a>
<misskey-flavored-markdown v-if="appearNote.text" :text="appearNote.text" :i="$store.state.i" :class="$style.text"/>
- <a class="rp" v-if="appearNote.renote">RP:</a>
+ <a class="rp" v-if="appearNote.renote">RN:</a>
</div>
<div class="files" v-if="appearNote.files.length > 0">
<mk-media-list :media-list="appearNote.files"/>
diff --git a/src/client/app/desktop/views/components/sub-note-content.vue b/src/client/app/desktop/views/components/sub-note-content.vue
index fd8e658056..d36d1c6745 100644
--- a/src/client/app/desktop/views/components/sub-note-content.vue
+++ b/src/client/app/desktop/views/components/sub-note-content.vue
@@ -5,7 +5,7 @@
<span v-if="note.deletedAt" style="opacity: 0.5">%i18n:@deleted%</span>
<a class="reply" v-if="note.replyId">%fa:reply%</a>
<misskey-flavored-markdown v-if="note.text" :text="note.text" :i="$store.state.i"/>
- <a class="rp" v-if="note.renoteId" :href="`/notes/${note.renoteId}`">RP: ...</a>
+ <a class="rp" v-if="note.renoteId" :href="`/notes/${note.renoteId}`">RN: ...</a>
</div>
<details v-if="note.files.length > 0">
<summary>({{ '%i18n:@media-count%'.replace('{}', note.files.length) }})</summary>
diff --git a/src/client/app/mobile/views/components/note.vue b/src/client/app/mobile/views/components/note.vue
index b190564a10..cbac5b6450 100644
--- a/src/client/app/mobile/views/components/note.vue
+++ b/src/client/app/mobile/views/components/note.vue
@@ -31,7 +31,7 @@
<span v-if="appearNote.isHidden" style="opacity: 0.5">(%i18n:@private%)</span>
<a class="reply" v-if="appearNote.reply">%fa:reply%</a>
<misskey-flavored-markdown v-if="appearNote.text" :text="appearNote.text" :i="$store.state.i" :class="$style.text"/>
- <a class="rp" v-if="appearNote.renote != null">RP:</a>
+ <a class="rp" v-if="appearNote.renote != null">RN:</a>
</div>
<div class="files" v-if="appearNote.files.length > 0">
<mk-media-list :media-list="appearNote.files"/>
diff --git a/src/client/app/mobile/views/components/sub-note-content.vue b/src/client/app/mobile/views/components/sub-note-content.vue
index 2238edf278..6a90d5bc1a 100644
--- a/src/client/app/mobile/views/components/sub-note-content.vue
+++ b/src/client/app/mobile/views/components/sub-note-content.vue
@@ -5,7 +5,7 @@
<span v-if="note.deletedAt" style="opacity: 0.5">(%i18n:@deleted%)</span>
<a class="reply" v-if="note.replyId">%fa:reply%</a>
<misskey-flavored-markdown v-if="note.text" :text="note.text" :i="$store.state.i"/>
- <a class="rp" v-if="note.renoteId">RP: ...</a>
+ <a class="rp" v-if="note.renoteId">RN: ...</a>
</div>
<details v-if="note.files.length > 0">
<summary>({{ '%i18n:@media-count%'.replace('{}', note.files.length) }})</summary>
diff --git a/src/misc/get-note-summary.ts b/src/misc/get-note-summary.ts
index d03b174b41..3f96483032 100644
--- a/src/misc/get-note-summary.ts
+++ b/src/misc/get-note-summary.ts
@@ -38,9 +38,9 @@ const summarize = (note: any): string => {
// Renoteのとき
if (note.renoteId) {
if (note.renote) {
- summary += ` RP: ${summarize(note.renote)}`;
+ summary += ` RN: ${summarize(note.renote)}`;
} else {
- summary += ' RP: ...';
+ summary += ' RN: ...';
}
}