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 | 35e284a41fbd71efa52709400f529869b7b42e44 (patch) | |
tree | 9b3d256ee62432ca10dc2fff16feb34add6b0d32 /perl_checker.src | |
parent | 342e892f950469e66f000802b7327220e55cbcc9 (diff) | |
download | perl-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.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 \"") ; |