Main Page
Modules
Namespaces
Classes
Files
File List
File Members
Namespaces
|
Variables
sync_compiler_translation.py File Reference
Go to the source code of this file.
Namespaces
namespace
sync_compiler_translation
Variables
tuple
sync_compiler_translation.answer
= raw_input("Do you want to
update
" + translation_name + " [" + translation_code + "] translation file (" + translation_file + ")? [y/n] ")
string
sync_compiler_translation.case_vector
= ""
string
sync_compiler_translation.cmd
= "lupdate-qt4 "
tuple
sync_compiler_translation.code
= match.group(1)
tuple
sync_compiler_translation.comment_regexp
= re.compile(r'\
A
\
s
*// (.*)')
int
sync_compiler_translation.count
= 0
tuple
sync_compiler_translation.error_regexp
= re.compile(r'error_map\[(.*?)\]\
s
*=\
s
*L"(.*?)";')
tuple
sync_compiler_translation.fh
= file(
filename
)
tuple
sync_compiler_translation.file1
= os.path.join(OUTPUT_QT_DIRECTORY, OUTPUT_QT_FILE)
tuple
sync_compiler_translation.file2
= os.path.join(OUTPUT_TRANSLATION_DIRECTORY, translation_file)
tuple
sync_compiler_translation.filename
= os.path.join(INPUT_DIRECTORY, INPUT_FILE)
sync_compiler_translation.id_0
= None
string
sync_compiler_translation.id_others
= ""
string
sync_compiler_translation.INPUT_DIRECTORY
= '../../compiler'
string
sync_compiler_translation.INPUT_FILE
= 'errors.cpp'
tuple
sync_compiler_translation.match
=
comment_regexp.search
(line)
tuple
sync_compiler_translation.msg
= match.group(2)
sync_compiler_translation.OUTPUT_CODE_DIRECTORY
= INPUT_DIRECTORY
string
sync_compiler_translation.OUTPUT_CODE_FILE
= 'errors_code.h'
sync_compiler_translation.output_code_file
= \
tuple
sync_compiler_translation.output_code_file_template
= Template(output_code_file)
string
sync_compiler_translation.OUTPUT_QT_DIRECTORY
= '../../studio/translations'
sync_compiler_translation.output_qt_element
= \
tuple
sync_compiler_translation.output_qt_element_template
= Template(output_qt_element)
string
sync_compiler_translation.OUTPUT_QT_FILE
= 'CompilerTranslator.cpp'
sync_compiler_translation.output_qt_file
= \
tuple
sync_compiler_translation.output_qt_file_template
= Template(output_qt_file)
string
sync_compiler_translation.OUTPUT_TRANSLATION_DIRECTORY
= '../../studio'
tuple
sync_compiler_translation.result
= output_code_file_template.substitute(start_comment=start_comment, id_0=id_0, id_others=id_others)
string
sync_compiler_translation.start_comment
= ""
list
sync_compiler_translation.translation_code
= translation[1]
list
sync_compiler_translation.translation_file
= translation[2]
tuple
sync_compiler_translation.translation_files
= list()
list
sync_compiler_translation.translation_name
= translation[0]
aseba
Author(s): Stéphane Magnenat
autogenerated on Sun Oct 5 2014 23:46:39