fix /class translation

This commit is contained in:
Thibault Duplessis 2020-02-07 16:49:45 -06:00
parent 27b7675b95
commit dbc0874ad6
3 changed files with 4 additions and 2 deletions

View file

@ -75,7 +75,7 @@ object teacherDashboard {
layout(c, students.filter(_.student.isActive), "archived") {
val archived = students.filter(_.student.isArchived)
if (archived.isEmpty)
p(cls := "box__pad students__empty")(trans.clas.noStudents())
p(cls := "box__pad students__empty")(trans.clas.noRemovedStudents())
else
studentList(c, archived)
}

View file

@ -1220,6 +1220,7 @@ val `realUniqueEmail` = new Translated("realUniqueEmail", Clas)
val `teachers` = new Translated("teachers", Clas)
val `progress` = new Translated("progress", Clas)
val `noStudents` = new Translated("noStudents", Clas)
val `noRemovedStudents` = new Translated("noRemovedStudents", Clas)
val `overDays` = new Translated("overDays", Clas)
val `timePlaying` = new Translated("timePlaying", Clas)
val `variantXOverLastY` = new Translated("variantXOverLastY", Clas)

View file

@ -72,7 +72,8 @@ Password: %2$s
</plurals>
<string name="progress">Progress</string>
<string name="noStudents">No students in the class, yet.</string>
<string name="overDays">"Over days"</string>
<string name="noRemovedStudents">No removed students.</string>
<string name="overDays">Over days</string>
<string name="timePlaying">Time playing</string>
<string name="variantXOverLastY">%1$s over last %2$s</string>
<string name="winrate">Winrate</string>