From feda8a7db8d1d7c5439aa8f8feef7cc0dd2b59a0 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Fri, 27 Jul 2018 23:51:12 -0400 Subject: New upstream version 3.2.1+dfsg1 --- Plugins/RegExpImport/RegExpImport.pro | 4 +- Plugins/RegExpImport/RegExpImport_ro_RO.qm | Bin 0 -> 30 bytes Plugins/RegExpImport/RegExpImport_ro_RO.ts | 83 +++++++++++++++++++++++++++++ Plugins/RegExpImport/RegExpImport_ru.qm | Bin 3785 -> 3791 bytes Plugins/RegExpImport/RegExpImport_ru.ts | 2 +- Plugins/RegExpImport/package.xml | 10 ++++ Plugins/RegExpImport/regexpimport.h | 2 +- Plugins/RegExpImport/regexpimport.json | 2 +- Plugins/RegExpImport/regexpimport.qrc | 2 + 9 files changed, 101 insertions(+), 4 deletions(-) create mode 100644 Plugins/RegExpImport/RegExpImport_ro_RO.qm create mode 100644 Plugins/RegExpImport/RegExpImport_ro_RO.ts create mode 100644 Plugins/RegExpImport/package.xml (limited to 'Plugins/RegExpImport') diff --git a/Plugins/RegExpImport/RegExpImport.pro b/Plugins/RegExpImport/RegExpImport.pro index b72ec67..c3d1bf8 100644 --- a/Plugins/RegExpImport/RegExpImport.pro +++ b/Plugins/RegExpImport/RegExpImport.pro @@ -28,7 +28,8 @@ RESOURCES += \ regexpimport.qrc -TRANSLATIONS += RegExpImport_de.ts \ +TRANSLATIONS += RegExpImport_ro_RO.ts \ + RegExpImport_de.ts \ RegExpImport_it.ts \ RegExpImport_zh_CN.ts \ RegExpImport_sk.ts \ @@ -52,3 +53,4 @@ TRANSLATIONS += RegExpImport_de.ts \ + diff --git a/Plugins/RegExpImport/RegExpImport_ro_RO.qm b/Plugins/RegExpImport/RegExpImport_ro_RO.qm new file mode 100644 index 0000000..2856eb9 Binary files /dev/null and b/Plugins/RegExpImport/RegExpImport_ro_RO.qm differ diff --git a/Plugins/RegExpImport/RegExpImport_ro_RO.ts b/Plugins/RegExpImport/RegExpImport_ro_RO.ts new file mode 100644 index 0000000..bc6288f --- /dev/null +++ b/Plugins/RegExpImport/RegExpImport_ro_RO.ts @@ -0,0 +1,83 @@ + + + + + RegExpImport + + + Text files (*.txt);;All files (*) + + + + + Cannot read file %1 + + + + + Enter the regular expression pattern. + + + + + Invalid pattern: %1 + + + + + Requested capture index %1 is out of range. + + + + + <p>Requested capture group name '%1', but it's not defined in the pattern: <pre>%2</pre></p> + + + + + RegExpImportConfig + + + Capture groups + + + + + Treat all RegExp capture groups as columns + + + + + Import only following groups: + + + + + <p>Enter comma separated list of capture group indexes. The 0 index refers to the entire matched string.</p> +<p>If you used named groups in the pattern, you can use names instead of indexes. You can mix indexes and names in this list.</p> + + + + + Example: 1, 3, 4 + + + + + Pattern: + + + + + <p>Use Regular Expression groups to enclose parts of the expression that you want to import. If you want to use a group, that you don't want to import, then use "import only following groups" option below. + +You can use named groups and refer to them in group list below. To name a group use: <pre>(?&lt;myGroupName&gt;\s+\d+\s+)</pre></p> + + + + + Example: (\d+)\s+((\d+)\w+)\s+(\w+) + + + + diff --git a/Plugins/RegExpImport/RegExpImport_ru.qm b/Plugins/RegExpImport/RegExpImport_ru.qm index 6b9c95d..f44a89e 100644 Binary files a/Plugins/RegExpImport/RegExpImport_ru.qm and b/Plugins/RegExpImport/RegExpImport_ru.qm differ diff --git a/Plugins/RegExpImport/RegExpImport_ru.ts b/Plugins/RegExpImport/RegExpImport_ru.ts index edcd7f4..d8d4ca8 100644 --- a/Plugins/RegExpImport/RegExpImport_ru.ts +++ b/Plugins/RegExpImport/RegExpImport_ru.ts @@ -26,7 +26,7 @@ Requested capture index %1 is out of range. - Запрошенный индекс группы вне досягаемости. + Запрошенный индекс группы %1 вне досягаемости. diff --git a/Plugins/RegExpImport/package.xml b/Plugins/RegExpImport/package.xml new file mode 100644 index 0000000..628dca9 --- /dev/null +++ b/Plugins/RegExpImport/package.xml @@ -0,0 +1,10 @@ + + + RegExp Import plugin + Plugin for importing data from any files using Regular Expressions. + %VERSION% + %DATE% + pl.com.salsoft.sqlitestudio.plugins.regexpimport + pl.com.salsoft.sqlitestudio.plugins + true + \ No newline at end of file diff --git a/Plugins/RegExpImport/regexpimport.h b/Plugins/RegExpImport/regexpimport.h index 3603401..a4e5f66 100644 --- a/Plugins/RegExpImport/regexpimport.h +++ b/Plugins/RegExpImport/regexpimport.h @@ -40,7 +40,7 @@ class REGEXPIMPORTSHARED_EXPORT RegExpImport : public GenericPlugin, public Impo bool validateOptions(); private: - CFG_LOCAL(RegExpImportConfig, cfg) + CFG_LOCAL_PERSISTABLE(RegExpImportConfig, cfg) QRegularExpression* re = nullptr; QList groups; QStringList columns; diff --git a/Plugins/RegExpImport/regexpimport.json b/Plugins/RegExpImport/regexpimport.json index 3e9323e..ed8085f 100644 --- a/Plugins/RegExpImport/regexpimport.json +++ b/Plugins/RegExpImport/regexpimport.json @@ -2,6 +2,6 @@ "type": "ImportPlugin", "title": "RegExp import", "description": "Importing data from text files using regular expression.", - "version": 10001, + "version": 10002, "author": "SalSoft" } diff --git a/Plugins/RegExpImport/regexpimport.qrc b/Plugins/RegExpImport/regexpimport.qrc index ad6ace8..a505f8f 100644 --- a/Plugins/RegExpImport/regexpimport.qrc +++ b/Plugins/RegExpImport/regexpimport.qrc @@ -3,6 +3,7 @@ regexpimport.ui + RegExpImport_ro_RO.qm RegExpImport_de.qm @@ -16,3 +17,4 @@ + -- cgit v1.2.3