Another tweak to the Eclipse Resource Bundle Plugin preferences...
PLEASE ensure you have the recommended settings before working with the
Eclipse plugin. See
http://rhq-project.org/display/RHQ/Working+with+the+Resource+Bundles.
The change:
Formatting (ResourceBundle Editor -> Formatting)
* Check "At least one space each side of equal signs"
* IMPORTANT! *UNCHECK* all others
o NOTE! Before unchecking "Group Keys" make sure the "Align
equals signs within groups" is also unchecked. To do this
you may need to temporarily check "Align Equal Signs".
Also, for Eclipse users on Windows:
*Windows users must ensure UNIX line terminators*
On Windows you may find that the plugin will always leave the resource
bundle files with Windows style line termination. DO NOT COMMIT files
with this format! (Note - Git will show you that every line has changed
in the diff. If you see a 100% diff then ensure you change the file
format. You should only see the proper diff lines prior to committing.)
To easily change the line terminators:
1. Select all of the resource bundle property files in the navigator
view.
2. Click File->Convert Line Delimiters To->Unix.
On 6/7/2011 5:39 PM, Jay Shaughnessy wrote:
Two more things:
1) The resource bundles were still not quite properly normalized.
please ensure you're using the versions from master commit
ea15f1e017b74429383298d5a25150357bc263f3
before making any further changes. This should help with getting succinct
commit diffs.
2) One more tweak to the plugin config. To avoid converting \uXXXX
characters to native unicode on save (in essence, leaving the files in
their original format), you must:
UNCHECK the option: "Convert \uXXXX values to unicode when reading
from properties file."
On 6/6/2011 2:17 PM, Jay Shaughnessy wrote:
> I18N devs, please see the updated wiki page before doing further work on
> the resource bundles:
>
>
http://rhq-project.org/display/RHQ/Working+with+the+Resource+Bundles
>
> In response to issues in the JA and DE locale files, as a result of my
> work using the Eclipse plugin, there are a couple of important updates:
>
> 1) The resource bundles should be UTF-8 encoded.
>
> I've updated the eclipse prefs in git for these files. IJ users may
> need to do something analogous.
>
> 2) Eclipse plugin users MUST change a few Resource Bundle plugin
> configuration settings.
>
> Please see the Eclipse section of the wiki and update accordingly.
>
>
> Hopefully we're good to go, but please let me know if you see any
> problems. Git has been updated with new versions of all resource bundles.
>
> Jay
>
> _______________________________________________
> rhq-devel mailing list
> rhq-devel(a)lists.fedorahosted.org
>
https://fedorahosted.org/mailman/listinfo/rhq-devel
>
_______________________________________________
rhq-devel mailing list
rhq-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/rhq-devel