From 79bbde8276984d6038b2d5fc1e91055859a5c7fe Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Mon, 28 Nov 2022 16:34:38 +0100 Subject: [PATCH] MOBILE-4081 core: Translate hard-coded string Co-authored-by: saman222 --- scripts/langindex.json | 1 + .../course/components/module-summary/module-summary.html | 6 ++++-- src/core/features/grades/lang.json | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/langindex.json b/scripts/langindex.json index 6d9c132b6..f3ca9d8c7 100644 --- a/scripts/langindex.json +++ b/scripts/langindex.json @@ -1783,6 +1783,7 @@ "core.grades.manualitem": "grades", "core.grades.nogradesreturned": "grades", "core.grades.nooutcome": "grades", + "core.grades.notgraded": "assign", "core.grades.outcome": "grades", "core.grades.pass": "grades", "core.grades.percentage": "grades", diff --git a/src/core/features/course/components/module-summary/module-summary.html b/src/core/features/course/components/module-summary/module-summary.html index 8c765e04e..49d4aca68 100644 --- a/src/core/features/course/components/module-summary/module-summary.html +++ b/src/core/features/course/components/module-summary/module-summary.html @@ -77,10 +77,12 @@

- {{ 'core.grades.grade' | translate}} + {{ 'core.grades.grade' | translate }}

- Not graded + + {{ 'core.grades.notgraded' | translate }} + diff --git a/src/core/features/grades/lang.json b/src/core/features/grades/lang.json index 456ff43e8..ab8013e76 100644 --- a/src/core/features/grades/lang.json +++ b/src/core/features/grades/lang.json @@ -17,6 +17,7 @@ "manualitem": "Manual item", "nogradesreturned": "No grades returned", "nooutcome": "No outcome", + "notgraded": "Not graded", "outcome": "Outcome", "pass": "Pass", "percentage": "Percentage",