Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/components/Package/VersionDistribution.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
3 changes: 2 additions & 1 deletion i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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})",
Expand Down
3 changes: 2 additions & 1 deletion i18n/locales/pl-PL.json
Original file line number Diff line number Diff line change
Expand Up @@ -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})",
Expand Down
3 changes: 3 additions & 0 deletions i18n/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,9 @@
},
"date_range_tooltip": {
"type": "string"
},
"y_axis_label": {
"type": "string"
}
},
"additionalProperties": false
Expand Down
3 changes: 2 additions & 1 deletion lunaria/files/en-GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -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})",
Expand Down
3 changes: 2 additions & 1 deletion lunaria/files/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -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})",
Expand Down
3 changes: 2 additions & 1 deletion lunaria/files/pl-PL.json
Original file line number Diff line number Diff line change
Expand Up @@ -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})",
Expand Down
Loading