Community
Participate
Working Groups
This question came from the translation team. >File >eclipse\plugins\org.eclipse.cdt.core\cdtcore_jar\org\eclipse\cdt\internal\core\model\CoreModelMessages.properties >Can you please clarify these strings? The end of the string seems to be missing. >Are they to be combined with some other string? > >PathEntryManager.1=Workspace include path in accessible >PathEntryManager.7=Workspace library path in accessible There are 2 problems here. "in accessible" should be "inaccessible." and it should not be concatentated in pathEntryUtil.java. There are several occurrences of concatenation in the file, here is one instance: CoreModelMessages.getString("PathEntryManager.7") + " (" + libraryPath.toOSString() + ")"); //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$ Use MessageFormat instead, and externalize the brackets especially for Arabic translation. Eg: Change the getString call to getFormattedString: CoreModelMessages.getFormattedString("PathEntryManager.7",libraryPath.toOSString())); and change CoreModelMessages.properties: PathEntryManager.7=Workspace library path inaccessible ({0})
Created attachment 27105 [details] patch for HEAD Fixes described string and others same strings found in file pathentryutils.java
Please apply suplied patch and close this issue
Thanks Vaidotas, I have applied the patch.
assigning
done.
Fixed in 2006.