Lines Matching +full:cancel +full:- +full:in +full:- +full:progress
9 # "License"); you may not use this file except in compliance
12 # http://www.apache.org/licenses/LICENSE-2.0
14 # Unless required by applicable law or agreed to in writing,
39 p.usage = '''src2xml.py [OPTION]... SRC-FILE...'''
43 src2xml.py --output-dir=. --post-process --ignore-includes zoom.src
44 src2xml.py --dry-run -I svx/inc -I svx/source/dialog zoom.src
50 if 'epilog' in p.__dict__:
62 p.add_option ('-l', '--debug-lexer', action='store_true',
66 p.add_option ('-p', '--debug-parser', action='store_true',
70 p.add_option ('-m', '--debug-macro', action='store_true',
74 p.add_option ('-n', '--dry-run', action='store_true',
78 p.add_option ('-k', '--keep-going', action='store_true',
82 p.add_option ('-i', '--ignore-includes', action='store_true',
86 p.add_option ('-I', '--include-dir', action='append',
103 p.add_option ('--includes-from-file', action='callback', callback=from_file,
110 p.add_option ('--include-path', action='callback', callback=from_path,
117 p.add_option ('--only-expand-macros', action='store_true',
121 p.add_option ('-o', '--output-dir', action='store',
126 p.add_option ('-s', '--post-process', action='store_true',
128 help='post process output for use in Layout')
130 p.add_option ('--stop-on-header', action='store_true',
138 progress ("parsing %(file_name)s ..." % locals ())
154 progress ("-"*68 + "\n")
155 progress ("** token dump\n")
157 progress ("** end of token dump\n")
178 progress ("\n")
184 progress (" SUCCESS\n")
187 progress (" FAILED\n")
195 s = re.sub ('(</?)([a-z]+)-([a-z]+)-([a-z]+)', r'\1\2\3\4', s)
196 s = re.sub ('(</?)([a-z]+)-([a-z]+)', r'\1\2\3', s)
197 …s = re.sub ('(<(checkbox|(cancel|help|ignore|ok|push|more|no|radio|reset|retry|yes)button|(fixed(i…
198 s = re.sub (' (height|width|x|y)="[0-9]*"', '', s)
206 s = s.replace (' def-button="true"', ' defbutton="true"')
207 s = s.replace (' drop-down="', ' dropdown="')
208 s = s.replace (' tab-stop="', ' tabstop="')
211 XML_HEADER = '''<?xml version="1.0" encoding="UTF-8"?>
212 <!-- This is a template. i18n translation is not performed in-place;
214 transex3/layout/tralay. !-->
229 progress ("writing %(out_name)s ..." % locals ())
233 progress ("\n")
241 for f in files: