Commit graph

4257 commits

Author SHA1 Message Date
Tvangeste 27c4bf7d30 Properly handle non-normalized unicode headwords
With that change users should be able to search headwords in
any form. For example:

U+03B5 GREEK SMALL LETTER EPSILON and U+0301 COMBINING ACUTE ACCENT

is considered equal to

U+03AD GREEK SMALL LETTER EPSILON WITH TONOS

And no matter in what form the headword is provided in the dictionary, users will be able to find it,
even using the different form.
2013-07-06 20:18:43 +02:00
Abs62 89755f8c09 Refactor work with RTL languages in word search list and history list 2013-07-06 19:31:31 +04:00
Timon Wong 23df3d41bb Update libhunspell lib for mingw4.8 2013-07-06 22:12:24 +08:00
Abs62 f202cb422e A little improvement in plain text converting for RTL languages 2013-07-05 17:14:57 +04:00
Timon Wong 91f994950d Qt 5.1 support (Windows MinGW 4.8) 2013-07-05 18:10:11 +08:00
Timon Wong 01ef08a709 Merge branch 'master' into qt4x5 2013-07-05 17:03:57 +08:00
Tvangeste 3f573a1f65 Merge pull request #361 from Ibragimov/master
Tajik Translation Updated
2013-07-04 13:47:11 -07:00
Victor Ibragimov 6df125c6fa Tajik Translation Updated
Tajik Translation Updated
2013-07-04 23:22:28 +05:00
Tvangeste 3c5ce36231 Simplify MainWindow::getCurrentArticleView() 2013-07-04 18:05:49 +02:00
Tvangeste 37a684f8cb Aard: Minor refactoring after code review 2013-07-04 18:00:37 +02:00
Tvangeste 6a20b9765a Aard: Better isolate the cards from each other; protect against broken HTML 2013-07-04 16:00:07 +02:00
Tvangeste d9bcb2ea43 Follow-up to the previous fix: span->div 2013-07-03 16:45:23 +02:00
Tvangeste f0a122e740 DSL: properly handle [m] tag
In short, [m] = [m0].
2013-07-03 16:00:56 +02:00
Timon Wong 80b462b0fa Merge pull request #360 from virtualtam/master
Updated French translation
2013-07-02 17:58:03 -07:00
VirtualTam 63895c8358 Updated French translation 2013-07-03 00:21:32 +02:00
Tvangeste 23f94c584f Jump to article when double-clicking on dictinary in "Found in Dictionaries"
This forces the jump even when the dictionary is already a current/active dictionary.
This is convenient for the following use-cases:

1. User manually scrolls far away from the current dictionary and would like to return.
2. User jumps far away from the current dictionary when doing search (Ctrl+F).
3. User scrolls a huge article and would like to get back to the beginning of it.
2013-06-28 18:00:13 +02:00
Timon Wong 555b51260a Merge branch 'master' into qt4x5 2013-06-26 21:07:46 +08:00
Tvangeste 05fa3f3952 Updated Dutch localization (by Cris) 2013-06-24 21:31:36 +02:00
Tvangeste ac520323cc Consider .ogm files as video 2013-06-23 12:06:53 +02:00
Tvangeste ae111de59a Consider *.mp4 files to be video not audio 2013-06-23 11:57:51 +02:00
Tvangeste 55e4de2cca Stop the internal audio player when the page is closed or changed 2013-06-23 11:54:46 +02:00
Abs62 39c4c44445 Update Russian translation 2013-06-23 13:41:28 +04:00
Tvangeste a2ce4da57f lupdate all the translations 2013-06-22 21:17:24 +02:00
Tvangeste 0cf8ccb259 DSL: Support video resources 2013-06-22 18:36:25 +02:00
Tvangeste ca3347e412 Dictd: Properly style the phonetic data and references/links 2013-06-18 15:25:04 +02:00
Timon Wong f5a43e22d4 Merge branch 'master' into qt4x5
Conflicts:
	goldendict.pro
