i18n: after generating *.qm files, make it work in interpreted app too (testing)

This commit is contained in:
pls.153 2022-04-30 15:27:48 +02:00
parent d329357550
commit 090482a7ec
3 changed files with 5 additions and 3 deletions

View file

@ -322,7 +322,7 @@ cl_object qtranslate(cl_object l_con, cl_object l_src, cl_object l_n) {
if (n == -1) {
l_ret = from_qstring(QCoreApplication::translate(context, source));
} else {
l_ret = from_qstring(QCoreApplication::translate(context, source, 0, n));
l_ret = from_qstring(QCoreApplication::translate(context, source, nullptr, n));
}
ecl_return1(ecl_process_env(), l_ret);
}