Commit Graph

19 Commits

Author SHA1 Message Date
Mike Gelfand
d96ef13a89 Define QT_NO_CAST_FROM_ASCII (Qt client)
Use latin1 encoding most of the time where default encoding was used
before. Qt 4 assumes latin1 by default while Qt 5 uses utf-8 which is
not what we want.

Use utf-8 encoding in some places where default encoding was used before.
This includes strings coming from RPC.

Fix an issue with SortMode::names[] (filters.cc) where missing comma
between "sort-by-queue" and "sort-by-ratio" resulted in two array entries
being merged into solid "sort-by-queuesort-by-ratio" string and all the
following items being shifted compared to their enum counterparts.
2015-01-29 21:53:05 +00:00
Mike Gelfand
9b8c6bc0f0 Improve tracker list look (torrent properties dialog), support RTL layout 2015-01-20 23:28:38 +00:00
Mike Gelfand
34c42d4ad8 Small follow-up translation fixes (HTML formatting mess in tracker delegate mostly) 2015-01-18 13:19:30 +00:00
Mike Gelfand
9866082907 Poke translations a bit (Qt client)
Add a bit more comments. Adjust some phrases for pluralization.
Mark menu shortcuts as not translatable (changing them doesn't do any
good but people start translating "Ctrl" as "Ktrl" etc. which breaks
the shortcuts).
Pull current translations from Transifex.
2015-01-18 02:09:44 +00:00
Mike Gelfand
17d6666b4c A bit of harmless refactoring
Prefer C++-style over C-style type casting.
Use qApp instead of QApplication/QCoreApplication::instance().
Use explicit QString::fromLatin1()/fromUtf8() where applicable.
2014-12-27 14:07:14 +00:00
Mike Gelfand
629281a1e2 Fix license wording in Qt client .cc files to match the rest of the code. 2014-12-21 23:49:39 +00:00
Mike Gelfand
67dc1c8485 Strip spaces around :: in C++ code (Qt client) 2014-12-12 23:05:10 +00:00
Jordan Lee
4b9626bb83 Licensing changes:
1. add the option the code to be used under GPLv2 or GPLv3; previously only GPLv2 was allowed

2. add the "proxy option" as described in GPLv3 so we can add future licenses without having to bulk-edit everything again :)

3. remove the awkward "exception for MIT code in Mac client" clause; it was unnecessary and confusing.
2014-01-19 01:09:44 +00:00
Jordan Lee
4904b923fb (trunk) restore copyright year as suggested in email by rms 2014-01-18 20:56:57 +00:00
Jordan Lee
da317c441d copyediting: indentation cleanups 2013-09-14 22:45:04 +00:00
Charles Kerr
27a1b2dc33 (trunk) one of the periodic, banal "remove-trailing-spaces from lines of source code" cleanup commits 2010-12-12 16:43:19 +00:00
Charles Kerr
56e90f1457 (trunk) more "svn propset" tweaks for $Id$ 2010-10-01 20:22:51 +00:00
Daniel Lee
8f57986784 (trunk) don't display "Got a list of 0 peers" for currently paused torrents 2010-09-16 02:00:54 +00:00
Charles Kerr
cba88707f9 (trunk qt) minor cleanup in the delegate code 2010-08-02 18:31:27 +00:00
Charles Kerr
1477c8909f (trunk qt) synchronize the copyright notices 2010-08-01 20:36:13 +00:00
Charles Kerr
040bc734f8 (trunk) fix a documentation error in the RPC spec. lastAnnounceResult is a string, not an int 2010-08-01 14:51:28 +00:00
Charles Kerr
e41281a997 (trunk qt) #3459 "Qt client's filterbar should be updated to match the GTK+ client's" -- fixed 2010-07-30 22:31:31 +00:00
Charles Kerr
009d024908 (trunk qt) #3454 "sync trackers tab with GTK+ client" --
1. add "show backup trackers" togglebutton.
2. fix bug where toggling "show more" didn't take effect instantly
3. sync the "show more" preferences key with the GTK+ client
4. fix a couple of minor tracker text inconsistencies with the GTK+ client
2010-07-28 14:43:47 +00:00
Charles Kerr
914af1c9f8 (trunk Qt) sync the "trackers" tab with the GTK+ client and more. 2010-07-27 19:43:32 +00:00