perf: Add seeds sort options (#711)

This commit is contained in:
Rémi Marseault 2023-03-17 07:53:19 +01:00 committed by GitHub
parent a583b42d68
commit 2c3afa5799
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -478,6 +478,7 @@
"progress": "Progress", "progress": "Progress",
"ratio": "Ratio", "ratio": "Ratio",
"save_path": "Directory", "save_path": "Directory",
"seeds": "Seeds",
"size": "Size", "size": "Size",
"state": "State", "state": "State",
"uploaded": "Uploaded", "uploaded": "Uploaded",

View file

@ -187,9 +187,10 @@ export default {
{ value: 'eta', text: this.$t('modals.sort.sortBy.ETA') }, { value: 'eta', text: this.$t('modals.sort.sortBy.ETA') },
{ value: 'globalSpeed', text: this.$t('modals.sort.sortBy.globalSpeed') }, { value: 'globalSpeed', text: this.$t('modals.sort.sortBy.globalSpeed') },
{ value: 'globalVolume', text: this.$t('modals.sort.sortBy.globalVolume') }, { value: 'globalVolume', text: this.$t('modals.sort.sortBy.globalVolume') },
{ value: 'last_activity', text: this.$t('modals.sort.sortBy.last_activity') },
{ value: 'name', text: this.$t('modals.sort.sortBy.name') }, { value: 'name', text: this.$t('modals.sort.sortBy.name') },
{ value: 'num_leechs', text: this.$t('modals.sort.sortBy.peers') }, { value: 'num_leechs', text: this.$t('modals.sort.sortBy.peers') },
{ value: 'last_activity', text: this.$t('modals.sort.sortBy.last_activity') }, { value: 'num_seeds', text: this.$t('modals.sort.sortBy.seeds') },
{ value: 'priority', text: this.$t('modals.sort.sortBy.priority') }, { value: 'priority', text: this.$t('modals.sort.sortBy.priority') },
{ value: 'progress', text: this.$t('modals.sort.sortBy.progress') }, { value: 'progress', text: this.$t('modals.sort.sortBy.progress') },
{ value: 'ratio', text: this.$t('modals.sort.sortBy.ratio') }, { value: 'ratio', text: this.$t('modals.sort.sortBy.ratio') },