diff options
| author | Acid Chicken (硫酸鶏) <root@acid-chicken.com> | 2023-04-01 14:11:56 +0900 |
|---|---|---|
| committer | Acid Chicken (硫酸鶏) <root@acid-chicken.com> | 2023-04-01 14:11:56 +0900 |
| commit | 3f1a87d1ad7909c5b160f0baa11b92da3150f9ab (patch) | |
| tree | 55e0256a6a72eadc9194caabcac29526d32e22ac /packages/frontend/src/components/MkSubNoteContent.vue | |
| parent | docs(#10336): note development status (diff) | |
| parent | Delete vue.d.ts (diff) | |
| download | misskey-3f1a87d1ad7909c5b160f0baa11b92da3150f9ab.tar.gz misskey-3f1a87d1ad7909c5b160f0baa11b92da3150f9ab.tar.bz2 misskey-3f1a87d1ad7909c5b160f0baa11b92da3150f9ab.zip | |
Merge branch 'develop' of https://github.com/misskey-dev/misskey into storybook
Diffstat (limited to 'packages/frontend/src/components/MkSubNoteContent.vue')
| -rw-r--r-- | packages/frontend/src/components/MkSubNoteContent.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkSubNoteContent.vue b/packages/frontend/src/components/MkSubNoteContent.vue index 9f90f5eecb..1ac7107aa7 100644 --- a/packages/frontend/src/components/MkSubNoteContent.vue +++ b/packages/frontend/src/components/MkSubNoteContent.vue @@ -8,7 +8,7 @@ <MkA v-if="note.renoteId" :class="$style.rp" :to="`/notes/${note.renoteId}`">RN: ...</MkA> </div> <details v-if="note.files.length > 0"> - <summary>({{ $t('withNFiles', { n: note.files.length }) }})</summary> + <summary>({{ i18n.t('withNFiles', { n: note.files.length }) }})</summary> <MkMediaList :media-list="note.files"/> </details> <details v-if="note.poll"> @@ -27,6 +27,7 @@ import * as misskey from 'misskey-js'; import MkMediaList from '@/components/MkMediaList.vue'; import MkPoll from '@/components/MkPoll.vue'; import { i18n } from '@/i18n'; +import { $i } from '@/account'; const props = defineProps<{ note: misskey.entities.Note; |