|
|
@ -32,7 +32,7 @@ def parse_po(text): |
|
|
|
in_msgstr = False |
|
|
|
in_msgstr = False |
|
|
|
# message start |
|
|
|
# message start |
|
|
|
in_msgid = True |
|
|
|
in_msgid = True |
|
|
|
|
|
|
|
|
|
|
|
msgid = [line[6:]] |
|
|
|
msgid = [line[6:]] |
|
|
|
elif line.startswith('msgstr '): |
|
|
|
elif line.startswith('msgstr '): |
|
|
|
in_msgid = False |
|
|
|
in_msgid = False |
|
|
@ -67,7 +67,7 @@ f.write(""" |
|
|
|
|
|
|
|
|
|
|
|
#include <QtGlobal> |
|
|
|
#include <QtGlobal> |
|
|
|
|
|
|
|
|
|
|
|
// Automatically generated by extract_strings.py |
|
|
|
// Automatically generated by extract_strings_qt.py |
|
|
|
#ifdef __GNUC__ |
|
|
|
#ifdef __GNUC__ |
|
|
|
#define UNUSED __attribute__((unused)) |
|
|
|
#define UNUSED __attribute__((unused)) |
|
|
|
#else |
|
|
|
#else |
|
|
|