Variables
sync_compiler_translation Namespace Reference

Variables

tuple answer = raw_input("Do you want to update " + translation_name + " [" + translation_code + "] translation file (" + translation_file + ")? [y/n] ")
string case_vector = ""
string cmd = "lupdate-qt4 "
tuple code = match.group(1)
tuple comment_regexp = re.compile(r'\A\s*// (.*)')
int count = 0
tuple error_regexp = re.compile(r'error_map\[(.*?)\]\s*=\s*L"(.*?)";')
tuple fh = file(filename)
tuple file1 = os.path.join(OUTPUT_QT_DIRECTORY, OUTPUT_QT_FILE)
tuple file2 = os.path.join(OUTPUT_TRANSLATION_DIRECTORY, translation_file)
tuple filename = os.path.join(INPUT_DIRECTORY, INPUT_FILE)
 id_0 = None
string id_others = ""
string INPUT_DIRECTORY = '../../compiler'
string INPUT_FILE = 'errors.cpp'
tuple match = comment_regexp.search(line)
tuple msg = match.group(2)
 OUTPUT_CODE_DIRECTORY = INPUT_DIRECTORY
string OUTPUT_CODE_FILE = 'errors_code.h'
 output_code_file = \
tuple output_code_file_template = Template(output_code_file)
string OUTPUT_QT_DIRECTORY = '../../studio/translations'
 output_qt_element = \
tuple output_qt_element_template = Template(output_qt_element)
string OUTPUT_QT_FILE = 'CompilerTranslator.cpp'
 output_qt_file = \
tuple output_qt_file_template = Template(output_qt_file)
string OUTPUT_TRANSLATION_DIRECTORY = '../../studio'
tuple result = output_code_file_template.substitute(start_comment=start_comment, id_0=id_0, id_others=id_others)
string start_comment = ""
list translation_code = translation[1]
list translation_file = translation[2]
tuple translation_files = list()
list translation_name = translation[0]

Variable Documentation

tuple sync_compiler_translation::answer = raw_input("Do you want to update " + translation_name + " [" + translation_code + "] translation file (" + translation_file + ")? [y/n] ")

Definition at line 190 of file sync_compiler_translation.py.

Definition at line 124 of file sync_compiler_translation.py.

string sync_compiler_translation::cmd = "lupdate-qt4 "

Definition at line 195 of file sync_compiler_translation.py.

tuple sync_compiler_translation::code = match.group(1)

Definition at line 145 of file sync_compiler_translation.py.

tuple sync_compiler_translation::comment_regexp = re.compile(r'\A\s*// (.*)')

Definition at line 45 of file sync_compiler_translation.py.

Definition at line 125 of file sync_compiler_translation.py.

tuple sync_compiler_translation::error_regexp = re.compile(r'error_map\[(.*?)\]\s*=\s*L"(.*?)";')

Definition at line 46 of file sync_compiler_translation.py.

Definition at line 119 of file sync_compiler_translation.py.

Definition at line 193 of file sync_compiler_translation.py.

Definition at line 194 of file sync_compiler_translation.py.

Definition at line 116 of file sync_compiler_translation.py.

Definition at line 126 of file sync_compiler_translation.py.

Definition at line 128 of file sync_compiler_translation.py.

string sync_compiler_translation::INPUT_DIRECTORY = '../../compiler'

Definition at line 29 of file sync_compiler_translation.py.

Definition at line 30 of file sync_compiler_translation.py.

Definition at line 133 of file sync_compiler_translation.py.

tuple sync_compiler_translation::msg = match.group(2)

Definition at line 146 of file sync_compiler_translation.py.

Definition at line 33 of file sync_compiler_translation.py.

Definition at line 32 of file sync_compiler_translation.py.

Definition at line 48 of file sync_compiler_translation.py.

Definition at line 74 of file sync_compiler_translation.py.

string sync_compiler_translation::OUTPUT_QT_DIRECTORY = '../../studio/translations'

Definition at line 36 of file sync_compiler_translation.py.

Definition at line 107 of file sync_compiler_translation.py.

Definition at line 113 of file sync_compiler_translation.py.

string sync_compiler_translation::OUTPUT_QT_FILE = 'CompilerTranslator.cpp'

Definition at line 35 of file sync_compiler_translation.py.

Definition at line 76 of file sync_compiler_translation.py.

Definition at line 105 of file sync_compiler_translation.py.

Definition at line 38 of file sync_compiler_translation.py.

Definition at line 159 of file sync_compiler_translation.py.

Definition at line 127 of file sync_compiler_translation.py.

Definition at line 188 of file sync_compiler_translation.py.

Definition at line 189 of file sync_compiler_translation.py.

Definition at line 39 of file sync_compiler_translation.py.

Definition at line 187 of file sync_compiler_translation.py.



aseba
Author(s): Stéphane Magnenat
autogenerated on Sun Oct 5 2014 23:46:40