Skip to content

Commit b2968f4

Browse files
fix: tooltip copy
1 parent 32742e8 commit b2968f4

File tree

5 files changed

+2
-20
lines changed

5 files changed

+2
-20
lines changed

app/components/Package/VersionDistribution.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ const chartConfig = computed(() => {
366366
>
367367
<span>{{ $t('package.versions.grouping_versions_title') }}</span>
368368
<TooltipApp
369-
:text="$t('package.versions.date_range_tooltip')"
369+
:text="$t('package.versions.recent_versions_only_tooltip')"
370370
interactive
371371
position="top"
372372
:to="inModal ? '#chart-modal' : undefined"
@@ -403,7 +403,7 @@ const chartConfig = computed(() => {
403403
>
404404
<span>{{ $t('package.versions.grouping_usage_title') }}</span>
405405
<TooltipApp
406-
:text="$t('package.versions.date_range_tooltip')"
406+
:text="$t('package.versions.show_low_usage_tooltip')"
407407
interactive
408408
position="top"
409409
:to="inModal ? '#chart-modal' : undefined"

i18n/locales/en.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,8 @@
304304
"grouping_usage_title": "Usage",
305305
"grouping_usage_all": "All",
306306
"grouping_usage_low": "Low",
307-
"recent_versions_only": "Recent versions only",
308307
"recent_versions_only_tooltip": "Show only versions published within the last year.",
309-
"show_low_usage": "Show low usage versions",
310308
"show_low_usage_tooltip": "Include version groups with less than 1% of total downloads.",
311-
"date_range_tooltip": "Last week of version distributions only",
312309
"y_axis_label": "Downloads",
313310
"filter_placeholder": "Filter by semver (e.g. ^3.0.0)",
314311
"filter_invalid": "Invalid semver range",

i18n/schema.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -916,21 +916,12 @@
916916
"grouping_usage_low": {
917917
"type": "string"
918918
},
919-
"recent_versions_only": {
920-
"type": "string"
921-
},
922919
"recent_versions_only_tooltip": {
923920
"type": "string"
924921
},
925-
"show_low_usage": {
926-
"type": "string"
927-
},
928922
"show_low_usage_tooltip": {
929923
"type": "string"
930924
},
931-
"date_range_tooltip": {
932-
"type": "string"
933-
},
934925
"y_axis_label": {
935926
"type": "string"
936927
},

lunaria/files/en-GB.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,11 +303,8 @@
303303
"grouping_usage_title": "Usage",
304304
"grouping_usage_all": "All",
305305
"grouping_usage_low": "Low",
306-
"recent_versions_only": "Recent versions only",
307306
"recent_versions_only_tooltip": "Show only versions published within the last year.",
308-
"show_low_usage": "Show low usage versions",
309307
"show_low_usage_tooltip": "Include version groups with less than 1% of total downloads.",
310-
"date_range_tooltip": "Last week of version distributions only",
311308
"y_axis_label": "Downloads",
312309
"filter_placeholder": "Filter by semver (e.g. ^3.0.0)",
313310
"filter_invalid": "Invalid semver range",

lunaria/files/en-US.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,11 +303,8 @@
303303
"grouping_usage_title": "Usage",
304304
"grouping_usage_all": "All",
305305
"grouping_usage_low": "Low",
306-
"recent_versions_only": "Recent versions only",
307306
"recent_versions_only_tooltip": "Show only versions published within the last year.",
308-
"show_low_usage": "Show low usage versions",
309307
"show_low_usage_tooltip": "Include version groups with less than 1% of total downloads.",
310-
"date_range_tooltip": "Last week of version distributions only",
311308
"y_axis_label": "Downloads",
312309
"filter_placeholder": "Filter by semver (e.g. ^3.0.0)",
313310
"filter_invalid": "Invalid semver range",

0 commit comments

Comments
 (0)