From b090984e5a166293d1ae288fd9f7b251f8e2e2cf Mon Sep 17 00:00:00 2001 From: WDaan Date: Fri, 30 Dec 2022 11:39:25 +0100 Subject: [PATCH] chore: fix linter issues --- CHANGELOG.md | 22 ++++++----- README.md | 34 ++++++----------- src/components/Navbar/FilterSelect.vue | 14 +++---- .../Settings/Tabs/VueTorrent/Dashboard.vue | 4 +- .../Settings/Tabs/VueTorrent/VGeneral.vue | 10 ++--- .../Torrent/DashboardItems/Tags.vue | 2 +- src/components/Torrent/MobileCard.vue | 2 +- .../Torrent/TorrentRightClickMenu.vue | 21 ++++++---- src/components/TorrentDetail/Tabs/Content.vue | 3 +- .../TorrentDetail/Tabs/DetailPeers.vue | 14 +++---- src/lang/es.js | 12 +++--- src/lang/fr.js | 4 +- src/lang/id.js | 6 +-- src/lang/it.js | 38 +++++++++---------- src/lang/ja.js | 8 ++-- src/lang/nl.js | 12 +++--- src/lang/pt-br.js | 12 +++--- src/lang/ru.js | 8 ++-- src/lang/ua.js | 14 +++---- src/lang/vi.js | 12 +++--- src/lang/zh-hans.js | 4 +- src/lang/zh-hant.js | 4 +- src/styles/styles.scss | 4 +- vite.config.js | 2 - 24 files changed, 130 insertions(+), 136 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f74a4d34..bad47d62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/README.md b/README.md index bab80926..72155055 100644 --- a/README.md +++ b/README.md @@ -4,34 +4,24 @@

The sleekest looking WebUI for qBittorrent made with Vue.js!

-![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 diff --git a/src/components/Navbar/FilterSelect.vue b/src/components/Navbar/FilterSelect.vue index 92f887bb..889c5728 100644 --- a/src/components/Navbar/FilterSelect.vue +++ b/src/components/Navbar/FilterSelect.vue @@ -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) { diff --git a/src/components/Settings/Tabs/VueTorrent/Dashboard.vue b/src/components/Settings/Tabs/VueTorrent/Dashboard.vue index c0305b2f..7caa86ea 100644 --- a/src/components/Settings/Tabs/VueTorrent/Dashboard.vue +++ b/src/components/Settings/Tabs/VueTorrent/Dashboard.vue @@ -52,7 +52,7 @@