Skip to content

Commit 5558bc6

Browse files
committed
fix: use package.trends.items.downloads
This seems to be more correct since this translation this removes is "Weekly Downloads" which is only applicable to the non-modal downloads chart. I assume that was just missed when the modal chart was expanded from just being weekly downloads.
1 parent 46d9401 commit 5558bc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/Package/WeeklyDownloadStats.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const modalTitle = computed(() => {
2222
const facet = route.query.facet as string | undefined
2323
if (facet === 'likes') return t('package.trends.items.likes')
2424
if (facet === 'contributors') return t('package.trends.items.contributors')
25-
return t('package.downloads.modal_title')
25+
return t('package.trends.items.downloads')
2626
})
2727
2828
const isChartModalOpen = shallowRef<boolean>(false)

0 commit comments

Comments
 (0)