[gen] Bugfixes.

This commit is contained in:
Gaetan Delannay 2013-05-16 09:53:27 +02:00
parent 3137bde2c2
commit b996de09c6
3 changed files with 7 additions and 2 deletions

View file

@ -4,7 +4,8 @@ import appy
# ------------------------------------------------------------------------------
usage = '''Usage: python checklo.py [port]
If port is not speficied, it defaults to 2002.'''
If port is not speficied, it defaults to 2002.'''
# ------------------------------------------------------------------------------
class LoChecker:

View file

@ -159,6 +159,7 @@ appyLabels = [
('day_Fri_short', 'Fri'),
('day_Sat_short', 'Sat'),
('day_Sun_short', 'Sun'),
('day_Off_short', 'Off'),
('day_Mon', 'Monday'),
('day_Tue', 'Tuesday'),
('day_Wed', 'Wednesday'),
@ -166,6 +167,7 @@ appyLabels = [
('day_Fri', 'Friday'),
('day_Sat', 'Saturday'),
('day_Sun', 'Sunday'),
('day_Off', 'Day off'),
('ampm_am', 'AM'),
('ampm_pm', 'PM'),
('month_Jan_short', 'Jan'),

View file

@ -35,7 +35,9 @@ PDF_TO_IMG_ERROR = 'A PDF file could not be converted into images. Please ' \
'ensure that Ghostscript (gs) is installed on your ' \
'system and the "gs" program is in the path.'
CONVERT_ERROR = 'Program "convert", from imagemagick, must be installed and ' \
'in the path for converting a SVG file into a PNG file.'
'in the path for converting a SVG file into a PNG file. ' \
'Conversion of SVG files must also be enabled. On Ubuntu: ' \
'apt-get install librsvg2-bin'
TO_PDF_ERROR = 'ConvertImporter error while converting a doc to PDF: %s.'
# ------------------------------------------------------------------------------