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

8
src/createtorrent_imp.cpp

@ -97,7 +97,7 @@ void createtorrent::on_removeTracker_button_clicked(){ @@ -97,7 +97,7 @@ void createtorrent::on_removeTracker_button_clicked(){
void createtorrent::on_addTracker_button_clicked(){
bool ok;
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);
if(ok){
if(trackers_list->findItems(URL, Qt::MatchFixedString).size() == 0)
@ -115,8 +115,8 @@ void createtorrent::on_removeURLSeed_button_clicked(){ @@ -115,8 +115,8 @@ void createtorrent::on_removeURLSeed_button_clicked(){
void createtorrent::on_addURLSeed_button_clicked(){
bool ok;
QString URL = QInputDialog::getText(this, tr("Please type an URL Seed"),
tr("URL Seed:"), QLineEdit::Normal,
QString URL = QInputDialog::getText(this, tr("Please type a web seed url"),
tr("Web seed URL:"), QLineEdit::Normal,
"http://", &ok);
if(ok){
if(URLSeeds_list->findItems(URL, Qt::MatchFixedString).size() == 0)
@ -204,7 +204,7 @@ void createtorrent::on_createButton_clicked(){ @@ -204,7 +204,7 @@ void createtorrent::on_createButton_clicked(){
}
catch (std::exception& e){
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();
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 @@ @@ -13,28 +13,55 @@
<string>Search</string>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</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>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</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>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</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>
<widget class="QTreeWidget" name="listStreams" >
<property name="contextMenuPolicy" >
@ -45,19 +72,28 @@ @@ -45,19 +72,28 @@
</property>
<column>
<property name="text" >
<string>RSS streams :</string>
<string>RSS streams:</string>
</property>
</column>
</widget>
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</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>
<spacer>
<property name="orientation" >
@ -156,12 +192,21 @@ @@ -156,12 +192,21 @@
</item>
<item>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</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>
<widget class="QLabel" name="news_lbl" >
<property name="font" >
@ -190,12 +235,21 @@ @@ -190,12 +235,21 @@
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</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>
</item>
</layout>

4
src/rss_imp.cpp

@ -52,7 +52,7 @@ @@ -52,7 +52,7 @@
qDebug("no stream selected");
return;
}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"),
QString(), 0, 1);
if(ok==0) {
@ -187,7 +187,7 @@ @@ -187,7 +187,7 @@
QTreeWidgetItem* description = new QTreeWidgetItem(stream);
QTreeWidgetItem* url = 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());
time->setText(0, tr("no refresh"));
description->setData(0,Qt::DecorationRole, QVariant(QIcon(":/Icons/description.png")));

Loading…
Cancel
Save