Skip to content

Commit 4a52a5a

Browse files
committed
feat: add sort tags for the group
1 parent 6ec592e commit 4a52a5a

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

app/pages/package/[[org]]/[name]/versions.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ const flatItems = computed<FlatItem[]>(() => {
476476
v-if="otherTagRowsAll.length > 1"
477477
class="flex items-center gap-0.5"
478478
role="group"
479-
:aria-label="$t('package.versions.sort_tags_by_priority')"
479+
:aria-label="$t('package.versions.sort_tags_label')"
480480
>
481481
<button
482482
type="button"

i18n/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,7 @@
574574
"filter_controls": "Version filter controls",
575575
"show_prereleases": "Show pre-releases",
576576
"show_deprecated": "Show deprecated",
577+
"sort_tags_label": "Sort tags",
577578
"sort_tags_by_priority": "Sort by tag",
578579
"sort_tags_by_date": "Sort by date",
579580
"sort_tags_by_date_asc": "Sort by date, oldest first",

i18n/schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1726,6 +1726,9 @@
17261726
"show_deprecated": {
17271727
"type": "string"
17281728
},
1729+
"sort_tags_label": {
1730+
"type": "string"
1731+
},
17291732
"sort_tags_by_priority": {
17301733
"type": "string"
17311734
},

0 commit comments

Comments
 (0)