Bug 233001

Summary: "Translate exact matches" code is translating entries that have already been translated
Product: [Technology] Babel Reporter: Denis Roy <denis.roy>
Component: ServerAssignee: Babel server inbox <babel.server-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Patch none

Description Denis Roy CLA 2008-05-20 11:38:48 EDT
Many times Eclipse.org is being re-translated as Eclipse.org, but it's not supposed to.
Comment 1 Denis Roy CLA 2008-05-21 15:15:49 EDT
Created attachment 101347 [details]
Patch

As it turns out there were two bugs in the All Versions code.

- "All versions" would look for string name matches only, so it would re-translate the same string across all projects (Eclipse.org is often labeled as 'providerName')

- "All versions" would translate to a specific string regargless of the language_id I'm working on.  This was non-critical for 'Eclipse.org' but still not desirable

The patch fixes these two issues.  It's on staging now.
Comment 2 Denis Roy CLA 2008-05-21 16:50:20 EDT
I've tested this out, and it works as expected.  Translating "Eclipse.org" for one file in a project that has 3 versions yields 3 translations instead of a few thousand.

Will be live on next release.  Need to run the healer after deployment.
Comment 3 Denis Roy CLA 2008-05-23 11:58:34 EDT
Released > R_0_200805231150