Bug 427312

Summary: Translations require identifier for xref type
Product: [Community] Publican Reporter: Jeff Fearn <jfearn>
Component: publicanAssignee: Jeff Fearn <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Hideo <mhideo>
Severity: low Docs Contact:
Priority: low    
Version: 2.0CC: mmcallis, publican-list
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.26 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-02 18:26:13 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jeff Fearn 2008-01-02 17:45:22 EST
Description of problem:
In some languages the gender of Chapters, Sections, Figures and other link
targets is different. This directly affects the way text referring to link
targets is translated, with female, male and neuter links all having different
grammar.

This requires Translators to track down what kind of object the link refers to,
in large books this can become quite onerous.

ID's should have a string prepended to it which identifies the type of object
being linked to.

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

How reproducible:
Always.

Steps to Reproduce:
1. create_book --name=foo
2. cd foo
3. make clean_ids
4. vi en-US/Chapter.xml


Actual results:
<bookinfo id="foo-Product_Name_and_Version">

Expected results:
<bookinfo id="bkinf-foo-Product_Name_and_Version">

Additional info:
xmlClean needs to be modified to add the pretext to the id when cleanids is run.
Comment 1 Jeff Fearn 2008-01-02 18:26:13 EST
Prepended first 4 characters of tag to IDs to aid Translation.