Browse Source

- Fix translation in files list (both UI and Web UI)

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
d4524993ee
  1. 8
      src/lang/qbittorrent_bg.ts
  2. 8
      src/lang/qbittorrent_ca.ts
  3. 8
      src/lang/qbittorrent_cs.ts
  4. 8
      src/lang/qbittorrent_da.ts
  5. 8
      src/lang/qbittorrent_de.ts
  6. 8
      src/lang/qbittorrent_el.ts
  7. 8
      src/lang/qbittorrent_en.ts
  8. 8
      src/lang/qbittorrent_es.ts
  9. 8
      src/lang/qbittorrent_fi.ts
  10. 8
      src/lang/qbittorrent_fr.ts
  11. 8
      src/lang/qbittorrent_hu.ts
  12. 8
      src/lang/qbittorrent_it.ts
  13. 8
      src/lang/qbittorrent_ja.ts
  14. 8
      src/lang/qbittorrent_ko.ts
  15. 8
      src/lang/qbittorrent_nb.ts
  16. 7
      src/torrentfilesmodel.h

8
src/lang/qbittorrent_bg.ts

@ -4278,22 +4278,22 @@ Changelog:
<context> <context>
<name>TorrentFilesModel</name> <name>TorrentFilesModel</name>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Name</source> <source>Name</source>
<translation type="unfinished">Име</translation> <translation type="unfinished">Име</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Size</source> <source>Size</source>
<translation type="unfinished">Размер</translation> <translation type="unfinished">Размер</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Progress</source> <source>Progress</source>
<translation type="unfinished">Изпълнение</translation> <translation type="unfinished">Изпълнение</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Priority</source> <source>Priority</source>
<translation type="unfinished">Предимство</translation> <translation type="unfinished">Предимство</translation>
</message> </message>

8
src/lang/qbittorrent_ca.ts

@ -3653,22 +3653,22 @@ Log:
<context> <context>
<name>TorrentFilesModel</name> <name>TorrentFilesModel</name>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Name</source> <source>Name</source>
<translation type="unfinished">Nom</translation> <translation type="unfinished">Nom</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Size</source> <source>Size</source>
<translation type="unfinished">Mida</translation> <translation type="unfinished">Mida</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Progress</source> <source>Progress</source>
<translation type="unfinished">Progrès</translation> <translation type="unfinished">Progrès</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Priority</source> <source>Priority</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

8
src/lang/qbittorrent_cs.ts

@ -3126,22 +3126,22 @@ p, li { white-space: pre-wrap; }
<context> <context>
<name>TorrentFilesModel</name> <name>TorrentFilesModel</name>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Name</source> <source>Name</source>
<translation type="unfinished">Název</translation> <translation type="unfinished">Název</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Size</source> <source>Size</source>
<translation type="unfinished">Velikost</translation> <translation type="unfinished">Velikost</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Progress</source> <source>Progress</source>
<translation type="unfinished">Průběh</translation> <translation type="unfinished">Průběh</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Priority</source> <source>Priority</source>
<translation type="unfinished">Priorita</translation> <translation type="unfinished">Priorita</translation>
</message> </message>

8
src/lang/qbittorrent_da.ts

@ -3317,22 +3317,22 @@ Changelog:
<context> <context>
<name>TorrentFilesModel</name> <name>TorrentFilesModel</name>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Name</source> <source>Name</source>
<translation type="unfinished">Navn</translation> <translation type="unfinished">Navn</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Size</source> <source>Size</source>
<translation type="unfinished">Størrelse</translation> <translation type="unfinished">Størrelse</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Progress</source> <source>Progress</source>
<translation type="unfinished">Hentet</translation> <translation type="unfinished">Hentet</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Priority</source> <source>Priority</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

8
src/lang/qbittorrent_de.ts

@ -4249,22 +4249,22 @@ Changelog:
<context> <context>
<name>TorrentFilesModel</name> <name>TorrentFilesModel</name>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Name</source> <source>Name</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Size</source> <source>Size</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Progress</source> <source>Progress</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Priority</source> <source>Priority</source>
<translation type="unfinished">Priorität</translation> <translation type="unfinished">Priorität</translation>
</message> </message>

8
src/lang/qbittorrent_el.ts

@ -4368,22 +4368,22 @@ Changelog:
<context> <context>
<name>TorrentFilesModel</name> <name>TorrentFilesModel</name>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Name</source> <source>Name</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Size</source> <source>Size</source>
<translation type="unfinished">Μέγεθος</translation> <translation type="unfinished">Μέγεθος</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Progress</source> <source>Progress</source>
<translation type="unfinished">Πρόοδος</translation> <translation type="unfinished">Πρόοδος</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Priority</source> <source>Priority</source>
<translation type="unfinished">Προτεραιότητα</translation> <translation type="unfinished">Προτεραιότητα</translation>
</message> </message>

8
src/lang/qbittorrent_en.ts

@ -2426,22 +2426,22 @@ p, li { white-space: pre-wrap; }
<context> <context>
<name>TorrentFilesModel</name> <name>TorrentFilesModel</name>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Name</source> <source>Name</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Size</source> <source>Size</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Progress</source> <source>Progress</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Priority</source> <source>Priority</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

8
src/lang/qbittorrent_es.ts

