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)
### 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))
* category create validation ([#552](https://github.com/WDaan/VueTorrent/issues/552)) ([edc0330](https://github.com/WDaan/VueTorrent/commit/edc0330bafdedc98e2e5f7df6bc2894bbcf5a281))
* 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))
- "405 Method Not Allowed" when renaming torrent ([#551](https://github.com/WDaan/VueTorrent/issues/551))
([66dc741](https://github.com/WDaan/VueTorrent/commit/66dc74182545705003e3bcb4460224a18a57e830))
- category create validation ([#552](https://github.com/WDaan/VueTorrent/issues/552))
([edc0330](https://github.com/WDaan/VueTorrent/commit/edc0330bafdedc98e2e5f7df6bc2894bbcf5a281))
- 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
* debounce torrent search field ([#542](https://github.com/WDaan/VueTorrent/issues/542)) ([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))
- debounce torrent search field ([#542](https://github.com/WDaan/VueTorrent/issues/542))
([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)

View file

@ -4,34 +4,24 @@
<p>The sleekest looking WebUI for qBittorrent made with Vue.js!</p>
</div>
![Vue](https://img.shields.io/badge/Vue-%5E2.7.14-brightgreen)
![qBittorrent](https://img.shields.io/badge/qBittorrent-4.4%2B-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)
![Issues](https://img.shields.io/github/issues/WDaan/VueTorrent)
![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)
![Vue](https://img.shields.io/badge/Vue-%5E2.7.14-brightgreen) ![qBittorrent](https://img.shields.io/badge/qBittorrent-4.4%2B-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)
![Issues](https://img.shields.io/github/issues/WDaan/VueTorrent) ![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
+ Destop
![](readme_assets/screenshot-desktop.png)
- Destop
![](readme_assets/screenshot-desktop.png)
- Desktop Dark Mode
![](readme_assets/screenshot-desktop-dark-mode.png)
+ Desktop Dark Mode
![](readme_assets/screenshot-desktop-dark-mode.png)
+ Mobile Dark Mode
![](readme_assets/screenshot-mobile-dark-mode.png)
- Mobile Dark Mode
![](readme_assets/screenshot-mobile-dark-mode.png)
## Installation

View file

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

View file

@ -52,7 +52,7 @@
<script>
import draggable from 'vuedraggable'
import {mdiMenu} from '@mdi/js'
import { mdiMenu } from '@mdi/js'
import { i18n } from '@/plugins/i18n'
export default {
@ -94,7 +94,7 @@ export default {
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-col>
<v-switch
v-model="webuiSettings.showSessionStat"
class="v-input--reverse pa-0 ma-0"
hide-details
inset
:label="$t('modals.settings.pageVueTorrent.pageGeneral.sessionStats')"
v-model="webuiSettings.showSessionStat"
class="v-input--reverse pa-0 ma-0"
hide-details
inset
:label="$t('modals.settings.pageVueTorrent.pageGeneral.sessionStats')"
/>
</v-col>
</v-row>

View file

@ -23,4 +23,4 @@ export default {
.tags {
background-color: #048b9a !important;
}
</style>
</style>

View file

@ -81,4 +81,4 @@ export default {
.tags {
background-color: #048b9a !important;
}
</style>
</style>

View file

@ -113,7 +113,14 @@
</v-list-item>
</v-list>
</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 }">
<v-list-item link v-on="on">
<v-icon>{{ mdiTag }}</v-icon>
@ -239,9 +246,9 @@
</template>
<script>
import {mapGetters, mapState} from 'vuex'
import { mapGetters, mapState } from 'vuex'
import qbit from '@/services/qbit'
import {General, TorrentSelect} from '@/mixins'
import { General, TorrentSelect } from '@/mixins'
import {
mdiAccountGroup,
mdiArrowDown,
@ -394,10 +401,10 @@ export default {
qbit.setCategory(this.hashes, cat)
},
setTag(tag) {
if (this.torrent.tags && this.torrent.tags.includes(tag))
return this.removeTag(tag)
else
return this.addTag(tag)
if (this.torrent.tags && this.torrent.tags.includes(tag)) this.removeTag(tag)
else this.addTag(tag)
console.log(this.torrent)
},
addTag(tag) {
qbit.addTorrentTag(this.hashes, tag)

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -53,7 +53,7 @@ const locale = {
// toggleSort: 'Sort Torrents',
// selectAll: 'Select All',
// selectAllCaption: 'Select / Release All (Ctrl + A)'
},
}
// emptyTorrentList: 'Nothing to see here!'
},
/** Torrent */
@ -67,7 +67,7 @@ const locale = {
downloaded: 'tải xuống',
uploaded: 'tải lên',
created: 'tạo ra bởi',
comments: 'đánh giá',
comments: 'đánh giá'
// uploadedSession: 'Uploaded Session',
// timeActive: 'Time Active',
// seededFor: 'Seeded For',
@ -317,7 +317,7 @@ const locale = {
input: {
// globalLimit: 'Use global limit',
// unlimited: 'Unlimited'
},
}
// limitRatio: 'Limit Ratio',
// titleDuration: 'Duration',
// titleRatio: 'Ratio'
@ -389,7 +389,7 @@ const locale = {
},
add: {
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',
// downloadDirectory: 'Download Directory',
// starttorrent: 'Start torrent',
@ -446,7 +446,7 @@ const locale = {
loginSuccess: 'Đăng nhập thành công! 🎉',
loginFailed: 'Đăng nhập thất bại 😕',
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!',
// ruleSaved: 'Rule saved!'
},
@ -458,7 +458,7 @@ const locale = {
advanced: {
advanced: 'nâng cao',
changeLocation: 'thay đổi vị trí',
rename: 'thay đổi tên',
rename: 'thay đổi tên'
// forceRecheck: 'Force recheck',
// forceReannounce: 'Force reannounce',
// sequentialDownload: 'Sequential download',

View file

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

View file

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

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)
export default defineConfig(({ command, mode }) => {
const theEnv = loadEnv(mode, process.cwd())
const qBittorrentPort = theEnv.VITE_QBITTORRENT_PORT ?? 8080