diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-04-01 14:01:57 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-04-01 14:01:57 +0900 |
| commit | 9224b6635f17c4e38e4a35b4aa1a47f94e8a3d2e (patch) | |
| tree | f5e9d461a61dbf711471236331de4f465c99b924 /packages/frontend/src/widgets/WidgetCalendar.vue | |
| parent | refactor(frontend): remove $i (diff) | |
| download | misskey-9224b6635f17c4e38e4a35b4aa1a47f94e8a3d2e.tar.gz misskey-9224b6635f17c4e38e4a35b4aa1a47f94e8a3d2e.tar.bz2 misskey-9224b6635f17c4e38e4a35b4aa1a47f94e8a3d2e.zip | |
refactor(frontend): remove $ts and $t
Diffstat (limited to 'packages/frontend/src/widgets/WidgetCalendar.vue')
| -rw-r--r-- | packages/frontend/src/widgets/WidgetCalendar.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/frontend/src/widgets/WidgetCalendar.vue b/packages/frontend/src/widgets/WidgetCalendar.vue index de2e4b179d..58d0732263 100644 --- a/packages/frontend/src/widgets/WidgetCalendar.vue +++ b/packages/frontend/src/widgets/WidgetCalendar.vue @@ -2,11 +2,11 @@ <div :class="[$style.root, { _panel: !widgetProps.transparent }]" data-cy-mkw-calendar> <div :class="[$style.calendar, { [$style.isHoliday]: isHoliday }]"> <p :class="$style.monthAndYear"> - <span :class="$style.year">{{ $t('yearX', { year }) }}</span> - <span :class="$style.month">{{ $t('monthX', { month }) }}</span> + <span :class="$style.year">{{ i18n.t('yearX', { year }) }}</span> + <span :class="$style.month">{{ i18n.t('monthX', { month }) }}</span> </p> - <p v-if="month === 1 && day === 1" class="day">🎉{{ $t('dayX', { day }) }}<span style="display: inline-block; transform: scaleX(-1);">🎉</span></p> - <p v-else :class="$style.day">{{ $t('dayX', { day }) }}</p> + <p v-if="month === 1 && day === 1" class="day">🎉{{ i18n.t('dayX', { day }) }}<span style="display: inline-block; transform: scaleX(-1);">🎉</span></p> + <p v-else :class="$style.day">{{ i18n.t('dayX', { day }) }}</p> <p :class="$style.weekDay">{{ weekDay }}</p> </div> <div :class="$style.info"> |