1
mirror of https://github.com/qbittorrent/qBittorrent synced 2025-10-09 18:32:15 +02:00

Compare commits

...

165 Commits

Author SHA1 Message Date
sledgehammer999
b78d1a82df Bump to 3.1.6 2014-02-02 21:04:17 +02:00
sledgehammer999
96644c12ab Update Changelog. 2014-02-02 21:02:04 +02:00
sledgehammer999
45d10b1398 Sync translations from Transifex. 2014-02-02 21:02:01 +02:00
Vladimir Golovnev (Glassez)
ef328f83c5 Fix WebUI sort by ratio for some locales (with comma as decimal point). 2014-02-02 20:36:40 +02:00
Vladimir Golovnev (Glassez)
6cf780f57c Fix WebUI sort by size/speed for some locales (with comma as decimal point). 2014-02-02 20:36:28 +02:00
sledgehammer999
37b048f2ab Correctly restore 'name' column width when loading magnet links in the 'Add new torrent dialog'. Closes #1334. 2014-02-02 20:36:15 +02:00
sledgehammer999
260ed50f10 Reuse code in AddNewTorrentDialog. #894.
Conflicts:
	src/addnewtorrentdialog.cpp
2014-02-02 20:33:50 +02:00
sledgehammer999
307b5b7091 Correctly resize 'name' column of the content tab. Closes #1360. 2014-02-02 20:14:32 +02:00
sledgehammer999
1de9da89c1 Bring dialog boxes in the front when qbt doesn't have focus.
Code inspired by glassez patch.
2014-02-02 20:14:19 +02:00
sledgehammer999
5fadb0d53e Don't re-announce to trackers when torrent is paused. Closes #1310.
Conflicts:
	src/properties/trackerlist.cpp
