-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
--traditional flag to put trad characters first
The --traditional flag makes traditional characters appear first on "English" and "Pinyin" cards. The "Traditional" card will also appear before the "Simplified" card when studying, and the "Taiwan Pinyin", in the few cases where it's present, will appear before the (mainland) "Pinyin" on all cards. Cards will be counted as pinyin duplicates if either of one card's pronunciations matches either of the other's.
- Loading branch information
1 parent
9961c3d
commit eb45ee4
Showing
4 changed files
with
80 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/sh | ||
set -e | ||
cargo run --release | ||
cargo run --release -- "$@" | ||
echo '{}' > /tmp/media | ||
cd /tmp | ||
zip deck.apkg collection.anki2 media |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/sh | ||
set -e | ||
cargo run --release -- --hanping_words=hanping_words.txt --extra_entries=hanping_extra_entries.txt | ||
cargo run --release -- --hanping_words=hanping_words.txt --extra_entries=hanping_extra_entries.txt "$@" | ||
echo '{}' > /tmp/media | ||
cd /tmp | ||
zip deck.apkg collection.anki2 media |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters