~ubuntu-branches/debian/stretch/phatch/stretch

« back to all changes in this revision

Viewing changes to phatch/lib/formField.py

  • Committer: Bazaar Package Importer
  • Author(s): Stani M
  • Date: 2009-10-01 05:36:09 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20091001053609-wvy9yu0u3i6fuv4t
Tags: 0.2.2-1
* Upstream bugfix release (Closes LP: #236548, #436595, #437161, 
 #437376, #437852, #439108, #439359, #440273, #440956)
* debian/control: Dropped dependency python-wxgtk2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
    DESKTOP = '<%s>'%_t('desktop')
158
158
    FOLDER_PHATCH = '%s/phatch'%DESKTOP
159
159
    DPI = '<%s>'%_t('dpi')
160
 
    DATE = '<%s>-<%s>-<%s>'%(_t('year'), _t('month'), _t('day'))
161
 
    DATETIME = DATE+'-<%s>-<%s>-<%s>'%(_t('hour'), _t('minute'), _t('second'))
 
160
    DATE = '<%s>-<##%s>-<##%s>'%(_t('year'), _t('month'), _t('day'))
 
161
    DATETIME = DATE+'_<##%s>-<##%s>-<##%s>'\
 
162
        %(_t('hour'), _t('minute'), _t('second'))
162
163
    ROOT = '<%s>'%_t('root')
163
164
    BYSIZE = '<%s>x<%s>'%(_t('width'), _t('height'))
164
165
    SUBFOLDER = '<%s>'%_t('subfolder')
167
168
    COMPRESSION = '<%s>'%_t('compression')
168
169
 
169
170
    # choices
170
 
    DPIS = [DPI, DPI+'/2', '72', '144', '300']
 
171
    DPIS = [DPI, '<dpi/2>', '72', '144', '300']
171
172
    PIXELS = ['10', '25', '50', '100', '200']
172
173
    PIXELS_X = ['16', '32', '64', '128', '256', '640', '800', '1024',
173
174
        '1280', '1280', '1440', '1600', '1680', '1920', '1920']
179
180
    FILENAMES = [
180
181
        FILENAME,
181
182
        '%s_phatch'%FILENAME,
182
 
        '%s<###index>'%_t('Image'),
 
183
        '%s<###index>'%_('Image'),
183
184
        DATETIME,
184
185
    ]
185
186
    FOLDERS = [