Skip to content

Commit f2e3c18

Browse files
authored
refactor: use $t
1 parent d371262 commit f2e3c18

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/PackageDownloadAnalytics.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,8 @@ const config = computed(() => ({
488488
stroke: isDarkMode.value ? '#4A4A4A' : '#a3a3a3',
489489
labels: {
490490
axis: {
491-
yLabel: t('package.downloads.y_axis_label', {
492-
granularity: t(`package.downloads.granularity_${selectedGranularity.value}`),
491+
yLabel: $t('package.downloads.y_axis_label', {
492+
granularity: $t(`package.downloads.granularity_${selectedGranularity.value}`),
493493
}),
494494
xLabel: packageName,
495495
yLabelOffsetX: 12,

0 commit comments

Comments
 (0)