@ -4196,22 +4196,22 @@ Log:
<context> <context>
<name>TorrentFilesModel</name> <name>TorrentFilesModel</name>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Name</source> <source>Name</source>
<translation type="unfinished">Nombre</translation> <translation type="unfinished">Nombre</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Size</source> <source>Size</source>
<translation type="unfinished">Tamaño</translation> <translation type="unfinished">Tamaño</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Progress</source> <source>Progress</source>
<translation type="unfinished">Progreso</translation> <translation type="unfinished">Progreso</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Priority</source> <source>Priority</source>
<translation type="unfinished">Prioridad</translation> <translation type="unfinished">Prioridad</translation>
</message> </message>

8
src/lang/qbittorrent_fi.ts

@ -3853,22 +3853,22 @@ Muutoshistoria:
<context> <context>
<name>TorrentFilesModel</name> <name>TorrentFilesModel</name>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Name</source> <source>Name</source>
<translation type="unfinished">Nimi</translation> <translation type="unfinished">Nimi</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Size</source> <source>Size</source>
<translation type="unfinished">Koko</translation> <translation type="unfinished">Koko</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Progress</source> <source>Progress</source>
<translation type="unfinished">Edistyminen</translation> <translation type="unfinished">Edistyminen</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Priority</source> <source>Priority</source>
<translation type="unfinished">Prioriteetti</translation> <translation type="unfinished">Prioriteetti</translation>
</message> </message>

8
src/lang/qbittorrent_fr.ts

@ -4456,22 +4456,22 @@ Changements:
<context> <context>
<name>TorrentFilesModel</name> <name>TorrentFilesModel</name>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Name</source> <source>Name</source>
<translation>Nom</translation> <translation>Nom</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Size</source> <source>Size</source>
<translation>Taille</translation> <translation>Taille</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Progress</source> <source>Progress</source>
<translation>Progression</translation> <translation>Progression</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Priority</source> <source>Priority</source>
<translation>Priorité</translation> <translation>Priorité</translation>
</message> </message>

8
src/lang/qbittorrent_hu.ts

@ -3678,22 +3678,22 @@ Changelog:
<context> <context>
<name>TorrentFilesModel</name> <name>TorrentFilesModel</name>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Name</source> <source>Name</source>
<translation type="unfinished">Név</translation> <translation type="unfinished">Név</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Size</source> <source>Size</source>
<translation type="unfinished">Méret</translation> <translation type="unfinished">Méret</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Progress</source> <source>Progress</source>
<translation type="unfinished">Folyamat</translation> <translation type="unfinished">Folyamat</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Priority</source> <source>Priority</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

8
src/lang/qbittorrent_it.ts

@ -4053,22 +4053,22 @@ Changelog:
<context> <context>
<name>TorrentFilesModel</name> <name>TorrentFilesModel</name>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Name</source> <source>Name</source>
<translation type="unfinished">Nome</translation> <translation type="unfinished">Nome</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Size</source> <source>Size</source>
<translation type="unfinished">Dimensione</translation> <translation type="unfinished">Dimensione</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Progress</source> <source>Progress</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Priority</source> <source>Priority</source>
<translation type="unfinished">Priorità</translation> <translation type="unfinished">Priorità</translation>
</message> </message>

8
src/lang/qbittorrent_ja.ts

@ -3620,22 +3620,22 @@ Changelog:
<context> <context>
<name>TorrentFilesModel</name> <name>TorrentFilesModel</name>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Name</source> <source>Name</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Size</source> <source>Size</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Progress</source> <source>Progress</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Priority</source> <source>Priority</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

8
src/lang/qbittorrent_ko.ts

@ -4270,22 +4270,22 @@ Changelog:
<context> <context>
<name>TorrentFilesModel</name> <name>TorrentFilesModel</name>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Name</source> <source>Name</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Size</source> <source>Size</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Progress</source> <source>Progress</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Priority</source> <source>Priority</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

8
src/lang/qbittorrent_nb.ts

@ -3522,22 +3522,22 @@ Endringer:</translation>
<context> <context>
<name>TorrentFilesModel</name> <name>TorrentFilesModel</name>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Name</source> <source>Name</source>
<translation type="unfinished">Navn</translation> <translation type="unfinished">Navn</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Size</source> <source>Size</source>
<translation type="unfinished">Størrelse</translation> <translation type="unfinished">Størrelse</translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Progress</source> <source>Progress</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../torrentfilesmodel.h" line="258"/> <location filename="../torrentfilesmodel.h" line="263"/>
<source>Priority</source> <source>Priority</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

7
src/torrentfilesmodel.h

@ -37,6 +37,9 @@
#include <QStringList> #include <QStringList>
#include <QString> #include <QString>
#include <libtorrent/torrent_info.hpp> #include <libtorrent/torrent_info.hpp>
#include "proplistdelegate.h"
#include "misc.h"
using namespace libtorrent;
enum TreeItemType {TFILE, FOLDER, ROOT}; enum TreeItemType {TFILE, FOLDER, ROOT};
@ -49,7 +52,7 @@ private:
public: public:
// File Construction // File Construction
TreeItem(file_entry const& f, TreeItem *parent) { TreeItem(file_entry f, TreeItem *parent) {
Q_ASSERT(parent); Q_ASSERT(parent);
parentItem = parent; parentItem = parent;
type = TFILE; type = TFILE;
@ -247,6 +250,8 @@ public:
class TorrentFilesModel: public QAbstractItemModel { class TorrentFilesModel: public QAbstractItemModel {
Q_OBJECT
private: private:
TreeItem *rootItem; TreeItem *rootItem;
TreeItem **files_index; TreeItem **files_index;

Loading…
Cancel
Save