Issue/13326 pluralisation of strings based on threats count#14021
Issue/13326 pluralisation of strings based on threats count#14021
Conversation
|
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
|
You can test the changes on this Pull Request by downloading the APK here. |
b3dc786 to
5154eae
Compare
|
Thanks for working on this ;)! I haven't done a full review yet, but it looks great.
I can't think of a better approach. One thing we might want to consider is using "_singular/_plural" suffixes instead of using eg. "threat vs threats". I noticed that we use these suffixes in some other strings. If the approach you used is used somewhere as well, feel free to ignore this comment.
I don't think that's necessary. Unless it takes just a few minutes, I wouldn't write them. |
|
Thanks @malinajirka!
Done in 866f9bb. Marked it ready for review now. |
malinajirka
left a comment
There was a problem hiding this comment.
Thanks, LGTM ;)! Feel free to merge it when the conflict is resolved.
# Conflicts: # WordPress/src/test/java/org/wordpress/android/ui/jetpack/scan/builders/ScanStateListItemsBuilderTest.kt
Parent #13326
This PR
Does not make any changes to below messages:
p1612896373162300-slack-C0180B5PRJ4)Notes
Due to translation issues with using quantity plurals, I just duplicated messages in the
strings.xml. Let me know if you have a better suggestion.Should we create separate tests for singular/ plural message resources? I started adding here but wasn't sure if it's that important.
PR submission checklist:
RELEASE-NOTES.txtif necessary.