From 09fd0ff13c2dd542bcd5e2bb0a27d05cafc90fa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Sun, 20 Feb 2011 23:14:29 +0100 Subject: Make sure translations are found on case-sensitive filesystems. diff --git a/Swift/QtUI/main.cpp b/Swift/QtUI/main.cpp index c98937d..de9d122 100644 --- a/Swift/QtUI/main.cpp +++ b/Swift/QtUI/main.cpp @@ -28,7 +28,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_nl.qm"); QTranslator qtTranslator; if (!someTranslationPath.empty()) { //std::cout << "Loading " << std::string(QLocale::system().name().toUtf8()) << std::endl; -- cgit v0.10.2-6-g49f6