From f25f00a9d10e3e5814c2f0a0a31f3e3b58ac8568 Mon Sep 17 00:00:00 2001 From: William Jordan-Cooley Date: Fri, 18 Oct 2024 10:00:43 -0400 Subject: [PATCH] removing some cases from grammar copy switch --- assets/l10n/intl_en.arb | 12 ++++++------ lib/pangea/utils/get_grammar_copy.dart | 18 ------------------ 2 files changed, 6 insertions(+), 24 deletions(-) diff --git a/assets/l10n/intl_en.arb b/assets/l10n/intl_en.arb index 1c490ae1c..b538b4d49 100644 --- a/assets/l10n/intl_en.arb +++ b/assets/l10n/intl_en.arb @@ -4114,14 +4114,14 @@ "placeholders": {} }, "addChatToSpaceDesc": "Adding a chat to a space will make the chat appear within the space for students and give them access.", - "addSpaceToSpaceDesc": "Adding a sub space to space will make the sub space appear in the main space's chat list.", + "addSpaceToSpaceDesc": "Adding a sub space to space will make the sub space appear in the main space''s chat list.", "spaceAnalytics": "Space Analytics", "changeAnalyticsLanguage": "Change Analytics Language", "suggestToSpace": "Suggest this space", - "suggestToSpaceDesc": "Suggested sub spaces will appear in their main space's chat list", + "suggestToSpaceDesc": "Suggested sub spaces will appear in their main space''s chat list", "practice": "Practice", "noLanguagesSet": "No languages set", - "noActivitiesFound": "That's enough on this for now! Come back later for more.", + "noActivitiesFound": "That''s enough on this for now! Come back later for more.", "hintTitle": "Hint:", "speechToTextBody": "See how well you did by looking at your Accuracy and Words Per Minute scores", "previous": "Previous", @@ -4225,14 +4225,14 @@ "discoverHomeservers": "Discover homeservers", "whatIsAHomeserver": "What is a homeserver?", "homeserverDescription": "All your data is stored on the homeserver, just like an email provider. You can choose which homeserver you want to use, while you can still communicate with everyone. Learn more at at https://matrix.org.", - "doesNotSeemToBeAValidHomeserver": "Doesn't seem to be a compatible homeserver. Wrong URL?", + "doesNotSeemToBeAValidHomeserver": "Doesn''t seem to be a compatible homeserver. Wrong URL?", "grammar": "Grammar", "contactHasBeenInvitedToTheChat": "Contact has been invited to the chat", "inviteChat": "📨 Invite chat", "chatName": "Chat name", "reportContentIssueTitle": "Report content issue", "feedback": "Optional feedback", - "reportContentIssueDescription": "Uh oh! AI can faciliate personalized learning experiences but... also hallucinates. Please provide any feedback you have and we'll try again.", + "reportContentIssueDescription": "Uh oh! AI can faciliate personalized learning experiences but... also hallucinates. Please provide any feedback you have and we''ll try again.", "clickTheWordAgainToDeselect": "Click the selected word to deselect it.", "l2SupportNa": "Not Available", "l2SupportAlpha": "Alpha", @@ -4351,7 +4351,7 @@ "grammarCopyNumber": "Number", "grammarCopyConjType": "Conjunction Type", "grammarCopyPolarity": "Polarity", - "grammarCopyNumberPsor": "Possessor's Number", + "grammarCopyNumberPsor": "Possessor''s Number", "grammarCopyCase": "Case", "grammarCopyDefinite": "Definiteness", "grammarCopyNumForm": "Numeral Form", diff --git a/lib/pangea/utils/get_grammar_copy.dart b/lib/pangea/utils/get_grammar_copy.dart index 69b06b177..31a907c36 100644 --- a/lib/pangea/utils/get_grammar_copy.dart +++ b/lib/pangea/utils/get_grammar_copy.dart @@ -61,18 +61,12 @@ String getGrammarCopy(String tag, BuildContext context) { return L10n.of(context)!.grammarCopyObl; case 'Act': return L10n.of(context)!.grammarCopyAct; - case 'Tense_unknown': - return L10n.of(context)!.grammarCopyTense_unknown; case 'Brck': return L10n.of(context)!.grammarCopyBrck; - case 'Aspect_unknown': - return L10n.of(context)!.grammarCopyAspect_unknown; case 'Art': return L10n.of(context)!.grammarCopyArt; case 'Sing': return L10n.of(context)!.grammarCopySing; - case 'Mood_unknown': - return L10n.of(context)!.grammarCopyMood_unknown; case 'Masc': return L10n.of(context)!.grammarCopyMasc; case 'Mod': @@ -103,8 +97,6 @@ String getGrammarCopy(String tag, BuildContext context) { return L10n.of(context)!.grammarCopyIntRel; case 'Acc': return L10n.of(context)!.grammarCopyAcc; - case 'Voice_unknown': - return L10n.of(context)!.grammarCopyVoice_unknown; case 'Part': return L10n.of(context)! .grammarCopyPartTag; // To avoid conflict with 'PART' POS @@ -128,14 +120,10 @@ String getGrammarCopy(String tag, BuildContext context) { return L10n.of(context)!.grammarCopyInfm; case 'Tim': return L10n.of(context)!.grammarCopyTim; - case 'Person_unknown': - return L10n.of(context)!.grammarCopyPerson_unknown; case 'Neg': return L10n.of(context)!.grammarCopyNeg; case 'Tot': return L10n.of(context)!.grammarCopyTot; - case 'Case_unknown': - return L10n.of(context)!.grammarCopyCase_unknown; case 'Adnomial': return L10n.of(context)!.grammarCopyAdnomial; case 'Prog': @@ -164,8 +152,6 @@ String getGrammarCopy(String tag, BuildContext context) { return L10n.of(context)!.grammarCopyPre; case 'Fin': return L10n.of(context)!.grammarCopyFin; - case 'Gender_unknown': - return L10n.of(context)!.grammarCopyGender_unknown; case 'Pos': return L10n.of(context)!.grammarCopyPos; case 'Quot': @@ -176,8 +162,6 @@ String getGrammarCopy(String tag, BuildContext context) { return L10n.of(context)!.grammarCopyPass; case 'Gen': return L10n.of(context)!.grammarCopyGen; - case 'Number_unknown': - return L10n.of(context)!.grammarCopyNumber_unknown; case 'Prs': return L10n.of(context)!.grammarCopyPrs; case 'Def': @@ -204,8 +188,6 @@ String getGrammarCopy(String tag, BuildContext context) { return L10n.of(context)!.grammarCopy1; case 'Ini': return L10n.of(context)!.grammarCopyIni; - case 'Form_unknown': - return L10n.of(context)!.grammarCopyForm_unknown; case 'Person': return L10n.of(context)!.grammarCopyPerson; case 'Foreign':