aboutsummaryrefslogtreecommitdiffstats
path: root/Plugins/XmlExport
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2018-07-27 23:51:12 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2018-07-27 23:51:12 -0400
commitfeda8a7db8d1d7c5439aa8f8feef7cc0dd2b59a0 (patch)
tree1e50f5f666f419143f510d5ded00fe2006b7bd85 /Plugins/XmlExport
parentd9aa870e5d509cc7309ab82dd102a937ab58613a (diff)
New upstream version 3.2.1+dfsg1upstream/3.2.1+dfsg1
Diffstat (limited to 'Plugins/XmlExport')
-rw-r--r--Plugins/XmlExport/XmlExport.pro4
-rw-r--r--Plugins/XmlExport/XmlExport_ro_RO.qmbin0 -> 30 bytes
-rw-r--r--Plugins/XmlExport/XmlExport_ro_RO.ts70
-rw-r--r--Plugins/XmlExport/package.xml10
-rw-r--r--Plugins/XmlExport/xmlexport.h2
-rw-r--r--Plugins/XmlExport/xmlexport.json2
-rw-r--r--Plugins/XmlExport/xmlexport.qrc2
7 files changed, 87 insertions, 3 deletions
diff --git a/Plugins/XmlExport/XmlExport.pro b/Plugins/XmlExport/XmlExport.pro
index 944c6a1..b7ae73a 100644
--- a/Plugins/XmlExport/XmlExport.pro
+++ b/Plugins/XmlExport/XmlExport.pro
@@ -27,7 +27,8 @@ RESOURCES += \
xmlexport.qrc
-TRANSLATIONS += XmlExport_de.ts \
+TRANSLATIONS += XmlExport_ro_RO.ts \
+ XmlExport_de.ts \
XmlExport_it.ts \
XmlExport_zh_CN.ts \
XmlExport_sk.ts \
@@ -51,3 +52,4 @@ TRANSLATIONS += XmlExport_de.ts \
+
diff --git a/Plugins/XmlExport/XmlExport_ro_RO.qm b/Plugins/XmlExport/XmlExport_ro_RO.qm
new file mode 100644
index 0000000..2856eb9
--- /dev/null
+++ b/Plugins/XmlExport/XmlExport_ro_RO.qm
Binary files differ
diff --git a/Plugins/XmlExport/XmlExport_ro_RO.ts b/Plugins/XmlExport/XmlExport_ro_RO.ts
new file mode 100644
index 0000000..6c69e46
--- /dev/null
+++ b/Plugins/XmlExport/XmlExport_ro_RO.ts
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="ro_RO">
+<context>
+ <name>XmlExport</name>
+ <message>
+ <location filename="xmlexport.cpp" line="38"/>
+ <source>Enter the namespace to use (for example: http://my.namespace.org)</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>XmlExportConfig</name>
+ <message>
+ <location filename="XmlExport.ui" line="20"/>
+ <source>Output format</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="XmlExport.ui" line="26"/>
+ <source>Format document (new lines, indentation)</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="XmlExport.ui" line="42"/>
+ <source>Compress (everything in one line)</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="XmlExport.ui" line="58"/>
+ <source>Special characters escaping</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="XmlExport.ui" line="64"/>
+ <source>&lt;p&gt;Ampersands will be used for shorter values and CDATA will be used for larger values. This applies only to values that require character escaping. Other values will be exported as they are.&lt;/p&gt;</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="XmlExport.ui" line="67"/>
+ <source>Use CDATA and ampersands</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="XmlExport.ui" line="83"/>
+ <source>&lt;p&gt;Every value requiring character escepe will be enclosed in CDATA block.&lt;/p&gt;</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="XmlExport.ui" line="86"/>
+ <source>Always use CDATA</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="XmlExport.ui" line="99"/>
+ <source>&lt;p&gt;Every character that require esceping will be replaced with its ampersand escape sequence. No CDATA blocks will be used.&lt;/p&gt;</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="XmlExport.ui" line="102"/>
+ <source>Always use ampersand</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="XmlExport.ui" line="118"/>
+ <source>Define XML namespace</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+</TS>
diff --git a/Plugins/XmlExport/package.xml b/Plugins/XmlExport/package.xml
new file mode 100644
index 0000000..f5f02a9
--- /dev/null
+++ b/Plugins/XmlExport/package.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<Package>
+ <DisplayName>XML Export plugin</DisplayName>
+ <Description>Plugin for exporting schema and data to XML format.</Description>
+ <Version>%VERSION%</Version>
+ <ReleaseDate>%DATE%</ReleaseDate>
+ <Name>pl.com.salsoft.sqlitestudio.plugins.xmlexport</Name>
+ <Dependencies>pl.com.salsoft.sqlitestudio.plugins</Dependencies>
+ <Default>true</Default>
+</Package> \ No newline at end of file
diff --git a/Plugins/XmlExport/xmlexport.h b/Plugins/XmlExport/xmlexport.h
index 271a687..c0842bc 100644
--- a/Plugins/XmlExport/xmlexport.h
+++ b/Plugins/XmlExport/xmlexport.h
@@ -58,7 +58,7 @@ class XMLEXPORTSHARED_EXPORT XmlExport : public GenericExportPlugin
static QString toString(bool value);
- CFG_LOCAL(XmlExportConfig, cfg)
+ CFG_LOCAL_PERSISTABLE(XmlExportConfig, cfg)
bool indent = false;
int indentDepth = 0;
QString indentStr;
diff --git a/Plugins/XmlExport/xmlexport.json b/Plugins/XmlExport/xmlexport.json
index 5780e3e..e52d243 100644
--- a/Plugins/XmlExport/xmlexport.json
+++ b/Plugins/XmlExport/xmlexport.json
@@ -2,6 +2,6 @@
"type": "ExportPlugin",
"title": "XML export",
"description": "Provides XML format for exporting.",
- "version": 10001,
+ "version": 10002,
"author": "SalSoft"
}
diff --git a/Plugins/XmlExport/xmlexport.qrc b/Plugins/XmlExport/xmlexport.qrc
index 416936c..e070c5a 100644
--- a/Plugins/XmlExport/xmlexport.qrc
+++ b/Plugins/XmlExport/xmlexport.qrc
@@ -3,6 +3,7 @@
<file>XmlExport.ui</file>
</qresource>
<qresource prefix="/msg">
+ <file>XmlExport_ro_RO.qm</file>
<file>XmlExport_de.qm</file>
@@ -16,3 +17,4 @@
+