-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use quotes on project name #1600 #1601
Conversation
Also fix 2 additional properties ending in blanks. One can be removed, the other should be trimmed and the blank be added in code.
5b0c33b
to
3bb89ee
Compare
org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/messages.properties
Show resolved
Hide resolved
@Bananeweizen can you explain why the quotes are required? |
@laeubi an example is visible in the linked issue: #1600. project names with blanks are hard to read in the unquoted version. And quotes are used in many of the other m2e progress messages anyway. @HannesWell The properties are used in NLS, which in turn uses MessageFormat. And that uses single quote ranges for escaped text:
https://docs.oracle.com/javase/8/docs/api/java/text/MessageFormat.html |
I'm not sure if the quotes make things better readable, maybe we should improve the message itself to be more expressive? |
Well, I'm sure that the quotes make the message more readable. :) No need to extend the message, especially because that is only the detail progress message (the lower part of the progress bar), the "what" is in the upper part of the progress bar anyway. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, I'm sure that the quotes make the message more readable. :) No need to extend the message, especially because that is only the detail progress message (the lower part of the progress bar), the "what" is in the upper part of the progress bar anyway.
I share this assessment.
LGTM.
Thanks Michael. |
Also fix 2 additional properties ending in blanks. One can be removed, the other should be trimmed and the blank be added in code.
Looks like this after the change: