pt_BR translation DTD directory (../dtd/ -> ../../dtd/)
-------------------------------------------------------

         Key: DERBY-1270
         URL: http://issues.apache.org/jira/browse/DERBY-1270
     Project: Derby
        Type: Bug

  Components: Documentation  
    Versions: 10.1.2.3    
 Environment: DITA-sourced documentation
    Reporter: Halley Pacheco de Oliveira
    Priority: Minor
     Fix For: 10.1.2.3


Getting Started with Derby and Derby Reference Manual were translated into 
Brazilian Portuguese overwriting the original files written in English in the 
original directories created by svn, so the DTDs files could be found in 
directory "../dtd/".

Once the directories for the translated files were created under directory 
"src/pt_BR/", and not directly under directory "src/", the DTDs files for the 
translated files are no more in directory "../dtd/", they are now in directory 
"../../dtd/".

The diff file I'm sending substitutes "../dtd/" by "../../dtd/" in all files 
under pt_BR directory, as shown below:

- "../dtd/reference.dtd">
+ "../../dtd/reference.dtd">

The script used to modify the files was:
------
mkdir sed
find . -maxdepth 1 -type f -exec sh -c "cat {} | sed -e 
's/\"..\/dtd\//\"..\/..\/dtd\//g' > sed/{}" \;
mv -f sed/* .
rmdir sed
------

This script was executed in directories "src/pt_BR/ref/" and 
"src/pt_BR/getstart/".

It doesn't affect doc building, but is important when editing these files using 
jEdit.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to