Skip to content

Commit

Permalink
Remove quantity="zero" from English strings (#5255)
Browse files Browse the repository at this point in the history
The "zero" quantity is not used in English. This has no effect on the
app, but on translatewiki, where Oppia is localized, it is flagged as an
error by the validator.

Co-authored-by: Adhiambo Peres <[email protected]>
  • Loading branch information
amire80 and adhiamboperes authored Dec 5, 2023
1 parent 5075c54 commit 697aeb2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,10 @@
<plurals name="completed_story_count">
<item quantity="one">1 Story Completed</item>
<item quantity="other">%s Stories Completed</item>
<item quantity="zero">%s Stories Completed</item>
</plurals>
<plurals name="ongoing_topic_count">
<item quantity="one">1 Topic in Progress</item>
<item quantity="other">%s Topics in Progress</item>
<item quantity="zero">%s Topics in Progress</item>
</plurals>
<string name="bar_separator">\u0020|\u0020</string>
<!-- ProfileChooserFragment -->
Expand Down Expand Up @@ -454,7 +452,6 @@
<string name="down_button_disabled">Down</string>
<string name="profile_last_visited">%s %s</string>
<plurals name="minutes_ago">
<item quantity="zero">0 minutes ago</item>
<item quantity="one">a minute ago</item>
<item quantity="other">%s minutes ago</item>
</plurals>
Expand Down

0 comments on commit 697aeb2

Please sign in to comment.