mirror of https://github.com/cutefishos/calamares
[packagechooser] Use all translations for no-package-selected
- If there is an item with id "" (empty), it is used as the "no-package-selected" placeholder text. - Existing code iterated over the abstract model and used the name and description at the time the model was set -- but by getting the name and description from the model, only a single string was obtained instead of the full range of translations. - Therefore, when arriving on the page, the "no-package-selected" information was displayed from the translation that was active when the model was set. Instead, extend the non-abstract model so we can find the no-package- selected item and pass that explicitly to the page. FIXES #1241main
parent
c2f1070f2a
commit
996714dd06
Loading…
Reference in New Issue