diff options
| author | 2016-06-13 18:42:57 -0400 | |
|---|---|---|
| committer | 2016-06-13 18:42:57 -0400 | |
| commit | 65d5f68cc6dc81799c5a5d90400a2c1f0dd02547 (patch) | |
| tree | 6f245ba901b87ef42fed69965aea22f5eea6b590 /Plugins/DbAndroid | |
| parent | aeb6bad01630d325a4e768e798a7a6d44e18fdaf (diff) | |
| parent | 5d9314f134ddd3dc4c853e398ac90ba247fb2e4f (diff) | |
Merge tag 'upstream/3.1.0'
Upstream version 3.1.0
# gpg: Signature made Mon 13 Jun 2016 06:42:54 PM EDT using RSA key ID EBE9BD91
# gpg: Good signature from "Unit 193 <unit193@gmail.com>"
# gpg: aka "Unit 193 <unit193@ninthfloor.org>"
# gpg: aka "Unit 193 <unit193@ubuntu.com>"
# gpg: aka "Unit 193 <unit193@ninthfloor.com>"
Diffstat (limited to 'Plugins/DbAndroid')
30 files changed, 3135 insertions, 34 deletions
diff --git a/Plugins/DbAndroid/DbAndroid.pro b/Plugins/DbAndroid/DbAndroid.pro index 2895c7f..e70547f 100644 --- a/Plugins/DbAndroid/DbAndroid.pro +++ b/Plugins/DbAndroid/DbAndroid.pro @@ -51,3 +51,15 @@ FORMS += \ RESOURCES += \ dbandroid.qrc + +TRANSLATIONS += \ + DbAndroid_it.ts\ + DbAndroid_zh_CN.ts\ + DbAndroid_sk.ts\ + DbAndroid_de.ts\ + DbAndroid_ru.ts\ + DbAndroid_pt_BR.ts\ + DbAndroid_fr.ts\ + DbAndroid_es.ts\ + DbAndroid_pl.ts + diff --git a/Plugins/DbAndroid/DbAndroid_de.qm b/Plugins/DbAndroid/DbAndroid_de.qm Binary files differnew file mode 100644 index 0000000..9dad8df --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_de.qm diff --git a/Plugins/DbAndroid/DbAndroid_de.ts b/Plugins/DbAndroid/DbAndroid_de.ts new file mode 100644 index 0000000..d33c59d --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_de.ts @@ -0,0 +1,337 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="de_DE"> +<context> + <name>DbAndroid</name> + <message> + <location filename="dbandroid.cpp" line="39"/> + <source>Invalid or incomplete Android Database URL.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="54"/> + <source>Android database URL</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="55"/> + <source>Select Android database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="151"/> + <source>Select ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="173"/> + <source>Using Android Debug Bridge: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="183"/> + <source>You can grab Android connector JAR file from Tools menu. It's required for 2 of 3 connections supported by the Android plugin. For more details read plugin's documentation on <a href="%1">SQLiteStudio's wiki page.</a></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="191"/> + <source>Could not find Android Debug Bridge application. <a href="%1">Click here</a> to point out the location of the ADB application, otherwise the %2 plugin will not support USB cable connections, only the network connection..</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>Invalid ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>The selected ADB is incorrect. +Would you like to select another one, or leave it unconfigured?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Select another ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Leave unconfigured</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="232"/> + <source>Save jar file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="251"/> + <source>Get Android connector JAR file</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidInstance</name> + <message> + <location filename="dbandroidinstance.cpp" line="141"/> + <source>Connection with Android database '%1' lost.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidJsonConnection</name> + <message> + <location filename="dbandroidjsonconnection.cpp" line="175"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="182"/> + <source>Failed to create port forwarding for device %1 for port %2.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="196"/> + <source>Could not connect to network host: %1:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="210"/> + <source>Cannot connect to %1:%2, because password is invalid.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="307"/> + <source>Error while parsing response from Android: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="315"/> + <source>Generic error from Android: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="329"/> + <location filename="dbandroidjsonconnection.cpp" line="336"/> + <source>Missing 'columns' in response from Android.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="357"/> + <source>Response from Android has missing data for column '%1' in row %2.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidPathDialog</name> + <message> + <location filename="dbandroidpathdialog.ui" line="20"/> + <source>Android database URL</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="26"/> + <source>Connection method</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="32"/> + <source>USB cable - port forwarding</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="42"/> + <source>USB cable - sqlite3 command</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="49"/> + <source>Network (IP address)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="59"/> + <source>Device</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="71"/> + <source>IP address</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="93"/> + <source>Port</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="115"/> + <source>Remote access password</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="127"/> + <source><p>This is password configured in the SQLiteStudio service being embeded in the Android application.</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="140"/> + <source>Application</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="155"/> + <source>Filter</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="168"/> + <source>Database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="177"/> + <source>Create a new database directly on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="187"/> + <source>Delete currently selected database from the device. The currently selected database is the one picked in the list on the left of this button.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="382"/> + <source>Enter valid IP address.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="387"/> + <source>Pick Android device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="391"/> + <source>Pick Android database.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="415"/> + <source>Selected Android application is unknown, or not debuggable.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Create new database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Please provide name for the new database. +It's the name which Android application will use to connect to the database:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Invalid name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <source>Database with the same name (%1) already exists on the device. +The name must be unique.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <source>Could not create database '%1', because could not connect to the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Could not create database '%1'. +Details: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Delete database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Are you sure you want to delete database '%1' from %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Error deleting</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <source>Could not connect to %1 in order to delete database '%2'.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Could not delete database named '%1' from the device. +Android device refused deletion, or it was impossible.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidShellConnection</name> + <message> + <location filename="dbandroidshellconnection.cpp" line="30"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="45"/> + <source>Cannot connect to device %1, because the application %2 doesn't seem to be installed on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="55"/> + <source>Cannot connect to device %1, because the application %2 is not debuggable.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="64"/> + <source>Cannot connect to device %1, because '%2' command doesn't seem to be available on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="76"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="89"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device. Details: %3</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="125"/> + <source>Cannot get list of databases for application %1. Details: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="202"/> + <location filename="dbandroidshellconnection.cpp" line="209"/> + <source>Could not execute query on database '%1': %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <location filename="sqlqueryandroid.cpp" line="101"/> + <source>Cannot bind argument '%1' of the query, because it's value is missing.</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/Plugins/DbAndroid/DbAndroid_es.qm b/Plugins/DbAndroid/DbAndroid_es.qm Binary files differnew file mode 100644 index 0000000..9dad8df --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_es.qm diff --git a/Plugins/DbAndroid/DbAndroid_es.ts b/Plugins/DbAndroid/DbAndroid_es.ts new file mode 100644 index 0000000..11a6466 --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_es.ts @@ -0,0 +1,337 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="es_ES"> +<context> + <name>DbAndroid</name> + <message> + <location filename="dbandroid.cpp" line="39"/> + <source>Invalid or incomplete Android Database URL.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="54"/> + <source>Android database URL</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="55"/> + <source>Select Android database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="151"/> + <source>Select ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="173"/> + <source>Using Android Debug Bridge: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="183"/> + <source>You can grab Android connector JAR file from Tools menu. It's required for 2 of 3 connections supported by the Android plugin. For more details read plugin's documentation on <a href="%1">SQLiteStudio's wiki page.</a></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="191"/> + <source>Could not find Android Debug Bridge application. <a href="%1">Click here</a> to point out the location of the ADB application, otherwise the %2 plugin will not support USB cable connections, only the network connection..</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>Invalid ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>The selected ADB is incorrect. +Would you like to select another one, or leave it unconfigured?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Select another ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Leave unconfigured</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="232"/> + <source>Save jar file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="251"/> + <source>Get Android connector JAR file</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidInstance</name> + <message> + <location filename="dbandroidinstance.cpp" line="141"/> + <source>Connection with Android database '%1' lost.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidJsonConnection</name> + <message> + <location filename="dbandroidjsonconnection.cpp" line="175"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="182"/> + <source>Failed to create port forwarding for device %1 for port %2.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="196"/> + <source>Could not connect to network host: %1:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="210"/> + <source>Cannot connect to %1:%2, because password is invalid.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="307"/> + <source>Error while parsing response from Android: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="315"/> + <source>Generic error from Android: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="329"/> + <location filename="dbandroidjsonconnection.cpp" line="336"/> + <source>Missing 'columns' in response from Android.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="357"/> + <source>Response from Android has missing data for column '%1' in row %2.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidPathDialog</name> + <message> + <location filename="dbandroidpathdialog.ui" line="20"/> + <source>Android database URL</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="26"/> + <source>Connection method</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="32"/> + <source>USB cable - port forwarding</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="42"/> + <source>USB cable - sqlite3 command</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="49"/> + <source>Network (IP address)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="59"/> + <source>Device</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="71"/> + <source>IP address</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="93"/> + <source>Port</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="115"/> + <source>Remote access password</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="127"/> + <source><p>This is password configured in the SQLiteStudio service being embeded in the Android application.</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="140"/> + <source>Application</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="155"/> + <source>Filter</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="168"/> + <source>Database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="177"/> + <source>Create a new database directly on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="187"/> + <source>Delete currently selected database from the device. The currently selected database is the one picked in the list on the left of this button.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="382"/> + <source>Enter valid IP address.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="387"/> + <source>Pick Android device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="391"/> + <source>Pick Android database.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="415"/> + <source>Selected Android application is unknown, or not debuggable.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Create new database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Please provide name for the new database. +It's the name which Android application will use to connect to the database:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Invalid name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <source>Database with the same name (%1) already exists on the device. +The name must be unique.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <source>Could not create database '%1', because could not connect to the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Could not create database '%1'. +Details: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Delete database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Are you sure you want to delete database '%1' from %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Error deleting</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <source>Could not connect to %1 in order to delete database '%2'.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Could not delete database named '%1' from the device. +Android device refused deletion, or it was impossible.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidShellConnection</name> + <message> + <location filename="dbandroidshellconnection.cpp" line="30"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="45"/> + <source>Cannot connect to device %1, because the application %2 doesn't seem to be installed on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="55"/> + <source>Cannot connect to device %1, because the application %2 is not debuggable.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="64"/> + <source>Cannot connect to device %1, because '%2' command doesn't seem to be available on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="76"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="89"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device. Details: %3</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="125"/> + <source>Cannot get list of databases for application %1. Details: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="202"/> + <location filename="dbandroidshellconnection.cpp" line="209"/> + <source>Could not execute query on database '%1': %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <location filename="sqlqueryandroid.cpp" line="101"/> + <source>Cannot bind argument '%1' of the query, because it's value is missing.</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/Plugins/DbAndroid/DbAndroid_fr.qm b/Plugins/DbAndroid/DbAndroid_fr.qm Binary files differnew file mode 100644 index 0000000..c02994c --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_fr.qm diff --git a/Plugins/DbAndroid/DbAndroid_fr.ts b/Plugins/DbAndroid/DbAndroid_fr.ts new file mode 100644 index 0000000..f5b2509 --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_fr.ts @@ -0,0 +1,337 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="fr_FR"> +<context> + <name>DbAndroid</name> + <message> + <location filename="dbandroid.cpp" line="39"/> + <source>Invalid or incomplete Android Database URL.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="54"/> + <source>Android database URL</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="55"/> + <source>Select Android database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="151"/> + <source>Select ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="173"/> + <source>Using Android Debug Bridge: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="183"/> + <source>You can grab Android connector JAR file from Tools menu. It's required for 2 of 3 connections supported by the Android plugin. For more details read plugin's documentation on <a href="%1">SQLiteStudio's wiki page.</a></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="191"/> + <source>Could not find Android Debug Bridge application. <a href="%1">Click here</a> to point out the location of the ADB application, otherwise the %2 plugin will not support USB cable connections, only the network connection..</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>Invalid ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>The selected ADB is incorrect. +Would you like to select another one, or leave it unconfigured?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Select another ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Leave unconfigured</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="232"/> + <source>Save jar file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="251"/> + <source>Get Android connector JAR file</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidInstance</name> + <message> + <location filename="dbandroidinstance.cpp" line="141"/> + <source>Connection with Android database '%1' lost.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidJsonConnection</name> + <message> + <location filename="dbandroidjsonconnection.cpp" line="175"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="182"/> + <source>Failed to create port forwarding for device %1 for port %2.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="196"/> + <source>Could not connect to network host: %1:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="210"/> + <source>Cannot connect to %1:%2, because password is invalid.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="307"/> + <source>Error while parsing response from Android: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="315"/> + <source>Generic error from Android: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="329"/> + <location filename="dbandroidjsonconnection.cpp" line="336"/> + <source>Missing 'columns' in response from Android.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="357"/> + <source>Response from Android has missing data for column '%1' in row %2.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidPathDialog</name> + <message> + <location filename="dbandroidpathdialog.ui" line="20"/> + <source>Android database URL</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="26"/> + <source>Connection method</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="32"/> + <source>USB cable - port forwarding</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="42"/> + <source>USB cable - sqlite3 command</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="49"/> + <source>Network (IP address)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="59"/> + <source>Device</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="71"/> + <source>IP address</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="93"/> + <source>Port</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="115"/> + <source>Remote access password</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="127"/> + <source><p>This is password configured in the SQLiteStudio service being embeded in the Android application.</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="140"/> + <source>Application</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="155"/> + <source>Filter</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="168"/> + <source>Database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="177"/> + <source>Create a new database directly on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="187"/> + <source>Delete currently selected database from the device. The currently selected database is the one picked in the list on the left of this button.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="382"/> + <source>Enter valid IP address.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="387"/> + <source>Pick Android device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="391"/> + <source>Pick Android database.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="415"/> + <source>Selected Android application is unknown, or not debuggable.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Create new database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Please provide name for the new database. +It's the name which Android application will use to connect to the database:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Invalid name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <source>Database with the same name (%1) already exists on the device. +The name must be unique.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <source>Could not create database '%1', because could not connect to the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Could not create database '%1'. +Details: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Delete database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Are you sure you want to delete database '%1' from %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Error deleting</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <source>Could not connect to %1 in order to delete database '%2'.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Could not delete database named '%1' from the device. +Android device refused deletion, or it was impossible.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidShellConnection</name> + <message> + <location filename="dbandroidshellconnection.cpp" line="30"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="45"/> + <source>Cannot connect to device %1, because the application %2 doesn't seem to be installed on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="55"/> + <source>Cannot connect to device %1, because the application %2 is not debuggable.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="64"/> + <source>Cannot connect to device %1, because '%2' command doesn't seem to be available on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="76"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="89"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device. Details: %3</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="125"/> + <source>Cannot get list of databases for application %1. Details: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="202"/> + <location filename="dbandroidshellconnection.cpp" line="209"/> + <source>Could not execute query on database '%1': %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <location filename="sqlqueryandroid.cpp" line="101"/> + <source>Cannot bind argument '%1' of the query, because it's value is missing.</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/Plugins/DbAndroid/DbAndroid_it.qm b/Plugins/DbAndroid/DbAndroid_it.qm Binary files differnew file mode 100644 index 0000000..9dad8df --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_it.qm diff --git a/Plugins/DbAndroid/DbAndroid_it.ts b/Plugins/DbAndroid/DbAndroid_it.ts new file mode 100644 index 0000000..73f4429 --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_it.ts @@ -0,0 +1,337 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="it_IT"> +<context> + <name>DbAndroid</name> + <message> + <location filename="dbandroid.cpp" line="39"/> + <source>Invalid or incomplete Android Database URL.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="54"/> + <source>Android database URL</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="55"/> + <source>Select Android database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="151"/> + <source>Select ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="173"/> + <source>Using Android Debug Bridge: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="183"/> + <source>You can grab Android connector JAR file from Tools menu. It's required for 2 of 3 connections supported by the Android plugin. For more details read plugin's documentation on <a href="%1">SQLiteStudio's wiki page.</a></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="191"/> + <source>Could not find Android Debug Bridge application. <a href="%1">Click here</a> to point out the location of the ADB application, otherwise the %2 plugin will not support USB cable connections, only the network connection..</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>Invalid ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>The selected ADB is incorrect. +Would you like to select another one, or leave it unconfigured?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Select another ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Leave unconfigured</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="232"/> + <source>Save jar file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="251"/> + <source>Get Android connector JAR file</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidInstance</name> + <message> + <location filename="dbandroidinstance.cpp" line="141"/> + <source>Connection with Android database '%1' lost.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidJsonConnection</name> + <message> + <location filename="dbandroidjsonconnection.cpp" line="175"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="182"/> + <source>Failed to create port forwarding for device %1 for port %2.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="196"/> + <source>Could not connect to network host: %1:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="210"/> + <source>Cannot connect to %1:%2, because password is invalid.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="307"/> + <source>Error while parsing response from Android: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="315"/> + <source>Generic error from Android: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="329"/> + <location filename="dbandroidjsonconnection.cpp" line="336"/> + <source>Missing 'columns' in response from Android.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="357"/> + <source>Response from Android has missing data for column '%1' in row %2.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidPathDialog</name> + <message> + <location filename="dbandroidpathdialog.ui" line="20"/> + <source>Android database URL</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="26"/> + <source>Connection method</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="32"/> + <source>USB cable - port forwarding</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="42"/> + <source>USB cable - sqlite3 command</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="49"/> + <source>Network (IP address)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="59"/> + <source>Device</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="71"/> + <source>IP address</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="93"/> + <source>Port</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="115"/> + <source>Remote access password</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="127"/> + <source><p>This is password configured in the SQLiteStudio service being embeded in the Android application.</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="140"/> + <source>Application</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="155"/> + <source>Filter</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="168"/> + <source>Database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="177"/> + <source>Create a new database directly on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="187"/> + <source>Delete currently selected database from the device. The currently selected database is the one picked in the list on the left of this button.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="382"/> + <source>Enter valid IP address.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="387"/> + <source>Pick Android device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="391"/> + <source>Pick Android database.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="415"/> + <source>Selected Android application is unknown, or not debuggable.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Create new database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Please provide name for the new database. +It's the name which Android application will use to connect to the database:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Invalid name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <source>Database with the same name (%1) already exists on the device. +The name must be unique.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <source>Could not create database '%1', because could not connect to the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Could not create database '%1'. +Details: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Delete database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Are you sure you want to delete database '%1' from %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Error deleting</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <source>Could not connect to %1 in order to delete database '%2'.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Could not delete database named '%1' from the device. +Android device refused deletion, or it was impossible.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidShellConnection</name> + <message> + <location filename="dbandroidshellconnection.cpp" line="30"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="45"/> + <source>Cannot connect to device %1, because the application %2 doesn't seem to be installed on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="55"/> + <source>Cannot connect to device %1, because the application %2 is not debuggable.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="64"/> + <source>Cannot connect to device %1, because '%2' command doesn't seem to be available on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="76"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="89"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device. Details: %3</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="125"/> + <source>Cannot get list of databases for application %1. Details: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="202"/> + <location filename="dbandroidshellconnection.cpp" line="209"/> + <source>Could not execute query on database '%1': %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <location filename="sqlqueryandroid.cpp" line="101"/> + <source>Cannot bind argument '%1' of the query, because it's value is missing.</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/Plugins/DbAndroid/DbAndroid_pl.qm b/Plugins/DbAndroid/DbAndroid_pl.qm Binary files differnew file mode 100644 index 0000000..96c4b9a --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_pl.qm diff --git a/Plugins/DbAndroid/DbAndroid_pl.ts b/Plugins/DbAndroid/DbAndroid_pl.ts new file mode 100644 index 0000000..f2f781c --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_pl.ts @@ -0,0 +1,342 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="pl_PL"> +<context> + <name>DbAndroid</name> + <message> + <location filename="dbandroid.cpp" line="39"/> + <source>Invalid or incomplete Android Database URL.</source> + <translation>Niepoprawny lub niekompletny URL Bazy Androida</translation> + </message> + <message> + <location filename="dbandroid.cpp" line="54"/> + <source>Android database URL</source> + <translation>URL bazy Androida</translation> + </message> + <message> + <location filename="dbandroid.cpp" line="55"/> + <source>Select Android database</source> + <translation>Wybierz bazÄ™ Androida</translation> + </message> + <message> + <location filename="dbandroid.cpp" line="151"/> + <source>Select ADB</source> + <translation>Wybierz ADB</translation> + </message> + <message> + <location filename="dbandroid.cpp" line="173"/> + <source>Using Android Debug Bridge: %1</source> + <translation>Używam nastÄ™pujÄ…cego Android Debug Bridge: %1</translation> + </message> + <message> + <location filename="dbandroid.cpp" line="183"/> + <source>You can grab Android connector JAR file from Tools menu. It's required for 2 of 3 connections supported by the Android plugin. For more details read plugin's documentation on <a href="%1">SQLiteStudio's wiki page.</a></source> + <translation>Możesz pobrać plik JAR konektora Android z menu NarzÄ™dzia. Jest on wymagany do 2 z 3 obsÅ‚ugiwanych połączeÅ„ wtyczki Android. Po wiÄ™cej szczegółów przeczytaj dokumentacjÄ™ na <a href="%1">stronie wiki SQLiteStudio.</a></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="191"/> + <source>Could not find Android Debug Bridge application. <a href="%1">Click here</a> to point out the location of the ADB application, otherwise the %2 plugin will not support USB cable connections, only the network connection..</source> + <translation>Nie można znaleźć aplikacji Android Debug Bridge. <a href="%1">Kliknij tutaj</a> aby wskazać poÅ‚ożenie aplikacji ADB, inaczej wtyczka %2 nie bÄ™dzie obsÅ‚ugiwać połączeÅ„ przez kabel USB, tylko połączenia przez sieć.</translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>Invalid ADB</source> + <translation>Niepoprawny ADB</translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>The selected ADB is incorrect. +Would you like to select another one, or leave it unconfigured?</source> + <translation>Wybrany ADB jest niepoprawny. +Chcesz wybrać inny, czy zostawić go nieskonfigurowanego?</translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Select another ADB</source> + <translation>Wybierz inny ADB</translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Leave unconfigured</source> + <translation>Zostaw nieskonfigurowany</translation> + </message> + <message> + <location filename="dbandroid.cpp" line="232"/> + <source>Save jar file</source> + <translation>Zapisz plik jar</translation> + </message> + <message> + <location filename="dbandroid.cpp" line="251"/> + <source>Get Android connector JAR file</source> + <translation>Pobierz plik JAR konektora Android</translation> + </message> +</context> +<context> + <name>DbAndroidInstance</name> + <message> + <location filename="dbandroidinstance.cpp" line="141"/> + <source>Connection with Android database '%1' lost.</source> + <translation>Połączenie z bazÄ… Androida '%1' utracone.</translation> + </message> +</context> +<context> + <name>DbAndroidJsonConnection</name> + <message> + <location filename="dbandroidjsonconnection.cpp" line="175"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation>Nie można połączyć siÄ™ z urzÄ…dzeniem %1, ponieważ nie jest ono widoczne dla twojego komputera.</translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="182"/> + <source>Failed to create port forwarding for device %1 for port %2.</source> + <translation>Nie powiodÅ‚o siÄ™ stworzenie portu przekierowujÄ…cego dla urzÄ…dzenia %1 dla portu %2.</translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="196"/> + <source>Could not connect to network host: %1:%2</source> + <translation>Nie udaÅ‚o siÄ™ połączyć z adresem sieciowym: %1:%2</translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="210"/> + <source>Cannot connect to %1:%2, because password is invalid.</source> + <translation>Nie można połączyć z %1:%2, ponieważ podano niepoprawne hasÅ‚o.</translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="307"/> + <source>Error while parsing response from Android: %1</source> + <translation>Błąd podczas analizy odpowiedzi z Androida: %1</translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="315"/> + <source>Generic error from Android: %1</source> + <translation>Błąd ogólny z Androida: %1</translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="329"/> + <location filename="dbandroidjsonconnection.cpp" line="336"/> + <source>Missing 'columns' in response from Android.</source> + <translation>Brauje 'columns' w odpowiedzi z Androida.</translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="357"/> + <source>Response from Android has missing data for column '%1' in row %2.</source> + <translation>Brakuje danych w kolumnie '%1' w wierszy %2 w odpowiedź z Androida.</translation> + </message> +</context> +<context> + <name>DbAndroidPathDialog</name> + <message> + <location filename="dbandroidpathdialog.ui" line="20"/> + <source>Android database URL</source> + <translation>URL bazy Androida</translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="26"/> + <source>Connection method</source> + <translation>Metoda połączenia</translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="32"/> + <source>USB cable - port forwarding</source> + <translation>Kabel USB - przekierowanie portu</translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="42"/> + <source>USB cable - sqlite3 command</source> + <translation>Kabel USB - polecenie sqlite3</translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="49"/> + <source>Network (IP address)</source> + <translation>Sieć (adres IP)</translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="59"/> + <source>Device</source> + <translation>UrzÄ…dzenie</translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="71"/> + <source>IP address</source> + <translation>Adres IP</translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="93"/> + <source>Port</source> + <translation>Port</translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="115"/> + <source>Remote access password</source> + <translation>HasÅ‚o zdalnego dostÄ™pu</translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="127"/> + <source><p>This is password configured in the SQLiteStudio service being embeded in the Android application.</p></source> + <translation><p>HasÅ‚o to jest konfigurowane w serwisie SQLiteStudio, który jest osadzany w aplikacji Androida.</p></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="140"/> + <source>Application</source> + <translation>Aplikacja</translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="155"/> + <source>Filter</source> + <translation>Filtr</translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="168"/> + <source>Database</source> + <translation>Baza danych</translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="177"/> + <source>Create a new database directly on the device.</source> + <translation>Stwórz nowÄ… bazÄ™ danych bezpoÅ›rednio na urzÄ…dzeniu.</translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="187"/> + <source>Delete currently selected database from the device. The currently selected database is the one picked in the list on the left of this button.</source> + <translation>UsuÅ„ aktualnie wybranÄ… bazÄ™ danych z urzÄ…dzenia. Aktualnie wybrana baza to ta wybrana z listy po lewej stronie od tego przycisku.</translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="382"/> + <source>Enter valid IP address.</source> + <translation>Wprowadź poprawny adres IP.</translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="387"/> + <source>Pick Android device.</source> + <translation>Wybierz urzÄ…dzenie Android.</translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="391"/> + <source>Pick Android database.</source> + <translation>Wybierz bazÄ™ danych Android.</translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="415"/> + <source>Selected Android application is unknown, or not debuggable.</source> + <translation>Wybierana aplikacja Android jest nieznana, lub niedebugowalna.</translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Create new database</source> + <translation>Stwórz nowÄ… bazÄ™</translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Please provide name for the new database. +It's the name which Android application will use to connect to the database:</source> + <translation>ProszÄ™ podać nazwÄ™ dla nowej bazy. +Jest to nazwa, którÄ… aplikacja Androida bÄ™dzie używać przy łączeniu z bazÄ… danych:</translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Invalid name</source> + <translation>Niepoprawna nazwa</translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <source>Database with the same name (%1) already exists on the device. +The name must be unique.</source> + <translation>Baza danych z takÄ… samÄ… nazwÄ… (%1) już istnieje na urzÄ…dzeniu. +Nazwa musi być unikalna.</translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <source>Could not create database '%1', because could not connect to the device.</source> + <translation>Nie można stworzyć bazy danych '%1', ponieważ nie udaÅ‚o siÄ™ połączyć z urzÄ…dzeniem.</translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Could not create database '%1'. +Details: %2</source> + <translation>Nie można stworzyć bazy danych: '%1'. +Szczegóły: %2</translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Delete database</source> + <translation>UsuÅ„ bazÄ™ danych</translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Are you sure you want to delete database '%1' from %2?</source> + <translation>Czy na pewno chcesz usunąć bazÄ™ danych '%1' z %2?</translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Error deleting</source> + <translation>Błąd usuwania</translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <source>Could not connect to %1 in order to delete database '%2'.</source> + <translation>Nie można połączyć siÄ™ z %1 w celu usuniÄ™cia bazy danych '%2'.</translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Could not delete database named '%1' from the device. +Android device refused deletion, or it was impossible.</source> + <translation>Nie można usunąć bazy o nazwie '%1' z urzÄ…dzenia. +UrzÄ…dzenie Android odmówiÅ‚o usuniÄ™cia, lub byÅ‚o to niemożliwe.</translation> + </message> +</context> +<context> + <name>DbAndroidShellConnection</name> + <message> + <location filename="dbandroidshellconnection.cpp" line="30"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation>Nie można połączyć siÄ™ z urzÄ…dzeniem %1, ponieważ nie jest ono widoczne dla twojego komputera.</translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="45"/> + <source>Cannot connect to device %1, because the application %2 doesn't seem to be installed on the device.</source> + <translation>Nie można połączyć siÄ™ urzÄ…dzeniem %1, ponieważ wyglÄ…da na to, że aplikacja %2 nie jest zainstalowana na tym urzÄ…dzeniu.</translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="55"/> + <source>Cannot connect to device %1, because the application %2 is not debuggable.</source> + <translation>Nie można połączyć siÄ™ urzÄ…dzeniem %1, ponieważ aplikacja %2 nie debugowalna.</translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="64"/> + <source>Cannot connect to device %1, because '%2' command doesn't seem to be available on the device.</source> + <translation>Nie można połączyć siÄ™ urzÄ…dzeniem %1, ponieważ wyglÄ…da na to, że polecenie '%2' nie jest dostÄ™pne na tym urzÄ…dzeniu.</translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="76"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device.</source> + <translation>Nie można połączyć siÄ™ urzÄ…dzeniem %1, ponieważ nie ma prawa dostÄ™pu do bazy danych '%2' na tym urzÄ…dzeniu.</translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="89"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device. Details: %3</source> + <translation>Nie można połączyć siÄ™ urzÄ…dzeniem %1, ponieważ nie ma prawa dostÄ™pu do bazy danych '%2' na tym urzÄ…dzeniu. Szczegóły: %3</translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="125"/> + <source>Cannot get list of databases for application %1. Details: %2</source> + <translation>Nie można pobrać listy baz danych dla aplikacji %1. Szczegóły: %2</translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="202"/> + <location filename="dbandroidshellconnection.cpp" line="209"/> + <source>Could not execute query on database '%1': %2</source> + <translation>Nie można wykonać polecenia na bazie '%1': %2</translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <location filename="sqlqueryandroid.cpp" line="101"/> + <source>Cannot bind argument '%1' of the query, because it's value is missing.</source> + <translation>Nie można podpiąć argumentu '%1' zapytania, ponieważ nie ma dla niego wartoÅ›ci.</translation> + </message> +</context> +</TS> diff --git a/Plugins/DbAndroid/DbAndroid_pt_BR.qm b/Plugins/DbAndroid/DbAndroid_pt_BR.qm Binary files differnew file mode 100644 index 0000000..c02994c --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_pt_BR.qm diff --git a/Plugins/DbAndroid/DbAndroid_pt_BR.ts b/Plugins/DbAndroid/DbAndroid_pt_BR.ts new file mode 100644 index 0000000..46ce2a9 --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_pt_BR.ts @@ -0,0 +1,337 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="pt_BR"> +<context> + <name>DbAndroid</name> + <message> + <location filename="dbandroid.cpp" line="39"/> + <source>Invalid or incomplete Android Database URL.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="54"/> + <source>Android database URL</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="55"/> + <source>Select Android database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="151"/> + <source>Select ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="173"/> + <source>Using Android Debug Bridge: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="183"/> + <source>You can grab Android connector JAR file from Tools menu. It's required for 2 of 3 connections supported by the Android plugin. For more details read plugin's documentation on <a href="%1">SQLiteStudio's wiki page.</a></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="191"/> + <source>Could not find Android Debug Bridge application. <a href="%1">Click here</a> to point out the location of the ADB application, otherwise the %2 plugin will not support USB cable connections, only the network connection..</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>Invalid ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>The selected ADB is incorrect. +Would you like to select another one, or leave it unconfigured?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Select another ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Leave unconfigured</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="232"/> + <source>Save jar file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="251"/> + <source>Get Android connector JAR file</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidInstance</name> + <message> + <location filename="dbandroidinstance.cpp" line="141"/> + <source>Connection with Android database '%1' lost.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidJsonConnection</name> + <message> + <location filename="dbandroidjsonconnection.cpp" line="175"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="182"/> + <source>Failed to create port forwarding for device %1 for port %2.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="196"/> + <source>Could not connect to network host: %1:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="210"/> + <source>Cannot connect to %1:%2, because password is invalid.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="307"/> + <source>Error while parsing response from Android: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="315"/> + <source>Generic error from Android: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="329"/> + <location filename="dbandroidjsonconnection.cpp" line="336"/> + <source>Missing 'columns' in response from Android.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="357"/> + <source>Response from Android has missing data for column '%1' in row %2.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidPathDialog</name> + <message> + <location filename="dbandroidpathdialog.ui" line="20"/> + <source>Android database URL</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="26"/> + <source>Connection method</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="32"/> + <source>USB cable - port forwarding</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="42"/> + <source>USB cable - sqlite3 command</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="49"/> + <source>Network (IP address)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="59"/> + <source>Device</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="71"/> + <source>IP address</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="93"/> + <source>Port</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="115"/> + <source>Remote access password</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="127"/> + <source><p>This is password configured in the SQLiteStudio service being embeded in the Android application.</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="140"/> + <source>Application</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="155"/> + <source>Filter</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="168"/> + <source>Database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="177"/> + <source>Create a new database directly on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="187"/> + <source>Delete currently selected database from the device. The currently selected database is the one picked in the list on the left of this button.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="382"/> + <source>Enter valid IP address.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="387"/> + <source>Pick Android device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="391"/> + <source>Pick Android database.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="415"/> + <source>Selected Android application is unknown, or not debuggable.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Create new database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Please provide name for the new database. +It's the name which Android application will use to connect to the database:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Invalid name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <source>Database with the same name (%1) already exists on the device. +The name must be unique.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <source>Could not create database '%1', because could not connect to the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Could not create database '%1'. +Details: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Delete database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Are you sure you want to delete database '%1' from %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Error deleting</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <source>Could not connect to %1 in order to delete database '%2'.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Could not delete database named '%1' from the device. +Android device refused deletion, or it was impossible.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidShellConnection</name> + <message> + <location filename="dbandroidshellconnection.cpp" line="30"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="45"/> + <source>Cannot connect to device %1, because the application %2 doesn't seem to be installed on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="55"/> + <source>Cannot connect to device %1, because the application %2 is not debuggable.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="64"/> + <source>Cannot connect to device %1, because '%2' command doesn't seem to be available on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="76"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="89"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device. Details: %3</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="125"/> + <source>Cannot get list of databases for application %1. Details: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="202"/> + <location filename="dbandroidshellconnection.cpp" line="209"/> + <source>Could not execute query on database '%1': %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <location filename="sqlqueryandroid.cpp" line="101"/> + <source>Cannot bind argument '%1' of the query, because it's value is missing.</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/Plugins/DbAndroid/DbAndroid_ru.qm b/Plugins/DbAndroid/DbAndroid_ru.qm Binary files differnew file mode 100644 index 0000000..7431612 --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_ru.qm diff --git a/Plugins/DbAndroid/DbAndroid_ru.ts b/Plugins/DbAndroid/DbAndroid_ru.ts new file mode 100644 index 0000000..efc50ff --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_ru.ts @@ -0,0 +1,337 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ru_RU"> +<context> + <name>DbAndroid</name> + <message> + <location filename="dbandroid.cpp" line="39"/> + <source>Invalid or incomplete Android Database URL.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="54"/> + <source>Android database URL</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="55"/> + <source>Select Android database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="151"/> + <source>Select ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="173"/> + <source>Using Android Debug Bridge: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="183"/> + <source>You can grab Android connector JAR file from Tools menu. It's required for 2 of 3 connections supported by the Android plugin. For more details read plugin's documentation on <a href="%1">SQLiteStudio's wiki page.</a></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="191"/> + <source>Could not find Android Debug Bridge application. <a href="%1">Click here</a> to point out the location of the ADB application, otherwise the %2 plugin will not support USB cable connections, only the network connection..</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>Invalid ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>The selected ADB is incorrect. +Would you like to select another one, or leave it unconfigured?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Select another ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Leave unconfigured</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="232"/> + <source>Save jar file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="251"/> + <source>Get Android connector JAR file</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidInstance</name> + <message> + <location filename="dbandroidinstance.cpp" line="141"/> + <source>Connection with Android database '%1' lost.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidJsonConnection</name> + <message> + <location filename="dbandroidjsonconnection.cpp" line="175"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="182"/> + <source>Failed to create port forwarding for device %1 for port %2.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="196"/> + <source>Could not connect to network host: %1:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="210"/> + <source>Cannot connect to %1:%2, because password is invalid.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="307"/> + <source>Error while parsing response from Android: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="315"/> + <source>Generic error from Android: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="329"/> + <location filename="dbandroidjsonconnection.cpp" line="336"/> + <source>Missing 'columns' in response from Android.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="357"/> + <source>Response from Android has missing data for column '%1' in row %2.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidPathDialog</name> + <message> + <location filename="dbandroidpathdialog.ui" line="20"/> + <source>Android database URL</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="26"/> + <source>Connection method</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="32"/> + <source>USB cable - port forwarding</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="42"/> + <source>USB cable - sqlite3 command</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="49"/> + <source>Network (IP address)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="59"/> + <source>Device</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="71"/> + <source>IP address</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="93"/> + <source>Port</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="115"/> + <source>Remote access password</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="127"/> + <source><p>This is password configured in the SQLiteStudio service being embeded in the Android application.</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="140"/> + <source>Application</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="155"/> + <source>Filter</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="168"/> + <source>Database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="177"/> + <source>Create a new database directly on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="187"/> + <source>Delete currently selected database from the device. The currently selected database is the one picked in the list on the left of this button.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="382"/> + <source>Enter valid IP address.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="387"/> + <source>Pick Android device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="391"/> + <source>Pick Android database.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="415"/> + <source>Selected Android application is unknown, or not debuggable.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Create new database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Please provide name for the new database. +It's the name which Android application will use to connect to the database:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Invalid name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <source>Database with the same name (%1) already exists on the device. +The name must be unique.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <source>Could not create database '%1', because could not connect to the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Could not create database '%1'. +Details: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Delete database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Are you sure you want to delete database '%1' from %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Error deleting</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <source>Could not connect to %1 in order to delete database '%2'.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Could not delete database named '%1' from the device. +Android device refused deletion, or it was impossible.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidShellConnection</name> + <message> + <location filename="dbandroidshellconnection.cpp" line="30"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="45"/> + <source>Cannot connect to device %1, because the application %2 doesn't seem to be installed on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="55"/> + <source>Cannot connect to device %1, because the application %2 is not debuggable.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="64"/> + <source>Cannot connect to device %1, because '%2' command doesn't seem to be available on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="76"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="89"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device. Details: %3</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="125"/> + <source>Cannot get list of databases for application %1. Details: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="202"/> + <location filename="dbandroidshellconnection.cpp" line="209"/> + <source>Could not execute query on database '%1': %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <location filename="sqlqueryandroid.cpp" line="101"/> + <source>Cannot bind argument '%1' of the query, because it's value is missing.</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/Plugins/DbAndroid/DbAndroid_sk.qm b/Plugins/DbAndroid/DbAndroid_sk.qm Binary files differnew file mode 100644 index 0000000..1776294 --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_sk.qm diff --git a/Plugins/DbAndroid/DbAndroid_sk.ts b/Plugins/DbAndroid/DbAndroid_sk.ts new file mode 100644 index 0000000..4483977 --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_sk.ts @@ -0,0 +1,337 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="sk_SK"> +<context> + <name>DbAndroid</name> + <message> + <location filename="dbandroid.cpp" line="39"/> + <source>Invalid or incomplete Android Database URL.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="54"/> + <source>Android database URL</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="55"/> + <source>Select Android database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="151"/> + <source>Select ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="173"/> + <source>Using Android Debug Bridge: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="183"/> + <source>You can grab Android connector JAR file from Tools menu. It's required for 2 of 3 connections supported by the Android plugin. For more details read plugin's documentation on <a href="%1">SQLiteStudio's wiki page.</a></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="191"/> + <source>Could not find Android Debug Bridge application. <a href="%1">Click here</a> to point out the location of the ADB application, otherwise the %2 plugin will not support USB cable connections, only the network connection..</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>Invalid ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>The selected ADB is incorrect. +Would you like to select another one, or leave it unconfigured?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Select another ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Leave unconfigured</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="232"/> + <source>Save jar file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="251"/> + <source>Get Android connector JAR file</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidInstance</name> + <message> + <location filename="dbandroidinstance.cpp" line="141"/> + <source>Connection with Android database '%1' lost.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidJsonConnection</name> + <message> + <location filename="dbandroidjsonconnection.cpp" line="175"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="182"/> + <source>Failed to create port forwarding for device %1 for port %2.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="196"/> + <source>Could not connect to network host: %1:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="210"/> + <source>Cannot connect to %1:%2, because password is invalid.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="307"/> + <source>Error while parsing response from Android: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="315"/> + <source>Generic error from Android: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="329"/> + <location filename="dbandroidjsonconnection.cpp" line="336"/> + <source>Missing 'columns' in response from Android.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="357"/> + <source>Response from Android has missing data for column '%1' in row %2.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidPathDialog</name> + <message> + <location filename="dbandroidpathdialog.ui" line="20"/> + <source>Android database URL</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="26"/> + <source>Connection method</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="32"/> + <source>USB cable - port forwarding</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="42"/> + <source>USB cable - sqlite3 command</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="49"/> + <source>Network (IP address)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="59"/> + <source>Device</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="71"/> + <source>IP address</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="93"/> + <source>Port</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="115"/> + <source>Remote access password</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="127"/> + <source><p>This is password configured in the SQLiteStudio service being embeded in the Android application.</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="140"/> + <source>Application</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="155"/> + <source>Filter</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="168"/> + <source>Database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="177"/> + <source>Create a new database directly on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="187"/> + <source>Delete currently selected database from the device. The currently selected database is the one picked in the list on the left of this button.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="382"/> + <source>Enter valid IP address.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="387"/> + <source>Pick Android device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="391"/> + <source>Pick Android database.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="415"/> + <source>Selected Android application is unknown, or not debuggable.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Create new database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Please provide name for the new database. +It's the name which Android application will use to connect to the database:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Invalid name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <source>Database with the same name (%1) already exists on the device. +The name must be unique.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <source>Could not create database '%1', because could not connect to the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Could not create database '%1'. +Details: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Delete database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Are you sure you want to delete database '%1' from %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Error deleting</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <source>Could not connect to %1 in order to delete database '%2'.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Could not delete database named '%1' from the device. +Android device refused deletion, or it was impossible.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidShellConnection</name> + <message> + <location filename="dbandroidshellconnection.cpp" line="30"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="45"/> + <source>Cannot connect to device %1, because the application %2 doesn't seem to be installed on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="55"/> + <source>Cannot connect to device %1, because the application %2 is not debuggable.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="64"/> + <source>Cannot connect to device %1, because '%2' command doesn't seem to be available on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="76"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="89"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device. Details: %3</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="125"/> + <source>Cannot get list of databases for application %1. Details: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="202"/> + <location filename="dbandroidshellconnection.cpp" line="209"/> + <source>Could not execute query on database '%1': %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <location filename="sqlqueryandroid.cpp" line="101"/> + <source>Cannot bind argument '%1' of the query, because it's value is missing.</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/Plugins/DbAndroid/DbAndroid_zh_CN.qm b/Plugins/DbAndroid/DbAndroid_zh_CN.qm new file mode 100644 index 0000000..be651ee --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_zh_CN.qm @@ -0,0 +1 @@ +<¸dÊÍ!¿`¡½Ý
\ No newline at end of file diff --git a/Plugins/DbAndroid/DbAndroid_zh_CN.ts b/Plugins/DbAndroid/DbAndroid_zh_CN.ts new file mode 100644 index 0000000..14e84d3 --- /dev/null +++ b/Plugins/DbAndroid/DbAndroid_zh_CN.ts @@ -0,0 +1,337 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="zh_CN"> +<context> + <name>DbAndroid</name> + <message> + <location filename="dbandroid.cpp" line="39"/> + <source>Invalid or incomplete Android Database URL.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="54"/> + <source>Android database URL</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="55"/> + <source>Select Android database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="151"/> + <source>Select ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="173"/> + <source>Using Android Debug Bridge: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="183"/> + <source>You can grab Android connector JAR file from Tools menu. It's required for 2 of 3 connections supported by the Android plugin. For more details read plugin's documentation on <a href="%1">SQLiteStudio's wiki page.</a></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="191"/> + <source>Could not find Android Debug Bridge application. <a href="%1">Click here</a> to point out the location of the ADB application, otherwise the %2 plugin will not support USB cable connections, only the network connection..</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>Invalid ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="209"/> + <source>The selected ADB is incorrect. +Would you like to select another one, or leave it unconfigured?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Select another ADB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="211"/> + <source>Leave unconfigured</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="232"/> + <source>Save jar file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroid.cpp" line="251"/> + <source>Get Android connector JAR file</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidInstance</name> + <message> + <location filename="dbandroidinstance.cpp" line="141"/> + <source>Connection with Android database '%1' lost.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidJsonConnection</name> + <message> + <location filename="dbandroidjsonconnection.cpp" line="175"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="182"/> + <source>Failed to create port forwarding for device %1 for port %2.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="196"/> + <source>Could not connect to network host: %1:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="210"/> + <source>Cannot connect to %1:%2, because password is invalid.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="307"/> + <source>Error while parsing response from Android: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="315"/> + <source>Generic error from Android: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="329"/> + <location filename="dbandroidjsonconnection.cpp" line="336"/> + <source>Missing 'columns' in response from Android.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidjsonconnection.cpp" line="357"/> + <source>Response from Android has missing data for column '%1' in row %2.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidPathDialog</name> + <message> + <location filename="dbandroidpathdialog.ui" line="20"/> + <source>Android database URL</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="26"/> + <source>Connection method</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="32"/> + <source>USB cable - port forwarding</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="42"/> + <source>USB cable - sqlite3 command</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="49"/> + <source>Network (IP address)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="59"/> + <source>Device</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="71"/> + <source>IP address</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="93"/> + <source>Port</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="115"/> + <source>Remote access password</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="127"/> + <source><p>This is password configured in the SQLiteStudio service being embeded in the Android application.</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="140"/> + <source>Application</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="155"/> + <source>Filter</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="168"/> + <source>Database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="177"/> + <source>Create a new database directly on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.ui" line="187"/> + <source>Delete currently selected database from the device. The currently selected database is the one picked in the list on the left of this button.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="382"/> + <source>Enter valid IP address.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="387"/> + <source>Pick Android device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="391"/> + <source>Pick Android database.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="415"/> + <source>Selected Android application is unknown, or not debuggable.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Create new database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="442"/> + <source>Please provide name for the new database. +It's the name which Android application will use to connect to the database:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Invalid name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="450"/> + <source>Database with the same name (%1) already exists on the device. +The name must be unique.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="459"/> + <source>Could not create database '%1', because could not connect to the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="468"/> + <source>Could not create database '%1'. +Details: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Delete database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="483"/> + <source>Are you sure you want to delete database '%1' from %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Error deleting</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="504"/> + <source>Could not connect to %1 in order to delete database '%2'.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidpathdialog.cpp" line="510"/> + <source>Could not delete database named '%1' from the device. +Android device refused deletion, or it was impossible.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DbAndroidShellConnection</name> + <message> + <location filename="dbandroidshellconnection.cpp" line="30"/> + <source>Cannot connect to device %1, because it's not visible to your computer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="45"/> + <source>Cannot connect to device %1, because the application %2 doesn't seem to be installed on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="55"/> + <source>Cannot connect to device %1, because the application %2 is not debuggable.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="64"/> + <source>Cannot connect to device %1, because '%2' command doesn't seem to be available on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="76"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="89"/> + <source>Cannot connect to device %1, because '%2' database cannot be accessed on the device. Details: %3</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="125"/> + <source>Cannot get list of databases for application %1. Details: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="dbandroidshellconnection.cpp" line="202"/> + <location filename="dbandroidshellconnection.cpp" line="209"/> + <source>Could not execute query on database '%1': %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <location filename="sqlqueryandroid.cpp" line="101"/> + <source>Cannot bind argument '%1' of the query, because it's value is missing.</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/Plugins/DbAndroid/SQLiteStudioRemote.jar b/Plugins/DbAndroid/SQLiteStudioRemote.jar Binary files differnew file mode 100644 index 0000000..f7df136 --- /dev/null +++ b/Plugins/DbAndroid/SQLiteStudioRemote.jar diff --git a/Plugins/DbAndroid/adbmanager.cpp b/Plugins/DbAndroid/adbmanager.cpp index ed012a1..462e91f 100644 --- a/Plugins/DbAndroid/adbmanager.cpp +++ b/Plugins/DbAndroid/adbmanager.cpp @@ -175,13 +175,13 @@ bool AdbManager::testAdb(const QString& adbPath, bool quiet) return res; } -bool AdbManager::execBytes(const QStringList& arguments, QByteArray* stdOut, QByteArray* stdErr) +bool AdbManager::execBytes(const QStringList& arguments, QByteArray* stdOut, QByteArray* stdErr, bool forceSafe) { if (!ensureAdbRunning()) return false; QProcess proc; - if (arguments.join(" ").size() > 800) + if (forceSafe || arguments.join(" ").size() > 800) { if (!execLongCommand(arguments, proc, stdErr)) return false; @@ -250,11 +250,11 @@ bool AdbManager::ensureAdbRunning() return true; } -bool AdbManager::exec(const QStringList& arguments, QString* stdOut, QString* stdErr) +bool AdbManager::exec(const QStringList& arguments, QString* stdOut, QString* stdErr, bool forceSafe) { QByteArray* out = stdOut ? new QByteArray() : nullptr; QByteArray* err = stdErr ? new QByteArray() : nullptr; - bool res = execBytes(arguments, out, err); + bool res = execBytes(arguments, out, err, forceSafe); if (stdOut) { @@ -292,14 +292,14 @@ bool AdbManager::execLongCommand(const QStringList& arguments, QProcess& proc, Q args.removeFirst(); // remove the shell itself // Escape remaining arguments for the script - QString cmd = " '" + args.replaceInStrings("'", "'\''").join("' '") + "'"; + QString cmd = " '" + args.replaceInStrings("'", "'\\''").join("' '") + "'"; // Now, the temporary file for the script QTemporaryFile tmpFile("SQLiteStudio-XXXXXX.sh"); if (!tmpFile.open()) { if (stdErr) - *stdErr = encode(QString("Could not create temporary file: %1").arg(tmpFile.fileName())); + *stdErr = encode(QString("Could not create temporary file: %1 (%2)").arg(tmpFile.fileName(), tmpFile.errorString())); return false; } diff --git a/Plugins/DbAndroid/adbmanager.h b/Plugins/DbAndroid/adbmanager.h index adeca90..6bd70d3 100644 --- a/Plugins/DbAndroid/adbmanager.h +++ b/Plugins/DbAndroid/adbmanager.h @@ -29,8 +29,8 @@ class AdbManager : public QObject QString findAdb(); bool testCurrentAdb(); bool testAdb(const QString& adbPath, bool quiet = false); - bool execBytes(const QStringList& arguments, QByteArray* stdOut = nullptr, QByteArray* stdErr = nullptr); - bool exec(const QStringList& arguments, QString* stdOut = nullptr, QString* stdErr = nullptr); + bool execBytes(const QStringList& arguments, QByteArray* stdOut = nullptr, QByteArray* stdErr = nullptr, bool forceSafe = false); + bool exec(const QStringList& arguments, QString* stdOut = nullptr, QString* stdErr = nullptr, bool forceSafe = false); static QByteArray encode(const QString& input); static QString decode(const QByteArray& input); diff --git a/Plugins/DbAndroid/android.png b/Plugins/DbAndroid/android.png Binary files differnew file mode 100644 index 0000000..d5b4b05 --- /dev/null +++ b/Plugins/DbAndroid/android.png diff --git a/Plugins/DbAndroid/dbandroid.cpp b/Plugins/DbAndroid/dbandroid.cpp index 99150cd..9da066d 100644 --- a/Plugins/DbAndroid/dbandroid.cpp +++ b/Plugins/DbAndroid/dbandroid.cpp @@ -8,10 +8,12 @@ #include "statusfield.h" #include "services/dbmanager.h" #include "dbandroidconnectionfactory.h" +#include "iconmanager.h" #include <QUrl> #include <QDebug> #include <QFileDialog> #include <QMessageBox> +#include <QDesktopServices> #include <QtConcurrent/QtConcurrent> DbAndroid::DbAndroid() @@ -85,6 +87,8 @@ bool DbAndroid::init() connect(this, SIGNAL(invalidAdb()), this, SLOT(handleInvalidAdb())); connect(MAINWINDOW->getStatusField(), SIGNAL(linkActivated(QString)), this, SLOT(statusFieldLinkClicked(QString))); + connect(ICONMANAGER, SIGNAL(rescannedFor(QString)), this, SLOT(createJarAction(QString))); + connectionFactory = new DbAndroidConnectionFactory(this); adbManager = new AdbManager(this); @@ -95,6 +99,7 @@ bool DbAndroid::init() qDebug() << "Using ADB binary:" << cfg.DbAndroid.AdbPath.get(); adbValid = true; adbManager->getDevices(true); + showJarMessage(); } else { @@ -105,6 +110,10 @@ bool DbAndroid::init() void DbAndroid::deinit() { + if (jarAction) + MAINWINDOW->getToolsMenu()->removeAction(jarAction); + + safe_delete(jarAction); safe_delete(connectionFactory); safe_delete(adbManager); Q_CLEANUP_RESOURCE(dbandroid); @@ -163,9 +172,20 @@ void DbAndroid::handleValidAdb(bool showMessage) if (showMessage) notifyInfo(tr("Using Android Debug Bridge: %1").arg(cfg.DbAndroid.AdbPath.get())); + showJarMessage(); DBLIST->rescanInvalidDatabasesForPlugin(this); } +void DbAndroid::showJarMessage() +{ + if (!cfg.DbAndroid.JarDownloadNotified.get()) + { + notifyInfo(tr("You can grab Android connector JAR file from Tools menu. It's required for 2 of 3 connections supported by the Android plugin. " + "For more details read plugin's documentation on <a href=\"%1\">SQLiteStudio's wiki page.</a>").arg(PLUGIN_MANUAL_URL)); + cfg.DbAndroid.JarDownloadNotified.set(true); + } +} + void DbAndroid::handleInvalidAdb() { notifyError(tr("Could not find Android Debug Bridge application. <a href=\"%1\">Click here</a> to point out the location of the ADB application, " @@ -196,6 +216,10 @@ void DbAndroid::statusFieldLinkClicked(const QString& link) file = askForAdbPath(); } } + else if (link == PLUGIN_MANUAL_URL) + { + QDesktopServices::openUrl(QUrl(PLUGIN_MANUAL_URL)); + } } void DbAndroid::deviceListChanged() @@ -203,6 +227,31 @@ void DbAndroid::deviceListChanged() DBLIST->rescanInvalidDatabasesForPlugin(this); } +void DbAndroid::getJar() +{ + QString path = QFileDialog::getExistingDirectory(nullptr, tr("Save jar file")); + if (path.isEmpty()) + return; + + QString newPath = path + "/SQLiteStudioRemote.jar"; + QFile jarFile(":/dbandroid/SQLiteStudioRemote.jar"); + if (jarFile.copy(newPath)) { + notifyInfo("Android connector JAR file saved at " + newPath); + } else { + notifyError("Unable to save android connector JAR file at " + newPath); + } +} + +void DbAndroid::createJarAction(const QString& pluginName) +{ + if (pluginName != "" && pluginName != getName()) + return; + + QIcon* i = ICONMANAGER->getIcon("android"); + jarAction = MAINWINDOW->getToolsMenu()->addAction(*(i), tr("Get Android connector JAR file")); + connect(jarAction, SIGNAL(triggered()), this, SLOT(getJar())); +} + AdbManager* DbAndroid::getAdbManager() const { return adbManager; diff --git a/Plugins/DbAndroid/dbandroid.h b/Plugins/DbAndroid/dbandroid.h index 68893d0..20e9a67 100644 --- a/Plugins/DbAndroid/dbandroid.h +++ b/Plugins/DbAndroid/dbandroid.h @@ -8,10 +8,12 @@ class AdbManager; class DbAndroidConnectionFactory; +class QAction; CFG_CATEGORIES(DbAndroidConfig, CFG_CATEGORY(DbAndroid, CFG_ENTRY(QString, AdbPath, QString()) + CFG_ENTRY(bool, JarDownloadNotified, false) ) ) @@ -40,11 +42,14 @@ class DBANDROIDSHARED_EXPORT DbAndroid : public GenericPlugin, public DbPlugin private: void initAdb(); QString askForAdbPath(); + void showJarMessage(); AdbManager* adbManager = nullptr; DbAndroidConnectionFactory* connectionFactory = nullptr; bool adbValid = false; + QAction* jarAction = nullptr; + static_char* PLUGIN_MANUAL_URL = "http://wiki.sqlitestudio.pl/index.php/DbAndroid"; static_char* SELECT_ADB_URL = "select_adb://"; CFG_LOCAL_PERSISTABLE(DbAndroidConfig, cfg) @@ -54,6 +59,8 @@ class DBANDROIDSHARED_EXPORT DbAndroid : public GenericPlugin, public DbPlugin void handleInvalidAdb(); void statusFieldLinkClicked(const QString& link); void deviceListChanged(); + void getJar(); + void createJarAction(const QString& pluginName); signals: void adbReady(bool showMessage); diff --git a/Plugins/DbAndroid/dbandroid.json b/Plugins/DbAndroid/dbandroid.json index 0808bb4..9e36806 100644 --- a/Plugins/DbAndroid/dbandroid.json +++ b/Plugins/DbAndroid/dbandroid.json @@ -2,8 +2,9 @@ "type": "DbPlugin", "title": "Android SQLite", "description": "Provides support for remote SQLite databases on Android devices.", - "version": 10100, + "version": 10200, "author": "SalSoft", - "minAppVersion": 30006, - "gui": true + "minAppVersion": 30100, + "gui": true, + "loadByDefault": false } diff --git a/Plugins/DbAndroid/dbandroid.qrc b/Plugins/DbAndroid/dbandroid.qrc index 7646d2b..4a7cb48 100644 --- a/Plugins/DbAndroid/dbandroid.qrc +++ b/Plugins/DbAndroid/dbandroid.qrc @@ -1 +1,8 @@ -<RCC/> +<RCC> + <qresource prefix="/dbandroid"> + <file>SQLiteStudioRemote.jar</file> + </qresource> + <qresource prefix="/icons"> + <file>android.png</file> + </qresource> +</RCC> diff --git a/Plugins/DbAndroid/dbandroidjsonconnection.cpp b/Plugins/DbAndroid/dbandroidjsonconnection.cpp index 05d6469..fb8087e 100644 --- a/Plugins/DbAndroid/dbandroidjsonconnection.cpp +++ b/Plugins/DbAndroid/dbandroidjsonconnection.cpp @@ -199,28 +199,12 @@ bool DbAndroidJsonConnection::connectToTcp(const QString& ip, int port) connectedState = true; - // Evaluate the connection and send the security token - static_qstring(pingCmd, "{ping:\"%1\"}"); - QDate date = QDateTime::currentDateTime().date(); - QString tokenString = "06fn43" + QString::number(date.dayOfYear()) + "3ig7ws" + QString::number(date.year()) + "53"; - QByteArray md5 = QCryptographicHash::hash(tokenString.toUtf8(), QCryptographicHash::Md5); - QByteArray token = md5.toBase64(); - - QByteArray response = send(pingCmd.arg(QString::fromLatin1(token)).toUtf8()); - if (response != PING_RESPONSE_OK) - { - qWarning() << "Connection to" << ip << ":" << port << "has failed, because response to PING was:" << response; - notifyWarn(tr("Cannot connect to SQLiteStudio service on Android device. The remote service is unavailable or invalid.")); - handleConnectionFailed(); - return false; - } - // Authenticate QString pass = dbUrl.getPassword(); if (!pass.isEmpty()) { static_qstring(passPharse, "{auth:\"%1\"}"); - response = send(passPharse.arg(pass.replace("\"", "\\\"")).toUtf8()); + QByteArray response = send(passPharse.arg(pass.replace("\"", "\\\"")).toUtf8()); if (response != PASS_RESPONSE_OK) { notifyWarn(tr("Cannot connect to %1:%2, because password is invalid.").arg(ip, QString::number(port))); diff --git a/Plugins/DbAndroid/dbandroidpathdialog.cpp b/Plugins/DbAndroid/dbandroidpathdialog.cpp index da1cf5c..10a6fb8 100644 --- a/Plugins/DbAndroid/dbandroidpathdialog.cpp +++ b/Plugins/DbAndroid/dbandroidpathdialog.cpp @@ -104,6 +104,7 @@ void DbAndroidPathDialog::init() handleDbCreationUpdate(false); updateState(); adjustSize(); + scheduleDbListUpdate(); } void DbAndroidPathDialog::updateUrl() diff --git a/Plugins/DbAndroid/dbandroidshellconnection.cpp b/Plugins/DbAndroid/dbandroidshellconnection.cpp index 1a76f8d..b39c19d 100644 --- a/Plugins/DbAndroid/dbandroidshellconnection.cpp +++ b/Plugins/DbAndroid/dbandroidshellconnection.cpp @@ -39,7 +39,7 @@ bool DbAndroidShellConnection::connectToAndroid(const DbAndroidUrl& url) } QString stdOut; - bool res = adbManager->exec(QStringList({"shell", "run-as", url.getApplication(), "echo", "1"}), &stdOut); + bool res = adbManager->exec(QStringList({"shell", "run-as", url.getApplication(), "ls"}), &stdOut); if (!res) { notifyWarn(tr("Cannot connect to device %1, because the application %2 doesn't seem to be installed on the device.").arg(url.getDevice(), url.getApplication())); @@ -172,6 +172,7 @@ DbAndroidConnection::ExecutionResult DbAndroidShellConnection::executeQuery(cons QStringList args = stdArguments; args.replace(2, connectionUrl.getApplication()); args << "databases/" + connectionUrl.getDbName(); +// args << "/data/data/" + connectionUrl.getApplication() + "/sqlitestudio_remote.sql"; args << AdbManager::encode(query); // In case of SELECT we want to union typeof() for all columns first, then original query @@ -186,7 +187,7 @@ DbAndroidConnection::ExecutionResult DbAndroidShellConnection::executeQuery(cons { firstHalfForTypes = true; args.removeLast(); - args << appendTypeQueryPart(query, columnNames); + args << AdbManager::encode(appendTypeQueryPart(query, columnNames)); } } @@ -194,7 +195,7 @@ DbAndroidConnection::ExecutionResult DbAndroidShellConnection::executeQuery(cons DbAndroidConnection::ExecutionResult results; QByteArray out; QByteArray err; - bool res = adbManager->execBytes(args, &out, &err); + bool res = adbManager->execBytes(args, &out, &err, true); if (!res) { results.wasError = true; @@ -234,7 +235,7 @@ QStringList DbAndroidShellConnection::findColumns(const QStringList& originalArg QString out; QString err; - bool res = adbManager->exec(tmpArgs, &out, &err); + bool res = adbManager->exec(tmpArgs, &out, &err, true); if (!res) { qCritical() << "Error querying columns in DbAndroidShellConnection::findColumns(): " << out << "\n" << err; @@ -331,7 +332,7 @@ QVariant DbAndroidShellConnection::valueFromString(const QByteArray& bytes, cons { static const QStringList types = QStringList({"null", "integer", "real", "text", "blob"}); - DataType dataType = static_cast<DataType>(types.indexOf(AdbManager::decode(type))); + DataType dataType = static_cast<DataType>(types.indexOf(AdbManager::decode(type).trimmed())); QByteArray decodedBytes = QByteArray::fromHex(bytes); switch (dataType) { |
