String "Revision History" untranslatable

Dimitris Glezos dimitris at glezos.com
Fri Jul 7 00:43:12 UTC 2006


O/H Paul W. Frields έγραψε:
> On Sun, 2006-07-02 at 13:43 +0100, Dimitris Glezos wrote:
>> Hi.
>>
>> I noticed that the string "Revision History" remains untranslated in the 
>> front page of the TQSD. It seems hardcoded in the xsl files.
>>
>> $ find . | xargs grep -o 'Revision History'
>> ./docs-common/xsl/main-html.xsl:Revision History
>> ./translation-quick-start-guide/translation-quick-start-el/index.html:Revision 
>> History
>>
>> $ grep 'Revision History' docs-common/xsl/main-html.xsl
>>    <a href="{concat('rv-',$id,$html.ext)}">Revision History</a>
> 
> Hi Dimitris,
> 
> You can translate this by editing the rpm-info.xml file directly in the
> top level of each module.  I was idly wondering the other day whether
> this should move into the ${PRI_LANG} directory for ease of translation.
> I seem to recall we had it that way when we started and moved it outside
> for some reason.  Maybe we didn't know what we were doing when we did?

Paul, are you sure one can translate the actual string "Revision 
History" from inside rpm-info.xml? Not the revision history contents, 
just the string "Revision History".

Quoting from my original message:

 > It seems hardcoded in the xsl files.
 > $ grep 'Revision History' docs-common/xsl/main-html.xsl
 >    <a href="{concat('rv-',$id,$html.ext)}">Revision History</a>

-Dim

-- 
Dimitris Glezos
Jabber ID: glezos at jabber.org, PGP: 0xA5A04C3B
http://dimitris.glezos.com/

"He who gives up functionality for ease of use
loses both and deserves neither." (Anonymous)
--




More information about the fedora-docs-list mailing list