While working on my multiorg page, I realized we have a lot of duplicate strings in the resource bundles. Some of it can be mitigated by using a convention for buttons, list columns, nav, etc.
For example, instead of doing something like this: mynewpage.jsp.confirm for a Confirm button, let's use button.confirm. That way ANY confirmation page can use the same string. Likewise, with the list tags. Most of the column names are duplicated. Take for instance "Organization". Instead of doing mynewpage.jsp.organization let's do this for all columns: column.organization. This will remove a lot of duplicated strings that eventually need to get translated, as well as create a more consistent feel for writing pages. This doesn't mean you can't create an exception to this rule where you might need something different than the standard button* or column* entries. I'll try to write a script to analyze the StringResource bundles. There are probably other common widget strings we can merge into a few strings resources. What do you guys think about this? Any issues you see, aside from having to change all of the existing pages (which will be done by a script - of course) :). Sincerely, jesus _______________________________________________ Spacewalk-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-devel
