Skip to content

Commit b8344b9

Browse files
committed
chore: use proper button title & remove unused translation
1 parent 6719a9c commit b8344b9

5 files changed

Lines changed: 2 additions & 8 deletions

File tree

app/components/Package/WeeklyDownloadStats.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,10 @@ const config = computed(() => {
257257
type="button"
258258
@click="openChartModal"
259259
class="text-fg-subtle hover:text-fg transition-colors duration-200 inline-flex items-center justify-center min-w-6 min-h-6 -m-1 p-1 focus-visible:outline-accent/70 rounded"
260-
:title="$t('package.downloads.analyze')"
260+
:title="$t('package.trends.title')"
261261
classicon="i-lucide:chart-line"
262262
>
263-
<span class="sr-only">{{ $t('package.downloads.analyze') }}</span>
263+
<span class="sr-only">{{ $t('package.trends.title') }}</span>
264264
</ButtonBase>
265265
<span v-else-if="isLoadingWeeklyDownloads" class="min-w-6 min-h-6 -m-1 p-1" />
266266
</template>

i18n/locales/en.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,6 @@
371371
},
372372
"downloads": {
373373
"title": "Weekly Downloads",
374-
"analyze": "Analyze downloads",
375374
"community_distribution": "View community adoption distribution"
376375
},
377376
"install_scripts": {

i18n/schema.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,9 +1117,6 @@
11171117
"title": {
11181118
"type": "string"
11191119
},
1120-
"analyze": {
1121-
"type": "string"
1122-
},
11231120
"community_distribution": {
11241121
"type": "string"
11251122
}

lunaria/files/en-GB.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,6 @@
370370
},
371371
"downloads": {
372372
"title": "Weekly Downloads",
373-
"analyze": "Analyze downloads",
374373
"community_distribution": "View community adoption distribution"
375374
},
376375
"install_scripts": {

lunaria/files/en-US.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,6 @@
370370
},
371371
"downloads": {
372372
"title": "Weekly Downloads",
373-
"analyze": "Analyze downloads",
374373
"community_distribution": "View community adoption distribution"
375374
},
376375
"install_scripts": {

0 commit comments

Comments
 (0)