Changeset 5629


Ignore:
Timestamp:
06/26/09 18:45:26 (3 years ago)
Author:
ryan52
Message:

improved POD

Location:
trunk/Locale-Msgfmt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Locale-Msgfmt/Changes

    r5628 r5629  
    88        - always build_require Locale::Maketext::Gettext, now it will 
    99          install correctly 
     10        - improved POD 
    1011 
    11120.06    Jun 26, 2009 
  • trunk/Locale-Msgfmt/lib/Locale/Msgfmt.pm

    r5620 r5629  
    100100 
    101101This module does the same thing as msgfmt from GNU gettext-tools, 
    102 except this is pure Perl. 
     102except this is pure Perl. The interface is best explained through 
     103examples: 
    103104 
    104105    use Locale::Msgfmt; 
    105106 
     107    # compile po/fr.po into po/fr.mo 
    106108    msgfmt({in => "po/fr.po", out => "po/fr.mo"}); 
     109    # compile po/fr.po into po/fr.mo and include fuzzy translations 
    107110    msgfmt({in => "po/fr.po", out => "po/fr.mo", fuzzy => 1}); 
     111    # compile all the .po files in the po directory, and write the .mo 
     112    # files to the po directory 
    108113    msgfmt("po/"); 
     114    # compile all the .po files in the po directory, and write the .mo 
     115    # files to the po directory, and include fuzzy translations 
     116    msgfmt({in => "po/", fuzzy => 1}); 
     117    # compile all the .po files in the po directory, and write the .mo 
     118    # files to the output directory 
    109119    msgfmt({in => "po/", out => "output/"}); 
     120    # compile all the .po files in the po directory, and write the .mo 
     121    # files to the output directory, and include fuzzy translations 
     122    msgfmt({in => "po/", out => "output/", fuzzy => 1}); 
     123    # compile po/fr.po into po/fr.mo 
    110124    msgfmt("po/fr.po"); 
     125    # compile po/fr.po into po/fr.mo and include fuzzy translations 
    111126    msgfmt({in => "po/fr.po", fuzzy => 1}); 
    112127 
Note: See TracChangeset for help on using the changeset viewer.