summaryrefslogtreecommitdiffstats
path: root/tools/linguist/shared/translator.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-07-17 17:41:23 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-07-17 17:43:50 (GMT)
commit1185386dfe9727ed591da442e97084907f0a6735 (patch)
treedf4a70d8132e4f2d3005160c68130a2c176e5636 /tools/linguist/shared/translator.h
parent74c0b4300b538b24c56abf2be2d5e09b9c59a845 (diff)
downloadQt-1185386dfe9727ed591da442e97084907f0a6735.zip
Qt-1185386dfe9727ed591da442e97084907f0a6735.tar.gz
Qt-1185386dfe9727ed591da442e97084907f0a6735.tar.bz2
don't rely on system codec when handling PO files
- make -input-codec affect PO files, default to UTF-8 - add -output-codec for PO files, same default
Diffstat (limited to 'tools/linguist/shared/translator.h')
-rw-r--r--tools/linguist/shared/translator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/linguist/shared/translator.h b/tools/linguist/shared/translator.h
index 01778d7..762a77ba 100644
--- a/tools/linguist/shared/translator.h
+++ b/tools/linguist/shared/translator.h
@@ -81,7 +81,8 @@ public:
public:
QString m_defaultContext;
- QByteArray m_codecForSource; // CPP specific
+ QByteArray m_codecForSource; // CPP, PO & QM specific
+ QByteArray m_outputCodec; // PO specific
QString m_sourceFileName;
QString m_targetFileName;
QDir m_sourceDir;