summaryrefslogtreecommitdiffstats
path: root/tools/linguist/shared/translator.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-06-29 18:54:19 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-06-29 18:56:22 +0200
commitf0a66c60d1eba14be2b3fdc9307fdd2e4a421a5c (patch)
treeb1ef602a2ffef28c94d99a59ac8858691411c777 /tools/linguist/shared/translator.h
parent1414c682c532a95a2204bc1b2d01d2493357b686 (diff)
support editing of length variants
this is not complete, e.g. full text search does not discern which variant contains the hit, the integration with phrases&guesses is non-existing, etc. the form preview will do funny things as long as the widgets don't support the multi-variant strings.
Diffstat (limited to 'tools/linguist/shared/translator.h')
-rw-r--r--tools/linguist/shared/translator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/linguist/shared/translator.h b/tools/linguist/shared/translator.h
index 2651af02f1..ac824f3178 100644
--- a/tools/linguist/shared/translator.h
+++ b/tools/linguist/shared/translator.h
@@ -190,9 +190,9 @@ public:
static void registerFileFormat(const FileFormat &format);
static QList<FileFormat> &registeredFileFormats();
- enum VariantSeparators {
- DefaultVariantSeparator = 0x2762, // some weird character nobody ever heard of :-D
- InternalVariantSeparator = 0x9c // unicode "STRING TERMINATOR"
+ enum {
+ TextVariantSeparator = 0x2762, // some weird character nobody ever heard of :-D
+ BinaryVariantSeparator = 0x9c // unicode "STRING TERMINATOR"
};
private: