mirror of
https://gitlab.com/eql/EQL5.git
synced 2025-12-27 20:32:40 -08:00
"quick": remove "Lisp.tr()"; N.B. just use qsTr();
This commit is contained in:
parent
0ff3dee53c
commit
ef6bd0f2f7
3 changed files with 1 additions and 8 deletions
|
|
@ -2524,7 +2524,7 @@ cl_object qtranslate(cl_object l_con, cl_object l_src, cl_object l_n) {
|
|||
ecl_process_env()->nvalues = 1;
|
||||
QByteArray context(toQString(l_con).toUtf8());
|
||||
QByteArray source(toQString(l_src).toUtf8());
|
||||
int n = (int)toFloat(l_n); // for QML (value comes from JS)
|
||||
int n = toInt(l_n);
|
||||
cl_object l_ret;
|
||||
if(n == -1) {
|
||||
l_ret = from_qstring(QCoreApplication::translate(context, source)); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue