Bug 873500 - Test case: Properties strategy should detect outdated translations by using source file history
Summary: Test case: Properties strategy should detect outdated translations by using s...
Keywords:
Status: CLOSED DUPLICATE of bug 873489
Alias: None
Product: Zanata
Classification: Retired
Component: Component-Maven
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Runa Bhattacharjee
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-06 02:48 UTC by Sean Flanigan
Modified: 2013-03-04 02:22 UTC (History)
2 users (show)

Fixed In Version:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-11-20 06:06:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Sean Flanigan 2012-11-06 02:48:11 UTC
Description of problem:

When pushing Properties content, it is possible for the translation files to have older source strings than the source files, but with the same property keys.  For instance:

source file v1:
greeting=Hello

source file v2:
greeting=Hello World

trans file v1:
greeting=Hallo

NB: even though the ids match, "Hallo" is not a valid translation of the current v2 source "Hello World".


Version-Release number of selected component (if applicable):
2.0.0

How reproducible:

Steps to Reproduce:
1. Push both files above
2. Pull the translation
  
Actual results:

(To be tested)

Expected results:
greeting should be untranslated

Additional info:

It should be possible to tell (guess) that the translation "Hallo" for key "greeting" is obsolete because the v1 source "greeting" with the old string "Hello" already had the translation "Hallo".

If we change the way we generate resIds for Properties files, we will need a migration path for existing content in the database.

We have a similar problem for XLIFF files: bug 873489.

Comment 1 Sean Flanigan 2012-11-20 06:06:17 UTC

*** This bug has been marked as a duplicate of bug 873489 ***


Note You need to log in before you can comment on or make changes to this bug.