Package translate :: Package storage :: Module test_poheader

[hide private]
[frames] | no frames]

# Module test_poheader

source code

Functions | [hide private]

test_parseheaderstring() test for the header parsing function | source code

test_update() test the update function | source code

poparse(posource) helper that parses po source without requiring files | source code

poxliffparse(posource) helper that parses po source into poxliffFile | source code

check_po_date(datestring) Check the validity of a PO date. | source code

test_po_dates() | source code

test_timezones() | source code

test_header_blank() | source code

test_plural_equation() test that we work with the equation even is the last semicolon is left out, since gettext tools don't seem to mind | source code

test_plural_equation_across_lines() test that we work if the plural equation spans more than one line | source code

Function Details | [hide private]

### check_po_date(datestring)

source code

Check the validity of a PO date.

The datestring must be in the format: 2007-06-08 10:08+0200