Community
Participate
Working Groups
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 Build Identifier: I20091110-0800 In strings use the name/label when there is just one element/thing e.g. "Move method 'foo()' to X" instead of "Move method to X" See Bug 266094 Reproducible: Always
The intent is not to fix it all over the place but makes sure that the changes we made recently are following that pattern.
Created attachment 157094 [details] fix Updated 15 strings. Also, I noticed now that I had made a mistake in patch for bug 266094 in ReorgPolicyFactory.java. The singular strings were something like "Move source folder to ''{1}''" (there was no {0}), and I was not passing any parameters for even {1}. Fixed these problems in this patch.
>Also, I noticed now that I had made a mistake in patch for bug 266094 Good catch! For the changes in ui refactoring/org/eclipse/jdt/internal/ui/refactoring I don't like that you removed and count/length variables and instead use 'lenght' twice. Please leave those as is (but use the new local variable that holds the elements). Committed the other changes of the patch to HEAD with two little changes: NewSourceFolderWizardPage - instead of using toArray() I used iterator().next() - remove makeRelative().toString() as this is not needed
Created attachment 158045 [details] reworked patch
Committed reworked patch to HEAD. Available in builds > N20100202-2000.