[NoQA] Add punctuation to error messages where they are missing#14280
Conversation
|
@mollfpr @youssef-lr One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
Unassigning @mollfpr as this is super simple PR and it does not need a C+ review. @youssef-lr would you be able to fill out the reviewer checklist please? This is noQA and I have tested as you can see in the screenshots so we should be good here! Thank you! |
| @@ -123,7 +123,7 @@ export default { | |||
| attachmentTooLarge: 'Attachment too large', | |||
| sizeExceeded: 'Attachment size is larger than 24 MB limit.', | |||
| attachmentTooSmall: 'Attachment too small', | |||
There was a problem hiding this comment.
I figure we should do the same for the rest as well?
There was a problem hiding this comment.
@youssef-lr I checked those as well but they are used in a title, not in a modal/error body
App/src/components/AttachmentModal.js
Line 169 in aff83ef
App/src/components/AttachmentModal.js
Line 178 in aff83ef
We dont want dot there.
|
Thanks @youssef-lr I think those are not applicable, but there could be more, I was not completely sure, I think we can adjust them as we go if there will be more of these issues, havent seen others. |
|
Reviewer Checklist
Screenshots/Videos |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/youssef-lr in version: 1.2.57-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.2.57-3 🚀
|





Details
Fixing couple of inconsistencies in the error messages and their punctuation.
Fixed Issues
$ #14200
Tests
Just adding a dot to some error messages.
You can test one of the messages by using this image

Offline tests
N/A
QA Steps
N/A
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android