2014-01-26 20:10:26 +02:00
sledgehammer999
49fa853dde Launch external programs async and don't block. Closes #1252. 2014-01-26 20:04:14 +02:00
sledgehammer999
7555380964 Don't show a popup menu when no torrent is selected. 2014-01-26 20:04:01 +02:00
Nick Tiskov
36d299f891 Fix missing percent sign in stats dialog 2014-01-26 14:28:00 +02:00
sledgehammer999
658cc53f85 Add our WM_CLASS in the .desktop file so window managers know how to group our windows. 2014-01-26 13:48:43 +02:00
sledgehammer999
08f4c0ed12 Explicitle tell that we don't support freedesktop's startup notify standard. Fixes GNOME issues. Closes #1217. 2014-01-26 13:48:31 +02:00
sledgehammer999
5917b33ec6 Fix overstretched options dialog. Closes #1293. 2014-01-26 13:40:03 +02:00
sledgehammer999
65ec3d0e0f Run lupdate. 2014-01-26 02:03:43 +02:00
Nick Tiskov
61c0c439f1 Use shorter names for amount columns in main UI 2014-01-26 02:01:09 +02:00
sledgehammer999
4cbe3fd6f7 Improvements on the behavior of the program updater(closes #1282):
1. Check for updates every hour
2. Don't check again for this session if the user chose to ignore the new version
3. Display a message if the user checked for updates via the menu item and there isn't one
4. Remove dead code
2014-01-25 21:06:34 +02:00
sledgehammer999
94df3f44d7 Fix extratorrents search plugin. 2014-01-25 21:06:23 +02:00
sledgehammer999
370effd0d3 Statistics: handle case where user has gone back to older version. 2014-01-25 21:06:11 +02:00
Vladimir Golovnev (Glassez)
ff6e058dea Fix sorting by size in WebUI when non-default locale used. 2014-01-25 21:06:00 +02:00
Vladimir Golovnev (Glassez)
d3a6bcf7bf Improve HttpConnection::translateDocument(). 2014-01-25 21:05:48 +02:00
sledgehammer999
c6a9a94331 Allow 2 decimals when setting the share ratio. Closes #1303. 2014-01-23 00:26:20 +02:00
sledgehammer999
abdcaebc8e Output a more generic message when blocking IPs and don't use italics in the log. 2014-01-22 23:58:31 +02:00
sledgehammer999
c5a433a71e Fix share ratio text. 2014-01-22 23:45:21 +02:00
sledgehammer999
0a10b98975 Improvements on accurateDoubleToString().
Conflicts:
	src/misc.h
2014-01-21 17:45:11 +02:00
sledgehammer999
506f933c48 Improvements on statistics saving. 2014-01-21 17:43:05 +02:00
sledgehammer999
1399a9c86a Fix condition checking in statistics saving. 2014-01-21 16:58:12 +02:00
sledgehammer999
1fc916865c Convert more accurately decimal numbers to text.
Conflicts:
	src/misc.h
2014-01-21 02:17:49 +02:00
sledgehammer999
8790092a81 Save statistics every 15min and only if there was new traffic. Fixes #1288 and partially #1272. 2014-01-21 02:16:26 +02:00
sledgehammer999
00f9180b81 Reposition statistics menu item. 2014-01-21 02:16:12 +02:00
BTDigg research team
0236b1bd6d Fix issue with SSL under Win32 2014-01-21 02:15:59 +02:00
Angel Alonso
bb61b3c05f Fix peers and seeds sorting in transfer list.
When active peers (or seeds) of two torrents are the same we sort by total peers
(or seeds).
2014-01-21 02:15:48 +02:00
sledgehammer999
78469c8faa Fix 'preview file' regression. Closes #1285. 2014-01-18 15:04:28 +02:00
sledgehammer999
3947f9c8ae Bump to 3.1.5 2014-01-16 23:41:22 +02:00
sledgehammer999
6c6ebaf485 Update Changelog. 2014-01-16 23:36:58 +02:00
sledgehammer999
57915462b0 Sync translations from Transifex. 2014-01-16 23:35:28 +02:00
sledgehammer999
8b94da20d3 Don't count paused torrents for the autoshutdown. Closes #1280. 2014-01-16 16:17:50 +02:00
Sébastien Lavoie
84c65c2b50 Issue #1251 - Added basic retina support 2014-01-12 15:16:40 +02:00
Nick Tiskov
e8c9db0084 Fix rss settings corruption when checking regexp and going to other rule. 2014-01-12 15:16:30 +02:00
sledgehammer999
19419b85ff Correctly remove isohunt engine. 2014-01-11 18:31:22 +02:00
sledgehammer999
5eb8a2a9f0 Remove isohunt search engine. 2014-01-11 18:14:47 +02:00
sledgehammer999
95bdb61ad2 Fix piratebay search engine. 2014-01-11 18:14:35 +02:00
Konstantin Goncharik
d79c79b4ae In preferences.h now argument is const references 2014-01-06 02:35:47 +02:00
Konstantin Goncharik
9b77d1f9f3 In statsdialog.cpp fix initialization iEnd 2014-01-06 02:35:34 +02:00
Konstantin Goncharik
659fa242e2 In smtp.cpp fix 'ct' reassign. 2014-01-06 02:35:22 +02:00
Konstantin Goncharik
1ba13b32a8 In rssdownloadrule.{cpp,h} 'RssDownloadRule::operator==' made const. 2014-01-06 02:35:09 +02:00
Konstantin Goncharik
1c38568f42 In qbtsession.cpp exception made caught by reference
Conflicts:
	src/qtlibtorrent/qbtsession.cpp
2014-01-06 02:34:52 +02:00
Konstantin Goncharik
7c1f712181 In qtorrenthandle.cpp exception made caught by reference 2014-01-06 02:34:11 +02:00
sledgehammer999
81d813c4c5 Fix notifications with xfce4-notifyd. 2014-01-04 19:41:59 +02:00
sledgehammer999
2cf7e94767 Force write settings to disk before exiting. 2014-01-04 19:41:47 +02:00
sledgehammer999
9f71dd2c61 Correctly detect libtorrent version. 2014-01-03 02:37:14 +02:00
sledgehammer999
f93374a946 Delete temporary after they aren't needed. Closes #1188. 2014-01-03 02:37:13 +02:00
sledgehammer999
4158465109 Ensure that the options window will always be placed onscreen. Closes #1226. 2014-01-03 02:37:12 +02:00
sledgehammer999
125d130984 Ensure that at least one column in the tranferlist is always visible. Closes #1165. 2014-01-03 02:37:11 +02:00
sledgehammer999
f66ef95918 Allow to resize the columns in Add New Torrent dialog. Closes #1207 #676 2014-01-03 02:37:11 +02:00
sledgehammer999
634b4d4f4d Preview now correctly uses the selected file. Closes #1222 #1182. 2014-01-03 02:37:10 +02:00
sledgehammer999
ced950a764 Do cleanup work in an earlier stage to ensure correct conf saving. 2014-01-03 02:37:09 +02:00
sledgehammer999
d84c367db5 Fix compilation with Qt 4.7. Closes #1215. 2013-12-31 19:58:21 +02:00
sledgehammer999
79aa3dfbcf Bump to 3.1.4 2013-12-29 19:06:39 +02:00
sledgehammer999
a308c6b9d0 Update Changelog. 2013-12-29 19:04:27 +02:00
sledgehammer999
614c1f5d6e Sync translations from Transifex. 2013-12-29 18:57:51 +02:00
sledgehammer999
fde9c2b9e9 Sort labels in 'Add new torrent' dialog. Closes #1150 #411. 2013-12-29 18:52:06 +02:00
Faheem Pervez
84a39671de Make sleep and shutdown functions work on systemd's logind 2013-12-29 18:51:54 +02:00
Nick Tiskov
20086543de 1. Use a better icon for stats dialog.
2. Use more reliable session_status.total_download/upload for statistics
2013-12-29 18:51:41 +02:00
sledgehammer999
1002e69e44 Fix previous commit. 2013-12-26 01:32:41 +02:00
sledgehammer999
09aa930142 Second attempt at fixing saving settings on shutdown. 2013-12-26 01:32:31 +02:00
sledgehammer999
ada76381a1 Lock toolbar in place. Closes #1144. 2013-11-30 14:17:14 +02:00
sledgehammer999
e4d5e38727 Fix resizing grip location. Closes #1146. 2013-11-30 14:17:02 +02:00
sledgehammer999
99349193b4 Run lupdate. 2013-11-30 13:21:11 +02:00
sledgehammer999
d69047df2e Update Changelog. 2013-11-30 13:16:46 +02:00
Nick Tiskov
8318fc2b61 Fix 'peer from PEX' message 2013-11-30 13:07:39 +02:00
sledgehammer999
ff5a633a8e Fix build system under Ubuntu 13.10 2013-11-26 23:56:48 +02:00
sledgehammer999
28fcadc9ee Fix linux compilation. 2013-11-23 15:24:27 +02:00
doadin
8a98cd5e20 Fix Typo 2013-11-23 15:08:46 +02:00
sledgehammer999
0706c3b3c8 Run lupdate. 2013-11-23 15:03:42 +02:00
sledgehammer999
17188e31c5 Check for program updates every 15min and allow the user to manually check for updates through the help menu. 2013-11-23 15:00:54 +02:00
sledgehammer999
45d1e93ad2 Fix compilation with libtorrent 0.15.x. 2013-11-23 13:23:22 +02:00
sledgehammer999
4c6f8413cb Run lupdate. 2013-11-21 18:33:56 +02:00
sledgehammer999
db5e06a48f Add tooltip for the peers' flags. Closes #1068.
Conflicts:
	src/properties/peerlistwidget.cpp
2013-11-21 18:23:12 +02:00
sledgehammer999
e51013117c Improve the message of the deletion dialog. Closes #1073. 2013-11-21 18:21:42 +02:00
Nick Tiskov
11148fcda6 Add dialog to show statistics 2013-11-21 18:21:31 +02:00
Nick Tiskov
d74e96f65f Collect and save alltime UL/DL samples
Conflicts:
	src/qtlibtorrent/torrentspeedmonitor.cpp
2013-11-21 18:21:15 +02:00
sledgehammer999
454cd4c120 Bumpt to 3.1.3 2013-11-20 00:52:37 +02:00
sledgehammer999
8d5992d7cf Update Changelog. 2013-11-20 00:52:37 +02:00
sledgehammer999
c37ad843b4 Sync translations from Transifex. 2013-11-20 00:52:36 +02:00
sledgehammer999
2d130bfa85 Improve detection of conf.pri. 2013-11-20 00:33:38 +02:00
sledgehammer999
4ac1f7b09e Revert "Don't prefer TCP connections over uTP."
This reverts commit a052963775.
2013-11-20 00:33:37 +02:00
sledgehammer999
db8d8b73a1 Update Changelog. 2013-11-18 01:36:29 +02:00
sledgehammer999
c2dbf50d0b Correctly update tracker tier number in the trackers tab. Closes #1075. 2013-11-18 01:33:38 +02:00
sledgehammer999
7bb99ceeea Fix WebUI link to 'Anonymous mode' explanation. Closes #1093. 2013-11-18 01:33:28 +02:00
sledgehammer999
44fff4f503 Update Changelog. 2013-11-16 21:59:56 +02:00
sledgehammer999
a087232404 Correctly detect if the browser supports gzip compression. 2013-11-16 21:53:09 +02:00
sledgehammer999
ac96667af2 WebUI: Don't gzip too small payloads. 2013-11-16 21:53:00 +02:00
sledgehammer999
8f5a0a273f Fix inhibit system functionality. Closes #766. 2013-11-16 21:52:51 +02:00
Artem S. Tashkinov
74869d87f6 Always show a peer IP address as a tool tip
Helps to see a peer IP address when reverse name resolution is enabled.
2013-11-16 21:52:40 +02:00
Artem S. Tashkinov
1f0ccabd1c Remove hardcoded Lucida Grande and decrease a font size 2013-11-16 21:52:31 +02:00
Zach Thibeau
c6e294a130 added fontfix for osx 2013-11-16 21:52:22 +02:00
Angel Alonso
96bff490a3 Strip some png to fix incorrect sRGB profiles.
libpng complained about incorrent sRGB profiles in some png's.
"libpng: iCCP: known incorrect sRGB profile".
2013-11-16 21:52:04 +02:00
Angel Alonso
7c3155ba44 Add a key shortcut to "Add link to torrent..."
"Ctrl-Shift-O" will open the "Add link to torrent..." window.
2013-11-16 21:51:52 +02:00
Zach Thibeau
74b26edc0d Updated search plugin's URL 2013-11-16 21:51:44 +02:00
sledgehammer999
959ee4c46b Update Changelog. 2013-11-10 04:14:47 +02:00
sledgehammer999
4a9b772b72 Fix indentation in lineedit code. 2013-11-10 04:13:02 +02:00
sledgehammer999
d5aef5c8cc Expand folders when filtering files. Closes #1076. 2013-11-10 04:12:52 +02:00
sledgehammer999
7780e9ad0a Hide empty folders after filtering. Closes #74. 2013-11-10 04:12:43 +02:00
sledgehammer999
4612a5a882 Update Changelog. 2013-11-09 21:24:16 +02:00
sledgehammer999
3a5fe38be0 Small optimization of WebUI responses when there isn't a data payload. 2013-11-09 21:19:43 +02:00
sledgehammer999
d68b0c529b Case insensitive sort in Peers list. Closes #1066. 2013-11-09 21:19:34 +02:00
sledgehammer999
c41082f610 Revert "fix missing conf.pri error". The WARNING message during configure is harmless. The file is found during make. Closes #1042.
This reverts commit 807f1cfb94.
2013-11-09 21:19:26 +02:00
sledgehammer999
b6af8f190c Make all columns and headers use the same text alignment in the transferlist. 2013-11-09 21:19:16 +02:00
sledgehammer999
850018c86b Bump to 3.1.2 2013-11-06 00:02:14 +02:00
sledgehammer999
7dbda1b3cf Update Changelog. 2013-11-05 23:59:24 +02:00
sledgehammer999
29ead90638 Sync translations from Transifex. 2013-11-05 23:59:17 +02:00
sledgehammer999
d9061416a0 Fix compilation with qt < 4.8.0. Closes #1043. 2013-11-05 23:52:32 +02:00
sledgehammer999
42406b38fb Fix WebUI gzip compression. Closes #1037. 2013-11-05 23:52:21 +02:00
sledgehammer999
102b1b2065 Bump to 3.1.1 2013-10-28 00:56:31 +02:00
sledgehammer999
c110c5a084 Update Changelog. 2013-10-28 00:56:26 +02:00
sledgehammer999
e24fb4ec73 Updated translations from Transifex. 2013-10-28 00:48:25 +02:00
sledgehammer999
9f7d4f0898 Update Changelog. 2013-10-27 16:05:55 +02:00
sledgehammer999
c0b7cd79a8 Update Translator's info. 2013-10-27 16:05:53 +02:00
sledgehammer999
d4c7b7be40 Increase the .torrent size limit when a link to torrent is provided. Closes #879. 2013-10-27 15:34:46 +02:00
sledgehammer999
5cecdc18ed Run lupdate. 2013-10-24 23:32:55 +03:00
sledgehammer999
48240fbded Update Changelog. 2013-10-24 23:29:53 +03:00
sledgehammer999
dbab9e3b93 Allow to clear the UI lock password. Closes #973. 2013-10-24 23:28:17 +03:00
sledgehammer999
e4d1ee44a9 Run lupdate. 2013-10-24 00:26:05 +03:00
sledgehammer999
4ae6035ee9 Update Changelog. 2013-10-24 00:23:55 +03:00
sledgehammer999
722d851082 Windows: Don't remove file associations if they aren't our own. 2013-10-24 00:21:16 +03:00
sledgehammer999
01f253b24a Fix 'append label to save path' with magnet links. 2013-10-24 00:21:00 +03:00
sledgehammer999
a4ab14e6d0 Revert "Remove "Force reannounce" action". Closes #958. 2013-10-24 00:20:46 +03:00
sledgehammer999
8676fbae02 Run lupdate. 2013-10-23 20:50:23 +03:00
sledgehammer999
203c1750a6 Improve comment in gCompress(). 2013-10-23 20:45:20 +03:00
sledgehammer999
2db2f73b48 Document better some translatable strings. 2013-10-23 20:23:21 +03:00
sledgehammer999
3efba63e23 Revert "Don't use deprecated function when adding magnets."
This reverts commit c74334669b.
2013-10-23 20:11:29 +03:00
sledgehammer999
8f29befc65 Run lupdate. 2013-10-22 22:48:23 +03:00
sledgehammer999
630fd7c344 Updated Changelog. 2013-10-22 22:48:00 +03:00
sledgehammer999
c74334669b Don't use deprecated function when adding magnets. 2013-10-22 22:30:58 +03:00
sledgehammer999
c7dc6d0edf Distinguish more torrent states. 2013-10-22 22:30:45 +03:00
sledgehammer999
0f9ece76f8 Update Changelog. 2013-10-21 00:06:00 +03:00
sledgehammer999
ec31081927 Enable gzip compression in the webui. 2013-10-21 00:04:59 +03:00
sledgehammer999
6598b3266c Update Changelog. 2013-10-20 20:32:46 +03:00
Nick Tiskov
0d723af8f6 Fix RSS items not being marked read when the item is a magnet link. 2013-10-20 20:31:03 +03:00
Nick Tiskov
5559af8d07 Fix possible null-pointer dereference. 2013-10-20 20:30:49 +03:00
sledgehammer999
f50290d46d Added instructions for managing translations with Transifex. 2013-10-20 20:27:17 +03:00
sledgehammer999
0dd3f6672d Run lupdate. 2013-10-20 20:21:29 +03:00
sledgehammer999
d515a5b86a Update transifex config file. 2013-10-20 19:58:57 +03:00
sledgehammer999
e810fa1053 Expose new translations and improve language code. 2013-10-20 19:57:30 +03:00
sledgehammer999
12ea7efd5c New translation: English(United Kingdom). 2013-10-20 19:57:16 +03:00
sledgehammer999
bcf2534e23 New translation: English(Australia). 2013-10-20 19:57:06 +03:00
sledgehammer999
412e6b0a43 Synced .desktop file translation from Transifex. 2013-10-20 19:56:47 +03:00
sledgehammer999
0d85124a46 Sync translations from Transifex. 2013-10-20 19:56:31 +03:00
sledgehammer999
3abfbf107e Update Changelog. 2013-10-20 14:33:26 +03:00
leigh123linux
643803edfd fix missing conf.pri error 2013-10-20 14:30:25 +03:00
sledgehammer999
3fbb61033f Turn off the scheduler when the user manually changes the rate limits mode. 2013-10-20 14:26:22 +03:00
sledgehammer999
ddbe96c807 Allow the scheduler to have a start time that's after the end time. Closes #980. 2013-10-20 14:26:13 +03:00
sledgehammer999
44d0baf9a2 Make the scheduler timeout every 1.5s. 2013-10-20 14:26:03 +03:00
Nick Tiskov
ae67141fed Prepare bandwidth scheduler code 2013-10-20 14:25:55 +03:00
sledgehammer999
b9cb41cc4a Update Changelog. 2013-10-15 00:48:42 +03:00
sledgehammer999
2e3341172a Partial revert of e7c27c9b8b. Single file preview works again. 2013-10-15 00:47:06 +03:00
sledgehammer999
4310b14e0e Update Changelog. 2013-10-14 15:06:03 +03:00
sledgehammer999
db96dede87 Revert "Remove obsolete IP_HIDDEN column from peer list." Closes #970.
This reverts commit c8d51e91f4.
2013-10-14 14:59:41 +03:00
sledgehammer999
ba41a7bd9c Update changelog. 2013-10-13 23:18:49 +03:00
sledgehammer999
7fb9a2196c Show external IP in the log. Closes #968. 2013-10-13 23:18:37 +03:00
sledgehammer999
781fcc800a Expose all available translation in the WebUI. Closes #976. 2013-10-13 22:17:43 +03:00
sledgehammer999
819da54868 Bump to 3.1.0 2013-10-12 17:52:45 +03:00
152 changed files with 45737 additions and 24330 deletions

View File

@@ -1,7 +1,7 @@
[main]
host = https://www.transifex.com
[qbittorrent.qbittorrent_ents]
[qbittorrent.qbittorrent_v3_1_x]
file_filter = src/lang/qbittorrent_<lang>.ts
source_file = src/lang/qbittorrent_en.ts
source_lang = en
@@ -10,7 +10,7 @@ minimum_perc = 23
mode = developer
[qbittorrent.qbittorrentdesktop]
[qbittorrent.qbittorrentdesktop_master]
source_file = src/Icons/qBittorrent.desktop
source_lang = en
type = DESKTOP

12
AUTHORS
View File

@@ -81,7 +81,7 @@ Translations authors:
* files: src/lang/*.ts
* file: src/Icons/qBittorrent.desktop
copyright:
- Arabic: SDERAWI (abz8868@msn.com) and sn51234 (nesseyan@gmail.com)
- Arabic: SDERAWI (abz8868@msn.com), sn51234 (nesseyan@gmail.com) and Ibrahim Saed ibraheem_alex(Transifex)
- Armenian: Hrant Ohanyan (hrantohanyan@mail.am)
- Basque: Xabier Aramendi (azpidatziak@gmail.com)
- Belarusian: Mihas Varantsou (meequz@gmail.com)
@@ -90,11 +90,13 @@ Translations authors:
- Chinese (Simplified): Guo Yue (yue.guo0418@gmail.com)
- Chinese (Traditional): Yi-Shun Wang (dnextstep@gmail.com) and 冥王歐西里斯 s8321414(Transifex)
- Croatian: Oliver Mucafir (oliver.untwist@gmail.com)
- Czech: Jirka Vilim (web@tets.cz)
- Czech: Jirka Vilim (web@tets.cz) and Petr Cernobila abr(Transifex)
- Danish: Mathias Nielsen (comoneo@gmail.com)
- Dutch: Pieter Heyvaert (pieter_heyvaert@hotmail.com)
- English: Christophe Dumez (chris@qbittorrent.org)
- Finnish: Niklas Laxström (nikerabbit@users.sourceforge.net)
- English(Australia): Robert Readman readmanr(Transifex)
- English(United Kingdom): Robert Readman readmanr(Transifex)
- Finnish: Niklas Laxström (nikerabbit@users.sourceforge.net), Pekka Niemi (pekka.niemi@iki.fi) and Jiri Grönroos artnay(Transifex)
- French: Christophe Dumez (chris@qbittorrent.org)
- Galician: Marcos Lans (marcoslansgarza@gmail.com) and antiparvos(Transifex)
- Georgian: Beqa Arabuli (arabulibeqa@yahoo.com)
@@ -110,12 +112,12 @@ Translations authors:
- Polish: Mariusz Fik (fisiu@opensuse.org)
- Portuguese: Sérgio Marques smarquespt(Transifex)
- Portuguese(Brazil): Nick Marinho (nickmarinho@gmail.com)
- Romanian: Obada Denis (obadadenis@users.sourceforge.net)
- Romanian: Obada Denis (obadadenis@users.sourceforge.net), Adrian Gabor Adriannho(Transifex) and Mihai Coman z0id(Transifex)
- Russian: Nick Khazov (m2k3d0n at users.sourceforge.net), Alexey Morsov (samurai@ricom.ru), Nick Tiskov Dayman(daymansmail (at) gmail (dot) com), Dmitry DmitryKX(Transifex) and kraleksandr kraleksandr(Transifex)
- Serbian: Anaximandar Milet (anaximandar at operamail.com)
- Slovak: helix84
- Spanish: Francisco Luque Contreras (frannoe@ya.com), Alfredo Monclus alfrix(Transifex) and José Antonio Moray moray33(Transifex)
- Swedish: Daniel Nylander (po@danielnylander.se)
- Swedish: Daniel Nylander (po@danielnylander.se) and Emil Hammarberg Ooglogput(Transifex)
- Turkish: Hasan Yilmaz (iletisim@hedefturkce.com)
- Ukrainian: Oleh Prypin (blaxpirit@gmail.com) and zubr139(Transifex)
- Vietnamese: Anh Phan ppanhh(Transifex)

View File

@@ -1,3 +1,101 @@
* Sun Feb 02 2014 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.1.6
- BUGFIX: Fix 'preview file' regression. Closes #1285. (sledgehammer999)
- BUGFIX: Fix peers and seeds sorting in transfer list. (Angel Alonso)
- BUGFIX: Fix btdigg search engine. (BTDigg research team)
- BUGFIX: Save statistics every 15min and only if there was new traffic. Fixes #1288 and partially #1272. (sledgehammer999)
- BUGFIX: Fix share ratio text in the 'general' tab. (sledgehammer999)
- BUGFIX: Output a more generic message when blocking IPs and don't use italics in the log. (sledgehammer999)
- BUGFIX: Allow 2 decimals when setting the share ratio. Closes #1303. (sledgehammer999)
- BUGFIX: Fix extratorrents search plugin. (sledgehammer999)
- BUGFIX: Use shorter names for amount columns in main UI (Gelmir)
- BUGFIX: Fix overstretched options dialog. Closes #1293. (sledgehammer999)
- BUGFIX: Don't show a popup menu when no torrent is selected. (sledgehammer999)
- BUGFIX: Launch external programs async and don't block. Closes #1252. (sledgehammer999)
- BUGFIX: Don't re-announce to trackers when torrent is paused. Closes #1310. (sledgehammer999)
- BUGFIX: Bring dialog boxes in the front when qbt doesn't have focus. (sledgehammer999)
- BUGFIX: Correctly resize 'name' column of the content tab. Closes #1360. (sledgehammer999)
- BUGFIX: Correctly restore 'name' column width when loading magnet links in the 'Add new torrent dialog'. Closes #1334. (sledgehammer999)
- WEBUI: Fix sorting by size in WebUI when non-default locale used. (Vladimir Golovnev)
- UI: Reposition statistics menu item. (sledgehammer999)
- UI: Convert more accurately decimal numbers to text. (sledgehammer999)
- WINDOWS/OSX: Improvements on the behavior of the program updater(closes #1282) (sledgehammer999)
- LINUX: Explicitle tell that we don't support freedesktop's startup notify standard. Fixes GNOME issues. Closes #1217. (sledgehammer999)
- LINUX: Add our WM_CLASS in the .desktop file so window managers know how to group our windows. (sledgehammer999)
- OTHER: Sync translations from Transifex.
* Thu 16 Jan 2014 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.1.5
- BUGFIX: Fix compilation with Qt 4.7. Closes #1215. (sledgehammer999)
- BUGFIX: Third attempt at fixing saving settings on OS shutdown. (sledgehammer999)
- BUGFIX: Preview now correctly uses the selected file. Closes #1222 #1182. (sledgehammer999)
- BUGFIX: Allow to resize the columns in Add New Torrent dialog. Closes #1207 #676 (sledgehammer999)
- BUGFIX: Ensure that at least one column in the tranferlist is always visible. Closes #1165. (sledgehammer999)
- BUGFIX: Ensure that the options window will always be placed onscreen. Closes #1226. (sledgehammer999)
- BUGFIX: Delete temporary files after they aren't needed. Closes #1188. (sledgehammer999)
- BUGFIX: Correctly detect libtorrent version. (sledgehammer999)
- BUGFIX: Various code cppcheck fixes (Konstantin Goncharik)
- BUGFIX: Remove isohunt search engine and update thepiratebay url (sledgehammer999)
- BUGFIX: Fix rss settings corruption when checking regexp and going to other rule. (Gelmir)
- BUGFIX: Don't count paused torrents for the autoshutdown. Closes #1280. (sledgehammer999)
- LINUX: Fix notifications with xfce4-notifyd.
- OSX: Added basic retina support. Closes #1251. (Sébastien Lavoie)
- OTHER: Sync translations from Transifex.
* Sun 29 Dec 2013 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.1.4
- FEATURE: Statistics dialog (Gelmir)
- FEATURE: Tooltips explaining each peer's connection flags (sledgehammer999)
- FEATURE: Win/Mac Check for program updates every 15min and allow the user to manually check for updates through the help menu. (sledgehammer999)
- BUGFIX: Better dialog message for torrent delete confirmation (sledgehammer999)
- BUGFIX: Fix resizing grip location. Closes #1146. (sledgehammer999)
- BUGFIX: Lock toolbar in place. Closes #1144. (sledgehammer999)
- BUGFIX: Second attempt at fixing saving settings on shutdown. (sledgehammer999)
- BUGFIX: Sort labels in 'Add new torrent' dialog. Closes #1150 #411. (sledgehammer999)
- LINUX: Fix build under Ubuntu 13.10 (sledgehammer999)
- LINUX: Make sleep and shutdown functions work on systemd's logind (Faheem Pervez)
* Mon Nov 20 2013 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.1.3
- FEATURE: Add a key shortcut to "Add link to torrent..." (Angel Alonso)
- BUGFIX: Make all columns and headers use the same text alignment in the transferlist. (sledgehammer999)
- BUGFIX: Fix build system for Unix/Linux. (sledgehammer999)
- BUGFIX: Case insensitive sort in Peers list. Closes #1066. (sledgehammer999)
- BUGFIX: Small optimization of WebUI responses when there isn't a data payload. (sledgehammer999)
- BUGFIX: Hide empty folders after filtering. Closes #74. (sledgehammer999)
- BUGFIX: Expand folders when filtering files. Closes #1076. (sledgehammer999)
- BUGFIX: Updated search plugin's URL (Zach Thibeau)
- BUGFIX: Strip some png to fix incorrect sRGB profiles. (Angel Alonso)
- BUGFIX: Fixed font issues on OSX Mavericks (Zach Thibeau)
- BUGFIX: Improve text in the About dialog (Artem S. Tashkinov)
- BUGFIX: Always show a peer IP address as a tool tip (Artem S. Tashkinov)
- BUGFIX: Fix inhibit system functionality. Closes #766. (sledgehammer999)
- BUGFIX: WebUI: Don't gzip too small payloads. (sledgehammer999)
- BUGFIX: Correctly detect if the browser supports gzip compression. (sledgehammer999)
- BUGFIX: Fix WebUI link to 'Anonymous mode' explanation. Closes #1093. (sledgehammer999)
- BUGFIX: Correctly update tracker tier number in the trackers tab. Closes #1075. (sledgehammer999)
- BUGFIX: Speed improvements.(sledgehammer999)
- OTHER: Updated translations.
* Tue Nov 05 2013 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.1.2
- BUGFIX: Fix WebUI gzip compression. Closes #1037. (sledgehammer999)
- BUGFIX: Fix compilation with qt < 4.8.0. Closes #1043. (sledgehammer999)
- OTHER: Updated translations.
* Mon Oct 28 2013 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.1.1
- FEATURE: Show external IP in the log. Closes #968. (sledgehammer999)
- FEATURE: Enable gzip compression in the webui. It should be faster now. (sledgehammer999)
- FEATURE: Torrents show more states(queued for checking, downloading metadata, allocating, checking resume). (sledgehammer999)
- FEATURE: Reenable "force reannounce" to all trackers. (sledgehammer999)
- FEATURE: Allow to clear the UI lock password. Closes #973. (sledgehammer999)
- FEATURE: New translations: English(Australia) and English(United Kingdom)
- BUGFIX: Expose all available translation in the WebUI. Closes #976. (sledgehammer999)
- BUGFIX: Copy IP copied wrong data. Closes #970 (sledgehammer999)
- BUGFIX: "Preview file..." didn't work on single file torrents. (sledgehammer999)
- BUGFIX: Fix and improve the scheduler (Gelmir and sledgehammer999)
- BUGFIX: RSS fixes. Closes #960, #998 (Gelmir)
- BUGFIX: Fix 'append label to save path' with magnet links. (sledgehammer999)
- BUGFIX: Can download up to 10MB .torrent file when a link is provided. Closes #879 (sledgehammer999)
- OTHER: Updated translations.
- LINUX: Fix missing conf.pri error (leigh123linux)
- WINDOWS: Don't remove file associations if they aren't our own. (sledgehammer999)
* Sat Oct 12 2013 - Christophe Dumez <chris@qbittorrent.org> and sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.1.0
- FEATURE: Add command line option to daemonize qbittorrent-nox (ngaro)
- FEATURE: Add "Shutdown qBittorrent" button to Web UI (ngaro)

2
configure vendored
View File

@@ -511,7 +511,7 @@ public:
QStringList libDirs;
if (!s.isEmpty())
libDirs << s;
libDirs << "/usr/lib/" << "/usr/lib64/" << "/usr/local/lib/" << "/usr/local/lib64/";
libDirs << "/usr/lib/" << "/usr/lib/i386-linux-gnu/" << "/usr/lib64/" << "/usr/lib/x86_64-linux-gnu/" << "/usr/local/lib/" << "/usr/lib/local/i386-linux-gnu/" << "/usr/local/lib64/" << "/usr/local/lib/x86_64-linux-gnu/";
foreach(const QString& lib, required_libs) {
bool found = false;

View File

@@ -75,7 +75,7 @@ public:
QStringList libDirs;
if (!s.isEmpty())
libDirs << s;
libDirs << "/usr/lib/" << "/usr/lib64/" << "/usr/local/lib/" << "/usr/local/lib64/";
libDirs << "/usr/lib/" << "/usr/lib/i386-linux-gnu/" << "/usr/lib64/" << "/usr/lib/x86_64-linux-gnu/" << "/usr/local/lib/" << "/usr/lib/local/i386-linux-gnu/" << "/usr/local/lib64/" << "/usr/local/lib/x86_64-linux-gnu/";
foreach(const QString& lib, required_libs) {
bool found = false;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -8,9 +8,14 @@ MimeType=application/x-bittorrent;x-scheme-handler/magnet;
Name=qBittorrent
Terminal=false
Type=Application
StartupNotify=false
StartupWMClass=qbittorrent
# Translations
# Translations
GenericName[ar]=العميل BitTorrent
Comment[be]=Сцягванне і раздача файлаў праз пратакол BitTorrent
@@ -18,12 +23,19 @@ GenericName[be]=BitTorrent-кліент
Name[be]=qBittorrent
Icon[be]=qbittorrent
GenericName[bg]=Торент клиент
Comment[cs]=Stahování a sdílení souborů přes síť BitTorrent
GenericName[cs]=BitTorrent klient
Name[cs]=qBittorrent
Icon[cs]=qbittorrent
GenericName[de]=BitTorren Client
Comment[el]=Λήψη και διαμοιρασμός αρχείων μέσω BitTorrent
GenericName[el]=BitTorrent πελάτης
Name[el]=qBittorrent
Icon[el]=qbittorrent
Comment[en_GB]=Download and share files over BitTorrent
GenericName[en_GB]=BitTorrent client
Name[en_GB]=qBittorrent
Icon[en_GB]=qbittorrent
Comment[es]=Descarga y comparte archivos por BitTorrent
GenericName[es]=Cliente BitTorrent
Name[es]=qBittorrent
@@ -32,7 +44,10 @@ Comment[eu]=Jeitsi eta elkarbanatu agiriak BitTorrent-en
GenericName[eu]=BitTorrent bezeroa
Name[eu]=qBittorrent
Icon[eu]=qbittorrent
Comment[fi]=Lataa ja jaa tiedostoja BitTorrentia käyttäen
GenericName[fi]=BitTorrent-ohjelma
Name[fi]=qBittorrent
Icon[fi]=qbittorrent
Comment[fr]=Télécharger et partager des fichiers avec BitTorrent
GenericName[fr]=Client BitTorrent
Comment[gl]=Descargue e comparta ficheiros co protocolo BitTorrent
@@ -73,16 +88,25 @@ Comment[pt_BR]=Baixe e compartilhe arquivos através do qBittorrent
GenericName[pt_BR]=Cliente BitTorrent
Name[pt_BR]=qBittorrent
Icon[pt_BR]=qbittorrent
Comment[ro]=Descărcați și partajați fișiere prin BitTorrent
GenericName[ro]=Client BitTorrent
Name[ro]=qBittorrent
Icon[ro]=qbittorrent
Comment[ru]=Скачивайте и делитесь файлами с помощью BitTorrent
GenericName[ru]=клиент BitTorrent
Name[ru]=qBittorrent
Icon[ru]=qbittorrent
GenericName[sk]=Klient siete BitTorrent
GenericName[sr]=BitTorrent-клијент
Comment[sv]=Hämta och dela filer över BitTorrent
GenericName[sv]=BitTorrent-klient
Name[sv]=qBittorrent
Icon[sv]=qbittorrent
GenericName[tr]=BitTorrent istemcisi
Comment[uk]=Завантажувати і обмінюватися файлами через BitTorrent
GenericName[uk]=BitTorrent-клієнт
Name[uk]=qBittorrent
Icon[uk]=qbittorrent
Comment[vi]=Tải về và chia sẻ các tập tin thông qua BitTorrent
GenericName[vi]=Máy trạm dạng BitTorrent
Name[vi]=qBittorrent
@@ -91,3 +115,7 @@ Comment[zh_TW]=經由 BitTorrent 下載並分享檔案
GenericName[zh_TW]=BitTorrent 客戶端
Name[zh_TW]=qBittorrent
Icon[zh_TW]=qbittorrent
Comment[en_AU]=Download and share files over BitTorrent
GenericName[en_AU]=BitTorrent client
Name[en_AU]=qBittorrent
Icon[en_AU]=qbittorrent

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 593 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 590 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 495 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 359 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 538 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 583 B

View File

@@ -50,7 +50,7 @@ class about : public QDialog, private Ui::AboutDlg{
setAttribute(Qt::WA_DeleteOnClose);
// About
QString aboutText =
QString::fromUtf8("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\"><html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">p, li { white-space: pre-wrap; }</style></head><body style=\" font-family:'Lucida Grande'; font-size:13pt; font-weight:400; font-style:normal;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">") +
QString::fromUtf8("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\"><html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">p, li { white-space: pre-wrap; }</style></head><body style=\" font-size:11pt; font-weight:400; font-style:normal;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">") +
tr("An advanced BitTorrent client programmed in C++, based on Qt4 toolkit and libtorrent-rasterbar.") +
QString::fromUtf8(" <br /><br />") +
trUtf8("Copyright ©2006-2013 The qBittorrent project") +
@@ -80,7 +80,7 @@ class about : public QDialog, private Ui::AboutDlg{
te_thanks->setHtml(thanks_txt);
// Translation
QString trans_txt = "<p>"+tr("I would like to thank the following people who volunteered to translate qBittorrent:")+"</p>";
trans_txt += QString::fromUtf8("<ul><li><u>Arabic:</u> SDERAWI (abz8868@msn.com) and sn51234 (nesseyan@gmail.com)</li>\
trans_txt += QString::fromUtf8("<ul><li><u>Arabic:</u> SDERAWI (abz8868@msn.com), sn51234 (nesseyan@gmail.com) and Ibrahim Saed ibraheem_alex(Transifex)</li>\
<li><u>Armenian:</u> Hrant Ohanyan (hrantohanyan@mail.am)</li>\
<li><u>Basque:</u> Xabier Aramendi (azpidatziak@gmail.com)</li>\
<li><u>Belarusian:</u> Mihas Varantsou (meequz@gmail.com)</li>\
@@ -89,10 +89,12 @@ class about : public QDialog, private Ui::AboutDlg{
<li><u>Chinese (Simplified):</u> Guo Yue (yue.guo0418@gmail.com)</li>\
<li><u>Chinese (Traditional):</u> Yi-Shun Wang (dnextstep@gmail.com) and 冥王歐西里斯 s8321414(Transifex)</li>\
<li><u>Croatian:</u> Oliver Mucafir (oliver.untwist@gmail.com)</li>\
<li><u>Czech:</u> Jirka Vilim (web@tets.cz)</li>\
<li><u>Czech:</u> Jirka Vilim (web@tets.cz) and Petr Cernobila abr(Transifex)</li>\
<li><u>Danish:</u> Mathias Nielsen (comoneo@gmail.com)</li>\
<li><u>Dutch:</u> Pieter Heyvaert (pieter_heyvaert@hotmail.com)</li>\
<li><u>Finnish:</u> Niklas Laxström (nikerabbit@users.sourceforge.net) and Pekka Niemi (pekka.niemi@iki.fi)</li>\
<li><u>English(Australia):</u> Robert Readman readmanr(Transifex)</li>\
<li><u>English(United Kingdom):</u> Robert Readman readmanr(Transifex)</li>\
<li><u>Finnish:</u> Niklas Laxström (nikerabbit@users.sourceforge.net), Pekka Niemi (pekka.niemi@iki.fi) and Jiri Grönroos artnay(Transifex)</li>\
<li><u>Galician:</u> Marcos Lans (marcoslansgarza@gmail.com) and antiparvos(Transifex)</li>\
<li><u>Georgian:</u> Beqa Arabuli (arabulibeqa@yahoo.com)</li>\
<li><u>German:</u> Niels Hoffmann (zentralmaschine@users.sourceforge.net)</li>\
@@ -107,12 +109,12 @@ class about : public QDialog, private Ui::AboutDlg{
<li><u>Polish:</u> Mariusz Fik (fisiu@opensuse.org)</li>\
<li><u>Portuguese:</u> Sérgio Marques smarquespt(Transifex)</li>\
<li><u>Portuguese(Brazil):</u> Nick Marinho (nickmarinho@gmail.com)</li>\
<li><u>Romanian:</u> Obada Denis (obadadenis@users.sourceforge.net)</li>\
<li><u>Romanian:</u> Obada Denis (obadadenis@users.sourceforge.net), Adrian Gabor Adriannho(Transifex) and Mihai Coman z0id(Transifex)</li>\
<li><u>Russian:</u> Nick Khazov (m2k3d0n at users.sourceforge.net), Alexey Morsov (samurai@ricom.ru), Nick Tiskov Dayman(daymansmail (at) gmail (dot) com), Dmitry DmitryKX(Transifex) and kraleksandr kraleksandr(Transifex)</li>\
<li><u>Serbian:</u> Anaximandar Milet (anaximandar@operamail.com)</li>\
<li><u>Slovak:</u> helix84</li>\
<li><u>Spanish:</u> Alfredo Monclús (alfrix), Francisco Luque Contreras (frannoe@ya.com) and José Antonio Moray moray33(Transifex)</li>\
<li><u>Swedish:</u> Daniel Nylander (po@danielnylander.se)</li>\
<li><u>Swedish:</u> Daniel Nylander (po@danielnylander.se) and Emil Hammarberg Ooglogput(Transifex)</li>\
<li><u>Turkish:</u> Hasan YILMAZ (iletisim@hedefturkce.com) and Erdem Bingöl (erdem84@gmail.com)</li>\
<li><u>Ukrainian:</u> Oleh Prypin (blaxpirit@gmail.com)</li>\
<li><u>Vietnamese:</u> Anh Phan ppanhh(Transifex)</li></ul>");

File diff suppressed because it is too large Load Diff

View File

@@ -84,6 +84,7 @@ private:
void loadState();
void saveState();
void setMetadataProgressIndicator(bool visibleIndicator, const QString &labelText = QString());
void setupTreeview();
private:
Ui::AddNewTorrentDialog *ui;
@@ -98,6 +99,7 @@ private:
QStringList m_filesPath;
bool m_hasRenamedFile;
QShortcut *editHotkey;
QByteArray m_headerState;
};
#endif // ADDNEWTORRENTDIALOG_H

View File

@@ -176,9 +176,6 @@
<property name="sortingEnabled">
<bool>true</bool>
</property>
<attribute name="headerStretchLastSection">
<bool>false</bool>
</attribute>
</widget>
</item>
</layout>

View File

@@ -44,7 +44,7 @@
</sizepolicy>
</property>
<property name="text">
<string>Are you sure you want to delete the selected torrents from the transfer list?</string>
<string notr="true">deletion message goes here</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>

View File

@@ -40,8 +40,12 @@ class DeletionConfirmationDlg : public QDialog, private Ui::confirmDeletionDlg {
Q_OBJECT
public:
DeletionConfirmationDlg(QWidget *parent=0): QDialog(parent) {
DeletionConfirmationDlg(QWidget *parent, const int &size, const QString &name): QDialog(parent) {
setupUi(this);
if (size == 1)
label->setText(tr("Are you sure you want to delete \"%1\" from the transfer list?", "Are you sure you want to delete \"ubuntu-linux-iso\" from the transfer list?").arg(name));
else
label->setText(tr("Are you sure you want to delete these %1 torrents from the transfer list?", "Are you sure you want to delete these 5 torrents from the transfer list?").arg(QString::number(size)));
// Icons
lbl_warn->setPixmap(IconProvider::instance()->getIcon("dialog-warning").pixmap(lbl_warn->height()));
lbl_warn->setFixedWidth(lbl_warn->height());
@@ -57,10 +61,10 @@ class DeletionConfirmationDlg : public QDialog, private Ui::confirmDeletionDlg {
return checkPermDelete->isChecked();
}
static bool askForDeletionConfirmation(bool *delete_local_files) {
DeletionConfirmationDlg dlg;
static bool askForDeletionConfirmation(bool& delete_local_files, const int& size, const QString& name) {
DeletionConfirmationDlg dlg(NULL, size, name);
if (dlg.exec() == QDialog::Accepted) {
*delete_local_files = dlg.shouldDeleteLocalFiles();
delete_local_files = dlg.shouldDeleteLocalFiles();
return true;
}
return false;

View File

@@ -134,8 +134,8 @@ void DownloadThread::processDlFinished(QNetworkReply* reply) {
}
// Success
QTemporaryFile *tmpfile = new QTemporaryFile;
tmpfile->setAutoRemove(false);
if (tmpfile->open()) {
tmpfile->setAutoRemove(false);
QString filePath = tmpfile->fileName();
qDebug("Temporary filename is: %s", qPrintable(filePath));
if (reply->isOpen() || reply->open(QIODevice::ReadOnly)) {
@@ -153,6 +153,7 @@ void DownloadThread::processDlFinished(QNetworkReply* reply) {
emit downloadFinished(url, filePath);
} else {
delete tmpfile;
fsutils::forceRemove(filePath);
// Error when reading the request
emit downloadFailure(url, tr("I/O Error"));
}
@@ -202,16 +203,16 @@ void DownloadThread::checkDownloadSize(qint64 bytesReceived, qint64 bytesTotal)
if (!reply) return;
if (bytesTotal > 0) {
// Total number of bytes is available
if (bytesTotal > 1048576) {
// More than 1MB, this is probably not a torrent file, aborting...
if (bytesTotal > 1048576*10) {
// More than 10MB, this is probably not a torrent file, aborting...
reply->abort();
reply->deleteLater();
} else {
disconnect(reply, SIGNAL(downloadProgress(qint64,qint64)), this, SLOT(checkDownloadSize(qint64,qint64)));
}
} else {
if (bytesReceived > 1048576) {
// More than 1MB, this is probably not a torrent file, aborting...
if (bytesReceived > 1048576*10) {
// More than 10MB, this is probably not a torrent file, aborting...
reply->abort();
reply->deleteLater();
}

View File

@@ -41,6 +41,7 @@ class HeadlessLoader: public QObject {
public:
HeadlessLoader(const QStringList &torrentCmdLine) {
connect(qApp, SIGNAL(aboutToQuit()), this, SLOT(shutdownCleanUp()), Qt::DirectConnection);
Preferences pref;
// Enable Web UI
pref.setWebUiEnabled(true);
@@ -61,11 +62,12 @@ public:
}
}
~HeadlessLoader() {
public slots:
void shutdownCleanUp() {
Preferences().sync();
QBtSession::drop();
}
public slots:
// Call this function to exit qBittorrent headless loader
// and return to prompt (object will be deleted by main)
void exit() {

View File

@@ -314,6 +314,7 @@
<file>Icons/oxygen/view-filter.png</file>
<file>Icons/oxygen/view-preview.png</file>
<file>Icons/oxygen/view-refresh.png</file>
<file>Icons/oxygen/view-statistics.png</file>
<file>Icons/oxygen/wallet-open.png</file>
<file>Icons/oxygen/webui.png</file>
<file>Icons/skin/arrow-right.gif</file>

View File

@@ -9,6 +9,8 @@
<file>lang/qbittorrent_de.qm</file>
<file>lang/qbittorrent_el.qm</file>
<file>lang/qbittorrent_en.qm</file>
<file>lang/qbittorrent_en_AU.qm</file>
<file>lang/qbittorrent_en_GB.qm</file>
<file>lang/qbittorrent_es.qm</file>
<file>lang/qbittorrent_eu.qm</file>
<file>lang/qbittorrent_fi.qm</file>

View File

@@ -0,0 +1,42 @@
For future maintainers on how to update translations from Transifex.
Project page: https://www.transifex.com/projects/p/qbittorrent/
Most of the options are setup in the .tx/config file. You will need to have the Transifex client app in your path.
The examples use the tx app on Windows. Other OSs should be similar.
===Updating the translations===
1. In the root folder of the project just run "tx pull"
2. Commit to git
===Pulling new translation files===
1. In the root folder of the project just run "tx pull -a"
2. Commit to git each translation file separately with its own message.
3. After you commit all new files expose them in app. Edit:
a. lang.qrc
b. options_imp.cpp: options_imp::languageToLocalizedString()
c. src.pro: The TRANSLATIONS var
d. preferences_content.html: search for: <select id="locale_select">
Note: This will also pull updated translations if you haven't already 'tx pull'.
===Updating the qBittorrent.desktop file===
1. In the root folder of the project just run "tx pull -s -r qbittorrent.qbittorrentdesktop_master"
2. Commit to git
It will pull the source file (en). However, in this case .desktop files contain all other translations
when you pull the source file.
===When making new branch===
1. Switch to new branch
2. Edit the .tx.config file. You should change the resource for the qbt translations from 'qbittorrent.qbittorrent_master'
to eg 'qbittorrent.qbittorrent_v3_1_x'. It follows this spec: <project>.<resource_slug>_<branchname>'
3. Commit to git
4. Use this command to create the new resource on the server and push the translations files "tx push -s -t"
===Updating the source file==
When you run lupdate Transifex needs to know that the source is updated. When creating a new resource on transifex
you should go to the website, select the resource and hit "edit resource". From there you should update the
"Source file URL". It should point to the exact file in the github repository(eg src/lang/qbittorrent_en.ts). Be sure to copy
the 'raw' link presented by github and not the regular one. This will make Transifex fetch automatically the source file
from the repo(maybe once a day). If you want to instantly update the resouce then on the correct branch run "tx push -s"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More