ankitects / ankitects/anki

Type-in-answer preview has hardcoded strings

Open
#3,032 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
30.5k
Forks
3.2k
Avg merge
2d 8h
Merged PRs (30d)
72

Description

As shown in the video below, the type-in-answer preview example strings are hardcoded in English even if the app is in another language:

https://github.com/ankitects/anki/assets/69634269/e524ab51-70b6-4ed4-b4b0-fa3a566c1d1a

Relevant code:

https://github.com/ankitects/anki/blob/d4a52b75480cd69724a8d14c7744b032d91072dd/qt/aqt/clayout.py#L587

Contributor guide

Open the contributing guide

Research direction

Start in qt/aqt/clayout.py at the linked lines and inspect how the type-in-answer preview example strings are selected. Verify the preview while the app uses another language, then confirm that its example strings are no longer fixed to English and display appropriately for the selected language.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop, localization
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.