Damien Elmes
07987dbe36
"Added" should be translatable
2012-04-21 00:25:44 +09:00
Damien Elmes
21d60086a8
don't allow final template to be deleted in empty note type
2012-04-20 22:37:20 +09:00
Damien Elmes
9fc21a61dc
inline exceptions
2012-04-20 03:19:47 +09:00
Damien Elmes
e3a59f8cf7
add simple debug console
2012-04-20 03:05:59 +09:00
Damien Elmes
ff6abe2b9d
strip reviewing card info into separate add-on
2012-04-20 02:16:21 +09:00
Damien Elmes
04cf8e9eb9
remove delete media option from prefs; too niche
2012-04-19 22:09:25 +09:00
Damien Elmes
ec16718584
don't throw error when preferences accessed via profiles screen
2012-04-19 20:38:11 +09:00
Damien Elmes
6f6378db4e
bump version
2012-04-19 11:18:45 +09:00
Damien Elmes
c60a6560c1
split empty card removal into separate diag
2012-04-19 11:14:36 +09:00
Damien Elmes
fd2851ac1e
show ordinal in cloze template name
2012-04-19 11:14:14 +09:00
Damien Elmes
91e59dc35b
don't show tab add/close buttons in cloze model
2012-04-19 10:19:16 +09:00
Damien Elmes
b91b5babe2
don't show schema msg in deck upgrades
2012-04-19 08:16:02 +09:00
Damien Elmes
e2ed5b54c8
add home+end shortcuts
2012-04-19 07:12:20 +09:00
Damien Elmes
0a0190103f
shortcuts should be uppercase
2012-04-19 06:29:14 +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
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
Damien Elmes
c8ef15c3d0
subtle lines in deck browser
2012-04-10 12:38:57 +09:00
Damien Elmes
cb56df2dab
new clear formatting icon
2012-04-09 14:50:15 +09:00
Damien Elmes
320f5222be
increase timebox tooltip to 5 secs
2012-04-09 10:50:02 +09:00
Damien Elmes
4948687f05
hide the bottom bar when 'close to resume' is shown
2012-04-08 21:45:19 +09:00
Damien Elmes
088717e760
fix appending of search terms
2012-04-08 21:32:56 +09:00
Damien Elmes
9ed0535a8b
set focus when adding/editing current
2012-04-08 20:08:00 +09:00
Damien Elmes
af7d813a2a
show js errors in terminal when running from src
2012-04-08 20:06:44 +09:00
Damien Elmes
3cbced94db
fix browser bug due to filter change
2012-04-08 20:06:07 +09:00
Damien Elmes
e81cfc616f
focus lost hook needs to be a filter
2012-04-08 19:41:30 +09:00
Damien Elmes
4bbd644e0a
use stdHtml in preview
2012-04-08 13:29:55 +09:00
Damien Elmes
cd4b1e894e
focus elements on drag over so dropped images are saved
2012-04-07 21:43:47 +09:00
Damien Elmes
93118b2710
work around shift triggering buttons on win32
2012-04-07 21:23:51 +09:00
Damien Elmes
dc3ef60c75
ignore image drag if qt doesn't provide html for it
2012-04-07 18:41:29 +09:00
Damien Elmes
8a2ca46a7a
remove debugging
2012-04-07 18:21:03 +09:00
Damien Elmes
17a80e13c0
do it twice to prevent flicker
2012-04-07 18:05:31 +09:00
Damien Elmes
3828c43cd8
add the timeout back in for older qt versions
2012-04-07 18:01:03 +09:00
Damien Elmes
8f9a20c5a5
fix 'null' error when closing browser etc
2012-04-07 17:11:32 +09:00
Damien Elmes
d97c5f615f
bump version
2012-04-07 16:37:51 +09:00
Damien Elmes
d1507d5b63
click in middle of field doesn't scroll to end now
2012-04-07 16:36:47 +09:00
Damien Elmes
0e580a04d8
remove buggy ondragover handler
...
It was originally added to prevent text from being dropped outside the
editable areas, but I'm no longer able to reproduce the original problem.
2012-04-07 15:30:37 +09:00
Damien Elmes
cc606e180e
ntype -> note
2012-04-07 13:54:35 +09:00
Damien Elmes
5ba108b53b
make sure we can write the deck, so we can warn w/ apkg too
2012-04-06 19:29:00 +09:00
Damien Elmes
e89ccaa18b
add a more friendly error when saving to read-only dir
2012-04-06 19:21:57 +09:00
Damien Elmes
c21c9ab8c3
catch missing pyaudio
2012-04-06 19:04:02 +09:00
Damien Elmes
a3a4f9772a
make sure answer area focused when typing answer
2012-04-06 18:47:18 +09:00
Damien Elmes
8dbfd676ef
escape HTML in type in the answer
2012-04-06 18:45:31 +09:00
Damien Elmes
21464720d5
add tooltip to foreground colour
2012-04-06 17:00:53 +09:00
Damien Elmes
2107c1a9c0
when user tries to cloze a normal note type, show help
2012-04-06 16:56:36 +09:00
Damien Elmes
a9a0b1752d
consistent nomenclature
2012-04-06 16:36:47 +09:00
Damien Elmes
f793b8a695
switch to a combobox for the search, at least for now
2012-04-06 14:08:58 +09:00
Damien Elmes
3fd1cf0158
check the first field is mapped
2012-04-06 13:34:21 +09:00
Damien Elmes
a09cd3f7a0
prefer clipboard image over url
2012-04-06 13:22:25 +09:00
Damien Elmes
a1ef0c2d73
add option to cram current deck
2012-04-06 12:04:34 +09:00
Damien Elmes
56b89fdc91
allow the user to cancel creation/editing of cram deck
2012-04-06 11:55:01 +09:00
Damien Elmes
314ec1957a
add close to add models
2012-04-06 10:56:52 +09:00
Damien Elmes
9db9ed4ad5
make sure to update card count on empty search result
2012-04-06 10:49:44 +09:00
Damien Elmes
4c3008e25c
don't error when an image is dropped on itself
2012-04-06 07:36:48 +09:00
Damien Elmes
88cf743c8a
make sure to catch unknown errors during sync
2012-04-06 05:25:31 +09:00