mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
revisions
This commit is contained in:
parent
68afb26ae3
commit
73cfafecb6
3 changed files with 4 additions and 4 deletions
|
|
@ -72,7 +72,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
ANDROID_MIN_SDK_VERSION = 21
|
ANDROID_MIN_SDK_VERSION = 21
|
||||||
ANDROID_TARGET_SDK_VERSION = 34
|
ANDROID_TARGET_SDK_VERSION = 35
|
||||||
ANDROID_EXTRA_LIBS += $$ECL/lib/libecl.so
|
ANDROID_EXTRA_LIBS += $$ECL/lib/libecl.so
|
||||||
ANDROID_EXTRA_LIBS += ../../../platforms/android/lib/libsqlite3.so # for Quicklisp libs
|
ANDROID_EXTRA_LIBS += ../../../platforms/android/lib/libsqlite3.so # for Quicklisp libs
|
||||||
ANDROID_PACKAGE_SOURCE_DIR = ../platforms/android
|
ANDROID_PACKAGE_SOURCE_DIR = ../platforms/android
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<manifest package="org.eql5.android.repl" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0.69" android:versionCode="132" android:installLocation="auto">
|
<manifest package="org.eql5.android.repl" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0.69" android:versionCode="133" android:installLocation="auto">
|
||||||
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
|
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
|
||||||
Remove the comment if you do not require these default permissions. -->
|
Remove the comment if you do not require these default permissions. -->
|
||||||
<uses-permission android:name="android.permission.INTERNET"/>
|
<uses-permission android:name="android.permission.INTERNET"/>
|
||||||
|
|
|
||||||
|
|
@ -501,8 +501,8 @@ cl_object qinstall_translator(cl_object l_lang) {
|
||||||
QString lang(toQString(l_lang));
|
QString lang(toQString(l_lang));
|
||||||
if (!lang.isEmpty()) {
|
if (!lang.isEmpty()) {
|
||||||
QTranslator translator;
|
QTranslator translator;
|
||||||
QString trFile(QDir::currentPath() + "/i18n");
|
QString trPath(QDir::currentPath() + "/i18n");
|
||||||
if ((QFile::exists(trFile) && translator.load(QLocale(lang), QString(), QString(), trFile))
|
if ((QFile::exists(trPath) && translator.load(QLocale(lang), QString(), QString(), trPath))
|
||||||
|| translator.load(QLocale(lang), QString(), QString(), ":/i18n")) {
|
|| translator.load(QLocale(lang), QString(), QString(), ":/i18n")) {
|
||||||
QCoreApplication::installTranslator(&translator);
|
QCoreApplication::installTranslator(&translator);
|
||||||
LQML::quickView->engine()->retranslate();
|
LQML::quickView->engine()->retranslate();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue