diff --git a/assets/l10n/intl_en.arb b/assets/l10n/intl_en.arb index 4b74b6c89..a56697679 100644 --- a/assets/l10n/intl_en.arb +++ b/assets/l10n/intl_en.arb @@ -4663,11 +4663,11 @@ "chooseBaseForm": "Choose the base form", "notTheCodeError": "Sorry, that's not the code!", "totalXP": "Total XP", - "numLemmas": "Number of lemmas", + "numLemmas": "Total number of lemmas", "listOfLemmas": "List of lemmas", "numLemmasUsedCorrectly": "Number of lemmas used correctly at least once", "listLemmasUsedCorrectly": "List of lemmas used correctly at least once", - "numLemmasUsedIncorrectly": "Number of lemmas used incorrectly at least once", + "numLemmasUsedIncorrectly": "Number of lemmas used correctly 0 times", "listLemmasUsedIncorrectly": "Number of lemmas used correctly 0 times", "numLemmasSmallXP": "Number of lemmas with 0 - 30 XP", "numLemmasMediumXP": "Number of lemmas with 31 - 200 XP", @@ -4676,16 +4676,15 @@ "listLemmasMediumXP": "List of lemmas with 31 - 200 XP", "listLemmasLargeXP": "List of lemmas with > 200 XP", "numGrammarConcepts": "Number of grammar concepts", - "listGrammarConcepts": "List of grammar concepts", - "listGrammarConceptsUsedCorrectly": "List of grammar concepts used correctly in original messages at least 80% of the time", - "listGrammarConceptsUsedIncorrectly": "List of grammar concepts used correctly in original messages less than 80% of the time", - "listGrammarConceptsUseCorrectlySystemGenerated": "List of grammar concepts chosen correctly from system-generated suggestions at least 80% of the time", - "listGrammarConceptsUseIncorrectlySystemGenerated": "List of grammar concepts chosen correctly from system-generated suggestions less than 80% of the time", - "incorrectGrammarConceptsUseCases": "Use cases of grammar concepts used incorrectly", - "listGrammarConceptsSmallXP": "List of grammar concepts with 0 - 30 XP", - "listGrammarConceptsMediumXP": "List of grammar concepts with 31 - 200 XP", - "listGrammarConceptsLargeXP": "List of grammar concepts with 201 - 500 XP", - "listGrammarConceptsHugeXP": "List of grammar concepts with > 500 XP", + "listGrammarConcepts": "Grammar concepts", + "listGrammarConceptsUsedCorrectly": "Grammar concepts used correctly in original messages at least 80% of the time", + "listGrammarConceptsUsedIncorrectly": "Grammar concepts used correctly in original messages less than 80% of the time", + "listGrammarConceptsUseCorrectlySystemGenerated": "Grammar concepts chosen correctly from system-generated suggestions at least 80% of the time", + "listGrammarConceptsUseIncorrectlySystemGenerated": "Grammar concepts chosen correctly from system-generated suggestions less than 80% of the time", + "listGrammarConceptsSmallXP": "Grammar concepts with 0-50 xp", + "listGrammarConceptsMediumXP": "Grammar concepts with 51-200 xp", + "listGrammarConceptsLargeXP": "Grammar concepts 201-500 xp", + "listGrammarConceptsHugeXP": "Grammar concepts >500 xp", "numMessagesSent": "Number of messages sent", "numWordsTyped": "Number of words typed in original messages", "numCorrectChoices": "Number of correct words chosen from system-generated suggestions", diff --git a/lib/pangea/enum/analytics/analytics_summary_enum.dart b/lib/pangea/enum/analytics/analytics_summary_enum.dart index dfb19742b..4e32161c5 100644 --- a/lib/pangea/enum/analytics/analytics_summary_enum.dart +++ b/lib/pangea/enum/analytics/analytics_summary_enum.dart @@ -5,6 +5,12 @@ enum AnalyticsSummaryEnum { dataAvailable, level, totalXP, + + numMessagesSent, + numWordsTyped, + numChoicesCorrect, + numChoicesIncorrect, + numLemmas, numLemmasUsedCorrectly, numLemmasUsedIncorrectly, @@ -36,11 +42,6 @@ enum AnalyticsSummaryEnum { // list morph > 500 XP listMorphHugeXP, - - numMessagesSent, - numWordsTyped, - numChoicesCorrect, - numChoicesIncorrect, } extension AnalyticsSummaryEnumExtension on AnalyticsSummaryEnum { diff --git a/lib/pangea/models/analytics/analytics_summary_model.dart b/lib/pangea/models/analytics/analytics_summary_model.dart index e20bfd627..421f45c16 100644 --- a/lib/pangea/models/analytics/analytics_summary_model.dart +++ b/lib/pangea/models/analytics/analytics_summary_model.dart @@ -184,11 +184,11 @@ class AnalyticsSummaryModel { listMorphConstructsUsedIncorrectlySystem: incorrectSystemUseLemmas, listMorphSmallXP: morphLemmas?.thresholdedLemmas( start: 0, - end: 30, + end: 50, getCopy: getCopy, ), listMorphMediumXP: morphLemmas?.thresholdedLemmas( - start: 31, + start: 51, end: 200, getCopy: getCopy, ),