Skip to content

Commit 39a86e5

Browse files
Plavitkrulis-martin
authored andcommitted
Updated changes based on discussion
1 parent 6ce5bda commit 39a86e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/Assignments/Assignment/AssignmentsTable/AssignmentsTable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class AssignmentsTable extends Component {
163163
{this.state.showAll ? (
164164
<FormattedMessage
165165
id="app.assignments.hidePastAssignments"
166-
defaultMessage="Total {count} {count, plural, one {assignment} other {assignments}} of which the {count, plural, one {deadline has} other {deadlines have}} passed. <a>Hide old assignments.</a>"
166+
defaultMessage="Total {count} {count, plural, one {assignment} other {assignments}} {count, plural, one {is past its} other {are past their}} deadline. <a>Hide old assignments.</a>"
167167
values={{
168168
count: assignmentsPreprocessedAll.length - assignmentsPreprocessedCurrent.length,
169169
a: content => (
@@ -176,7 +176,7 @@ class AssignmentsTable extends Component {
176176
) : (
177177
<FormattedMessage
178178
id="app.assignments.showHiddenPastAssignments"
179-
defaultMessage="There {count, plural, one {is} other {are}} {count} hidden {count, plural, one {assignment} other {assignments}} of which the {count, plural, one {deadline has} other {deadlines have}} passed. <a>Show all.</a>"
179+
defaultMessage="There are {count} hidden {count, plural, one {assignment} other {assignments}} which {count, plural, one {is past its} other {are past their}} deadline. <a>Show all.</a>"
180180
values={{
181181
count: assignmentsPreprocessedAll.length - assignmentsPreprocessedCurrent.length,
182182
a: content => (

src/locales/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,13 @@
139139
"app.assignments.deadline": "Deadline",
140140
"app.assignments.discussionModalTitle": "Public Discussion",
141141
"app.assignments.group": "Assigned in group",
142-
"app.assignments.hidePastAssignments": "Total {count} {count, plural, one {assignment} other {assignments}} of which the {count, plural, one {deadline has} other {deadlines have}} passed. <a>Hide old assignments.</a>",
142+
"app.assignments.hidePastAssignments": "Total {count} {count, plural, one {assignment} other {assignments}} {count, plural, one {is past its} other {are past their}} deadline. <a>Hide old assignments.</a>",
143143
"app.assignments.maxPoints": "Max. Points",
144144
"app.assignments.maxPointsShort": "Max. points",
145145
"app.assignments.name": "Assignment name",
146146
"app.assignments.points": "Points",
147147
"app.assignments.secondDeadline": "Second deadline",
148-
"app.assignments.showHiddenPastAssignments": "There {count, plural, one {is} other {are}} {count} hidden {count, plural, one {assignment} other {assignments}} of which the {count, plural, one {deadline has} other {deadlines have}} passed. <a>Show all.</a>",
148+
"app.assignments.showHiddenPastAssignments": "There {count, plural, one {is} other {are}} {count} hidden {count, plural, one {assignment} other {assignments}} which {count, plural, one {is past its} other {are past their}} deadline. <a>Show all.</a>",
149149
"app.assignmentsTable.noAssignments": "There are no assignments yet.",
150150
"app.assignmentsTable.noAssignmentsInAnyGroup": "This exercise has no assigments in any of the groups you can see.",
151151
"app.assignmentsTableRow.loading": "Loading assignments...",

0 commit comments

Comments
 (0)