anki/ftl
Damien Elmes f6486da233
Various tweaks to I/O code (#2478)
* Allow user to select I/O notetype instead of enforcing a specific name

* Display a clearer error when I/O note is missing an image

Opening the card layout screen from "manage notetypes" was showing an
error about the Anki version being too old.

Replacement error is not currently translatable.

* Preserve existing notetype when adding I/O notetype

* Add a 'from clipboard' string

The intention is to use this in the future to allow an image occlusion
to be created from an image on the clipboard.

* Tweak I/O init

- Use union type instead of multiple nullable values
- Pass the notetype id in to initialization

* Fix image insertion in I/O note

- The regex expected double quotes, and we were using single ones
- Image tags don't need to be closed

* Use more consistent naming in image_occlusion.proto

* Tweaks to default I/O notetype

- Show the header on the front side as well (I presume this is what
users expect; if not am happy to revert)
- Don't show comments on card (again, I presume users expect to use
this field to add notes that aren't displayed during review, as they
can use back extra for that)

* Fix sticky footer missing background

Caused by earlier CSS refactoring
2023-04-19 15:30:18 +10:00
..
core Various tweaks to I/O code (#2478) 2023-04-19 15:30:18 +10:00
core-repo@a0ee0c497f Update translations 2023-04-18 14:12:07 +10:00
qt Implement TTS using windows crate (#2371) 2023-02-17 12:26:07 +10:00
qt-repo@57d740c2b3 Update translations 2023-04-18 14:12:07 +10:00
usage Add Rust bin to deprecate unused ftl entries (#2364) 2023-02-07 11:56:14 +10:00
.gitignore Add Rust bin to deprecate unused ftl entries (#2364) 2023-02-07 11:56:14 +10:00
Cargo.toml Update Rust deps 2023-03-31 14:38:24 +10:00
duplicate-string.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
extract-strings.py Use type narrowing for extract-strings and transform-string 2023-03-31 14:02:50 +10:00
format_check.py run black/isort on Python scripts 2021-04-14 18:22:02 +10:00
format.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
README.md fix documentation links 2021-06-03 16:51:03 +10:00
remove-unused.sh Don't store used FTL keys in git 2022-04-09 12:38:54 +10:00
sync.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
transform-string.py Use type narrowing for extract-strings and transform-string 2023-03-31 14:02:50 +10:00
update-ankidroid-usage.sh Add Rust bin to deprecate unused ftl entries (#2364) 2023-02-07 11:56:14 +10:00
update-ankimobile-usage.sh Add Rust bin to deprecate unused ftl entries (#2364) 2023-02-07 11:56:14 +10:00

Files related to Anki's translations.

Please see https://translating.ankiweb.net/anki/developers