diff --git a/app/components/Package/VersionDistribution.vue b/app/components/Package/VersionDistribution.vue index 4289cab69..4297fab35 100644 --- a/app/components/Package/VersionDistribution.vue +++ b/app/components/Package/VersionDistribution.vue @@ -174,7 +174,7 @@ const chartConfig = computed(() => { fontSize: isMobile.value ? 24 : 16, color: pending.value ? colors.value.border : colors.value.fgSubtle, axis: { - yLabel: 'Downloads', + yLabel: $t('package.versions.y_axis_label'), yLabelOffsetX: 12, fontSize: isMobile.value ? 32 : 24, }, diff --git a/i18n/locales/en.json b/i18n/locales/en.json index e3e88014e..c8c59c783 100644 --- a/i18n/locales/en.json +++ b/i18n/locales/en.json @@ -297,7 +297,8 @@ "recent_versions_only_tooltip": "Show only versions published within the last year.", "show_low_usage": "Show low usage versions", "show_low_usage_tooltip": "Include version groups with less than 1% of total downloads.", - "date_range_tooltip": "Last week of version distributions only" + "date_range_tooltip": "Last week of version distributions only", + "y_axis_label": "Downloads" }, "dependencies": { "title": "Dependency ({count}) | Dependencies ({count})", diff --git a/i18n/locales/pl-PL.json b/i18n/locales/pl-PL.json index e0bce7e3b..102b53a1a 100644 --- a/i18n/locales/pl-PL.json +++ b/i18n/locales/pl-PL.json @@ -288,7 +288,8 @@ "more_tagged": "jeszcze {count}", "all_covered": "Wszystkie wersje są objęte powyższymi tagami", "deprecated_title": "{version} (przestarzała)", - "view_all": "Zobacz wszystkie {count} wersje | Zobacz {count} wersję | Zobacz {count} wersje | Zobacz {count} wersji | Zobacz {count} wersji" + "view_all": "Zobacz wszystkie {count} wersje | Zobacz {count} wersję | Zobacz {count} wersje | Zobacz {count} wersji | Zobacz {count} wersji", + "y_axis_label": "Pobrania" }, "dependencies": { "title": "Zależności ({count})", diff --git a/i18n/schema.json b/i18n/schema.json index e2789b11f..4827d567e 100644 --- a/i18n/schema.json +++ b/i18n/schema.json @@ -897,6 +897,9 @@ }, "date_range_tooltip": { "type": "string" + }, + "y_axis_label": { + "type": "string" } }, "additionalProperties": false diff --git a/lunaria/files/en-GB.json b/lunaria/files/en-GB.json index 23e381f04..d9685809e 100644 --- a/lunaria/files/en-GB.json +++ b/lunaria/files/en-GB.json @@ -296,7 +296,8 @@ "recent_versions_only_tooltip": "Show only versions published within the last year.", "show_low_usage": "Show low usage versions", "show_low_usage_tooltip": "Include version groups with less than 1% of total downloads.", - "date_range_tooltip": "Last week of version distributions only" + "date_range_tooltip": "Last week of version distributions only", + "y_axis_label": "Downloads" }, "dependencies": { "title": "Dependency ({count}) | Dependencies ({count})", diff --git a/lunaria/files/en-US.json b/lunaria/files/en-US.json index 9de51c67d..ffec3ed29 100644 --- a/lunaria/files/en-US.json +++ b/lunaria/files/en-US.json @@ -296,7 +296,8 @@ "recent_versions_only_tooltip": "Show only versions published within the last year.", "show_low_usage": "Show low usage versions", "show_low_usage_tooltip": "Include version groups with less than 1% of total downloads.", - "date_range_tooltip": "Last week of version distributions only" + "date_range_tooltip": "Last week of version distributions only", + "y_axis_label": "Downloads" }, "dependencies": { "title": "Dependency ({count}) | Dependencies ({count})", diff --git a/lunaria/files/pl-PL.json b/lunaria/files/pl-PL.json index 059cb4534..0445f3351 100644 --- a/lunaria/files/pl-PL.json +++ b/lunaria/files/pl-PL.json @@ -287,7 +287,8 @@ "more_tagged": "jeszcze {count}", "all_covered": "Wszystkie wersje są objęte powyższymi tagami", "deprecated_title": "{version} (przestarzała)", - "view_all": "Zobacz wszystkie {count} wersje | Zobacz {count} wersję | Zobacz {count} wersje | Zobacz {count} wersji | Zobacz {count} wersji" + "view_all": "Zobacz wszystkie {count} wersje | Zobacz {count} wersję | Zobacz {count} wersje | Zobacz {count} wersji | Zobacz {count} wersji", + "y_axis_label": "Pobrania" }, "dependencies": { "title": "Zależności ({count})",