2013-06-18 11:22:07 +08:00
Timon Wong cf71499242 Add "DISABLE_INTERNAL_PLAYER" to .pro as an option to disable internal audio player (issue #356) 2013-06-18 09:12:31 +08:00
Tvangeste 33c2c8b1cb One more fix for the compilation failures on older Linux/GCC 2013-06-17 20:30:21 +02:00
Tvangeste 6d4843e79b Fix compilation failure on older Linux/GCC versions 2013-06-17 17:30:20 +02:00
Tvangeste 2c901d5bd3 Dictd: Support extended Dictd format (--index-keep-orig) with 4 entries in the index
See the dictfmt man:

 --index-keep-orig
    When --utf-8 is specified  headwords  are  lowercased  and  non-
    alphanumeric  characters  are  removed  from it before saving to
    .index  file  in   order   to   simplify   the   search.    When
    --index-keep-orig  option  is  used fourth column is created (if
    necessary) in .index file, and  contains  an  original  headword
    which  is  returned by MATCH command.  This option may be useful
    to prevent converting " AT&T" to " ATT" or to keep proper  nouns
    with uppercased first letter.
2013-06-16 19:49:55 +02:00
Timon Wong 6ed3f5bec5 Merge branch 'master' into qt4x5 2013-06-16 15:54:05 +08:00
Timon Wong 3dd6cc8e5d Prevent compiler warning messages about OV_CALLBACKS_* 2013-06-16 15:30:34 +08:00
Timon Wong af02a41ddd Update Simplified Chinese translation 2013-06-16 15:24:57 +08:00
Abs62 f79129c9de Enhanced XDXF support (by soshial) 2013-06-15 12:55:15 +04:00
Tvangeste 195e28409d Merge pull request #353 from quendimax/master
Update belarusian translation
2013-06-13 13:34:26 -07:00
Maksim Tomkowicz 61be788178 Update belarusian translation 2013-06-13 23:31:44 +03:00
Tvangeste 00e858aa44 Minor wording tweaks in README 2013-06-13 22:17:12 +03:00
Abs62 fa277d94af Lupdate all translations, update Russian translation 2013-06-13 17:41:47 +04:00
Abs62 7d4db43ca0 Programs: Don't write word to standard input if %GDWORD% is presented in arguments (issue #351) 2013-06-13 17:34:50 +04:00
Tvangeste cee0b408e6 Merge pull request #350 from virtualtam/master
Updated French translation
2013-06-12 22:47:46 -07:00
VirtualTam 2dd0d15796 Updated French translation 2013-06-13 01:09:11 +02:00
Abs62 3082556288 Update Russian translation 2013-06-12 12:24:14 +04:00
Tvangeste d8e43162dc lupdate all the translations 2013-06-11 21:41:33 +02:00
Tvangeste dcc62050e3 Refactoring the edit dictionary functionality a bit 2013-06-11 21:31:58 +02:00
Tvangeste 9ed26287b2 Fixed a long-broken "Edit dictionary" action in the dictionary bar's context menu 2013-06-11 20:59:33 +02:00
Tvangeste 06bc0acbe0 Show "Edit Dictionary" button only for supporting dictionary types (DSL, XDXF, StarDict)
For StarDict dictionaries we consider *.ifo as the main file to edit.
2013-06-11 20:55:29 +02:00
Tvangeste de2bf73e66 New interface preference: Context menu dictionaries limit
Controls both context menus, in the dictionary bar and in the article view.
Can be adjusted in Preferences -> Interface -> Context menu dictionaries limit.
By default, it is set to 20.
2013-06-11 20:31:01 +02:00
Tvangeste 7599b8e33e Add "Edit dictionary" and "Open folder" buttons to the Dictionary Info dialog
Note: The "Edit dictionary" is optional an enabled only if the command line
for editor is specified in the config file (manually).
2013-06-11 17:42:24 +02:00
Abs62 9cd0ae5030 Fix open dictionary folder action 2013-06-11 16:52:10 +04:00
Tvangeste ebff287219 Win-specific: Select in Explorer the main dictionary file when opening the dictionary folder 2013-06-11 12:12:47 +02:00