Browse Source

- Added option entry to select new Danish translation

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
95844ce045
  1. BIN
      src/Icons/flags/denmark.png
  2. 1
      src/about_imp.h
  3. 1
      src/icons.qrc
  4. 1
      src/lang.qrc
  5. 2
      src/options_imp.cpp

BIN
src/Icons/flags/denmark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

1
src/about_imp.h

@ -47,6 +47,7 @@ class about : public QDialog, private Ui::AboutDlg{
- <u>Catalan:</u> Gekko Dam Beer (gekko04@users.sourceforge.net)<br>\ - <u>Catalan:</u> Gekko Dam Beer (gekko04@users.sourceforge.net)<br>\
- <u>Chinese (Simplified):</u> Guo Yue (guoyue0418@hotmail.com)<br>\ - <u>Chinese (Simplified):</u> Guo Yue (guoyue0418@hotmail.com)<br>\
- <u>Chinese (Traditional):</u> Jeff Chen (jeff.cn.chen@gmail.com)<br>\ - <u>Chinese (Traditional):</u> Jeff Chen (jeff.cn.chen@gmail.com)<br>\
- <u>Danish:</u> Mathias Nielsen (comoneo@gmail.com)<br>\
- <u>Dutch:</u> Luke Niesink (luke@lukeniesink.net)<br>\ - <u>Dutch:</u> Luke Niesink (luke@lukeniesink.net)<br>\
- <u>Finnish:</u> Niklas Laxström (nikerabbit@users.sourceforge.net)<br>\ - <u>Finnish:</u> Niklas Laxström (nikerabbit@users.sourceforge.net)<br>\
- <u>German:</u> Niels Hoffmann (zentralmaschine@users.sourceforge.net)<br>\ - <u>German:</u> Niels Hoffmann (zentralmaschine@users.sourceforge.net)<br>\

1
src/icons.qrc

@ -41,6 +41,7 @@
<file>Icons/flags/romania.png</file> <file>Icons/flags/romania.png</file>
<file>Icons/flags/bulgaria.png</file> <file>Icons/flags/bulgaria.png</file>
<file>Icons/flags/greece.png</file> <file>Icons/flags/greece.png</file>
<file>Icons/flags/denmark.png</file>
<file>Icons/skin/properties.png</file> <file>Icons/skin/properties.png</file>
<file>Icons/skin/play_all.png</file> <file>Icons/skin/play_all.png</file>
<file>Icons/skin/remove.png</file> <file>Icons/skin/remove.png</file>

1
src/lang.qrc

@ -22,5 +22,6 @@
<file>lang/qbittorrent_sv.qm</file> <file>lang/qbittorrent_sv.qm</file>
<file>lang/qbittorrent_fi.qm</file> <file>lang/qbittorrent_fi.qm</file>
<file>lang/qbittorrent_zh_HK.qm</file> <file>lang/qbittorrent_zh_HK.qm</file>
<file>lang/qbittorrent_da.qm</file>
</qresource> </qresource>
</RCC> </RCC>

2
src/options_imp.cpp

@ -78,6 +78,8 @@ options_imp::options_imp(QWidget *parent):QDialog(parent){
locales << "fi_FI"; locales << "fi_FI";
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/norway.png"))), QString::fromUtf8("Norsk")); combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/norway.png"))), QString::fromUtf8("Norsk"));
locales << "nb_NO"; locales << "nb_NO";
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/denmark.png"))), QString::fromUtf8("Danish"));
locales << "da_DK";
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/bulgaria.png"))), QString::fromUtf8("Български")); combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/bulgaria.png"))), QString::fromUtf8("Български"));
locales << "bg_BG"; locales << "bg_BG";
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/ukraine.png"))), QString::fromUtf8("Українська")); combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/ukraine.png"))), QString::fromUtf8("Українська"));

Loading…
Cancel
Save