Bug 233001 - "Translate exact matches" code is translating entries that have already been translated
Summary: "Translate exact matches" code is translating entries that have already been ...
Status: RESOLVED FIXED
Alias: None
Product: Babel
Classification: Technology
Component: Server (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P1 major (vote)
Target Milestone: ---   Edit
Assignee: Babel server inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-20 11:38 EDT by Denis Roy CLA
Modified: 2008-05-23 11:58 EDT (History)
0 users

See Also:


Attachments
Patch (2.42 KB, patch)
2008-05-21 15:15 EDT, Denis Roy CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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