diff --git a/Changelog b/Changelog
index ee88a2719..e788fbf2c 100644
--- a/Changelog
+++ b/Changelog
@@ -14,6 +14,7 @@
- BUGFIX: torrent resume code rewrited
- BUGFIX: Greatly improved column sorting code
- BUGFIX: Possibility to create trackerless torrents
+ - BUGFIX: Better item coloring in torrent content filtering dialog
- COSMETIC: Redesigned search tab to improve usability
- COSMETIC: Redesigned RSS tab to improve usability
diff --git a/src/lang/qbittorrent_bg.ts b/src/lang/qbittorrent_bg.ts
index 40c40a2d2..23603667d 100644
--- a/src/lang/qbittorrent_bg.ts
+++ b/src/lang/qbittorrent_bg.ts
@@ -5037,8 +5037,8 @@ However, those plugins were disabled.
Тракери:
-
-
+
+
Няма - Недостъпни?
@@ -5189,18 +5189,18 @@ However, those plugins were disabled.
-
+
Предимство
-
-
+
+
qBittorrent
-
+
Листата на тракери не може да бъде празна.
@@ -5235,12 +5235,12 @@ However, those plugins were disabled.
Url даващи
-
+
Нов url на даващ:
-
+
Този url на даващ е вече в списъка.
@@ -5250,7 +5250,7 @@ However, those plugins were disabled.
Няма
-
+
New HTTP source
Нов url на даващ
@@ -5261,12 +5261,12 @@ However, those plugins were disabled.
Следните url на даващи са налични за този торент:
-
+
Грешни предимства
-
+
Грешка, не можете да филтрирате всички файлове в един торент.
@@ -5291,18 +5291,18 @@ However, those plugins were disabled.
...
-
-
+
+
Избери път за съхранение
-
+
Грешка при създаване на път за съхранение
-
+
Не мога да създам път за съхранение
@@ -5571,8 +5571,8 @@ However, those plugins were disabled.
Този файла или е разрушен или не е торент.
-
-
+
+
Избери път за съхранение
@@ -5581,49 +5581,49 @@ However, those plugins were disabled.
Грешка
-
+
-
+
e.g. (100MiB left after torrent download)
-
+
e.g. (100MiB more are required to download)
-
+
Празен път за съхранение
-
+
Моля въведете път за съхранение
-
+
Грешка при създаване на път за съхранение
-
+
Не мога да създам път за съхранение
-
+
Невалиден избор на файл
-
+
Трябва да изберете поне един файл в торента
@@ -5644,7 +5644,7 @@ However, those plugins were disabled.
-
+
Предимство
diff --git a/src/lang/qbittorrent_ca.ts b/src/lang/qbittorrent_ca.ts
index 3e471860c..f195e2079 100644
--- a/src/lang/qbittorrent_ca.ts
+++ b/src/lang/qbittorrent_ca.ts
@@ -4521,8 +4521,8 @@ However, those plugins were disabled.
Localitzant
-
-
+
+
Res - No esta disponible?
@@ -4678,18 +4678,18 @@ However, those plugins were disabled.
-
+
-
-
+
+
qBittorrent
-
+
@@ -4724,12 +4724,12 @@ However, those plugins were disabled.
-
+
-
+
@@ -4739,7 +4739,7 @@ However, those plugins were disabled.
Res
-
+
New HTTP source
@@ -4750,12 +4750,12 @@ However, those plugins were disabled.
-
+
-
+
@@ -4780,18 +4780,18 @@ However, those plugins were disabled.
...
-
-
+
+
Escull ruta per salvar
-
+
Guardar ruta creació d'error
-
+
No es pot creat la ruta guardada
@@ -5028,8 +5028,8 @@ However, those plugins were disabled.
Aquest arxiu està corrupte o no es un arxiu torrent.
-
-
+
+
Escull ruta per salvar
@@ -5038,49 +5038,49 @@ However, those plugins were disabled.
Fals
-
+
Desconegut
-
+
e.g. (100MiB left after torrent download)
-
+
e.g. (100MiB more are required to download)
-
+
Ruta buida
-
+
Si us plau entra una ruta salvada
-
+
Guardar ruta creació d'error
-
+
No es pot creat la ruta guardada
-
+
Seleció invàlida de fitxer
-
+
Has de seleccionar mínimament un fitxer en el torrent
@@ -5101,7 +5101,7 @@ However, those plugins were disabled.
-
+
diff --git a/src/lang/qbittorrent_cs.ts b/src/lang/qbittorrent_cs.ts
index 64ee46794..c615dc5d0 100644
--- a/src/lang/qbittorrent_cs.ts
+++ b/src/lang/qbittorrent_cs.ts
@@ -3410,8 +3410,8 @@ Nicméně, tyto moduly byly vypnuty.
Trackery:
-
-
+
+
Žádné - nedostupné?
@@ -3530,18 +3530,18 @@ Nicméně, tyto moduly byly vypnuty.
-
+
Priorita
-
-
+
+
qBittorrent
-
+
Seznam trackerů nesmí být prázdný.
@@ -3581,17 +3581,17 @@ Nicméně, tyto moduly byly vypnuty.
URL seedy
-
+
Nový URL seed:
-
+
Tento URL seed už v seznamu existuje.
-
+
New HTTP source
Nový URL seed
@@ -3602,12 +3602,12 @@ Nicméně, tyto moduly byly vypnuty.
Následující URL seedy jsou k dispozici pro tento torrent:
-
+
Chyba priorit
-
+
Chyba, nemůžete v torrentu filtrovat všechny soubory.
@@ -3632,18 +3632,18 @@ Nicméně, tyto moduly byly vypnuty.
...
-
-
+
+
Vyberte cestu pro uložení
-
+
Chyba při vytváření cesty pro uložení
-
+
Nemohu vytvořit cestu pro uložení
@@ -3876,55 +3876,55 @@ Nicméně, tyto moduly byly vypnuty.
Tento soubor je buď poškozen, nebo to není soubor torrentu.
-
+
Neznámý
-
+
e.g. (100MiB left after torrent download)
-
+
e.g. (100MiB more are required to download)
-
-
+
+
Vyberte cestu pro uložení
-
+
Prázdná cesta pro uložení
-
+
Vložte prosím cestu pro uložení
-
+
Chyba při vytváření cesty pro uložení
-
+
Nemohu vytvořit cestu pro uložení
-
+
Neplatný výběr souboru
-
+
Musíte v torrentu vybrat alespoň jeden soubor
@@ -3945,7 +3945,7 @@ Nicméně, tyto moduly byly vypnuty.
-
+
Priorita
diff --git a/src/lang/qbittorrent_da.ts b/src/lang/qbittorrent_da.ts
index f8281ecde..e6364df28 100644
--- a/src/lang/qbittorrent_da.ts
+++ b/src/lang/qbittorrent_da.ts
@@ -4028,8 +4028,8 @@ However, those plugins were disabled.
Trackere:
-
-
+
+
Ingen - Kan ikke nås?
@@ -4152,18 +4152,18 @@ However, those plugins were disabled.
-
+
-
-
+
+
qBittorrent
-
+
@@ -4198,12 +4198,12 @@ However, those plugins were disabled.
-
+
-
+
@@ -4213,7 +4213,7 @@ However, those plugins were disabled.
Intet
-
+
New HTTP source
@@ -4224,12 +4224,12 @@ However, those plugins were disabled.
-
+
-
+
@@ -4254,18 +4254,18 @@ However, those plugins were disabled.
...
-
-
+
+
Gem til denne mappe
-
+
Fejl ved oprettelse af mappe
-
+
Kunne ikke oprette mappe svarende til den indtastede sti
@@ -4502,8 +4502,8 @@ However, those plugins were disabled.
Denne fil er enten korrupt eller ikke en torrent.
-
-
+
+
Gem til denne mappe
@@ -4512,49 +4512,49 @@ However, those plugins were disabled.
Falsk
-
+
Ukendt
-
+
e.g. (100MiB left after torrent download)
-
+
e.g. (100MiB more are required to download)
-
+
Ingen mappe
-
+
Vælg venligst en mappe som der skal hentes til
-
+
Fejl ved oprettelse af mappe
-
+
Kunne ikke oprette mappe svarende til den indtastede sti
-
+
Valg af filer ugyldigt
-
+
Du skal vælge mindst en fil per torrent
@@ -4575,7 +4575,7 @@ However, those plugins were disabled.
-
+
diff --git a/src/lang/qbittorrent_de.ts b/src/lang/qbittorrent_de.ts
index 4e9d2b2cd..a90b3773b 100644
--- a/src/lang/qbittorrent_de.ts
+++ b/src/lang/qbittorrent_de.ts
@@ -5048,8 +5048,8 @@ Die Plugins wurden jedoch deaktiviert.
Ausgewählt
-
-
+
+
Keine - Unerreichbar?
@@ -5208,18 +5208,18 @@ Die Plugins wurden jedoch deaktiviert.
-
+
Priorität
-
-
+
+
qBittorrent
-
+
die Tracker Liste kann nicht leer sein.
@@ -5254,12 +5254,12 @@ Die Plugins wurden jedoch deaktiviert.
URL Seeds
-
+
Neue URL Seeds:
-
+
Dieser URL Seed ist bereits in der Liste.
@@ -5273,7 +5273,7 @@ Die Plugins wurden jedoch deaktiviert.
Keine
-
+
New HTTP source
Neuer URL Seed
@@ -5284,12 +5284,12 @@ Die Plugins wurden jedoch deaktiviert.
Die folgenden URL Seeds sind für diesen Torrent nicht erhältlich:
-
+
Prioritätsfehler
-
+
Sie können nicht alle Dateien aus einem Torrent filtern.
@@ -5314,18 +5314,18 @@ Die Plugins wurden jedoch deaktiviert.
...
-
-
+
+
Wählen Sie den Speicher-Pfad
-
+
Fehler beim erstellen des Speicher-Pfades
-
+
Speicher-Pfad konnte nicht erstellt werden
@@ -5594,8 +5594,8 @@ Die Plugins wurden jedoch deaktiviert.
Diese Datei ist entweder beschädigt, oder kein Torrent.
-
-
+
+
Wählen Sie den Speicher-Pfad
@@ -5604,49 +5604,49 @@ Die Plugins wurden jedoch deaktiviert.
Falsch
-
+
Unbekannt
-
+
e.g. (100MiB left after torrent download)
-
+
e.g. (100MiB more are required to download)
-
+
Leerer Speicher-Pfad
-
+
Bitte geben Sie einen Speicher-Pfad ein
-
+
Fehler beim erstellen des Speicher-Pfades
-
+
Speicher-Pfad konnte nicht erstellt werden
-
+
Ungültige Datei Auswahl
-
+
Sie müssen mindestens eine Datei aus dem Torrent selektieren
@@ -5667,7 +5667,7 @@ Die Plugins wurden jedoch deaktiviert.
-
+
Priorität
diff --git a/src/lang/qbittorrent_el.ts b/src/lang/qbittorrent_el.ts
index 77e09636c..a6fbea2fc 100644
--- a/src/lang/qbittorrent_el.ts
+++ b/src/lang/qbittorrent_el.ts
@@ -5120,8 +5120,8 @@ However, those plugins were disabled.
Ιχνηλάτες:
-
-
+
+
Κανένα - Απροσπέλαστο?
@@ -5272,18 +5272,18 @@ However, those plugins were disabled.
-
+
Προτεραιότητα
-
-
+
+
qBittorrent
-
+
Η λίστα των ιχνηλατών δεν γίνεται να είναι άδεισ.
@@ -5318,12 +5318,12 @@ However, those plugins were disabled.
Url μοιράσματα
-
+
Νέο url μοιράσματος:
-
+
Αυτό το url μοιράσματος είναι ήδη στη λίστα.
@@ -5337,7 +5337,7 @@ However, those plugins were disabled.
Κανένα
-
+
New HTTP source
Νέο url μοιράσματος
@@ -5348,12 +5348,12 @@ However, those plugins were disabled.
Τα ακόλουθα url μοιράσματος είναι διαθέσιμα για αυτό το τορεντ:
-
+
Σφάλμα προτεραιοτήτων
-
+
Σφάλμα, δεν μπορείτε να φιλτράρετε όλα τα αρχεία σε ένα τορεντ.
@@ -5378,18 +5378,18 @@ However, those plugins were disabled.
...
-
-
+
+
Επιλέξτε διαδρομή αποθήκευσης
-
+
Σφάλμα δημιουργίας διαδρομής αποθήκευσης
-
+
Δεν μπόρεσε να δημιουργηθεί η διαδρομή αποθήκευσης
@@ -5658,8 +5658,8 @@ However, those plugins were disabled.
Το αρχείο είτε είναι κατεστραμμένο, ή δεν ειναι ενα τορεντ.
-
-
+
+
Επιλέξτε διαδρομή αποθήκευσης
@@ -5668,49 +5668,49 @@ However, those plugins were disabled.
Λάθος
-
+
-
+
e.g. (100MiB left after torrent download)
-
+
e.g. (100MiB more are required to download)
-
+
Κενή διαδρομή αποθήκευσης
-
+
Παρακαλώ εισάγετε μία διαδρομή αποθήκευσης
-
+
Σφάλμα δημιουργίας διαδρομής αποθήκευσης
-
+
Δεν μπόρεσε να δημιουργηθεί η διαδρομή αποθήκευσης
-
+
Άκυρη επιλογή αρχείου
-
+
Πρέπει να επιλέξετε τουλάχιστο ένα αρχείο του τορεντ
@@ -5731,7 +5731,7 @@ However, those plugins were disabled.
-
+
Προτεραιότητα
diff --git a/src/lang/qbittorrent_en.ts b/src/lang/qbittorrent_en.ts
index 5b61e1b1f..93c5f617a 100644
--- a/src/lang/qbittorrent_en.ts
+++ b/src/lang/qbittorrent_en.ts
@@ -3038,8 +3038,8 @@ However, those plugins were disabled.
-
-
+
+
@@ -3150,18 +3150,18 @@ However, those plugins were disabled.
-
+
-
-
+
+
-
+
@@ -3201,17 +3201,17 @@ However, those plugins were disabled.
-
+
-
+
-
+
New HTTP source
@@ -3222,12 +3222,12 @@ However, those plugins were disabled.
-
+
-
+
@@ -3252,18 +3252,18 @@ However, those plugins were disabled.
-
-
+
+
-
+
-
+
@@ -3464,55 +3464,55 @@ However, those plugins were disabled.
-
+
-
+
e.g. (100MiB left after torrent download)
-
+
e.g. (100MiB more are required to download)
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -3533,7 +3533,7 @@ However, those plugins were disabled.
-
+
diff --git a/src/lang/qbittorrent_es.ts b/src/lang/qbittorrent_es.ts
index 427999bf9..e5e21e3e7 100644
--- a/src/lang/qbittorrent_es.ts
+++ b/src/lang/qbittorrent_es.ts
@@ -5054,8 +5054,8 @@ De cualquier forma, esos plugins fueron deshabilitados.
Seleccionado
-
-
+
+
Nada - ¿Inaccesible?
@@ -5214,18 +5214,18 @@ De cualquier forma, esos plugins fueron deshabilitados.
-
+
Prioridad
-
-
+
+
qBittorrent
-
+
La lista de trackers no puede estar vacía.
@@ -5260,12 +5260,12 @@ De cualquier forma, esos plugins fueron deshabilitados.
Semillas Url
-
+
Nueva semilla url:
-
+
Esta semilla url ya está en la lista.
@@ -5279,7 +5279,7 @@ De cualquier forma, esos plugins fueron deshabilitados.
Ninguno
-
+
New HTTP source
Nueva semilla url
@@ -5290,12 +5290,12 @@ De cualquier forma, esos plugins fueron deshabilitados.
Las siguientes semillas url están disponibles para este torrent:
-
+
Error de propiedades
-
+
Error, no puedes filtrar todos los archivos en un torrent.
@@ -5320,18 +5320,18 @@ De cualquier forma, esos plugins fueron deshabilitados.
...
-
-
+
+
Selecciona la ruta de guardado
-
+
Error en la creación de ruta de guardado
-
+
No se pudo crear la ruta de guardado
@@ -5588,8 +5588,8 @@ De cualquier forma, esos plugins fueron deshabilitados.
Este archivo puede estar corrupto, o no ser un torrent.
-
-
+
+
Selecciona la ruta de guardado
@@ -5598,49 +5598,49 @@ De cualquier forma, esos plugins fueron deshabilitados.
Falso
-
+
Desconocido
-
+
e.g. (100MiB left after torrent download)
-
+
e.g. (100MiB more are required to download)
-
+
Ruta de guardado vacía
-
+
Por favor ingresa una ruta de guardado
-
+
Error en la creación de ruta de guardado
-
+
No se pudo crear la ruta de guardado
-
+
Selección de archivo inválida
-
+
Debes seleccionar al menos un arcihvo en el torrent
@@ -5661,7 +5661,7 @@ De cualquier forma, esos plugins fueron deshabilitados.
-
+
Prioridad
diff --git a/src/lang/qbittorrent_fi.ts b/src/lang/qbittorrent_fi.ts
index 8dd3b2785..0babac9f0 100644
--- a/src/lang/qbittorrent_fi.ts
+++ b/src/lang/qbittorrent_fi.ts
@@ -4449,8 +4449,8 @@ Kyseiset liitänäiset poistettiin kuitenkin käytöstä.
Perustiedot
-
-
+
+
Ei yhtään - tavoittamattomissa?
@@ -4628,18 +4628,18 @@ Kyseiset liitänäiset poistettiin kuitenkin käytöstä.
-
+
Prioriteetti
-
-
+
+
qBittorrent
-
+
Seurantapalvelinlista ei voi olla tyhjä.
@@ -4674,12 +4674,12 @@ Kyseiset liitänäiset poistettiin kuitenkin käytöstä.
URL-jaot
-
+
Uusi URL-jakaja:
-
+
Jakaja on jo listassa.
@@ -4689,7 +4689,7 @@ Kyseiset liitänäiset poistettiin kuitenkin käytöstä.
Ei mikään
-
+
New HTTP source
Uusi URL-lähde
@@ -4700,12 +4700,12 @@ Kyseiset liitänäiset poistettiin kuitenkin käytöstä.
Seuraavat URL-jaot ovat saatavilla:
-
+
Prioriteettivirhe
-
+
Et voi suodattaa torrentin kaikkia tiedostoja.
@@ -4730,18 +4730,18 @@ Kyseiset liitänäiset poistettiin kuitenkin käytöstä.
...
-
-
+
+
Valitse tallennuskansio
-
+
Tallennuskansion luominen ei onnistunut
-
+
Tallennuskansion luominen ei onnistunut
@@ -4984,18 +4984,18 @@ Kyseiset liitänäiset poistettiin kuitenkin käytöstä.
torrentAdditionDialog
-
-
+
+
Valitse tallennuskansio
-
+
Tallennuskansion luominen ei onnistunut
-
+
Ei tallennuskansiota
@@ -5004,34 +5004,34 @@ Kyseiset liitänäiset poistettiin kuitenkin käytöstä.
Ei
-
+
Virheellinen tiedostovalinta
-
+
Anna tallennuskansio
-
+
Tuntematon
-
+
e.g. (100MiB left after torrent download)
(%1 torrentin lataamisen jälkeen)
-
+
e.g. (100MiB more are required to download)
(tarvitaan %1 lisää lataamiseen)
-
+
Tallennuskansion luominen ei onnistunut
@@ -5050,7 +5050,7 @@ Kyseiset liitänäiset poistettiin kuitenkin käytöstä.
Torrent-tiedoston purkaminen ei onnistunut:
-
+
Valitse ainakin yksi torrent-tiedosto
@@ -5071,7 +5071,7 @@ Kyseiset liitänäiset poistettiin kuitenkin käytöstä.
-
+
Prioriteetti
diff --git a/src/lang/qbittorrent_fr.ts b/src/lang/qbittorrent_fr.ts
index 1442d81ec..ff062bdb7 100644
--- a/src/lang/qbittorrent_fr.ts
+++ b/src/lang/qbittorrent_fr.ts
@@ -5235,8 +5235,8 @@ Cependant, les greffons en question ont été désactivés.
Trackers :
-
-
+
+
Aucun - indisponible ?
@@ -5391,18 +5391,18 @@ Cependant, les greffons en question ont été désactivés.
-
+
Priorité
-
-
+
+
qBittorrent
-
+
La liste des trackers ne peut pas être vide.
@@ -5441,12 +5441,12 @@ Cependant, les greffons en question ont été désactivés.
La source
-
+
Nouvelle source HTTP :
-
+
Cette source HTTP est déjà dans la liste.
@@ -5460,7 +5460,7 @@ Cependant, les greffons en question ont été désactivés.
Aucun
-
+
New HTTP source
Nouvelle source HTTP
@@ -5471,12 +5471,12 @@ Cependant, les greffons en question ont été désactivés.
Les sources HTTP suivantes sont disponibles pour ce torrent :
-
+
Erreur de priorité
-
+
Erreur, vous ne pouvez pas filtrer tous les fichiers du torrent.
@@ -5501,18 +5501,18 @@ Cependant, les greffons en question ont été désactivés.
...
-
-
+
+
Choix du répertoire de destination
-
+
Erreur lors de la création du répertoire de destination
-
+
Impossible de créer le répertoire de destination
@@ -5781,8 +5781,8 @@ Cependant, les greffons en question ont été désactivés.
Ce fichier est corrompu ou il ne s'agit pas d'un torrent.
-
-
+
+
Choix du répertoire de destination
@@ -5791,49 +5791,49 @@ Cependant, les greffons en question ont été désactivés.
Non
-
+
Inconnu
-
+
e.g. (100MiB left after torrent download)
(%1 disponible after téléchargement)
-
+
e.g. (100MiB more are required to download)
(%1 de plus sont nécessaires)
-
+
Chemin de destination vide
-
+
Veuillez entrer un répertoire de destination
-
+
Erreur lors de la création du répertoire de destination
-
+
Impossible de créer le répertoire de destination
-
+
Sélection de fichiers invalide
-
+
Veuillez sélectionner au moins un fichier dans le torrent
@@ -5854,7 +5854,7 @@ Cependant, les greffons en question ont été désactivés.
-
+
Priorité
diff --git a/src/lang/qbittorrent_hu.ts b/src/lang/qbittorrent_hu.ts
index 8b9e04ccb..312199b62 100644
--- a/src/lang/qbittorrent_hu.ts
+++ b/src/lang/qbittorrent_hu.ts
@@ -4099,8 +4099,8 @@ Viszont azok a modulok kikapcsolhatóak.
Trackerek:
-
-
+
+
Nincs - Vagy csak elérhetetlen?
@@ -4231,18 +4231,18 @@ Viszont azok a modulok kikapcsolhatóak.
-
+
Prioritás
-
-
+
+
qBittorrent
-
+
Nem hagyhatod üresen a trackerek listáját.
@@ -4277,12 +4277,12 @@ Viszont azok a modulok kikapcsolhatóak.
Url seed
-
+
Új url seed:
-
+
Már letöltés alatt ez az url forrás.
@@ -4296,7 +4296,7 @@ Viszont azok a modulok kikapcsolhatóak.
Nincs
-
+
New HTTP source
Új url forrás
@@ -4307,12 +4307,12 @@ Viszont azok a modulok kikapcsolhatóak.
Ehhez a torrenthez az alábbi url seedek elérhetőek:
-
+
Priorities error
-
+
Error, you can't filter all the files in a torrent.
@@ -4337,18 +4337,18 @@ Viszont azok a modulok kikapcsolhatóak.
...
-
-
+
+
Mentés helye
-
+
Járhatatlan ösvény
-
+
Nem sikerült létrehozni a letöltési könyvtárat. (Írásvédett?)
@@ -4613,55 +4613,55 @@ Viszont azok a modulok kikapcsolhatóak.
Ez a fájl sérült, vagy nem is torrent.
-
+
Ismeretlen
-
+
e.g. (100MiB left after torrent download)
-
+
e.g. (100MiB more are required to download)
-
-
+
+
Mentés helye
-
+
Mentés helye hiányos
-
+
Kérlek add meg a mentés helyét
-
+
Járhatatlan ösvény
-
+
Nem sikerült létrehozni a letöltési könyvtárat. (Írásvédett?)
-
+
Választás hiánya
-
+
Legalább egy fájlt ki kell választanod
@@ -4682,7 +4682,7 @@ Viszont azok a modulok kikapcsolhatóak.
-
+
Elsőbbség
diff --git a/src/lang/qbittorrent_it.ts b/src/lang/qbittorrent_it.ts
index 21b99a9de..182314ad5 100644
--- a/src/lang/qbittorrent_it.ts
+++ b/src/lang/qbittorrent_it.ts
@@ -4748,8 +4748,8 @@ Comunque, quei plugin sono stati disabilitati.
Tracker:
-
-
+
+
Nessuno - Irraggiungibile?
@@ -4900,18 +4900,18 @@ Comunque, quei plugin sono stati disabilitati.
-
+
Priorità
-
-
+
+
qBittorrent
-
+
La lista dei tracker non può essere vuota.
@@ -4956,18 +4956,18 @@ Comunque, quei plugin sono stati disabilitati.
Nessuno
-
+
New HTTP source
Nuovo seed web
-
+
Nuovo seed web:
-
+
Questo seed web è già nella lista.
@@ -4976,12 +4976,12 @@ Comunque, quei plugin sono stati disabilitati.
Gli url seed codificati non possono essere cancellati.
-
+
Errore di priorità
-
+
Errore, non è possibile filtrare tutti i file in un torrent.
@@ -5006,18 +5006,18 @@ Comunque, quei plugin sono stati disabilitati.
...
-
-
+
+
Scegliere una directory di salvataggio
-
+
Errore nella creazione della directory di salvataggio
-
+
Impossibile creare la directory di salvataggio
@@ -5286,8 +5286,8 @@ Comunque, quei plugin sono stati disabilitati.
Questo file è corrotto o non è un torrent.
-
-
+
+
Scegliere una directory di salvataggio
@@ -5296,49 +5296,49 @@ Comunque, quei plugin sono stati disabilitati.
Falso
-
+
-
+
e.g. (100MiB left after torrent download)
-
+
e.g. (100MiB more are required to download)
-
+
Directory di salvataggio vuota
-
+
Inserire per favore una directory di salvataggio
-
+
Errore nella creazione della directory di salvataggio
-
+
Impossibile creare la directory di salvataggio
-
+
Selezione file non valida
-
+
Devi selezionare almeno un file nel torrent
@@ -5359,7 +5359,7 @@ Comunque, quei plugin sono stati disabilitati.
-
+
Priorità
diff --git a/src/lang/qbittorrent_ja.ts b/src/lang/qbittorrent_ja.ts
index 2d6e69be5..b91bfae10 100644
--- a/src/lang/qbittorrent_ja.ts
+++ b/src/lang/qbittorrent_ja.ts
@@ -4271,8 +4271,8 @@ However, those plugins were disabled.
トラッカ:
-
-
+
+
なし - アンリーチ可能ですか?
@@ -4407,18 +4407,18 @@ However, those plugins were disabled.
-
+
優先度
-
-
+
+
qBittorrent
-
+
トラッカの一覧を空にできません。
@@ -4453,12 +4453,12 @@ However, those plugins were disabled.
Url シード
-
+
新しい url シード:
-
+
この url シードはすでに一覧にあります。
@@ -4472,7 +4472,7 @@ However, those plugins were disabled.
なし
-
+
New HTTP source
新しい url シード
@@ -4483,12 +4483,12 @@ However, those plugins were disabled.
以下の url シードはこの torrent に利用可能です:
-
+
優先度エラー
-
+
エラーです、torrent のすべてのファイルをフィルタできません。
@@ -4513,18 +4513,18 @@ However, those plugins were disabled.
...
-
-
+
+
保存パスの選択
-
+
保存パスの作成エラー
-
+
保存パスを作成できませんでした
@@ -4781,8 +4781,8 @@ However, those plugins were disabled.
このファイルは壊れているかこれは torrent ではないかのどちらかです。
-
-
+
+
保存パスの選択
@@ -4791,49 +4791,49 @@ However, those plugins were disabled.
False
-
+
不明
-
+
e.g. (100MiB left after torrent download)
-
+
e.g. (100MiB more are required to download)
-
+
空の保存パス
-
+
保存パスを入力してください
-
+
保存パスの作成エラー
-
+
保存パスを作成できませんでした
-
+
不正なファイル選択
-
+
Torrent では少なくとも 1 つのファイルを選択する必要があります
@@ -4854,7 +4854,7 @@ However, those plugins were disabled.
-
+
優先度
diff --git a/src/lang/qbittorrent_ko.ts b/src/lang/qbittorrent_ko.ts
index ad703f087..5b538aa9d 100644
--- a/src/lang/qbittorrent_ko.ts
+++ b/src/lang/qbittorrent_ko.ts
@@ -5059,8 +5059,8 @@ However, those plugins were disabled.
서버목록:
-
-
+
+
없음 - 접근할수 없습니까?
@@ -5211,18 +5211,18 @@ However, those plugins were disabled.
-
+
우선순위
-
-
+
+
큐비토런트
-
+
트렉커 리스트(Trackers List)를 비울수 없습니다.
@@ -5257,12 +5257,12 @@ However, those plugins were disabled.
Url 완전체(Url seeds)
-
+
새 Url 완전체 (Url seed):
-
+
이 Url 완전체(Url seed)는 이미 리스트에 포함되어 있습니다.
@@ -5276,7 +5276,7 @@ However, those plugins were disabled.
없음
-
+
New HTTP source
새 Url 완전체(seed)
@@ -5287,12 +5287,12 @@ However, those plugins were disabled.
다음 Url 완전체(seed)가 이 토렌트에 사용될수 있습니다.
-
+
우선순위 설정 에러
-
+
에러, 모든 파일을 필터할수는 없습니다.
@@ -5317,18 +5317,18 @@ However, those plugins were disabled.
...
-
-
+
+
저장 경로 선택
-
+
저장 경로 설정이 잘못되었습니다
-
+
저장 경로를 생성할수가 없습니다
@@ -5597,8 +5597,8 @@ However, those plugins were disabled.
이 파일은 오류가 있거나 토런트 파일이 아닙니다.
-
-
+
+
저장 경로 선택
@@ -5607,49 +5607,49 @@ However, those plugins were disabled.
틀림
-
+
-
+
e.g. (100MiB left after torrent download)
-
+
e.g. (100MiB more are required to download)
-
+
저장 경로 지우기
-
+
저장 경로를 지정해주십시오
-
+
저장 경로 설정이 잘못되었습니다
-
+
저장 경로를 생성할수가 없습니다
-
+
부적당한 파일 선택
-
+
토렌트에서 적어도 하나 이상의 파일을 선택해야 합니다
@@ -5670,7 +5670,7 @@ However, those plugins were disabled.
-
+
우선순위
diff --git a/src/lang/qbittorrent_nb.ts b/src/lang/qbittorrent_nb.ts
index 6308acc11..4419f8a45 100644
--- a/src/lang/qbittorrent_nb.ts
+++ b/src/lang/qbittorrent_nb.ts
@@ -4370,8 +4370,8 @@ However, those plugins were disabled.
Sporingstjenere:
-
-
+
+
Ingen - Utilgjengelig?
@@ -4510,18 +4510,18 @@ However, those plugins were disabled.
-
+
-
-
+
+
qBittorrent
-
+
@@ -4556,12 +4556,12 @@ However, those plugins were disabled.
-
+
-
+
@@ -4571,7 +4571,7 @@ However, those plugins were disabled.
Ingen
-
+
New HTTP source
@@ -4582,12 +4582,12 @@ However, those plugins were disabled.
-
+
-
+
@@ -4612,18 +4612,18 @@ However, those plugins were disabled.
...
-
-
+
+
Velg filsti for nedlasting
-
+
Feil ved oprettelsen av filsti
-
+
Kunne ikke opprette nedlastingsfilstien
@@ -4860,8 +4860,8 @@ However, those plugins were disabled.
Denne filen er enten ødelagt, eller det er ikke en torrent.
-
-
+
+
Velg filsti for nedlasting
@@ -4870,49 +4870,49 @@ However, those plugins were disabled.
Nei
-
+
-
+
e.g. (100MiB left after torrent download)
-
+
e.g. (100MiB more are required to download)
-
+
Ingen filsti oppgitt
-
+
Velg en filsti for nedlasting
-
+
Feil ved oprettelsen av filsti
-
+
Kunne ikke opprette nedlastingsfilstien
-
+
Ugyldig valg av filer
-
+
Du må velge minst en fil fra torrenten
@@ -4933,7 +4933,7 @@ However, those plugins were disabled.
-
+
diff --git a/src/lang/qbittorrent_nl.ts b/src/lang/qbittorrent_nl.ts
index 3aa9248d0..b390c4a85 100644
--- a/src/lang/qbittorrent_nl.ts
+++ b/src/lang/qbittorrent_nl.ts
@@ -4969,8 +4969,8 @@ selecteer alstublieft een er van:
Locatie toekennen
-
-
+
+
Geen - Onbereikbaar?
@@ -5138,18 +5138,18 @@ selecteer alstublieft een er van:
-
+
Prioriteit
-
-
+
+
qBittorrent
-
+
Trackerlijst kan niet leeg zijn.
@@ -5184,12 +5184,12 @@ selecteer alstublieft een er van:
Url seeds
-
+
Nieuwe url seed:
-
+
Deze url seed staat al in de lijst.
@@ -5199,7 +5199,7 @@ selecteer alstublieft een er van:
Geen
-
+
New HTTP source
Nieuwe url seed
@@ -5210,12 +5210,12 @@ selecteer alstublieft een er van:
De volgende url seeds zijn beschikbaar voor deze torrent:
-
+
Prioriteitsfout
-
+
Fout: je kan niet alle bestanden filteren in een torrent.
@@ -5240,18 +5240,18 @@ selecteer alstublieft een er van:
...
-
-
+
+
Kies opslag pad
-
+
Opslag pad aanmaak fout
-
+
Kon het opslag pad niet aanmaken
@@ -5516,8 +5516,8 @@ selecteer alstublieft een er van:
Dit bestand is corrupt of is geen torrent.
-
-
+
+
Kies opslag pad
@@ -5526,49 +5526,49 @@ selecteer alstublieft een er van:
Onwaar
-
+
Onbekend
-
+
e.g. (100MiB left after torrent download)
-
+
e.g. (100MiB more are required to download)
-
+
Leeg opslag pad
-
+
Geef alstublieft een opslag pad
-
+
Opslag pad aanmaak fout
-
+
Kon het opslag pad niet aanmaken
-
+
Ongeldige bestand selectie
-
+
U moet tenminste een bestand in de torrent selecteren
@@ -5589,7 +5589,7 @@ selecteer alstublieft een er van:
-
+
Prioriteit
diff --git a/src/lang/qbittorrent_pl.ts b/src/lang/qbittorrent_pl.ts
index bde895476..783cdf359 100644
--- a/src/lang/qbittorrent_pl.ts
+++ b/src/lang/qbittorrent_pl.ts
@@ -5104,8 +5104,8 @@ Jednak tamte wtyczki były wyłączone.
Trackery:
-
-
+
+
Brak - Nieosiągalny?
@@ -5256,18 +5256,18 @@ Jednak tamte wtyczki były wyłączone.
-
+
Priorytet
-
-
+
+
qBittorrent
-
+
Lista trackerów nie może być pusta.
@@ -5302,12 +5302,12 @@ Jednak tamte wtyczki były wyłączone.
Url seeda
-
+
Nowy url seeda:
-
+
Ten url seeda już jest na liście.
@@ -5321,7 +5321,7 @@ Jednak tamte wtyczki były wyłączone.
Brak
-
+
New HTTP source
Nowy url seeda
@@ -5332,12 +5332,12 @@ Jednak tamte wtyczki były wyłączone.
Dla tego torrenta dostępne są następujące url seeda:
-
+
Błąd priorytetu
-
+
Błąd, nie można filtrować wszystkich plików torrencie.
@@ -5362,18 +5362,18 @@ Jednak tamte wtyczki były wyłączone.
...
-
-
+
+
Wybierz katalog docelowy
-
+
Błąd tworzenia katalogu docelowego
-
+
Nie można założyć katalogu docelowego
@@ -5642,8 +5642,8 @@ Jednak tamte wtyczki były wyłączone.
Plik jest uszkodzony lub nie jest plikiem torrent.
-
-
+
+
Wybierz katalog docelowy
@@ -5652,49 +5652,49 @@ Jednak tamte wtyczki były wyłączone.
Nie
-
+
Nieznany
-
+
e.g. (100MiB left after torrent download)
-
+
e.g. (100MiB more are required to download)
-
+
Niepoprawny katalog docelowy
-
+
Podaj katalog docelowy
-
+
Błąd tworzenia katalogu docelowego
-
+
Nie można założyć katalogu docelowego
-
+
Wybrano niepoprawny plik
-
+
Musisz wybrać przynajmniej jeden plik z pliku torrent
@@ -5715,7 +5715,7 @@ Jednak tamte wtyczki były wyłączone.
-
+
Priorytet
diff --git a/src/lang/qbittorrent_tr.qm b/src/lang/qbittorrent_tr.qm
index 68dc61b2c..374ef4eb2 100644
Binary files a/src/lang/qbittorrent_tr.qm and b/src/lang/qbittorrent_tr.qm differ
diff --git a/src/lang/qbittorrent_tr.ts b/src/lang/qbittorrent_tr.ts
index 80416d287..caa1a6f3a 100644
--- a/src/lang/qbittorrent_tr.ts
+++ b/src/lang/qbittorrent_tr.ts
@@ -157,7 +157,12 @@ p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">A Bittorrent client programmed in C++, based on Qt4 toolkit </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">and libtorrent-rasterbar. <br /><br />Copyright ©2006-2009 Christophe Dumez<br /><br /><span style=" text-decoration: underline;">Home Page:</span> <a href="http://www.qbittorrent.org"><span style=" text-decoration: underline; color:#0057ae;">http://www.qbittorrent.org</span></a><br /></p></body></html>
-
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Qt4 tabanlı, C++ da derlenmiş bir bittorrent istemcisi </p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">ve libtorrent-rasterbar kullanıyor. <br /><br />Telif hakkı ©2006-2009 Christophe Dumez<br /><br /><span style=" text-decoration: underline;">Ana Sayfa:</span> <a href="http://www.qbittorrent.org"><span style=" text-decoration: underline; color:#0057ae;">http://www.qbittorrent.org</span></a><br /></p></body></html>
@@ -546,7 +551,7 @@ p, li { white-space: pre-wrap; }
- Bağlantı
+ Bağlantı
@@ -948,36 +953,36 @@ p, li { white-space: pre-wrap; }
-
+ Yasaktan korunmak için µtorrent'i kandır (yeniden başlatmak gerekli)
Action executed when doucle-clicking on an item in transfer (download/upload) list
-
+ Çift tıklama eylemi
-
+ Başlat/Durdur
-
+ Klasör aç
-
+ Özellikleri göster
-
+ Gelen bağlantılar için kullanılacak port:
-
+ Rastgele
-
+ Arabirim
@@ -1095,192 +1100,192 @@ p, li { white-space: pre-wrap; }
i.e: full/partial sources
-
+ Gönderen/Çeken
FeedDownloader
-
+ RSS Besleme indirici
-
+ RSS beslemesi:
-
+ Besleme adı
-
+ Bu beslemeden torentleri kendiliğinden indir
-
+ İndirme süzgeçleri
-
+ Süzgeçler:
-
+ Süzgeç ayarları
-
+ Eşleşmeler:
-
+ Eşleşmeyen:
-
+ Hedef klasör:
- ...
+ ...
-
+ Süzgeç sınama
-
+ Torent başlığı:
-
+ Sonuç:
-
+ Sına
-
+ İçe aktar...
-
+ Dışa aktar...
-
+ Süzgeci yeniden adlandır
-
+ Süzgeci kaldır
-
+ Süzgeç ekle
FeedDownloaderDlg
-
+ Yeni süzgeç
-
+ Lütfen bu süzgeç için yeni bir ad seçin
-
+ Süzgeç adı:
-
+ Geçersiz süzgeç adı
-
+ Süzgeç adı boş bırakılamaz.
-
+ Bu süzgeç adı kullanımda.
-
+ Süzgeç sınama hatası
-
+ Lütfen bir sınama torenti adı belirtin.
-
+ eşleşmeler
-
+ eşleşme yok
-
+ İçe aktarmak için dosya seçin
-
+ Süzgeç Dosyaları
-
+ İçe aktarma başarılı
-
+ Süzgeçler başarıyla içe aktarıldı.
-
+ İçe aktarma başarısız
-
+ Süzgeçler bir Girdi/Çıktı hatası sebebiyle içe aktarılamadı.
-
+ Hedef dosyayı seçin
-
+ Açıklama üzerine yazılıyor
-
+ Dosyanın üzerine yazmak istediğinize emin misiniz?
-
+ Dışa aktarım başarılı
-
+ Süzgeçler dışa başarıyla aktarıldı.
-
+ Dışa aktarım başarısız
-
+ Süzgeçler bir Girdi/Çıktı hatası sebebiyle dışa aktarılamadı.
FeedList
-
+ Okunmadı
@@ -2531,11 +2536,11 @@ qBittorrent'ten çıkmak istediğinize emin misiniz?
- Sil
+ Sil
- Yeniden adlandır
+ Yeniden adlandır
@@ -2587,55 +2592,63 @@ qBittorrent'ten çıkmak istediğinize emin misiniz?
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Torrents:</span> <span style=" font-style:italic;">(double-click to download)</span></p></body></html>
-
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Torentler:</span> <span style=" font-style:italic;">(indirmek için çift tıklayın)</span></p></body></html>
-
+ Torenti indir
-
+ Haber adresini aç
-
+ Besleme adresini kopyala
-
+ RSS besleme indirici
-
+ Yeni abonelik
-
+ Öğeleri okundu olarak işaretle
-
+ Tümünü güncelle
-
+ Tüm beslemeleri güncelle
-
+ RSS beslemeleri
-
+ Güncelle
-
+ Yeni klasör
+
+
+
+ 1
-
+ Besleme adresi
@@ -2714,52 +2727,52 @@ p, li { white-space: pre-wrap; }
-
+ Lütfen bir klasör adı seçin
-
+ Klasör adı:
-
+ Yeni klasör
-
+ Bu öğeleri listeden silmek istediğinize emin misiniz?
-
+ Bu öğeyi listeden silmek istediğinize emin misiniz?
-
+ Lütfen bu RSS beslemesi için yeni bir ad seçin
-
+ Yeni besleme adı:
-
+ Bu ad kullanımda
-
+ Bu ad başka bir öğe tarafından kullanılıyor, lütfen başka bir tane seçin.
-
+ Üzerine yazma girişimi
You cannot overwrite myFolder item.
-
+ %1 öğesi üzerine yazamazsınız.
-
+ Okunmadı
@@ -2782,46 +2795,46 @@ p, li { white-space: pre-wrap; }
-
+ %2 beslemesinden %1 torent kendiliğinden indiriliyor...
SearchCategories
-
+ Tüm kategoriler
-
+ Filmler
-
+ Televizyon programları
-
+ Müzik
-
+ Oyunlar
-
+ Canlandırma
-
+ Yazılım
-
+ Fotoğraflar
-
+ Kitaplar
@@ -3166,19 +3179,19 @@ Changelog:
-
+ Torent boyutu:
- Bilinmeyen
+ Bilinmeyen
-
+ Boş disk alanı:
-
+ Doğru düzende indir (yavaş ama önizleme için iyi)
@@ -3310,16 +3323,16 @@ Changelog:
-
+ '%1' geçerli bir adres değil.
Recursive download of test.torrent embedded in torrent test2
-
+ %1 dosyasının özyineli indirmesi %2 torenti içine gömülü
-
+ %1 torent dosyası çözümlenemiyor.
@@ -3462,11 +3475,11 @@ Changelog:
-
+ Dosya ekle
-
+ Klasör ekle
@@ -3716,7 +3729,7 @@ Changelog:
-
+ Çeken bağlantıyı kopyala
@@ -3872,11 +3885,11 @@ Bununla birlikte, o eklentiler devre dışı.
-
+ Evet
-
+ Hayır
@@ -4659,7 +4672,7 @@ Bununla birlikte, o eklentiler devre dışı.
-
+ Çeken bağlantıyı kopyala
@@ -4714,7 +4727,7 @@ Bununla birlikte, o eklentiler devre dışı.
- I/O Hatası
+ Girdi/Çıktı Hatası
@@ -4781,17 +4794,17 @@ Bununla birlikte, o eklentiler devre dışı.
- Bilinmeyen
+ Bilinmeyen
e.g. (100MiB left after torrent download)
-
+ (torentin indirilmesinden sonra %1 kalacak)
e.g. (100MiB more are required to download)
-
+ (indirilmesi için %1 daha gerekli)
diff --git a/src/properties_imp.cpp b/src/properties_imp.cpp
index 8323a2f4a..b15fb6446 100644
--- a/src/properties_imp.cpp
+++ b/src/properties_imp.cpp
@@ -172,9 +172,13 @@ void properties::addFilesToTree(const torrent_file *root, QStandardItem *parent)
child << new QStandardItem(misc::toQString(root->getPriority()));
// INDEX
child << new QStandardItem(misc::toQString(root->getIndex()));
- // TODO: row Color?
// Add the child to the tree
parent->appendRow(child);
+ // Set row color
+ if(root->getPriority() == IGNORED)
+ setItemColor(first->index(), "red");
+ else
+ setItemColor(first->index(), "green");
// Add childs
foreach(const torrent_file *childFile, root->getChildren()) {
addFilesToTree(childFile, first);
@@ -240,6 +244,7 @@ void properties::updateParentsPriority(QStandardItem *item, int priority) {
QStandardItem *parentPrio = grandFather->child(parent->row(), PRIORITY);
if(parentPrio->text().toInt() != NORMAL) {
parentPrio->setText(misc::toQString(NORMAL));
+ setItemColor(parentPrio->index(), "green");
// Recursively update ancesters of this parent too
updateParentsPriority(grandFather->child(parent->row()), priority);
}
@@ -255,6 +260,10 @@ void properties::updateParentsPriority(QStandardItem *item, int priority) {
QStandardItem *parentPrio = grandFather->child(parent->row(), PRIORITY);
if(parentPrio->text().toInt() != priority) {
parentPrio->setText(misc::toQString(priority));
+ if(priority == IGNORED)
+ setItemColor(parentPrio->index(), "red");
+ else
+ setItemColor(parentPrio->index(), "green");
// Recursively update ancesters of this parent too
updateParentsPriority(grandFather->child(parent->row()), priority);
}
@@ -271,6 +280,10 @@ void properties::updateChildrenPriority(QStandardItem *item, int priority) {
QStandardItem * childPrio = parent->child(i, PRIORITY);
if(childPrio->text().toInt() != priority) {
childPrio->setText(misc::toQString(priority));
+ if(priority == IGNORED)
+ setItemColor(childPrio->index(), "red");
+ else
+ setItemColor(childPrio->index(), "green");
// recursively update children of this child too
updateChildrenPriority(parent->child(i), priority);
}
@@ -287,6 +300,10 @@ void properties::updatePriorities(QStandardItem *item) {
parent = PropListModel->invisibleRootItem();
}
int priority = parent->child(item->row(), PRIORITY)->text().toInt();
+ if(priority == IGNORED)
+ setItemColor(item->index(), "red");
+ else
+ setItemColor(item->index(), "green");
// Update parents priorities
updateParentsPriority(item, priority);
// If this is not a directory, then there are
@@ -379,9 +396,7 @@ void properties::ignoreSelection(){
if(PropListModel->data(index) != QVariant(IGNORED)){
PropListModel->setData(index, QVariant(IGNORED));
changedFilteredfiles = true;
- for(int i=0; icolumnCount(); ++i){
- PropListModel->setData(PropListModel->index(index.row(), i), QVariant(QColor("red")), Qt::ForegroundRole);
- }
+ setItemColor(index, "red");
}
}
}
@@ -394,9 +409,7 @@ void properties::normalSelection(){
if(PropListModel->data(index) != QVariant(NORMAL)){
PropListModel->setData(index, QVariant(NORMAL));
changedFilteredfiles = true;
- for(int i=0; icolumnCount(); ++i){
- PropListModel->setData(PropListModel->index(index.row(), i), QVariant(QColor("green")), Qt::ForegroundRole);
- }
+ setItemColor(index, "green");
}
}
}
@@ -409,9 +422,7 @@ void properties::highSelection(){
if(PropListModel->data(index) != QVariant(HIGH)){
PropListModel->setData(index, QVariant(HIGH));
changedFilteredfiles = true;
- for(int i=0; icolumnCount(); ++i){
- PropListModel->setData(PropListModel->index(index.row(), i), QVariant(QColor("green")), Qt::ForegroundRole);
- }
+ setItemColor(index, "green");
}
}
}
@@ -424,9 +435,7 @@ void properties::maximumSelection(){
if(PropListModel->data(index) != QVariant(MAXIMUM)){
PropListModel->setData(index, QVariant(MAXIMUM));
changedFilteredfiles = true;
- for(int i=0; icolumnCount(); ++i){
- PropListModel->setData(PropListModel->index(index.row(), i), QVariant(QColor("green")), Qt::ForegroundRole);
- }
+ setItemColor(index, "green");
}
}
}
@@ -632,23 +641,9 @@ void properties::updateInfos(){
}
}
-// Set the color of a row in data model
-void properties::setRowColor(int row, QString color){
- unsigned int nbCol = PropListModel->columnCount();
- for(unsigned int i=0; isetData(PropListModel->index(row, i), QVariant(QColor(color)), Qt::ForegroundRole);
- }
-}
-
-void properties::setAllPiecesState(unsigned short priority){
- unsigned int nbFiles = h.num_files();
- for(unsigned int i=0; isetData(PropListModel->index(i, PRIORITY), QVariant(priority));
+void properties::setItemColor(QModelIndex index, QString color){
+ for(int i=0; icolumnCount(); ++i){
+ PropListModel->setData(index.sibling(index.row(), i), QVariant(QColor(color)), Qt::ForegroundRole);
}
}
diff --git a/src/properties_imp.h b/src/properties_imp.h
index 0fec185f3..53121d4f0 100644
--- a/src/properties_imp.h
+++ b/src/properties_imp.h
@@ -63,9 +63,8 @@ class properties : public QDialog, private Ui::properties{
protected slots:
void on_okButton_clicked();
void on_incrementalDownload_stateChanged(int);
- void setRowColor(int row, QString color);
+ void setItemColor(QModelIndex index, QString color);
void updateInfos();
- void setAllPiecesState(unsigned short priority);
void askForTracker();
void loadTrackers();
void deleteSelectedTrackers();
diff --git a/src/torrentAddition.h b/src/torrentAddition.h
index d7fb607e9..2d4a7af47 100644
--- a/src/torrentAddition.h
+++ b/src/torrentAddition.h
@@ -170,9 +170,12 @@ public:
child << new QStandardItem(misc::toQString(NORMAL));
// INDEX
child << new QStandardItem(misc::toQString(root->getIndex()));
- // TODO: row Color?
+
// Add the child to the tree
parent->appendRow(child);
+
+ // set row Color
+ setItemColor(first->index(), "green");
// Add children
QList children = root->getChildren();
foreach(const torrent_file *child, children) {
@@ -198,6 +201,7 @@ public slots:
QStandardItem *parentPrio = grandFather->child(parent->row(), PRIORITY);
if(parentPrio->text().toInt() != NORMAL) {
parentPrio->setText(misc::toQString(NORMAL));
+ setItemColor(parentPrio->index(), "green");
// Recursively update ancesters of this parent too
updateParentsPriority(grandFather->child(parent->row()), priority);
}
@@ -213,6 +217,10 @@ public slots:
QStandardItem *parentPrio = grandFather->child(parent->row(), PRIORITY);
if(parentPrio->text().toInt() != priority) {
parentPrio->setText(misc::toQString(priority));
+ if(priority == IGNORED)
+ setItemColor(parentPrio->index(), "red");
+ else
+ setItemColor(parentPrio->index(), "green");
// Recursively update ancesters of this parent too
updateParentsPriority(grandFather->child(parent->row()), priority);
}
@@ -229,6 +237,10 @@ public slots:
QStandardItem * childPrio = parent->child(i, PRIORITY);
if(childPrio->text().toInt() != priority) {
childPrio->setText(misc::toQString(priority));
+ if(priority == IGNORED)
+ setItemColor(childPrio->index(), "red");
+ else
+ setItemColor(childPrio->index(), "green");
// recursively update children of this child too
updateChildrenPriority(parent->child(i), priority);
}
@@ -245,6 +257,10 @@ public slots:
parent = PropListModel->invisibleRootItem();
}
int priority = parent->child(item->row(), PRIORITY)->text().toInt();
+ if(priority == IGNORED)
+ setItemColor(item->index(), "red");
+ else
+ setItemColor(item->index(), "green");
// Update parents priorities
updateParentsPriority(item, priority);
// If this is not a directory, then there are
@@ -312,9 +328,9 @@ public slots:
}
// Set the color of a row in data model
- void setRowColor(int row, QString color){
+ void setItemColor(QModelIndex index, QString color){
for(int i=0; icolumnCount(); ++i){
- PropListModel->setData(PropListModel->index(row, i), QVariant(QColor(color)), Qt::ForegroundRole);
+ PropListModel->setData(index.sibling(index.row(), i), QVariant(QColor(color)), Qt::ForegroundRole);
}
}
@@ -347,9 +363,7 @@ public slots:
foreach(const QModelIndex &index, selectedIndexes){
if(index.column() == PRIORITY){
PropListModel->setData(index, QVariant(IGNORED));
- }
- for(int i=0; icolumnCount(); ++i){
- PropListModel->setData(PropListModel->index(index.row(), i), QVariant(QColor(QString::fromUtf8("red"))), Qt::ForegroundRole);
+ setItemColor(index, "red");
}
}
}
@@ -359,9 +373,7 @@ public slots:
foreach(const QModelIndex &index, selectedIndexes){
if(index.column() == PRIORITY){
PropListModel->setData(index, QVariant(NORMAL));
- }
- for(int i=0; icolumnCount(); ++i){
- PropListModel->setData(PropListModel->index(index.row(), i), QVariant(QColor(QString::fromUtf8("green"))), Qt::ForegroundRole);
+ setItemColor(index, "green");
}
}
}
@@ -371,9 +383,7 @@ public slots:
foreach(const QModelIndex &index, selectedIndexes){
if(index.column() == PRIORITY){
PropListModel->setData(index, QVariant(HIGH));
- }
- for(int i=0; icolumnCount(); ++i){
- PropListModel->setData(PropListModel->index(index.row(), i), QVariant(QColor("green")), Qt::ForegroundRole);
+ setItemColor(index, "green");
}
}
}
@@ -383,9 +393,7 @@ public slots:
foreach(const QModelIndex &index, selectedIndexes){
if(index.column() == PRIORITY){
PropListModel->setData(index, QVariant(MAXIMUM));
- }
- for(int i=0; icolumnCount(); ++i){
- PropListModel->setData(PropListModel->index(index.row(), i), QVariant(QColor(QString::fromUtf8("green"))), Qt::ForegroundRole);
+ setItemColor(index, "green");
}
}
}