mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-03-10 12:21:12 +00:00
- Fix translation in files list (both UI and Web UI)
This commit is contained in:
parent
bf77b186c1
commit
d4524993ee
@ -4278,22 +4278,22 @@ Changelog:
|
||||
<context>
|
||||
<name>TorrentFilesModel</name>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished">Име</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished">Размер</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Progress</source>
|
||||
<translation type="unfinished">Изпълнение</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Priority</source>
|
||||
<translation type="unfinished">Предимство</translation>
|
||||
</message>
|
||||
|
@ -3653,22 +3653,22 @@ Log:
|
||||
<context>
|
||||
<name>TorrentFilesModel</name>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished">Nom</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished">Mida</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Progress</source>
|
||||
<translation type="unfinished">Progrès</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -3126,22 +3126,22 @@ p, li { white-space: pre-wrap; }
|
||||
<context>
|
||||
<name>TorrentFilesModel</name>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished">Název</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished">Velikost</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Progress</source>
|
||||
<translation type="unfinished">Průběh</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Priority</source>
|
||||
<translation type="unfinished">Priorita</translation>
|
||||
</message>
|
||||
|
@ -3317,22 +3317,22 @@ Changelog:
|
||||
<context>
|
||||
<name>TorrentFilesModel</name>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished">Navn</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished">Størrelse</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Progress</source>
|
||||
<translation type="unfinished">Hentet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -4249,22 +4249,22 @@ Changelog:
|
||||
<context>
|
||||
<name>TorrentFilesModel</name>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Progress</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Priority</source>
|
||||
<translation type="unfinished">Priorität</translation>
|
||||
</message>
|
||||
|
@ -4368,22 +4368,22 @@ Changelog:
|
||||
<context>
|
||||
<name>TorrentFilesModel</name>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished">Μέγεθος</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Progress</source>
|
||||
<translation type="unfinished">Πρόοδος</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Priority</source>
|
||||
<translation type="unfinished">Προτεραιότητα</translation>
|
||||
</message>
|
||||
|
@ -2426,22 +2426,22 @@ p, li { white-space: pre-wrap; }
|
||||
<context>
|
||||
<name>TorrentFilesModel</name>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Progress</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -4196,22 +4196,22 @@ Log:
|
||||
<context>
|
||||
<name>TorrentFilesModel</name>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished">Nombre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished">Tamaño</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Progress</source>
|
||||
<translation type="unfinished">Progreso</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Priority</source>
|
||||
<translation type="unfinished">Prioridad</translation>
|
||||
</message>
|
||||
|
@ -3853,22 +3853,22 @@ Muutoshistoria:
|
||||
<context>
|
||||
<name>TorrentFilesModel</name>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished">Nimi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished">Koko</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Progress</source>
|
||||
<translation type="unfinished">Edistyminen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Priority</source>
|
||||
<translation type="unfinished">Prioriteetti</translation>
|
||||
</message>
|
||||
|
@ -4456,22 +4456,22 @@ Changements:
|
||||
<context>
|
||||
<name>TorrentFilesModel</name>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Name</source>
|
||||
<translation>Nom</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Size</source>
|
||||
<translation>Taille</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Progress</source>
|
||||
<translation>Progression</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Priority</source>
|
||||
<translation>Priorité</translation>
|
||||
</message>
|
||||
|
@ -3678,22 +3678,22 @@ Changelog:
|
||||
<context>
|
||||
<name>TorrentFilesModel</name>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished">Név</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished">Méret</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Progress</source>
|
||||
<translation type="unfinished">Folyamat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -4053,22 +4053,22 @@ Changelog:
|
||||
<context>
|
||||
<name>TorrentFilesModel</name>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished">Nome</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished">Dimensione</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Progress</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Priority</source>
|
||||
<translation type="unfinished">Priorità</translation>
|
||||
</message>
|
||||
|
@ -3620,22 +3620,22 @@ Changelog:
|
||||
<context>
|
||||
<name>TorrentFilesModel</name>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished">名前</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished">サイズ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Progress</source>
|
||||
<translation type="unfinished">進行状況</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Priority</source>
|
||||
<translation type="unfinished">優先度</translation>
|
||||
</message>
|
||||
|
@ -4270,22 +4270,22 @@ Changelog:
|
||||
<context>
|
||||
<name>TorrentFilesModel</name>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished">크기</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Progress</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Priority</source>
|
||||
<translation type="unfinished">우선순위</translation>
|
||||
</message>
|
||||
|
@ -3522,22 +3522,22 @@ Endringer:</translation>
|
||||
<context>
|
||||
<name>TorrentFilesModel</name>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished">Navn</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished">Størrelse</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Progress</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../torrentfilesmodel.h" line="258"/>
|
||||
<location filename="../torrentfilesmodel.h" line="263"/>
|
||||
<source>Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -37,6 +37,9 @@
|
||||
#include <QStringList>
|
||||
#include <QString>
|
||||
#include <libtorrent/torrent_info.hpp>
|
||||
#include "proplistdelegate.h"
|
||||
#include "misc.h"
|
||||
using namespace libtorrent;
|
||||
|
||||
enum TreeItemType {TFILE, FOLDER, ROOT};
|
||||
|
||||
@ -49,7 +52,7 @@ private:
|
||||
|
||||
public:
|
||||
// File Construction
|
||||
TreeItem(file_entry const& f, TreeItem *parent) {
|
||||
TreeItem(file_entry f, TreeItem *parent) {
|
||||
Q_ASSERT(parent);
|
||||
parentItem = parent;
|
||||
type = TFILE;
|
||||
@ -247,6 +250,8 @@ public:
|
||||
|
||||
|
||||
class TorrentFilesModel: public QAbstractItemModel {
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
TreeItem *rootItem;
|
||||
TreeItem **files_index;
|
||||
|
Loading…
x
Reference in New Issue
Block a user