chore: fix linter issues

This commit is contained in:
WDaan 2022-12-30 11:39:25 +01:00
parent c45bf208de
commit b090984e5a
24 changed files with 130 additions and 136 deletions

View file

@ -2,20 +2,24 @@
### [1.0.1](https://github.com/WDaan/VueTorrent/compare/v1.0.0...v1.0.1) (2022-11-25) ### [1.0.1](https://github.com/WDaan/VueTorrent/compare/v1.0.0...v1.0.1) (2022-11-25)
### Bug Fixes ### Bug Fixes
* "405 Method Not Allowed" when renaming torrent ([#551](https://github.com/WDaan/VueTorrent/issues/551)) ([66dc741](https://github.com/WDaan/VueTorrent/commit/66dc74182545705003e3bcb4460224a18a57e830)) - "405 Method Not Allowed" when renaming torrent ([#551](https://github.com/WDaan/VueTorrent/issues/551))
* category create validation ([#552](https://github.com/WDaan/VueTorrent/issues/552)) ([edc0330](https://github.com/WDaan/VueTorrent/commit/edc0330bafdedc98e2e5f7df6bc2894bbcf5a281)) ([66dc741](https://github.com/WDaan/VueTorrent/commit/66dc74182545705003e3bcb4460224a18a57e830))
* free space toggle [#541](https://github.com/WDaan/VueTorrent/issues/541) ([f8c3b7d](https://github.com/WDaan/VueTorrent/commit/f8c3b7dc38ff1a7a52a130982f86d82cc4fb61c4)) - category create validation ([#552](https://github.com/WDaan/VueTorrent/issues/552))
* proper unit for up/dl speed in details ([#547](https://github.com/WDaan/VueTorrent/issues/547)) ([b2ceda2](https://github.com/WDaan/VueTorrent/commit/b2ceda28e548849f11f28503e27a081ad3818317)) ([edc0330](https://github.com/WDaan/VueTorrent/commit/edc0330bafdedc98e2e5f7df6bc2894bbcf5a281))
* proper unit for up/dl speed in graph ([#548](https://github.com/WDaan/VueTorrent/issues/548)) ([a6dac31](https://github.com/WDaan/VueTorrent/commit/a6dac31fbc5b902e3df562c97497daab121abee3)) - free space toggle [#541](https://github.com/WDaan/VueTorrent/issues/541) ([f8c3b7d](https://github.com/WDaan/VueTorrent/commit/f8c3b7dc38ff1a7a52a130982f86d82cc4fb61c4))
- proper unit for up/dl speed in details ([#547](https://github.com/WDaan/VueTorrent/issues/547))
([b2ceda2](https://github.com/WDaan/VueTorrent/commit/b2ceda28e548849f11f28503e27a081ad3818317))
- proper unit for up/dl speed in graph ([#548](https://github.com/WDaan/VueTorrent/issues/548))
([a6dac31](https://github.com/WDaan/VueTorrent/commit/a6dac31fbc5b902e3df562c97497daab121abee3))
### Improvements ### Improvements
* debounce torrent search field ([#542](https://github.com/WDaan/VueTorrent/issues/542)) ([bb76c23](https://github.com/WDaan/VueTorrent/commit/bb76c23b98689c956ab1c068a155e9fb081081ea)) - debounce torrent search field ([#542](https://github.com/WDaan/VueTorrent/issues/542))
* paste button for magnet links [#307](https://github.com/WDaan/VueTorrent/issues/307) ([797ba8c](https://github.com/WDaan/VueTorrent/commit/797ba8c66687c3cfb654874189fc96808d4bbb34)) ([bb76c23](https://github.com/WDaan/VueTorrent/commit/bb76c23b98689c956ab1c068a155e9fb081081ea))
- paste button for magnet links [#307](https://github.com/WDaan/VueTorrent/issues/307)
([797ba8c](https://github.com/WDaan/VueTorrent/commit/797ba8c66687c3cfb654874189fc96808d4bbb34))
## [1.0.0](https://github.com/WDaan/VueTorrent/compare/v0.19.1...v1.0.0) (2022-11-16) ## [1.0.0](https://github.com/WDaan/VueTorrent/compare/v0.19.1...v1.0.0) (2022-11-16)

View file

@ -4,34 +4,24 @@
<p>The sleekest looking WebUI for qBittorrent made with Vue.js!</p> <p>The sleekest looking WebUI for qBittorrent made with Vue.js!</p>
</div> </div>
![Vue](https://img.shields.io/badge/Vue-%5E2.7.14-brightgreen) ![Vue](https://img.shields.io/badge/Vue-%5E2.7.14-brightgreen) ![qBittorrent](https://img.shields.io/badge/qBittorrent-4.4%2B-brightgreen)
![qBittorrent](https://img.shields.io/badge/qBittorrent-4.4%2B-brightgreen)
![Vuetify](https://img.shields.io/badge/Vuetify-%5E2.6.10-brightgreen) ![Vuetify](https://img.shields.io/badge/Vuetify-%5E2.6.10-brightgreen)
![stars](https://img.shields.io/github/stars/WDaan/VueTorrent) ![Forks](https://img.shields.io/github/forks/WDaan/VueTorrent)
![stars](https://img.shields.io/github/stars/WDaan/VueTorrent) ![Issues](https://img.shields.io/github/issues/WDaan/VueTorrent) ![Closed](https://img.shields.io/github/issues-closed/WDaan/VueTorrent)
![Forks](https://img.shields.io/github/forks/WDaan/VueTorrent) ![Closed PR](https://img.shields.io/github/issues-pr-closed/WDaan/VueTorrent) ![Version](https://img.shields.io/github/v/release/wdaan/vuetorrent)
![Issues](https://img.shields.io/github/issues/WDaan/VueTorrent) ![Test Status](https://img.shields.io/github/actions/workflow/status/wdaan/vuetorrent/test.yml) ![Downloads](https://img.shields.io/github/downloads/WDaan/VueTorrent/total)
![Closed](https://img.shields.io/github/issues-closed/WDaan/VueTorrent)
![Closed PR](https://img.shields.io/github/issues-pr-closed/WDaan/VueTorrent)
![Version](https://img.shields.io/github/v/release/wdaan/vuetorrent)
![Test Status](https://img.shields.io/github/actions/workflow/status/wdaan/vuetorrent/test.yml)
![Downloads](https://img.shields.io/github/downloads/WDaan/VueTorrent/total)
## Screenshots ## Screenshots
+ Destop - Destop
![](readme_assets/screenshot-desktop.png) ![](readme_assets/screenshot-desktop.png)
- Desktop Dark Mode
![](readme_assets/screenshot-desktop-dark-mode.png)
+ Desktop Dark Mode - Mobile Dark Mode
![](readme_assets/screenshot-desktop-dark-mode.png) ![](readme_assets/screenshot-mobile-dark-mode.png)
+ Mobile Dark Mode
![](readme_assets/screenshot-mobile-dark-mode.png)
## Installation ## Installation

View file

@ -118,8 +118,8 @@ export default {
}, },
availableCategories() { availableCategories() {
const categories = [ const categories = [
{name: this.$i18n.t('all'), value: null}, { name: this.$i18n.t('all'), value: null },
{name: this.$i18n.t('navbar.filters.uncategorized'), value: ''} { name: this.$i18n.t('navbar.filters.uncategorized'), value: '' }
] ]
categories.push( categories.push(
...this.getCategories().map(c => { ...this.getCategories().map(c => {
@ -130,16 +130,12 @@ export default {
return categories return categories
}, },
availableTags() { availableTags() {
return [ return [{ name: this.$i18n.t('all'), value: null }, { name: this.$i18n.t('navbar.filters.untagged'), value: '' }, ...this.getAvailableTags()]
{name: this.$i18n.t('all'), value: null},
{name: this.$i18n.t('navbar.filters.untagged'), value: ''},
...this.getAvailableTags()
]
}, },
availableTrackers() { availableTrackers() {
const trackers = [ const trackers = [
{name: this.$i18n.t('all'), value: null}, { name: this.$i18n.t('all'), value: null },
{name: this.$i18n.t('navbar.filters.not_working'), value: ''} { name: this.$i18n.t('navbar.filters.not_working'), value: '' }
] ]
if (this.showTrackerFilter) { if (this.showTrackerFilter) {

View file

@ -52,7 +52,7 @@
<script> <script>
import draggable from 'vuedraggable' import draggable from 'vuedraggable'
import {mdiMenu} from '@mdi/js' import { mdiMenu } from '@mdi/js'
import { i18n } from '@/plugins/i18n' import { i18n } from '@/plugins/i18n'
export default { export default {
@ -94,7 +94,7 @@ export default {
LastActivity: i18n.t(`${localePrefix}.last_activity`) LastActivity: i18n.t(`${localePrefix}.last_activity`)
} }
return properties.map(property => ({...property, label: localeMap[property.name]})) return properties.map(property => ({ ...property, label: localeMap[property.name] }))
} }
} }
} }

View file

@ -46,11 +46,11 @@
<v-row dense> <v-row dense>
<v-col> <v-col>
<v-switch <v-switch
v-model="webuiSettings.showSessionStat" v-model="webuiSettings.showSessionStat"
class="v-input--reverse pa-0 ma-0" class="v-input--reverse pa-0 ma-0"
hide-details hide-details
inset inset
:label="$t('modals.settings.pageVueTorrent.pageGeneral.sessionStats')" :label="$t('modals.settings.pageVueTorrent.pageGeneral.sessionStats')"
/> />
</v-col> </v-col>
</v-row> </v-row>

View file

@ -113,7 +113,14 @@
</v-list-item> </v-list-item>
</v-list> </v-list>
</v-menu> </v-menu>
<v-menu v-if="availableTags.length > 0" :open-on-hover="!touchmode" top offset-x :transition="isRightside ? 'slide-x-reverse-transition' : 'slide-x-transition'" :left="isRightside"> <v-menu
v-if="availableTags.length > 0"
:open-on-hover="!touchmode"
top
offset-x
:transition="isRightside ? 'slide-x-reverse-transition' : 'slide-x-transition'"
:left="isRightside"
>
<template #activator="{ on }"> <template #activator="{ on }">
<v-list-item link v-on="on"> <v-list-item link v-on="on">
<v-icon>{{ mdiTag }}</v-icon> <v-icon>{{ mdiTag }}</v-icon>
@ -239,9 +246,9 @@
</template> </template>
<script> <script>
import {mapGetters, mapState} from 'vuex' import { mapGetters, mapState } from 'vuex'
import qbit from '@/services/qbit' import qbit from '@/services/qbit'
import {General, TorrentSelect} from '@/mixins' import { General, TorrentSelect } from '@/mixins'
import { import {
mdiAccountGroup, mdiAccountGroup,
mdiArrowDown, mdiArrowDown,
@ -394,10 +401,10 @@ export default {
qbit.setCategory(this.hashes, cat) qbit.setCategory(this.hashes, cat)
}, },
setTag(tag) { setTag(tag) {
if (this.torrent.tags && this.torrent.tags.includes(tag)) if (this.torrent.tags && this.torrent.tags.includes(tag)) this.removeTag(tag)
return this.removeTag(tag) else this.addTag(tag)
else
return this.addTag(tag) console.log(this.torrent)
}, },
addTag(tag) { addTag(tag) {
qbit.addTorrentTag(this.hashes, tag) qbit.addTorrentTag(this.hashes, tag)

View file

@ -128,8 +128,7 @@ export default {
this.changeFilePriorities(newValue, oldValue) this.changeFilePriorities(newValue, oldValue)
} }
}, },
created() { created() {},
},
methods: { methods: {
initFiles() { initFiles() {
this.getTorrentFiles().then(() => { this.getTorrentFiles().then(() => {

View file

@ -81,20 +81,18 @@ export default {
if (active) { if (active) {
this.getTorrentPeers() this.getTorrentPeers()
this.refreshTimer = setInterval( this.refreshTimer = setInterval(
function () { function () {
this.getTorrentPeers() this.getTorrentPeers()
}.bind(this), }.bind(this),
2000 2000
) )
} else { } else {
clearTimeout(this.refreshTimer) clearTimeout(this.refreshTimer)
} }
} }
}, },
created() { created() {},
}, beforeDestroy() {},
beforeDestroy() {
},
methods: { methods: {
codeToFlag(val) { codeToFlag(val) {
return codeToFlag(val) return codeToFlag(val)

View file

@ -68,7 +68,7 @@ const locale = {
downloaded: 'descargado', downloaded: 'descargado',
uploaded: 'subido', uploaded: 'subido',
created: 'creado por', created: 'creado por',
comments: 'comentarios', comments: 'comentarios'
// uploadedSession: 'Uploaded Session', // uploadedSession: 'Uploaded Session',
// timeActive: 'Time Active', // timeActive: 'Time Active',
// seededFor: 'Seeded For', // seededFor: 'Seeded For',
@ -90,7 +90,7 @@ const locale = {
}, },
sessionStats: { sessionStats: {
tooltip: 'Desde la última vez que se reinició qBittorrent' tooltip: 'Desde la última vez que se reinició qBittorrent'
}, }
// filters: { // filters: {
// stalled_uploading: 'Stalled Uploading', // stalled_uploading: 'Stalled Uploading',
// stalled_downloading: 'Stalled Downloading', // stalled_downloading: 'Stalled Downloading',
@ -318,7 +318,7 @@ const locale = {
input: { input: {
// globalLimit: 'Use global limit', // globalLimit: 'Use global limit',
// unlimited: 'Unlimited' // unlimited: 'Unlimited'
}, }
// limitRatio: 'Limit Ratio', // limitRatio: 'Limit Ratio',
// titleDuration: 'Duration', // titleDuration: 'Duration',
// titleRatio: 'Ratio' // titleRatio: 'Ratio'
@ -390,7 +390,7 @@ const locale = {
}, },
add: { add: {
title: 'Agregar nuevo torrent', title: 'Agregar nuevo torrent',
selectFiles: 'Selecciona tus archivos', selectFiles: 'Selecciona tus archivos'
// urlHint: 'One link per line', // urlHint: 'One link per line',
// downloadDirectory: 'Download Directory', // downloadDirectory: 'Download Directory',
// starttorrent: 'Start torrent', // starttorrent: 'Start torrent',
@ -447,7 +447,7 @@ const locale = {
loginSuccess: '¡Inicio de sesión correcto! 🎉', loginSuccess: '¡Inicio de sesión correcto! 🎉',
loginFailed: 'Inicio de sesión fallido 😕', loginFailed: 'Inicio de sesión fallido 😕',
settingsSaved: '¡Los ajustes se guardaron correctamente!', settingsSaved: '¡Los ajustes se guardaron correctamente!',
categorySaved: '¡Categoría guardada correctamente!', categorySaved: '¡Categoría guardada correctamente!'
// feedSaved: 'Feed saved successfully!', // feedSaved: 'Feed saved successfully!',
// ruleSaved: 'Rule saved!' // ruleSaved: 'Rule saved!'
}, },
@ -459,7 +459,7 @@ const locale = {
advanced: { advanced: {
advanced: 'avanzado', advanced: 'avanzado',
changeLocation: 'cambiar directorio', changeLocation: 'cambiar directorio',
rename: 'renombrar', rename: 'renombrar'
// forceRecheck: 'Force recheck', // forceRecheck: 'Force recheck',
// forceReannounce: 'Force reannounce', // forceReannounce: 'Force reannounce',
// sequentialDownload: 'Sequential download', // sequentialDownload: 'Sequential download',

View file

@ -345,7 +345,7 @@ const locale = {
hash: 'hash', hash: 'hash',
ratio: 'Ratio', ratio: 'Ratio',
downloadSpeed: 'Vitesse de Téléchargement', downloadSpeed: 'Vitesse de Téléchargement',
uploadSpeed: "Vitesse de téléversement", uploadSpeed: 'Vitesse de téléversement',
eta: 'ETA', eta: 'ETA',
peers: 'Pairs', peers: 'Pairs',
seeds: 'Seeds', seeds: 'Seeds',
@ -358,7 +358,7 @@ const locale = {
shareRatioLimit: 'Limite de ratio', shareRatioLimit: 'Limite de ratio',
shareTimeLimit: 'Limite de temps de partage (minutes)', shareTimeLimit: 'Limite de temps de partage (minutes)',
downloadLimit: 'Limite de téléchargement', downloadLimit: 'Limite de téléchargement',
uploadLimit: "Limite de téléversement" uploadLimit: 'Limite de téléversement'
}, },
pagePeers: { pagePeers: {
ip: 'IP', ip: 'IP',

View file

@ -53,7 +53,7 @@ const locale = {
// toggleSort: 'Sort Torrents', // toggleSort: 'Sort Torrents',
// selectAll: 'Select All', // selectAll: 'Select All',
// selectAllCaption: 'Select / Release All (Ctrl + A)' // selectAllCaption: 'Select / Release All (Ctrl + A)'
}, }
// emptyTorrentList: 'Nothing to see here!' // emptyTorrentList: 'Nothing to see here!'
}, },
/** Torrent */ /** Torrent */
@ -68,7 +68,7 @@ const locale = {
uploaded: 'diunggah', uploaded: 'diunggah',
created: 'dibuat oleh', created: 'dibuat oleh',
comments: 'komentar', comments: 'komentar',
uploadedSession: 'Sesi Terunggah', uploadedSession: 'Sesi Terunggah'
// timeActive: 'Time Active', // timeActive: 'Time Active',
// seededFor: 'Seeded For', // seededFor: 'Seeded For',
// last_activity: 'Last Activity' // last_activity: 'Last Activity'
@ -92,7 +92,7 @@ const locale = {
}, },
filters: { filters: {
stalled_uploading: 'Unggahan ter-stall', stalled_uploading: 'Unggahan ter-stall',
stalled_downloading: 'Unduhan ter-stall', stalled_downloading: 'Unduhan ter-stall'
// uncategorized: 'Uncategorized', // uncategorized: 'Uncategorized',
// untagged: 'Untagged', // untagged: 'Untagged',
// not_working: 'Not Working' // not_working: 'Not Working'

View file

@ -53,7 +53,7 @@ const locale = {
// toggleSort: 'Sort Torrents', // toggleSort: 'Sort Torrents',
// selectAll: 'Select All', // selectAll: 'Select All',
// selectAllCaption: 'Select / Release All (Ctrl + A)' // selectAllCaption: 'Select / Release All (Ctrl + A)'
}, }
// emptyTorrentList: 'Nothing to see here!' // emptyTorrentList: 'Nothing to see here!'
}, },
/** Torrent */ /** Torrent */
@ -87,21 +87,21 @@ const locale = {
openSettings: 'apri le impostazioni', openSettings: 'apri le impostazioni',
searchNew: 'cerca nuovi torrent' searchNew: 'cerca nuovi torrent'
}, },
sessionStats: { sessionStats: {
// tooltip: 'Since the last time qBittorrent was restarted' // tooltip: 'Since the last time qBittorrent was restarted'
}, },
filters: { filters: {
// stalled_uploading: 'Stalled Uploading', // stalled_uploading: 'Stalled Uploading',
// stalled_downloading: 'Stalled Downloading', // stalled_downloading: 'Stalled Downloading',
// uncategorized: 'Uncategorized', // uncategorized: 'Uncategorized',
// untagged: 'Untagged', // untagged: 'Untagged',
// not_working: 'Not Working' // not_working: 'Not Working'
}, },
action: { action: {
// altSpeed: 'Alt Speeds', // altSpeed: 'Alt Speeds',
// dark: 'Dark', // dark: 'Dark',
// light: 'Light' // light: 'Light'
} }
}, },
/** Modals */ /** Modals */
@ -317,7 +317,7 @@ const locale = {
input: { input: {
// globalLimit: 'Use global limit', // globalLimit: 'Use global limit',
// unlimited: 'Unlimited' // unlimited: 'Unlimited'
}, }
// limitRatio: 'Limit Ratio', // limitRatio: 'Limit Ratio',
// titleDuration: 'Duration', // titleDuration: 'Duration',
// titleRatio: 'Ratio' // titleRatio: 'Ratio'
@ -389,7 +389,7 @@ const locale = {
}, },
add: { add: {
title: 'Aggiungi un Torrent', title: 'Aggiungi un Torrent',
selectFiles: 'Seleziona i file', selectFiles: 'Seleziona i file'
// urlHint: 'One link per line', // urlHint: 'One link per line',
// downloadDirectory: 'Download Directory', // downloadDirectory: 'Download Directory',
// starttorrent: 'Start torrent', // starttorrent: 'Start torrent',
@ -471,7 +471,7 @@ const locale = {
// bottom: 'Bottom', // bottom: 'Bottom',
// increase: 'Increase', // increase: 'Increase',
// decrease: 'Decrease' // decrease: 'Decrease'
}, }
// category: 'Set Category', // category: 'Set Category',
// tags: 'Set Tags', // tags: 'Set Tags',
// notags: 'No Tags', // notags: 'No Tags',

View file

@ -52,7 +52,7 @@ const locale = {
// toggleSort: 'Sort Torrents', // toggleSort: 'Sort Torrents',
// selectAll: 'Select All', // selectAll: 'Select All',
// selectAllCaption: 'Select / Release All (Ctrl + A)' // selectAllCaption: 'Select / Release All (Ctrl + A)'
}, }
// emptyTorrentList: 'Nothing to see here!' // emptyTorrentList: 'Nothing to see here!'
}, },
/** Torrent */ /** Torrent */
@ -67,7 +67,7 @@ const locale = {
uploaded: 'アップ量', uploaded: 'アップ量',
created: '作成', created: '作成',
comments: 'コメント', comments: 'コメント',
uploadedSession: 'アップロードセッション', uploadedSession: 'アップロードセッション'
// timeActive: 'Time Active', // timeActive: 'Time Active',
// seededFor: 'Seeded For', // seededFor: 'Seeded For',
// last_activity: 'Last Activity' // last_activity: 'Last Activity'
@ -91,7 +91,7 @@ const locale = {
}, },
filters: { filters: {
stalled_uploading: '停滞中アップロード', stalled_uploading: '停滞中アップロード',
stalled_downloading: '停滞中ダウンロード', stalled_downloading: '停滞中ダウンロード'
// uncategorized: 'Uncategorized', // uncategorized: 'Uncategorized',
// untagged: 'Untagged', // untagged: 'Untagged',
// not_working: 'Not Working' // not_working: 'Not Working'
@ -259,7 +259,7 @@ const locale = {
torrentInactivityTimer: 'Torrent未稼働時間', torrentInactivityTimer: 'Torrent未稼働時間',
subHeaderSeedLimits: 'シードの制限', subHeaderSeedLimits: 'シードの制限',
whenRatioReaches: 'シード制限する共有比', whenRatioReaches: 'シード制限する共有比',
whenSeedingTimeReaches: 'シード制限するシード時間 (分)', whenSeedingTimeReaches: 'シード制限するシード時間 (分)'
// maxRatioPauseTorrent: 'Pause torrent', // maxRatioPauseTorrent: 'Pause torrent',
// maxRatioRemoveTorrent: 'Remove torrent', // maxRatioRemoveTorrent: 'Remove torrent',
// maxRatioRemoveTorrentAndFiles: 'Remove torrent and files', // maxRatioRemoveTorrentAndFiles: 'Remove torrent and files',

View file

@ -53,7 +53,7 @@ const locale = {
// toggleSort: 'Sort Torrents', // toggleSort: 'Sort Torrents',
// selectAll: 'Select All', // selectAll: 'Select All',
// selectAllCaption: 'Select / Release All (Ctrl + A)' // selectAllCaption: 'Select / Release All (Ctrl + A)'
}, }
// emptyTorrentList: 'Nothing to see here!' // emptyTorrentList: 'Nothing to see here!'
}, },
/** Torrent */ /** Torrent */
@ -67,7 +67,7 @@ const locale = {
downloaded: 'gedownload', downloaded: 'gedownload',
uploaded: 'geüpload', uploaded: 'geüpload',
created: 'gemaakt door', created: 'gemaakt door',
comments: 'opmerkingen', comments: 'opmerkingen'
// uploadedSession: 'Uploaded Session', // uploadedSession: 'Uploaded Session',
// timeActive: 'Time Active', // timeActive: 'Time Active',
// seededFor: 'Seeded For', // seededFor: 'Seeded For',
@ -317,7 +317,7 @@ const locale = {
input: { input: {
// globalLimit: 'Use global limit', // globalLimit: 'Use global limit',
// unlimited: 'Unlimited' // unlimited: 'Unlimited'
}, }
// limitRatio: 'Limit Ratio', // limitRatio: 'Limit Ratio',
// titleDuration: 'Duration', // titleDuration: 'Duration',
// titleRatio: 'Ratio' // titleRatio: 'Ratio'
@ -389,7 +389,7 @@ const locale = {
}, },
add: { add: {
title: 'Voeg torrent toe', title: 'Voeg torrent toe',
selectFiles: 'Selecteer bestanden', selectFiles: 'Selecteer bestanden'
// urlHint: 'One link per line', // urlHint: 'One link per line',
// downloadDirectory: 'Download Directory', // downloadDirectory: 'Download Directory',
// starttorrent: 'Start torrent', // starttorrent: 'Start torrent',
@ -446,7 +446,7 @@ const locale = {
loginSuccess: 'Inloggen gelukt! 🎉', loginSuccess: 'Inloggen gelukt! 🎉',
loginFailed: 'Inloggen mislukt 😕', loginFailed: 'Inloggen mislukt 😕',
settingsSaved: 'Instellingen successvol opgeslagen!', settingsSaved: 'Instellingen successvol opgeslagen!',
categorySaved: 'Categorie successvol opgeslagen!', categorySaved: 'Categorie successvol opgeslagen!'
// feedSaved: 'Feed saved successfully!', // feedSaved: 'Feed saved successfully!',
// ruleSaved: 'Rule saved!' // ruleSaved: 'Rule saved!'
}, },
@ -458,7 +458,7 @@ const locale = {
advanced: { advanced: {
advanced: 'geavanceerd', advanced: 'geavanceerd',
changeLocation: 'verander locatie', changeLocation: 'verander locatie',
rename: 'hernoem', rename: 'hernoem'
// forceRecheck: 'Force recheck', // forceRecheck: 'Force recheck',
// forceReannounce: 'Force reannounce', // forceReannounce: 'Force reannounce',
// sequentialDownload: 'Sequential download', // sequentialDownload: 'Sequential download',

View file

@ -53,7 +53,7 @@ const locale = {
// toggleSort: 'Sort Torrents', // toggleSort: 'Sort Torrents',
// selectAll: 'Select All', // selectAll: 'Select All',
// selectAllCaption: 'Select / Release All (Ctrl + A)' // selectAllCaption: 'Select / Release All (Ctrl + A)'
}, }
// emptyTorrentList: 'Nothing to see here!' // emptyTorrentList: 'Nothing to see here!'
}, },
/** Torrent */ /** Torrent */
@ -67,7 +67,7 @@ const locale = {
downloaded: 'downloaded', downloaded: 'downloaded',
uploaded: 'uploaded', uploaded: 'uploaded',
created: 'criado por', created: 'criado por',
comments: 'comentarios', comments: 'comentarios'
// uploadedSession: 'Uploaded Session', // uploadedSession: 'Uploaded Session',
// timeActive: 'Time Active', // timeActive: 'Time Active',
// seededFor: 'Seeded For', // seededFor: 'Seeded For',
@ -317,7 +317,7 @@ const locale = {
input: { input: {
// globalLimit: 'Use global limit', // globalLimit: 'Use global limit',
// unlimited: 'Unlimited' // unlimited: 'Unlimited'
}, }
// limitRatio: 'Limit Ratio', // limitRatio: 'Limit Ratio',
// titleDuration: 'Duration', // titleDuration: 'Duration',
// titleRatio: 'Ratio' // titleRatio: 'Ratio'
@ -389,7 +389,7 @@ const locale = {
}, },
add: { add: {
title: 'Adicionar um Novo Torrent', title: 'Adicionar um Novo Torrent',
selectFiles: 'Selecionar seus Arquivos', selectFiles: 'Selecionar seus Arquivos'
// urlHint: 'One link per line', // urlHint: 'One link per line',
// downloadDirectory: 'Download Directory', // downloadDirectory: 'Download Directory',
// starttorrent: 'Start torrent', // starttorrent: 'Start torrent',
@ -446,7 +446,7 @@ const locale = {
loginSuccess: 'Logou com Sucesso! 🎉', loginSuccess: 'Logou com Sucesso! 🎉',
loginFailed: 'Falha na Autenticação 😕', loginFailed: 'Falha na Autenticação 😕',
settingsSaved: 'Configurações salvas com Sucesso!', settingsSaved: 'Configurações salvas com Sucesso!',
categorySaved: 'Categoria Editada com Sucesso!', categorySaved: 'Categoria Editada com Sucesso!'
// feedSaved: 'Feed saved successfully!', // feedSaved: 'Feed saved successfully!',
// ruleSaved: 'Rule saved!' // ruleSaved: 'Rule saved!'
}, },
@ -458,7 +458,7 @@ const locale = {
advanced: { advanced: {
advanced: 'avançado', advanced: 'avançado',
changeLocation: 'mudar localização', changeLocation: 'mudar localização',
rename: 'renomear', rename: 'renomear'
// forceRecheck: 'Force recheck', // forceRecheck: 'Force recheck',
// forceReannounce: 'Force reannounce', // forceReannounce: 'Force reannounce',
// sequentialDownload: 'Sequential download', // sequentialDownload: 'Sequential download',

View file

@ -53,7 +53,7 @@ const locale = {
// toggleSort: 'Sort Torrents', // toggleSort: 'Sort Torrents',
// selectAll: 'Select All', // selectAll: 'Select All',
// selectAllCaption: 'Select / Release All (Ctrl + A)' // selectAllCaption: 'Select / Release All (Ctrl + A)'
}, }
// emptyTorrentList: 'Nothing to see here!' // emptyTorrentList: 'Nothing to see here!'
}, },
/** Torrent */ /** Torrent */
@ -68,7 +68,7 @@ const locale = {
uploaded: 'Загружено', uploaded: 'Загружено',
created: 'Создано', created: 'Создано',
comments: 'Комментарии', comments: 'Комментарии',
uploadedSession: 'Загружено за сессию', uploadedSession: 'Загружено за сессию'
// timeActive: 'Time Active', // timeActive: 'Time Active',
// seededFor: 'Seeded For', // seededFor: 'Seeded For',
// last_activity: 'Last Activity' // last_activity: 'Last Activity'
@ -92,7 +92,7 @@ const locale = {
}, },
filters: { filters: {
stalled_uploading: 'Остановка раздачи', stalled_uploading: 'Остановка раздачи',
stalled_downloading: 'Остановка скачивания', stalled_downloading: 'Остановка скачивания'
// uncategorized: 'Uncategorized', // uncategorized: 'Uncategorized',
// untagged: 'Untagged', // untagged: 'Untagged',
// not_working: 'Not Working' // not_working: 'Not Working'
@ -260,7 +260,7 @@ const locale = {
torrentInactivityTimer: 'Таймер неактивности торрента', torrentInactivityTimer: 'Таймер неактивности торрента',
subHeaderSeedLimits: 'Ограничение раздачи', subHeaderSeedLimits: 'Ограничение раздачи',
whenRatioReaches: 'По достижении рейтинга раздачи', whenRatioReaches: 'По достижении рейтинга раздачи',
whenSeedingTimeReaches: 'По достижении времени раздачи', whenSeedingTimeReaches: 'По достижении времени раздачи'
// maxRatioPauseTorrent: 'Pause torrent', // maxRatioPauseTorrent: 'Pause torrent',
// maxRatioRemoveTorrent: 'Remove torrent', // maxRatioRemoveTorrent: 'Remove torrent',
// maxRatioRemoveTorrentAndFiles: 'Remove torrent and files', // maxRatioRemoveTorrentAndFiles: 'Remove torrent and files',

View file

@ -53,7 +53,7 @@ const locale = {
// toggleSort: 'Sort Torrents', // toggleSort: 'Sort Torrents',
// selectAll: 'Select All', // selectAll: 'Select All',
// selectAllCaption: 'Select / Release All (Ctrl + A)' // selectAllCaption: 'Select / Release All (Ctrl + A)'
}, }
// emptyTorrentList: 'Nothing to see here!' // emptyTorrentList: 'Nothing to see here!'
}, },
/** Torrent */ /** Torrent */
@ -92,7 +92,7 @@ const locale = {
}, },
filters: { filters: {
stalled_uploading: 'Залиплі вивантаження', stalled_uploading: 'Залиплі вивантаження',
stalled_downloading: 'Залиплі завантаження', stalled_downloading: 'Залиплі завантаження'
// uncategorized: 'Uncategorized', // uncategorized: 'Uncategorized',
// untagged: 'Untagged', // untagged: 'Untagged',
// not_working: 'Not Working' // not_working: 'Not Working'
@ -107,13 +107,13 @@ const locale = {
/** Modals */ /** Modals */
modals: { modals: {
newFeed: { newFeed: {
feedName: 'Ім\'я', feedName: "Ім'я",
url: 'URL' url: 'URL'
}, },
newRule: { newRule: {
// titleCreate: 'Create new rule', // titleCreate: 'Create new rule',
// titleEdit: 'Edit rule', // titleEdit: 'Edit rule',
name: 'Ім\'я', name: "Ім'я",
def: { def: {
mustContain: 'Має містити', mustContain: 'Має містити',
affectedFeeds: 'Застосувати правило до стрічок' affectedFeeds: 'Застосувати правило до стрічок'
@ -127,7 +127,7 @@ const locale = {
btnStartSearch: 'Пошук', btnStartSearch: 'Пошук',
btnStopSearch: 'Стоп', btnStopSearch: 'Стоп',
columnTitle: { columnTitle: {
name: "Ім\'я", name: "Ім'я",
size: 'Розмір', size: 'Розмір',
seeds: 'Сіди', seeds: 'Сіди',
peers: 'Піри', peers: 'Піри',
@ -139,7 +139,7 @@ const locale = {
tabName: { tabName: {
VueTorrent: 'vuetorrent', VueTorrent: 'vuetorrent',
downloads: 'Завантаження', downloads: 'Завантаження',
connection: "Зв\'язок", connection: "Зв'язок",
bittorrent: 'bittorrent', bittorrent: 'bittorrent',
rss: 'Стрічки', rss: 'Стрічки',
webUI: 'Bеб-інтерфейс', webUI: 'Bеб-інтерфейс',
@ -233,7 +233,7 @@ const locale = {
protocol: 'Протокол підключення пірів', protocol: 'Протокол підключення пірів',
listeningSubHeader: 'Прослуховуваний порт', listeningSubHeader: 'Прослуховуваний порт',
useUPnP: 'Використовувати переспрямування портів UPnP / NAT-PMP з мого маршрутизатора', useUPnP: 'Використовувати переспрямування портів UPnP / NAT-PMP з мого маршрутизатора',
incomingConnectionPort: 'Порти, використані для вхідних з\'єднань', incomingConnectionPort: "Порти, використані для вхідних з'єднань",
subHeader: 'Обмеження підключення', subHeader: 'Обмеження підключення',
globalMaxConnection: "Глобальна максимальна кількість з'єднань", globalMaxConnection: "Глобальна максимальна кількість з'єднань",
perTorrentMaxConnection: "Максимальна кількість з'єднань на торрент", perTorrentMaxConnection: "Максимальна кількість з'єднань на торрент",

View file

@ -53,7 +53,7 @@ const locale = {
// toggleSort: 'Sort Torrents', // toggleSort: 'Sort Torrents',
// selectAll: 'Select All', // selectAll: 'Select All',
// selectAllCaption: 'Select / Release All (Ctrl + A)' // selectAllCaption: 'Select / Release All (Ctrl + A)'
}, }
// emptyTorrentList: 'Nothing to see here!' // emptyTorrentList: 'Nothing to see here!'
}, },
/** Torrent */ /** Torrent */
@ -67,7 +67,7 @@ const locale = {
downloaded: 'tải xuống', downloaded: 'tải xuống',
uploaded: 'tải lên', uploaded: 'tải lên',
created: 'tạo ra bởi', created: 'tạo ra bởi',
comments: 'đánh giá', comments: 'đánh giá'
// uploadedSession: 'Uploaded Session', // uploadedSession: 'Uploaded Session',
// timeActive: 'Time Active', // timeActive: 'Time Active',
// seededFor: 'Seeded For', // seededFor: 'Seeded For',
@ -317,7 +317,7 @@ const locale = {
input: { input: {
// globalLimit: 'Use global limit', // globalLimit: 'Use global limit',
// unlimited: 'Unlimited' // unlimited: 'Unlimited'
}, }
// limitRatio: 'Limit Ratio', // limitRatio: 'Limit Ratio',
// titleDuration: 'Duration', // titleDuration: 'Duration',
// titleRatio: 'Ratio' // titleRatio: 'Ratio'
@ -389,7 +389,7 @@ const locale = {
}, },
add: { add: {
title: 'Thêm một torrent mới', title: 'Thêm một torrent mới',
selectFiles: 'Chọn tệp của bạn', selectFiles: 'Chọn tệp của bạn'
// urlHint: 'One link per line', // urlHint: 'One link per line',
// downloadDirectory: 'Download Directory', // downloadDirectory: 'Download Directory',
// starttorrent: 'Start torrent', // starttorrent: 'Start torrent',
@ -446,7 +446,7 @@ const locale = {
loginSuccess: 'Đăng nhập thành công! 🎉', loginSuccess: 'Đăng nhập thành công! 🎉',
loginFailed: 'Đăng nhập thất bại 😕', loginFailed: 'Đăng nhập thất bại 😕',
settingsSaved: 'Cài đặt đã lưu thành công!', settingsSaved: 'Cài đặt đã lưu thành công!',
categorySaved: 'Thể loại đã chỉnh sửa thành công!', categorySaved: 'Thể loại đã chỉnh sửa thành công!'
// feedSaved: 'Feed saved successfully!', // feedSaved: 'Feed saved successfully!',
// ruleSaved: 'Rule saved!' // ruleSaved: 'Rule saved!'
}, },
@ -458,7 +458,7 @@ const locale = {
advanced: { advanced: {
advanced: 'nâng cao', advanced: 'nâng cao',
changeLocation: 'thay đổi vị trí', changeLocation: 'thay đổi vị trí',
rename: 'thay đổi tên', rename: 'thay đổi tên'
// forceRecheck: 'Force recheck', // forceRecheck: 'Force recheck',
// forceReannounce: 'Force reannounce', // forceReannounce: 'Force reannounce',
// sequentialDownload: 'Sequential download', // sequentialDownload: 'Sequential download',

View file

@ -53,7 +53,7 @@ const locale = {
// toggleSort: 'Sort Torrents', // toggleSort: 'Sort Torrents',
// selectAll: 'Select All', // selectAll: 'Select All',
// selectAllCaption: 'Select / Release All (Ctrl + A)' // selectAllCaption: 'Select / Release All (Ctrl + A)'
}, }
// emptyTorrentList: 'Nothing to see here!' // emptyTorrentList: 'Nothing to see here!'
}, },
/** Torrent */ /** Torrent */
@ -92,7 +92,7 @@ const locale = {
}, },
filters: { filters: {
stalled_uploading: '低速上传', stalled_uploading: '低速上传',
stalled_downloading: '低速下载', stalled_downloading: '低速下载'
// uncategorized: 'Uncategorized', // uncategorized: 'Uncategorized',
// untagged: 'Untagged', // untagged: 'Untagged',
// not_working: 'Not Working' // not_working: 'Not Working'

View file

@ -53,7 +53,7 @@ const locale = {
// toggleSort: 'Sort Torrents', // toggleSort: 'Sort Torrents',
// selectAll: 'Select All', // selectAll: 'Select All',
// selectAllCaption: 'Select / Release All (Ctrl + A)' // selectAllCaption: 'Select / Release All (Ctrl + A)'
}, }
// emptyTorrentList: 'Nothing to see here!' // emptyTorrentList: 'Nothing to see here!'
}, },
/** Torrent */ /** Torrent */
@ -92,7 +92,7 @@ const locale = {
}, },
filters: { filters: {
stalled_uploading: '停止上傳', stalled_uploading: '停止上傳',
stalled_downloading: '停止下載', stalled_downloading: '停止下載'
// uncategorized: 'Uncategorized', // uncategorized: 'Uncategorized',
// untagged: 'Untagged', // untagged: 'Untagged',
// not_working: 'Not Working' // not_working: 'Not Working'

View file

@ -175,6 +175,8 @@ body {
} }
} }
.theme--dark.v-input,.theme--dark.v-input input,.theme--dark.v-input textarea { .theme--dark.v-input,
.theme--dark.v-input input,
.theme--dark.v-input textarea {
caret-color: auto; caret-color: auto;
} }

View file

@ -9,8 +9,6 @@ import { fileURLToPath, URL } from 'node:url'
const version = process.env.NODE_ENV === 'production' ? process.env.npm_package_version : JSON.stringify(process.env.npm_package_version) const version = process.env.NODE_ENV === 'production' ? process.env.npm_package_version : JSON.stringify(process.env.npm_package_version)
export default defineConfig(({ command, mode }) => { export default defineConfig(({ command, mode }) => {
const theEnv = loadEnv(mode, process.cwd()) const theEnv = loadEnv(mode, process.cwd())
const qBittorrentPort = theEnv.VITE_QBITTORRENT_PORT ?? 8080 const qBittorrentPort = theEnv.VITE_QBITTORRENT_PORT ?? 8080