summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-20 22:14:29 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-20 22:14:29 (GMT)
commit09fd0ff13c2dd542bcd5e2bb0a27d05cafc90fa2 (patch)
tree96d1e3fd598eadafb114d79253188eb219bd08db
parent433b02558e6785a212c543ec3e90bec1b3151c50 (diff)
downloadswift-09fd0ff13c2dd542bcd5e2bb0a27d05cafc90fa2.zip
swift-09fd0ff13c2dd542bcd5e2bb0a27d05cafc90fa2.tar.bz2
Make sure translations are found on case-sensitive filesystems.
-rw-r--r--Swift/QtUI/main.cpp2
1 files changed, 1 insertions, 1 deletions
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;