diff options
| author | Marie <marie@kaifa.ch> | 2024-01-21 13:11:23 +0100 |
|---|---|---|
| committer | Marie <marie@kaifa.ch> | 2024-01-21 13:11:23 +0100 |
| commit | db012fc8c3c88f8676b8a0c13347d0257df85eb2 (patch) | |
| tree | e9118b604b9ea027369cd327837bb59843de6f83 /packages/frontend/src/scripts/get-note-summary.ts | |
| parent | merge: fix make sure that signToActivityPubGet defaults to true (#352) (diff) | |
| parent | enhance(frontend): 季節に応じた画面の演出を南半球に対応さ... (diff) | |
| download | sharkey-db012fc8c3c88f8676b8a0c13347d0257df85eb2.tar.gz sharkey-db012fc8c3c88f8676b8a0c13347d0257df85eb2.tar.bz2 sharkey-db012fc8c3c88f8676b8a0c13347d0257df85eb2.zip | |
merge: upstream (1)
Diffstat (limited to 'packages/frontend/src/scripts/get-note-summary.ts')
| -rw-r--r-- | packages/frontend/src/scripts/get-note-summary.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/scripts/get-note-summary.ts b/packages/frontend/src/scripts/get-note-summary.ts index 1fd9f04d46..2007e0ea97 100644 --- a/packages/frontend/src/scripts/get-note-summary.ts +++ b/packages/frontend/src/scripts/get-note-summary.ts @@ -30,7 +30,7 @@ export const getNoteSummary = (note: Misskey.entities.Note): string => { // ファイルが添付されているとき if ((note.files || []).length !== 0) { - summary += ` (${i18n.t('withNFiles', { n: note.files.length })})`; + summary += ` (${i18n.tsx.withNFiles({ n: note.files.length })})`; } // 投票が添付されているとき |