Commit graph

2517 commits

Author SHA1 Message Date
Damien Elmes
bef0efd22a fix default split in browser 2012-04-19 06:24:27 +09:00
Damien Elmes
43880409f3 better fix for html in type answer
- compare in txt mode so things like < are treated as a single char
- escape text just before applying styles
2012-04-19 06:12:29 +09:00
Damien Elmes
23609c1175 Revert "escape HTML in type in the answer"
This reverts commit 8dbfd676ef.
2012-04-19 05:59:27 +09:00
Damien Elmes
c0de34120f add debugging shortcut 2012-04-19 05:52:49 +09:00
Damien Elmes
9628a83fe8 make sure completer is hidden when closing add tags diag 2012-04-19 03:47:45 +09:00
Damien Elmes
ee63a02936 hide the deck/tag completer on focus change 2012-04-19 03:45:48 +09:00
Damien Elmes
d6a949bc49 revert deck combobox change
This commit reverts c1a16452d6
2012-04-19 03:44:02 +09:00
Damien Elmes
2ab4667a73 translatable ankiweb signup page 2012-04-18 04:01:33 +09:00
Damien Elmes
d919615475 refactor language handling
Because Qt translations need to be initialized before any widgets are created,
and because the Qt language needs to match the gettext language in order for
translated shortcuts to work, per-profile language settings aren't possible.
So instead of storing the language in the profile, we use
pm.meta['defaultLang'] for all profiles and initialize language handling in
__init__.py

The language selection in the preferences has been removed, because in a
school setting a student fiddling with the language could potentially cause
other students to be unable to navigate the UI. Instead, Anki will accept
-l/--lang passed on the command line to override the original language chosen
at first program startup.
2012-04-18 03:06:56 +09:00
Damien Elmes
dbc004e0ef show # of empty cards to be deleted 2012-04-18 02:06:41 +09:00
Damien Elmes
7d5d81f79c use the default deck if model did invalid 2012-04-18 02:05:06 +09:00
Damien Elmes
df6f79fcc3 bundle qt translations 2012-04-18 01:04:07 +09:00
Damien Elmes
d469428471 add jump to deck feature 2012-04-17 23:48:47 +09:00
Damien Elmes
aa45dd6031 support 2 buttons for one step lapse 2012-04-17 23:06:32 +09:00
Damien Elmes
a52bb91007 use static width for due/new counts in deck browser 2012-04-17 22:27:01 +09:00
Damien Elmes
04ca160b5f if card is deleted while editing current, fetch next 2012-04-17 22:09:58 +09:00
Damien Elmes
2253b879de if check db passes, show in tooltip 2012-04-17 20:16:31 +09:00
Damien Elmes
8e3093005e make leech msg translatable 2012-04-17 20:13:13 +09:00
Damien Elmes
1510584cdd fix translations in about diag; add more contributors 2012-04-17 20:02:46 +09:00
Damien Elmes
0734c062c5 tooltip to + in clayout 2012-04-17 19:51:13 +09:00
Damien Elmes
3f080b3871 allow user to hit enter to show current deck 2012-04-17 19:48:25 +09:00
Damien Elmes
33d2da33c0 show the browser after initial search to prevent flicker 2012-04-17 19:41:21 +09:00
Damien Elmes
dd57ed693f work around race condition in edit current close 2012-04-17 19:37:48 +09:00
Damien Elmes
16ae17038e fix show duplicates and history buttons 2012-04-17 19:32:44 +09:00
Damien Elmes
b57b2aa66a tooltips for cram/options 2012-04-17 19:30:26 +09:00
Damien Elmes
e639d3c227 show current card while reviewing, and hint otherwise 2012-04-17 19:21:55 +09:00
Damien Elmes
69569134b7 new deck button 2012-04-17 18:17:56 +09:00
Damien Elmes
106ff34afc make top bar translatable 2012-04-17 17:43:02 +09:00
Damien Elmes
0f483a6f59 use global language for profile manager 2012-04-17 17:41:13 +09:00
Damien Elmes
d6145b5cec fix error when pressing keys on resetRequired screen 2012-04-16 23:34:36 +09:00
Damien Elmes
1c9fe166af add select all shortcut 2012-04-16 23:29:39 +09:00
Damien Elmes
1c487a7587 tweak delete deck msg 2012-04-16 23:28:18 +09:00
Damien Elmes
b9eb89d270 add confirmation to full sync 2012-04-16 23:20:19 +09:00
Damien Elmes
8355a553fa url encode images in editor to fix foreign chars in images on linux 2012-04-15 14:27:00 +09:00
Damien Elmes
07a1a49c8d make it easier to adjust buttons in addon 2012-04-13 12:09:07 +09:00
Damien Elmes
7fca98092c add option to force full sync 2012-04-12 19:01:45 +09:00
Damien Elmes
be35f33301 bump version 2012-04-12 00:57:55 +09:00
Damien Elmes
f9fb60aea1 disable completer in browser; open without search 2012-04-12 00:45:37 +09:00
Damien Elmes
402b24fbf6 fix for win32 and osx aqt translations 2012-04-11 22:53:42 +09:00
Damien Elmes
770036020a filter implicit html on field save; set color with wrap()
- using setFormat() to set the colour results in the text being marked as
  implicitly coloured, so we wrap() instead
2012-04-11 22:18:47 +09:00
Damien Elmes
cd1c958230 remove initial factor from new conf 2012-04-11 21:34:02 +09:00
Damien Elmes
dc65441623 shortcuts for cramming and options 2012-04-11 21:29:35 +09:00
Damien Elmes
05684b5575 option to edit current card's config 2012-04-11 20:59:03 +09:00
Damien Elmes
c1a16452d6 use combobox for deck in add notes diag 2012-04-11 20:44:11 +09:00
Damien Elmes
fe8d28c3eb stop audio in deck browser, card layout and overview 2012-04-11 20:19:39 +09:00
Damien Elmes
e9ea56f931 make editor shortcuts translatable 2012-04-11 19:41:08 +09:00
Damien Elmes
9a7f9525ae app-modal edit as a test for mesqueeb's bug 2012-04-11 19:37:20 +09:00
Damien Elmes
7d476586f7 make sure to display current card in preview, not last 2012-04-11 19:22:21 +09:00
Damien Elmes
8de899c3f7 save and restore selection when setting colour 2012-04-11 18:37:07 +09:00
Damien Elmes
79e3984a7a revamped addon downloading 2012-04-10 16:31:45 +09:00