summaryrefslogtreecommitdiffstats
path: root/perl_checker.src
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-11-10 10:28:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-11-10 10:28:32 +0000
commit35e284a41fbd71efa52709400f529869b7b42e44 (patch)
tree9b3d256ee62432ca10dc2fff16feb34add6b0d32 /perl_checker.src
parent342e892f950469e66f000802b7327220e55cbcc9 (diff)
downloadperl-MDK-Common-35e284a41fbd71efa52709400f529869b7b42e44.tar
perl-MDK-Common-35e284a41fbd71efa52709400f529869b7b42e44.tar.gz
perl-MDK-Common-35e284a41fbd71efa52709400f529869b7b42e44.tar.bz2
perl-MDK-Common-35e284a41fbd71efa52709400f529869b7b42e44.tar.xz
perl-MDK-Common-35e284a41fbd71efa52709400f529869b7b42e44.zip
in the generated .pot, try to use relative filenames (so that the .pot doesn't
change at each build)
Diffstat (limited to 'perl_checker.src')
-rw-r--r--perl_checker.src/parser_helper.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl_checker.src/parser_helper.ml b/perl_checker.src/parser_helper.ml
index ac0223c..caaf0e7 100644
--- a/perl_checker.src/parser_helper.ml
+++ b/perl_checker.src/parser_helper.ml
@@ -733,7 +733,7 @@ msgstr \"\"
List.iter (fun po_comment -> output_string fd ("#. " ^ po_comment ^ "\n")) po_comments;
List.iter (fun _ -> Hashtbl.remove pot_strings_and_file s) l ;
- fprintf fd "#: %s\n" (String.concat " " (List.map (fun s -> s ^ ":1") l)) ;
+ fprintf fd "#: %s\n" (String.concat " " (List.map (fun s -> Info.absolute_file_to_file s ^ ":1") l)) ;
output_string fd "#, c-format\n" ;
output_string fd (if String.contains s '\n' then "msgid \"\"\n\"" else "msgid \"") ;