$OpenBSD: patch-main_cpp,v 1.1.1.1 2011/04/12 19:33:56 landry Exp $ --- main.cpp.orig Sun Apr 10 10:27:06 2011 +++ main.cpp Sun Apr 10 10:27:27 2011 @@ -39,7 +39,7 @@ int main(int argc, char *argv[]) a.installTranslator(&qtTranslator); QTranslator translator; - if (!translator.load(QString("entomologist_") + locale, "/usr/share/entomologist")) + if (!translator.load(QString("entomologist_") + locale, "${TRUEPREFIX}/share/entomologist")) qDebug() << "Could not load locale file"; a.installTranslator(&translator); a.setApplicationVersion(APP_VERSION);