Community
Participate
Working Groups
The patch of externalize strings for org.eclipse.mylyn.bugzilla.ide HEAD
Created attachment 116683 [details] org.eclipse.mylyn.bugzilla.ide.patch
Created attachment 116684 [details] org.eclipse.mylyn.bugzilla-feature.patch
Created attachment 116685 [details] org.eclipse.mylyn.bugzilla.core.patch
Created attachment 116686 [details] org.eclipse.mylyn.bugzilla.ui.patch
Created attachment 116712 [details] org.eclipse.mylyn.bugzilla-feature.patch (again)
Created attachment 116713 [details] org.eclipse.mylyn.bugzilla.core.patch (again)
Created attachment 116714 [details] org.eclipse.mylyn.bugzilla.ide.patch (again)
Created attachment 116715 [details] org.eclipse.mylyn.bugzilla.ui.patch (again)
I have applied the patches for bugzilla-feature and bugzilla.ide. I skipped externalization of some strings in the plugin.xml of bugzilla.ide since they are not dependent on the locale. I am holding off with bugzilla.core and bugzilla.ui for now (see bug 215116 comment 17).
Rob, I'll hand this over to you. Please consider these patches as soon as other outstanding contributions have been merged. Ping me once you are ready to merge and we can go over the string externalization process together.
Patches applied, ip log updated. Thanks Hiroyuki!
There is a problem also in the message text. Example; English: This is BBB in AAA. Japanese: xxxx AAA xxxx BBB xxx. The position of AAA and BBB in the sentence is different according to the language. The message should be buried and be edited when internationalizing it. Do not make the message by the string concatenation when internationalizing it. String word1 = ?BBB?; String word2 = ?AAA?; String message; NG: message = ?This is ? + word1 + ? in ? + word2 + ?.?; OK: Message = MessageFormat.format(?This is {0} in {1}.?, word1, word2);
Created attachment 120562 [details] bugzilla.ui_fixmsg.patch Patch for #12
In org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java "Unable to parse response from " is made externalize. But, the same string of the another code is not made externalize. I think that externalize is unnecessary because it which is text for the exception.
(In reply to comment #13) > Created an attachment (id=120562) > bugzilla.ui_fixmsg.patch > > Patch for #12 Patch applied, ip log updated. (In reply to comment #14) > In > org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java > "Unable to parse response from " is made externalize. > But, the same string of the another code is not made externalize. > I think that externalize is unnecessary because it which is text for the > exception. Fixed.
Marking resolved. Please use bug 258358 to track any remaining nits.