Anonymous committed f34e53f

#i10000# #i103543# write correct en-US tree files

Comments (0)

Files changed (1)


     ($tree_src = $scriptname) =~ s/\/\/..\/source\/auxiliary/;
     ($tree_dest = $scriptname) =~ s/\/\/..\/$destpath\/misc/;
     ($source_dir = $scriptname) =~ s/\/\/..\/source/;
+    ($source_dir_xhp = $scriptname) =~ s/\/\/..\/source/;
     if ( defined $ENV{TRYSDF} && defined $ENV{LOCALIZESDF} )
     $tree_src = "$prj\/source\/auxiliary";
     $tree_dest = "$prj\/$destpath\/misc";
     $source_dir = "$prj\/source";
+    $source_dir_xhp = "$prj\/source";
     $treestrings = "$source_dir/text/shared/tree_strings.xhp";
     if ( defined $ENV{TRYSDF} && defined $ENV{LOCALIZESDF} )
                 ($id = $l) =~ s/^.*id="([^"]*)".*$/$1/gis;
                 ($module = $id) =~ s/^([^\/]*).*$/$1/;
                 $id =~ s/^.*?\///;
-                $file = "$source_dir/$id";
+                $file = "$source_dir_xhp/$id";
                 if ($lng eq 'en-US') { # english comes from the file
                     if (open F,$file) {
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.