diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-11-10 10:28:32 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-11-10 10:28:32 +0000 |
commit | c8ec4402b666f6ddce759265e7db0191dce6a7fa (patch) | |
tree | 99432031304e91c08b867acf2e603d6140c8ecb0 /perl_checker.src/parser_helper.ml | |
parent | 24f597a7ea48b0fbab6e0541d65390035be66e89 (diff) | |
download | perl_checker-c8ec4402b666f6ddce759265e7db0191dce6a7fa.tar perl_checker-c8ec4402b666f6ddce759265e7db0191dce6a7fa.tar.gz perl_checker-c8ec4402b666f6ddce759265e7db0191dce6a7fa.tar.bz2 perl_checker-c8ec4402b666f6ddce759265e7db0191dce6a7fa.tar.xz perl_checker-c8ec4402b666f6ddce759265e7db0191dce6a7fa.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/parser_helper.ml')
-rw-r--r-- | perl_checker.src/parser_helper.ml | 2 |
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 \"") ; |