From 80b09214a500bc3c81c59fed8966aa8a7d4a89e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Wed, 29 Feb 2012 22:05:33 +0100
Subject: Add default translation file for english.


diff --git a/Swift/QtUI/main.cpp b/Swift/QtUI/main.cpp
index c8f7705..e04ad92 100644
--- a/Swift/QtUI/main.cpp
+++ b/Swift/QtUI/main.cpp
@@ -35,9 +35,7 @@ int main(int argc, char* argv[]) {
 	QTranslator qtTranslator;
 	if (!someTranslationPath.empty()) {
 #if QT_VERSION >= 0x040800
-		if (QLocale::system().uiLanguages().first() != "en") {
-			qtTranslator.load(QLocale::system(), QString(SWIFT_APPLICATION_NAME).toLower(), "_", someTranslationPath.parent_path().string().c_str());
-		}
+		qtTranslator.load(QLocale::system(), QString(SWIFT_APPLICATION_NAME).toLower(), "_", someTranslationPath.parent_path().string().c_str());
 #else
 		//std::cout << "Loading " << std::string(QLocale::system().name().toUtf8()) << std::endl;
 		qtTranslator.load(QString(SWIFT_APPLICATION_NAME).toLower() + "_" + QLocale::system().name(), someTranslationPath.parent_path().string().c_str());
diff --git a/Swift/Translations/swift_en.ts b/Swift/Translations/swift_en.ts
new file mode 100644
index 0000000..07a7469
--- /dev/null
+++ b/Swift/Translations/swift_en.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0">
+</TS>
-- 
cgit v0.10.2-6-g49f6