| Summary: | Crash when running ‘Enrich your vocabulary’ in Norwegian Nynorsk locale | ||
|---|---|---|---|
| Product: | [Applications] gcompris | Reporter: | Karl Ove Hufthammer <karl> |
| Component: | general | Assignee: | Jazeix Johnny <jazeix> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/education/gcompris/commit/32994a47f16a9fed864de375a264cddfd96edd9a | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Karl Ove Hufthammer
2021-04-21 18:13:50 UTC
I can't reproduce the crash in my system (Qt5.15.2 too) but I have this warning appearing in the console: <Unknown File>: translatedTxt is undefined. Adding an object with a undefined member does not create a role for it. Anyway, this is probably due because some categories (kroppsdelar, ...) are not translated at all. We already did a fix but it seems it is not enough. Also, click on them throw an error (qrc:/gcompris/src/activities/lang/lang.js:134: TypeError: Cannot read property 'length' of undefined) Git commit 1df4c4867ad842eec93ed3c17e8beb5d9540d089 by Johnny Jazeix. Committed on 21/04/2021 at 19:16. Pushed by jjazeix into branch 'KDE/1.0'. lang, remove nn language as it is not enough translated. Some categories are fully missing causing crashes on some distributions D +0 -200 src/activities/lang/resource/content-nn.json https://invent.kde.org/education/gcompris/commit/1df4c4867ad842eec93ed3c17e8beb5d9540d089 Git commit 32994a47f16a9fed864de375a264cddfd96edd9a by Johnny Jazeix. Committed on 21/04/2021 at 19:17. Pushed by jjazeix into branch 'master'. lang, remove nn language as it is not enough translated. Some categories are fully missing causing crashes on some distributions D +0 -200 src/activities/lang/resource/content-nn.json https://invent.kde.org/education/gcompris/commit/32994a47f16a9fed864de375a264cddfd96edd9a It was a regression in Qt with recent versions that I didn't manage to fix. Having fully missing categories caused a crash. We decided to only ship translation above 40% for the gcompris_lang.po file and nn was 18% so it should not have been generated. |