[READ-ONLY] a fast, modern browser for the npm registry
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: use translation string for version distribution y axis label (#1398)

Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Philippe Serhal <philippe.serhal@gmail.com>

authored by

Mikołaj Misztal
Daniel Roe
Philippe Serhal
and committed by
GitHub
16794443 391a3270

+14 -6
+1 -1
app/components/Package/VersionDistribution.vue
··· 174 174 fontSize: isMobile.value ? 24 : 16, 175 175 color: pending.value ? colors.value.border : colors.value.fgSubtle, 176 176 axis: { 177 - yLabel: 'Downloads', 177 + yLabel: $t('package.versions.y_axis_label'), 178 178 yLabelOffsetX: 12, 179 179 fontSize: isMobile.value ? 32 : 24, 180 180 },
+2 -1
i18n/locales/en.json
··· 297 297 "recent_versions_only_tooltip": "Show only versions published within the last year.", 298 298 "show_low_usage": "Show low usage versions", 299 299 "show_low_usage_tooltip": "Include version groups with less than 1% of total downloads.", 300 - "date_range_tooltip": "Last week of version distributions only" 300 + "date_range_tooltip": "Last week of version distributions only", 301 + "y_axis_label": "Downloads" 301 302 }, 302 303 "dependencies": { 303 304 "title": "Dependency ({count}) | Dependencies ({count})",
+2 -1
i18n/locales/pl-PL.json
··· 288 288 "more_tagged": "jeszcze {count}", 289 289 "all_covered": "Wszystkie wersje są objęte powyższymi tagami", 290 290 "deprecated_title": "{version} (przestarzała)", 291 - "view_all": "Zobacz wszystkie {count} wersje | Zobacz {count} wersję | Zobacz {count} wersje | Zobacz {count} wersji | Zobacz {count} wersji" 291 + "view_all": "Zobacz wszystkie {count} wersje | Zobacz {count} wersję | Zobacz {count} wersje | Zobacz {count} wersji | Zobacz {count} wersji", 292 + "y_axis_label": "Pobrania" 292 293 }, 293 294 "dependencies": { 294 295 "title": "Zależności ({count})",
+3
i18n/schema.json
··· 897 897 }, 898 898 "date_range_tooltip": { 899 899 "type": "string" 900 + }, 901 + "y_axis_label": { 902 + "type": "string" 900 903 } 901 904 }, 902 905 "additionalProperties": false
+2 -1
lunaria/files/en-GB.json
··· 296 296 "recent_versions_only_tooltip": "Show only versions published within the last year.", 297 297 "show_low_usage": "Show low usage versions", 298 298 "show_low_usage_tooltip": "Include version groups with less than 1% of total downloads.", 299 - "date_range_tooltip": "Last week of version distributions only" 299 + "date_range_tooltip": "Last week of version distributions only", 300 + "y_axis_label": "Downloads" 300 301 }, 301 302 "dependencies": { 302 303 "title": "Dependency ({count}) | Dependencies ({count})",
+2 -1
lunaria/files/en-US.json
··· 296 296 "recent_versions_only_tooltip": "Show only versions published within the last year.", 297 297 "show_low_usage": "Show low usage versions", 298 298 "show_low_usage_tooltip": "Include version groups with less than 1% of total downloads.", 299 - "date_range_tooltip": "Last week of version distributions only" 299 + "date_range_tooltip": "Last week of version distributions only", 300 + "y_axis_label": "Downloads" 300 301 }, 301 302 "dependencies": { 302 303 "title": "Dependency ({count}) | Dependencies ({count})",
+2 -1
lunaria/files/pl-PL.json
··· 287 287 "more_tagged": "jeszcze {count}", 288 288 "all_covered": "Wszystkie wersje są objęte powyższymi tagami", 289 289 "deprecated_title": "{version} (przestarzała)", 290 - "view_all": "Zobacz wszystkie {count} wersje | Zobacz {count} wersję | Zobacz {count} wersje | Zobacz {count} wersji | Zobacz {count} wersji" 290 + "view_all": "Zobacz wszystkie {count} wersje | Zobacz {count} wersję | Zobacz {count} wersje | Zobacz {count} wersji | Zobacz {count} wersji", 291 + "y_axis_label": "Pobrania" 291 292 }, 292 293 "dependencies": { 293 294 "title": "Zależności ({count})",