Browse Source

- Fixed a lot of bugs in translatable strings

- Started to update french translation
adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
4a671dba9e
  1. 190
      src/createtorrent.ui
  2. 8
      src/createtorrent_imp.cpp
  3. BIN
      src/lang/qbittorrent_bg.qm
  4. 467
      src/lang/qbittorrent_bg.ts
  5. BIN
      src/lang/qbittorrent_ca.qm
  6. 467
      src/lang/qbittorrent_ca.ts
  7. BIN
      src/lang/qbittorrent_da.qm
  8. 469
      src/lang/qbittorrent_da.ts
  9. BIN
      src/lang/qbittorrent_de.qm
  10. 467
      src/lang/qbittorrent_de.ts
  11. BIN
      src/lang/qbittorrent_el.qm
  12. 467
      src/lang/qbittorrent_el.ts
  13. BIN
      src/lang/qbittorrent_en.qm
  14. 472
      src/lang/qbittorrent_en.ts
  15. BIN
      src/lang/qbittorrent_es.qm
  16. 467
      src/lang/qbittorrent_es.ts
  17. BIN
      src/lang/qbittorrent_fi.qm
  18. 469
      src/lang/qbittorrent_fi.ts
  19. BIN
      src/lang/qbittorrent_fr.qm
  20. 700
      src/lang/qbittorrent_fr.ts
  21. BIN
      src/lang/qbittorrent_it.qm
  22. 469
      src/lang/qbittorrent_it.ts
  23. BIN
      src/lang/qbittorrent_ja.qm
  24. 449
      src/lang/qbittorrent_ja.ts
  25. BIN
      src/lang/qbittorrent_ko.qm
  26. 467
      src/lang/qbittorrent_ko.ts
  27. BIN
      src/lang/qbittorrent_nb.qm
  28. 469
      src/lang/qbittorrent_nb.ts
  29. BIN
      src/lang/qbittorrent_nl.qm
  30. 469
      src/lang/qbittorrent_nl.ts
  31. BIN
      src/lang/qbittorrent_pl.qm
  32. 467
      src/lang/qbittorrent_pl.ts
  33. BIN
      src/lang/qbittorrent_pt.qm
  34. 467
      src/lang/qbittorrent_pt.ts
  35. BIN
      src/lang/qbittorrent_ro.qm
  36. 467
      src/lang/qbittorrent_ro.ts
  37. BIN
      src/lang/qbittorrent_ru.qm
  38. 469
      src/lang/qbittorrent_ru.ts
  39. BIN
      src/lang/qbittorrent_sk.qm
  40. 457
      src/lang/qbittorrent_sk.ts
  41. BIN
      src/lang/qbittorrent_sv.qm
  42. 469
      src/lang/qbittorrent_sv.ts
  43. BIN
      src/lang/qbittorrent_tr.qm
  44. 461
      src/lang/qbittorrent_tr.ts
  45. BIN
      src/lang/qbittorrent_uk.qm
  46. 467
      src/lang/qbittorrent_uk.ts
  47. BIN
      src/lang/qbittorrent_zh.qm
  48. 469
      src/lang/qbittorrent_zh.ts
  49. BIN
      src/lang/qbittorrent_zh_HK.qm
  50. 469
      src/lang/qbittorrent_zh_HK.ts
  51. 92
      src/rss.ui
  52. 4
      src/rss_imp.cpp

190
src/createtorrent.ui

