Bug 217257 - Empty translation string should not be saved
Summary: Empty translation string should not be saved
Status: RESOLVED FIXED
Alias: None
Product: Babel
Classification: Technology
Component: Server (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Gabe O'Brien CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-31 09:02 EST by Denis Roy CLA
Modified: 2010-02-03 09:51 EST (History)
0 users

See Also:


Attachments
Gabe needs more time for my bugs :) (781 bytes, patch)
2008-02-02 10:05 EST, Jacek Pospychala 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-01-31 09:02:42 EST
Empty translation strings are currently being saved in the DB.  This should not be.
Comment 1 Jacek Pospychala CLA 2008-02-02 10:05:53 EST
Created attachment 88668 [details]
Gabe needs more time for my bugs :)
Comment 2 Denis Roy CLA 2008-02-04 16:30:05 EST
Committed the patch

setStringTranslation.php > 1.10

Comment 3 Denis Roy CLA 2008-02-05 10:41:39 EST
Released > R_0_200802041505
Comment 4 Denis Roy CLA 2010-02-03 09:51:59 EST
For completeness, 

The reason this fix was put in place is because we have mechanisms for finding binary matches of English strings and applying the same translation to all of them -- regardless of the project.  This helps complete the translation faster by requiring less effort on the translators, and ensures translation portability from one version of a project to the next even if the keys have been renamed, or moved to another properties file.

See bug 299049