blob: ede29b2acfeaabe2f31020f578e0e2680cab0143 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- src/PreferencesDialog.cpp.orig 2016-08-24 11:00:01 UTC
+++ src/PreferencesDialog.cpp
@@ -465,8 +465,13 @@ void PreferencesDialog::removeExtension(
void PreferencesDialog::fillLanguageBox()
{
+#ifdef Q_OS_FREEBSD
+ QDir translationsDir("%%DATADIR%%/translations",
+ "sqlb_*.qm");
+#else
QDir translationsDir(QCoreApplication::applicationDirPath() + "/translations",
"sqlb_*.qm");
+#endif
QLocale systemLocale = QLocale::system();
|