@ -51,30 +51,48 @@
<set>Qt::AlignCenter</set> <set>Qt::AlignCenter</set>
</property> </property>
</widget> </widget>
<widget class="QWidget" name="" > <widget class="QWidget" name="layoutWidget" >
<property name="geometry" > <property name="geometry" >
<rect> <rect>
<x>9</x> <x>9</x>
<y>42</y> <y>42</y>
<width>587</width> <width>589</width>
<height>438</height> <height>438</height>
</rect> </rect>
</property> </property>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item> <item>
<layout class="QVBoxLayout" > <layout class="QVBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item> <item>
<widget class="QLabel" name="lbl_input" > <widget class="QLabel" name="lbl_input" >
<property name="minimumSize" > <property name="minimumSize" >
@ -125,7 +143,7 @@
</size> </size>
</property> </property>
<property name="text" > <property name="text" >
<string>URL seeds (optional):</string> <string>Web seeds urls (optional):</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -155,20 +173,38 @@
</item> </item>
<item> <item>
<layout class="QVBoxLayout" > <layout class="QVBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item> <item>
<widget class="QListWidget" name="input_list" > <widget class="QListWidget" name="input_list" >
<property name="selectionMode" > <property name="selectionMode" >
@ -178,12 +214,21 @@
</item> </item>
<item> <item>
<layout class="QVBoxLayout" > <layout class="QVBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item> <item>
<spacer> <spacer>
<property name="orientation" > <property name="orientation" >
@ -273,12 +318,21 @@
</item> </item>
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item> <item>
<widget class="QListWidget" name="trackers_list" > <widget class="QListWidget" name="trackers_list" >
<property name="selectionMode" > <property name="selectionMode" >
@ -288,12 +342,21 @@
</item> </item>
<item> <item>
<layout class="QVBoxLayout" > <layout class="QVBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item> <item>
<spacer> <spacer>
<property name="orientation" > <property name="orientation" >
@ -364,12 +427,21 @@
</item> </item>
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item> <item>
<widget class="QListWidget" name="URLSeeds_list" > <widget class="QListWidget" name="URLSeeds_list" >
<property name="selectionMode" > <property name="selectionMode" >
@ -379,12 +451,21 @@
</item> </item>
<item> <item>
<layout class="QVBoxLayout" > <layout class="QVBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item> <item>
<spacer> <spacer>
<property name="orientation" > <property name="orientation" >
@ -489,7 +570,7 @@
<string>Private (won't be distributed on trackerless network / DHT if enabled)</string> <string>Private (won't be distributed on trackerless network / DHT if enabled)</string>
</property> </property>
</widget> </widget>
<widget class="QWidget" name="" > <widget class="QWidget" name="layoutWidget" >
<property name="geometry" > <property name="geometry" >
<rect> <rect>
<x>9</x> <x>9</x>
@ -499,12 +580,21 @@
</rect> </rect>
</property> </property>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item> <item>
<widget class="QLabel" name="lbl_destination" > <widget class="QLabel" name="lbl_destination" >
<property name="maximumSize" > <property name="maximumSize" >
@ -523,12 +613,21 @@
</item> </item>
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item> <item>
<widget class="QLineEdit" name="txt_destination" /> <widget class="QLineEdit" name="txt_destination" />
</item> </item>
@ -543,7 +642,7 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="" > <widget class="QWidget" name="layoutWidget" >
<property name="geometry" > <property name="geometry" >
<rect> <rect>
<x>9</x> <x>9</x>
@ -553,12 +652,21 @@
</rect> </rect>
</property> </property>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item> <item>
<spacer> <spacer>
<property name="orientation" > <property name="orientation" >

8
src/createtorrent_imp.cpp

