Changeset 5631
- Timestamp:
- 06/26/09 18:51:26 (3 years ago)
- File:
-
- 1 edited
-
trunk/Locale-Msgfmt/bin/msgfmt.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Locale-Msgfmt/bin/msgfmt.pl
r5618 r5631 12 12 13 13 msgfmt({in => $in, out => $opt_o, fuzzy => $opt_f}); 14 15 =head1 NAME 16 17 msgfmt.pl - Compile .po files to .mo files 18 19 =head1 SYNOPSIS 20 21 This script does the same thing as msgfmt from GNU gettext-tools, 22 except this is pure Perl. Because it's pure Perl, it's more portable 23 and more easily installed (via CPAN). It has two other advantages. 24 First, it supports directories, so you can have it process a full 25 directory of .po files. Second, it can guess the output file (if you 26 don't specify the -o option). If the input is a file, it will 27 s/po$/mo/ to figure out the output file. If the input is a directory, 28 it will write the .mo files to the same directory. 29 30 =head1 SEE ALSO 31 32 L<Locale::Msgfmt> 33 34 =head1 COPYRIGHT & LICENSE 35 36 Copyright 2009 Ryan Niebur, all rights reserved. 37 38 This program is free software; you can redistribute it and/or modify it 39 under the same terms as Perl itself. 40 41 42 =cut
Note: See TracChangeset
for help on using the changeset viewer.
