diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-03-01 19:09:09 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-03-01 19:09:09 (GMT) |
commit | 5271144cb6c0ecf3dc237af25197fa72a8737c09 (patch) | |
tree | a2ff0e0461696268fa355951f458afd31eafb88f | |
parent | 80b09214a500bc3c81c59fed8966aa8a7d4a89e6 (diff) | |
download | swift-contrib-5271144cb6c0ecf3dc237af25197fa72a8737c09.zip swift-contrib-5271144cb6c0ecf3dc237af25197fa72a8737c09.tar.bz2 |
Added extra safety for loading translations.
-rw-r--r-- | Swift/QtUI/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/main.cpp b/Swift/QtUI/main.cpp index e04ad92..fc3bf15 100644 --- a/Swift/QtUI/main.cpp +++ b/Swift/QtUI/main.cpp @@ -31,7 +31,7 @@ int main(int argc, char* argv[]) { // Translation QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8")); - boost::filesystem::path someTranslationPath = Swift::PlatformApplicationPathProvider(SWIFT_APPLICATION_NAME).getResourcePath("/translations/swift_nl.qm"); + boost::filesystem::path someTranslationPath = Swift::PlatformApplicationPathProvider(SWIFT_APPLICATION_NAME).getResourcePath("/translations/swift_en.qm"); QTranslator qtTranslator; if (!someTranslationPath.empty()) { #if QT_VERSION >= 0x040800 |