From 5271144cb6c0ecf3dc237af25197fa72a8737c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Thu, 1 Mar 2012 20:09:09 +0100 Subject: Added extra safety for loading translations. 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 -- cgit v0.10.2-6-g49f6