@ -97,7 +97,7 @@ void createtorrent::on_removeTracker_button_clicked(){
void createtorrent::on_addTracker_button_clicked(){ void createtorrent::on_addTracker_button_clicked(){
bool ok; bool ok;
QString URL = QInputDialog::getText(this, tr("Please type an announce URL"), QString URL = QInputDialog::getText(this, tr("Please type an announce URL"),
tr("Announce URL:"), QLineEdit::Normal, tr("Announce URL:", "Tracker URL"), QLineEdit::Normal,
"http://", &ok); "http://", &ok);
if(ok){ if(ok){
if(trackers_list->findItems(URL, Qt::MatchFixedString).size() == 0) if(trackers_list->findItems(URL, Qt::MatchFixedString).size() == 0)
@ -115,8 +115,8 @@ void createtorrent::on_removeURLSeed_button_clicked(){
void createtorrent::on_addURLSeed_button_clicked(){ void createtorrent::on_addURLSeed_button_clicked(){
bool ok; bool ok;
QString URL = QInputDialog::getText(this, tr("Please type an URL Seed"), QString URL = QInputDialog::getText(this, tr("Please type a web seed url"),
tr("URL Seed:"), QLineEdit::Normal, tr("Web seed URL:"), QLineEdit::Normal,
"http://", &ok); "http://", &ok);
if(ok){ if(ok){
if(URLSeeds_list->findItems(URL, Qt::MatchFixedString).size() == 0) if(URLSeeds_list->findItems(URL, Qt::MatchFixedString).size() == 0)
@ -204,7 +204,7 @@ void createtorrent::on_createButton_clicked(){
} }
catch (std::exception& e){ catch (std::exception& e){
std::cerr << e.what() << "\n"; std::cerr << e.what() << "\n";
QMessageBox::information(0, tr("Torrent creation"), tr("Torrent creation was successfully, reason: %1").arg(QString(e.what()))); QMessageBox::information(0, tr("Torrent creation"), tr("Torrent creation was unsuccessful, reason: %1").arg(QString(e.what())));
hide(); hide();
return; return;
} }

BIN
src/lang/qbittorrent_bg.qm

Binary file not shown.

467
src/lang/qbittorrent_bg.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_ca.qm

Binary file not shown.

467
src/lang/qbittorrent_ca.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_da.qm

Binary file not shown.

469
src/lang/qbittorrent_da.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_de.qm

Binary file not shown.

467
src/lang/qbittorrent_de.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_el.qm

Binary file not shown.

467
src/lang/qbittorrent_el.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_en.qm

Binary file not shown.

472
src/lang/qbittorrent_en.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_es.qm

Binary file not shown.

467
src/lang/qbittorrent_es.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_fi.qm

Binary file not shown.

469
src/lang/qbittorrent_fi.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_fr.qm

Binary file not shown.

700
src/lang/qbittorrent_fr.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_it.qm

Binary file not shown.

469
src/lang/qbittorrent_it.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_ja.qm

Binary file not shown.

449
src/lang/qbittorrent_ja.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_ko.qm

Binary file not shown.

467
src/lang/qbittorrent_ko.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_nb.qm

Binary file not shown.

469
src/lang/qbittorrent_nb.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_nl.qm

Binary file not shown.

469
src/lang/qbittorrent_nl.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_pl.qm

Binary file not shown.

467
src/lang/qbittorrent_pl.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_pt.qm

Binary file not shown.

467
src/lang/qbittorrent_pt.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_ro.qm

Binary file not shown.

467
src/lang/qbittorrent_ro.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_ru.qm

Binary file not shown.

469
src/lang/qbittorrent_ru.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_sk.qm

Binary file not shown.

457
src/lang/qbittorrent_sk.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_sv.qm

Binary file not shown.

469
src/lang/qbittorrent_sv.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_tr.qm

Binary file not shown.

461
src/lang/qbittorrent_tr.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_uk.qm

Binary file not shown.

467
src/lang/qbittorrent_uk.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_zh.qm

Binary file not shown.

469
src/lang/qbittorrent_zh.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_zh_HK.qm

Binary file not shown.

469
src/lang/qbittorrent_zh_HK.ts

File diff suppressed because it is too large Load Diff

92
src/rss.ui

@ -13,28 +13,55 @@
<string>Search</string> <string>Search</string>
</property> </property>
<layout class="QVBoxLayout" > <layout class="QVBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>9</number>
</property>
<property name="topMargin" >
<number>9</number>
</property>
<property name="rightMargin" >
<number>9</number>
</property>
<property name="bottomMargin" >
<number>9</number>
</property>
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item> <item>
<layout class="QVBoxLayout" > <layout class="QVBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item> <item>
<widget class="QTreeWidget" name="listStreams" > <widget class="QTreeWidget" name="listStreams" >
<property name="contextMenuPolicy" > <property name="contextMenuPolicy" >
@ -45,19 +72,28 @@
</property> </property>
<column> <column>
<property name="text" > <property name="text" >
<string>RSS streams :</string> <string>RSS streams:</string>
</property> </property>
</column> </column>
</widget> </widget>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item> <item>
<spacer> <spacer>
<property name="orientation" > <property name="orientation" >
@ -156,12 +192,21 @@
</item> </item>
<item> <item>
<layout class="QVBoxLayout" > <layout class="QVBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item> <item>
<widget class="QLabel" name="news_lbl" > <widget class="QLabel" name="news_lbl" >
<property name="font" > <property name="font" >
@ -190,12 +235,21 @@
</item> </item>
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
</layout> </layout>
</item> </item>
</layout> </layout>

4
src/rss_imp.cpp

@ -52,7 +52,7 @@
qDebug("no stream selected"); qDebug("no stream selected");
return; return;
}else { }else {
int ok = QMessageBox::question(this, tr("Are you sure? -- qBittorrent"), tr("Are you sure you want to delete this stream from the list ?"), int ok = QMessageBox::question(this, tr("Are you sure? -- qBittorrent"), tr("Are you sure you want to delete this stream from the list?"),
tr("&Yes"), tr("&No"), tr("&Yes"), tr("&No"),
QString(), 0, 1); QString(), 0, 1);
if(ok==0) { if(ok==0) {
@ -187,7 +187,7 @@
QTreeWidgetItem* description = new QTreeWidgetItem(stream); QTreeWidgetItem* description = new QTreeWidgetItem(stream);
QTreeWidgetItem* url = new QTreeWidgetItem(stream); QTreeWidgetItem* url = new QTreeWidgetItem(stream);
QTreeWidgetItem* time = new QTreeWidgetItem(stream); QTreeWidgetItem* time = new QTreeWidgetItem(stream);
description->setText(0, tr("no description avalaible")); description->setText(0, tr("no description available"));
url->setText(0, rssmanager.getStream(i)->getUrl()); url->setText(0, rssmanager.getStream(i)->getUrl());
time->setText(0, tr("no refresh")); time->setText(0, tr("no refresh"));
description->setData(0,Qt::DecorationRole, QVariant(QIcon(":/Icons/description.png"))); description->setData(0,Qt::DecorationRole, QVariant(QIcon(":/Icons/description.png")));

Loading…
Cancel
Save