diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-02-20 22:14:29 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-02-20 22:14:29 (GMT) |
commit | 09fd0ff13c2dd542bcd5e2bb0a27d05cafc90fa2 (patch) | |
tree | 96d1e3fd598eadafb114d79253188eb219bd08db /Swift | |
parent | 433b02558e6785a212c543ec3e90bec1b3151c50 (diff) | |
download | swift-contrib-09fd0ff13c2dd542bcd5e2bb0a27d05cafc90fa2.zip swift-contrib-09fd0ff13c2dd542bcd5e2bb0a27d05cafc90fa2.tar.bz2 |
Make sure translations are found on case-sensitive filesystems.
Diffstat (limited to 'Swift')
-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 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; |