Advertisement

Advertisement

PO::is_final

Helper function for read_entry

PO::export_entry

Builds a string from the entry for inclusion in PO file

Advertisement

PO::comment_block

Prepare a text as a comment — wraps the lines and prepends # and a special character to each line

PO::unpoify

Gives back the original string from a PO-formatted string

PO::prepend_each_line

Inserts $with in the beginning of every new line of $string and returns the modified string

PO::poify

Formats a string in PO-style

Advertisement

PO::export_to_file

Same as {@link export}, but writes the result to a file

PO::export

Exports the whole PO file as a string