mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-10-22 18:56:38 +03:00
chore: update translations (#1770)
Co-authored-by: Larsluph <22910497+Larsluph@users.noreply.github.com>
This commit is contained in:
parent
2300fce373
commit
0e9860cbd6
20 changed files with 103 additions and 72 deletions
51
CHANGELOG.md
51
CHANGELOG.md
|
@ -2,41 +2,52 @@
|
|||
|
||||
## [2.10.2](https://github.com/VueTorrent/VueTorrent/compare/v2.10.1...v2.10.2) (2024-06-28)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **CI:** Add missing output ([#1759](https://github.com/VueTorrent/VueTorrent/issues/1759)) ([acbf51b](https://github.com/VueTorrent/VueTorrent/commit/acbf51b48c9548b1093ffbd6dba09e95847a7c03))
|
||||
- **CI:** Add missing output ([#1759](https://github.com/VueTorrent/VueTorrent/issues/1759))
|
||||
([acbf51b](https://github.com/VueTorrent/VueTorrent/commit/acbf51b48c9548b1093ffbd6dba09e95847a7c03))
|
||||
|
||||
## [2.10.1](https://github.com/VueTorrent/VueTorrent/compare/v2.10.0...v2.10.1) (2024-06-28)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **CI:** Fix LSIO mod build ([#1757](https://github.com/VueTorrent/VueTorrent/issues/1757)) ([766957c](https://github.com/VueTorrent/VueTorrent/commit/766957ce2f50b56631a499c169baf703226f4ced))
|
||||
- **CI:** Fix LSIO mod build ([#1757](https://github.com/VueTorrent/VueTorrent/issues/1757))
|
||||
([766957c](https://github.com/VueTorrent/VueTorrent/commit/766957ce2f50b56631a499c169baf703226f4ced))
|
||||
|
||||
## [2.10.0](https://github.com/VueTorrent/VueTorrent/compare/v2.9.0...v2.10.0) (2024-06-28)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **addons:** Add qbit Enhanced edition support ([#1718](https://github.com/VueTorrent/VueTorrent/issues/1718)) ([d273ab8](https://github.com/VueTorrent/VueTorrent/commit/d273ab810fe52df882065b66ff51b1e7a0f0ff05))
|
||||
* **Dashboard:** Add truncated hash and basename paths properties ([#1747](https://github.com/VueTorrent/VueTorrent/issues/1747)) ([69f949a](https://github.com/VueTorrent/VueTorrent/commit/69f949a7ad400843eee406e4e0a61436b8fabd2a))
|
||||
* **dashboard:** Use local sort system on all properties ([#1740](https://github.com/VueTorrent/VueTorrent/issues/1740)) ([63dd06f](https://github.com/VueTorrent/VueTorrent/commit/63dd06fab1ea0190a9984e0984b1ab4d14e0e72c))
|
||||
* **docker:** Build official LSIO mod docker image ([#1756](https://github.com/VueTorrent/VueTorrent/issues/1756)) ([f4d460b](https://github.com/VueTorrent/VueTorrent/commit/f4d460b3dcecead4273242264c0fa09c6c7478fb))
|
||||
* **Drag-and-Drop:** Add instant download zone ([#1750](https://github.com/VueTorrent/VueTorrent/issues/1750)) ([feec23d](https://github.com/VueTorrent/VueTorrent/commit/feec23d93289a7034e240d7fe6016a523a199734))
|
||||
|
||||
- **addons:** Add qbit Enhanced edition support ([#1718](https://github.com/VueTorrent/VueTorrent/issues/1718))
|
||||
([d273ab8](https://github.com/VueTorrent/VueTorrent/commit/d273ab810fe52df882065b66ff51b1e7a0f0ff05))
|
||||
- **Dashboard:** Add truncated hash and basename paths properties ([#1747](https://github.com/VueTorrent/VueTorrent/issues/1747))
|
||||
([69f949a](https://github.com/VueTorrent/VueTorrent/commit/69f949a7ad400843eee406e4e0a61436b8fabd2a))
|
||||
- **dashboard:** Use local sort system on all properties ([#1740](https://github.com/VueTorrent/VueTorrent/issues/1740))
|
||||
([63dd06f](https://github.com/VueTorrent/VueTorrent/commit/63dd06fab1ea0190a9984e0984b1ab4d14e0e72c))
|
||||
- **docker:** Build official LSIO mod docker image ([#1756](https://github.com/VueTorrent/VueTorrent/issues/1756))
|
||||
([f4d460b](https://github.com/VueTorrent/VueTorrent/commit/f4d460b3dcecead4273242264c0fa09c6c7478fb))
|
||||
- **Drag-and-Drop:** Add instant download zone ([#1750](https://github.com/VueTorrent/VueTorrent/issues/1750))
|
||||
([feec23d](https://github.com/VueTorrent/VueTorrent/commit/feec23d93289a7034e240d7fe6016a523a199734))
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **chips:** Use text instead of invisible pill ([#1712](https://github.com/VueTorrent/VueTorrent/issues/1712)) ([c2beb03](https://github.com/VueTorrent/VueTorrent/commit/c2beb03c2a2566d38161e43f4a3ee2919bd40cbd))
|
||||
* **colors:** Rework torrent state colors for better readability ([#1738](https://github.com/VueTorrent/VueTorrent/issues/1738)) ([550570b](https://github.com/VueTorrent/VueTorrent/commit/550570b1aa0be43f6bc0f12a71317e0be64c14dd))
|
||||
* **content:** Improve Windows path support ([#1714](https://github.com/VueTorrent/VueTorrent/issues/1714)) ([27f37a4](https://github.com/VueTorrent/VueTorrent/commit/27f37a4fadb14787a94af87fcf2e664858036c1f))
|
||||
* **content:** Prevent app from freezing when exiting too quickly ([38a33c4](https://github.com/VueTorrent/VueTorrent/commit/38a33c41c0117ebb62f391e2336f6f41960aa07a))
|
||||
* **Dashboard:** Fix span selection after [#1740](https://github.com/VueTorrent/VueTorrent/issues/1740) ([#1746](https://github.com/VueTorrent/VueTorrent/issues/1746)) ([24e8313](https://github.com/VueTorrent/VueTorrent/commit/24e831359bea8bac5f9105d11b5e9c6568885aba))
|
||||
* **dashboard:** Prevent "Delete" action when search input is focused ([#1729](https://github.com/VueTorrent/VueTorrent/issues/1729)) ([7589ebe](https://github.com/VueTorrent/VueTorrent/commit/7589ebe4abc6e0bc1ba2b6193ce91ea7fa785cb4))
|
||||
* Do not wrap items to 2 or more lines in table view closes [#1538](https://github.com/VueTorrent/VueTorrent/issues/1538) ([#1716](https://github.com/VueTorrent/VueTorrent/issues/1716)) ([fa86db5](https://github.com/VueTorrent/VueTorrent/commit/fa86db59d5a5d7a4bd5f7416f4518fb8a8bd58eb))
|
||||
* **peers:** Update 100% peer color after [#1740](https://github.com/VueTorrent/VueTorrent/issues/1740) ([#1753](https://github.com/VueTorrent/VueTorrent/issues/1753)) ([0c1a65f](https://github.com/VueTorrent/VueTorrent/commit/0c1a65fc6c6522dd5c2f45d8ed7c3651833fb6dd))
|
||||
* **pieceCanvas:** Fix color names after [#1740](https://github.com/VueTorrent/VueTorrent/issues/1740) ([#1745](https://github.com/VueTorrent/VueTorrent/issues/1745)) ([60beb8a](https://github.com/VueTorrent/VueTorrent/commit/60beb8a387254cad36d3548f993c51bd11107e48))
|
||||
- **chips:** Use text instead of invisible pill ([#1712](https://github.com/VueTorrent/VueTorrent/issues/1712))
|
||||
([c2beb03](https://github.com/VueTorrent/VueTorrent/commit/c2beb03c2a2566d38161e43f4a3ee2919bd40cbd))
|
||||
- **colors:** Rework torrent state colors for better readability ([#1738](https://github.com/VueTorrent/VueTorrent/issues/1738))
|
||||
([550570b](https://github.com/VueTorrent/VueTorrent/commit/550570b1aa0be43f6bc0f12a71317e0be64c14dd))
|
||||
- **content:** Improve Windows path support ([#1714](https://github.com/VueTorrent/VueTorrent/issues/1714))
|
||||
([27f37a4](https://github.com/VueTorrent/VueTorrent/commit/27f37a4fadb14787a94af87fcf2e664858036c1f))
|
||||
- **content:** Prevent app from freezing when exiting too quickly ([38a33c4](https://github.com/VueTorrent/VueTorrent/commit/38a33c41c0117ebb62f391e2336f6f41960aa07a))
|
||||
- **Dashboard:** Fix span selection after [#1740](https://github.com/VueTorrent/VueTorrent/issues/1740) ([#1746](https://github.com/VueTorrent/VueTorrent/issues/1746))
|
||||
([24e8313](https://github.com/VueTorrent/VueTorrent/commit/24e831359bea8bac5f9105d11b5e9c6568885aba))
|
||||
- **dashboard:** Prevent "Delete" action when search input is focused ([#1729](https://github.com/VueTorrent/VueTorrent/issues/1729))
|
||||
([7589ebe](https://github.com/VueTorrent/VueTorrent/commit/7589ebe4abc6e0bc1ba2b6193ce91ea7fa785cb4))
|
||||
- Do not wrap items to 2 or more lines in table view closes [#1538](https://github.com/VueTorrent/VueTorrent/issues/1538)
|
||||
([#1716](https://github.com/VueTorrent/VueTorrent/issues/1716)) ([fa86db5](https://github.com/VueTorrent/VueTorrent/commit/fa86db59d5a5d7a4bd5f7416f4518fb8a8bd58eb))
|
||||
- **peers:** Update 100% peer color after [#1740](https://github.com/VueTorrent/VueTorrent/issues/1740) ([#1753](https://github.com/VueTorrent/VueTorrent/issues/1753))
|
||||
([0c1a65f](https://github.com/VueTorrent/VueTorrent/commit/0c1a65fc6c6522dd5c2f45d8ed7c3651833fb6dd))
|
||||
- **pieceCanvas:** Fix color names after [#1740](https://github.com/VueTorrent/VueTorrent/issues/1740) ([#1745](https://github.com/VueTorrent/VueTorrent/issues/1745))
|
||||
([60beb8a](https://github.com/VueTorrent/VueTorrent/commit/60beb8a387254cad36d3548f993c51bd11107e48))
|
||||
|
||||
## [2.9.0](https://github.com/VueTorrent/VueTorrent/compare/v2.8.1...v2.9.0) (2024-06-01)
|
||||
|
||||
|
|
|
@ -84,11 +84,11 @@ function close() {
|
|||
|
||||
<template>
|
||||
<v-dialog
|
||||
v-model="isOpened"
|
||||
:class="$vuetify.display.mobile ? '' : 'w-75'"
|
||||
:fullscreen="$vuetify.display.mobile"
|
||||
scrollable
|
||||
:transition="openSuddenly ? 'none' : 'dialog-bottom-transition'">
|
||||
v-model="isOpened"
|
||||
:class="$vuetify.display.mobile ? '' : 'w-75'"
|
||||
:fullscreen="$vuetify.display.mobile"
|
||||
scrollable
|
||||
:transition="openSuddenly ? 'none' : 'dialog-bottom-transition'">
|
||||
<v-card>
|
||||
<v-card-title class="ios-margin">
|
||||
<v-toolbar color="transparent">
|
||||
|
@ -101,16 +101,16 @@ function close() {
|
|||
<v-row>
|
||||
<v-col cols="12">
|
||||
<v-file-input
|
||||
v-model="files"
|
||||
:label="t('dialogs.add.files')"
|
||||
:show-size="vueTorrentStore.useBinarySize ? 1024 : 1000"
|
||||
accept=".torrent"
|
||||
counter
|
||||
multiple
|
||||
persistent-clear
|
||||
persistent-hint
|
||||
prepend-icon=""
|
||||
variant="outlined">
|
||||
v-model="files"
|
||||
:label="t('dialogs.add.files')"
|
||||
:show-size="vueTorrentStore.useBinarySize ? 1024 : 1000"
|
||||
accept=".torrent"
|
||||
counter
|
||||
multiple
|
||||
persistent-clear
|
||||
persistent-hint
|
||||
prepend-icon=""
|
||||
variant="outlined">
|
||||
<template v-slot:prepend>
|
||||
<v-icon color="accent">mdi-paperclip</v-icon>
|
||||
</template>
|
||||
|
@ -134,13 +134,13 @@ function close() {
|
|||
|
||||
<v-slide-y-transition>
|
||||
<HistoryField
|
||||
v-if="!!urls"
|
||||
v-model="cookie"
|
||||
:historyKey="HistoryKey.COOKIE"
|
||||
ref="cookieField"
|
||||
clearable
|
||||
:label="$t('dialogs.add.cookie')"
|
||||
:placeholder="$t('dialogs.add.cookie_placeholder')">
|
||||
v-if="!!urls"
|
||||
v-model="cookie"
|
||||
:historyKey="HistoryKey.COOKIE"
|
||||
ref="cookieField"
|
||||
clearable
|
||||
:label="$t('dialogs.add.cookie')"
|
||||
:placeholder="$t('dialogs.add.cookie_placeholder')">
|
||||
<template v-slot:prepend>
|
||||
<v-icon color="accent">mdi-cookie</v-icon>
|
||||
</template>
|
||||
|
|
|
@ -100,10 +100,10 @@ onUnmounted(() => {
|
|||
<style lang="scss" scoped>
|
||||
.dnd-bg {
|
||||
&-active {
|
||||
background-color: #404040A8;
|
||||
background-color: #404040a8;
|
||||
}
|
||||
|
||||
background-color: #000000A8;
|
||||
background-color: #000000a8;
|
||||
}
|
||||
|
||||
.dnd-zone-border {
|
||||
|
|
|
@ -53,8 +53,8 @@ describe('composables/SearchQuery', () => {
|
|||
})
|
||||
|
||||
test('should return items when using multiple values in getter', () => {
|
||||
const item1 = { title: 'abcdef', hash: '01234'}
|
||||
const item2 = { title: 'abcdef', hash: '56789'}
|
||||
const item1 = { title: 'abcdef', hash: '01234' }
|
||||
const item2 = { title: 'abcdef', hash: '56789' }
|
||||
const { results: res1 } = useSearchQuery([item1, item2], 'abc', item => [item.title, item.hash])
|
||||
const { results: res2 } = useSearchQuery([item1, item2], '567', item => [item.title, item.hash])
|
||||
expect(res1.value).toEqual([item1, item2])
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
import { computed, MaybeRefOrGetter, toValue } from 'vue'
|
||||
|
||||
export function useSearchQuery<T>(items: MaybeRefOrGetter<T[]>, searchQuery: MaybeRefOrGetter<string | null>, getter: (item: T) => string | string[], postProcess?: (items: T[]) => T[]) {
|
||||
export function useSearchQuery<T>(
|
||||
items: MaybeRefOrGetter<T[]>,
|
||||
searchQuery: MaybeRefOrGetter<string | null>,
|
||||
getter: (item: T) => string | string[],
|
||||
postProcess?: (items: T[]) => T[]
|
||||
) {
|
||||
const results = computed(() => {
|
||||
const searchItems = toValue(items) ?? []
|
||||
const tokens = (toValue(searchQuery) ?? '').trim().toLowerCase().split(/[ ,]/i).filter(Boolean)
|
||||
|
|
|
@ -194,10 +194,11 @@
|
|||
"added_on": "Přidáno dne",
|
||||
"amount_left": "Zbývá množství",
|
||||
"availability": "Dostupnost",
|
||||
"available_peers": "Stahující (swarm)",
|
||||
"available_seeds": "Odesílající (swarm)",
|
||||
"avg_download_speed": "Průměrná rychlost stahování",
|
||||
"avg_upload_speed": "Průměrná rychlost nahrávání",
|
||||
"category": "Kategorie",
|
||||
"completed": "Dokončeno",
|
||||
"completion_on": "Dokončeno dne",
|
||||
"content_path": "Cesta k obsahu",
|
||||
"default": "Výchozí",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"_comments": "Generated by Tolgee app. NEVER EDIT MANUALLY AS IT WILL BE OVERRIDDEN BY TOLGEE",
|
||||
"_comments": "Generated by Tolgee app. NEVER EDIT MANUALLY AS IT WILL BE OVERRIDDEN",
|
||||
"common": {
|
||||
"active": "Active",
|
||||
"cancel": "Cancel",
|
||||
|
@ -276,7 +276,7 @@
|
|||
"file_overflow": "+{n} more",
|
||||
"files": "Select files",
|
||||
"first_last_piece_prio": "Prioritize first and last pieces",
|
||||
"instant_drop_label": "Download instantly torrent files and/or links",
|
||||
"instant_drop_label": "Download torrent files and/or links instantly",
|
||||
"links": "Links (magnet, http, file, ...)",
|
||||
"params": {
|
||||
"add_to_top_of_queue": "Add to top of queue",
|
||||
|
|
|
@ -196,10 +196,11 @@
|
|||
"added_on": "Añadido el",
|
||||
"amount_left": "Cantidad Restante",
|
||||
"availability": "Disponibilidad",
|
||||
"available_peers": "Pares (enjambre)",
|
||||
"available_seeds": "Semillas (enjambre)",
|
||||
"avg_download_speed": "Velocidad de descarga promedio",
|
||||
"avg_upload_speed": "Velocidad de subida promedio",
|
||||
"category": "Categoría",
|
||||
"completed": "Completado",
|
||||
"completion_on": "Completado el",
|
||||
"content_path": "Ruta de contenido",
|
||||
"default": "Predeterminado",
|
||||
|
|
|
@ -197,10 +197,11 @@
|
|||
"added_on": "Ajouté le",
|
||||
"amount_left": "Montant restant",
|
||||
"availability": "Disponibilité",
|
||||
"available_peers": "Pairs (essaim)",
|
||||
"available_seeds": "Sources (essaim)",
|
||||
"avg_download_speed": "Vitesse DL moyenne",
|
||||
"avg_upload_speed": "Vitesse UL moyenne",
|
||||
"category": "Catégorie",
|
||||
"completed": "Terminé",
|
||||
"completion_on": "Terminé le",
|
||||
"content_path": "Chemin du contenu",
|
||||
"default": "Par défaut",
|
||||
|
|
|
@ -196,10 +196,11 @@
|
|||
"added_on": "Hozzáadva",
|
||||
"amount_left": "Hátralévő mennyiség",
|
||||
"availability": "Elérhetőség",
|
||||
"available_peers": "Peerek (raj)",
|
||||
"available_seeds": "Seedek (raj)",
|
||||
"avg_download_speed": "Átl. DL Sebesség",
|
||||
"avg_upload_speed": "Átl. UL Sebesség",
|
||||
"category": "Kategória",
|
||||
"completed": "Befejezve",
|
||||
"completion_on": "Befejezés időpontja",
|
||||
"content_path": "Tartalom útvonala",
|
||||
"default": "Alapértelmezett",
|
||||
|
|
|
@ -184,10 +184,11 @@
|
|||
"added_on": "Aggiunto il",
|
||||
"amount_left": "Rimanente",
|
||||
"availability": "Disponibilità",
|
||||
"available_peers": "Peer (swarm)",
|
||||
"available_seeds": "Seed (swarm)",
|
||||
"avg_download_speed": "Velocità DL Media",
|
||||
"avg_upload_speed": "Velocità UL Media",
|
||||
"category": "Categoria",
|
||||
"completed": "Completati",
|
||||
"completion_on": "Completati il",
|
||||
"content_path": "Percorso dei Contenuti",
|
||||
"default": "Predefinito",
|
||||
|
|
|
@ -196,10 +196,11 @@
|
|||
"added_on": "追加日時",
|
||||
"amount_left": "残り",
|
||||
"availability": "可用性",
|
||||
"available_peers": "ピア (スウォーム)",
|
||||
"available_seeds": "シード (スウォーム)",
|
||||
"avg_download_speed": "平均DL速度",
|
||||
"avg_upload_speed": "平均UP速度",
|
||||
"category": "カテゴリー",
|
||||
"completed": "完了",
|
||||
"completion_on": "完了日時",
|
||||
"content_path": "コンテンツパス",
|
||||
"default": "デフォルト",
|
||||
|
|
|
@ -196,10 +196,11 @@
|
|||
"added_on": "추가 날짜",
|
||||
"amount_left": "남은 양",
|
||||
"availability": "가용성",
|
||||
"available_peers": "피어(Swarm)",
|
||||
"available_seeds": "시드 (Swarm)",
|
||||
"avg_download_speed": "평균 다운로드 속도",
|
||||
"avg_upload_speed": "평균 업로드 속도",
|
||||
"category": "카테고리",
|
||||
"completed": "완료됨",
|
||||
"completion_on": "완료 날짜",
|
||||
"content_path": "컨텐츠 경로",
|
||||
"default": "기본값",
|
||||
|
|
|
@ -196,10 +196,11 @@
|
|||
"added_on": "Dodano",
|
||||
"amount_left": "Pozostała ilość",
|
||||
"availability": "Dostępność",
|
||||
"available_peers": "Peery (rój)",
|
||||
"available_seeds": "Seedy (rój)",
|
||||
"avg_download_speed": "Średnia prędkość pobierania",
|
||||
"avg_upload_speed": "Średnia prędkość wysyłania",
|
||||
"category": "Kategoria",
|
||||
"completed": "Zakończone",
|
||||
"completion_on": "Zakończone",
|
||||
"content_path": "Ścieżka zawartości",
|
||||
"default": "Domyślny",
|
||||
|
|
|
@ -209,10 +209,11 @@
|
|||
"added_on": "Времени добавления",
|
||||
"amount_left": "Остатку скачивания",
|
||||
"availability": "Доступности",
|
||||
"available_peers": "Пирам (рой)",
|
||||
"available_seeds": "Сидам (рой)",
|
||||
"avg_download_speed": "Средней скорости загрузки",
|
||||
"avg_upload_speed": "Средней скорости раздачи",
|
||||
"category": "Категориям",
|
||||
"completed": "Состоянию завершения",
|
||||
"completion_on": "Завершённости",
|
||||
"content_path": "Пути содержимого",
|
||||
"default": "По умолчанию",
|
||||
|
|
|
@ -209,10 +209,11 @@
|
|||
"added_on": "Eklendiği Tarih",
|
||||
"amount_left": "Kalan Miktar",
|
||||
"availability": "Ulaşılabilirlik",
|
||||
"available_peers": "Eşler (sürü)",
|
||||
"available_seeds": "Seeds (swarm)",
|
||||
"avg_download_speed": "Ort. İndirme Hızı",
|
||||
"avg_upload_speed": "Ort. Yükleme Hızı",
|
||||
"category": "Kategori",
|
||||
"completed": "Tamamlandı",
|
||||
"completion_on": "Tamamlanma Tarihi",
|
||||
"content_path": "İçerik Yolu",
|
||||
"default": "Varsayılan",
|
||||
|
|
|
@ -209,10 +209,11 @@
|
|||
"added_on": "Додано о",
|
||||
"amount_left": "Залишок",
|
||||
"availability": "Доступність",
|
||||
"available_peers": "Піри (рій)",
|
||||
"available_seeds": "Кількість сідів (рій)",
|
||||
"avg_download_speed": "Середня швидкість завантаження",
|
||||
"avg_upload_speed": "Середня швидкість роздачі",
|
||||
"category": "Категорія",
|
||||
"completed": "Виконано",
|
||||
"completion_on": "Виконано о",
|
||||
"content_path": "Шлях вмісту",
|
||||
"default": "По замовчуванню",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"_comments": "由Tolgee生成。切勿手动修改否则将被覆盖",
|
||||
"common": {
|
||||
"active": "活跃",
|
||||
"cancel": "取消",
|
||||
|
@ -209,10 +210,11 @@
|
|||
"added_on": "添加时间",
|
||||
"amount_left": "剩余大小",
|
||||
"availability": "可用性",
|
||||
"available_peers": "用户 (群组)",
|
||||
"available_seeds": "做种者 (群组)",
|
||||
"avg_download_speed": "平均下载速度",
|
||||
"avg_upload_speed": "平均上传速度",
|
||||
"category": "分类",
|
||||
"completed": "完成度",
|
||||
"completion_on": "完成时间",
|
||||
"content_path": "内容路径",
|
||||
"default": "默认",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"_comments": "僅從Tolgee生成,請不要手動修改不然會被推翻",
|
||||
"common": {
|
||||
"active": "活躍",
|
||||
"cancel": "取消",
|
||||
|
@ -209,10 +210,11 @@
|
|||
"added_on": "新增於",
|
||||
"amount_left": "剩餘大小",
|
||||
"availability": "可得性",
|
||||
"available_peers": "下載者 (群)",
|
||||
"available_seeds": "種子數 (群)",
|
||||
"avg_download_speed": "平均下載速率",
|
||||
"avg_upload_speed": "平均上傳速率",
|
||||
"category": "分類",
|
||||
"completed": "已完成",
|
||||
"completion_on": "完成於",
|
||||
"content_path": "內容路徑",
|
||||
"default": "預設",
|
||||
|
|
|
@ -107,16 +107,16 @@ export const useTorrentStore = defineStore(
|
|||
const torrentsCount = torrents.length + links.split('\n').filter(url => url.trim().length).length
|
||||
|
||||
return await toast.promise(
|
||||
qbit.addTorrents(torrents, links, payload),
|
||||
{
|
||||
pending: t('toast.add.pending'),
|
||||
error: t('toast.add.error', torrentsCount),
|
||||
success: t('toast.add.success', torrentsCount)
|
||||
},
|
||||
{
|
||||
autoClose: 1500
|
||||
}
|
||||
)
|
||||
qbit.addTorrents(torrents, links, payload),
|
||||
{
|
||||
pending: t('toast.add.pending'),
|
||||
error: t('toast.add.error', torrentsCount),
|
||||
success: t('toast.add.success', torrentsCount)
|
||||
},
|
||||
{
|
||||
autoClose: 1500
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
async function renameTorrent(hash: string, newName: string) {
|
||||
|
|
Loading…
Reference in a new issue