aboutsummaryrefslogtreecommitdiffstats
path: root/Plugins/RegExpImport
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2015-01-30 17:00:24 -0500
committerLibravatarUnit 193 <unit193@ubuntu.com>2015-01-30 17:00:24 -0500
commite4767514ed04e6a0bddf3f4a47f5f0b09e65e0ee (patch)
tree86cadc2137831d44fa29fd40a2964f7fb1326de4 /Plugins/RegExpImport
parent26ddfe11c2b7fac52e5f57dcd9f5223a50b2a9a7 (diff)
parent016003905ca0e8e459e3dc33e786beda8ec92f45 (diff)
Merge tag 'upstream/3.0.2'
Upstream version 3.0.2 # gpg: Signature made Fri 30 Jan 2015 05:00:11 PM EST 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>"
Diffstat (limited to 'Plugins/RegExpImport')
-rw-r--r--Plugins/RegExpImport/RegExpImport.pro4
-rw-r--r--Plugins/RegExpImport/RegExpImport_pl.qmbin0 -> 3752 bytes
-rw-r--r--Plugins/RegExpImport/RegExpImport_pl.ts86
-rw-r--r--Plugins/RegExpImport/regexpimport.qrc3
-rw-r--r--Plugins/RegExpImport/regexpimport.ui14
5 files changed, 100 insertions, 7 deletions
diff --git a/Plugins/RegExpImport/RegExpImport.pro b/Plugins/RegExpImport/RegExpImport.pro
index 99c884e..6b3b955 100644
--- a/Plugins/RegExpImport/RegExpImport.pro
+++ b/Plugins/RegExpImport/RegExpImport.pro
@@ -26,3 +26,7 @@ FORMS += \
RESOURCES += \
regexpimport.qrc
+
+
+TRANSLATIONS += RegExpImport_pl.ts
+
diff --git a/Plugins/RegExpImport/RegExpImport_pl.qm b/Plugins/RegExpImport/RegExpImport_pl.qm
new file mode 100644
index 0000000..b71fbf8
--- /dev/null
+++ b/Plugins/RegExpImport/RegExpImport_pl.qm
Binary files differ
diff --git a/Plugins/RegExpImport/RegExpImport_pl.ts b/Plugins/RegExpImport/RegExpImport_pl.ts
new file mode 100644
index 0000000..a5d567c
--- /dev/null
+++ b/Plugins/RegExpImport/RegExpImport_pl.ts
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="pl_PL">
+<context>
+ <name>RegExpImport</name>
+ <message>
+ <location filename="regexpimport.cpp" line="37"/>
+ <source>Text files (*.txt);;All files (*)</source>
+ <translation>Pliki tekstowe (*.txt);;Wszystkie pliki (*)</translation>
+ </message>
+ <message>
+ <location filename="regexpimport.cpp" line="53"/>
+ <source>Cannot read file %1</source>
+ <translation>Nie można odczytać pliku %1</translation>
+ </message>
+ <message>
+ <location filename="regexpimport.cpp" line="161"/>
+ <source>Enter the regular expression pattern.</source>
+ <translation>Wprowadź wzorzec wyrażenia regularnego.</translation>
+ </message>
+ <message>
+ <location filename="regexpimport.cpp" line="169"/>
+ <source>Invalid pattern: %1</source>
+ <translation>Niepoprawny wzorzec: %1</translation>
+ </message>
+ <message>
+ <location filename="regexpimport.cpp" line="189"/>
+ <source>Requested capture index %1 is out of range.</source>
+ <translation>Żądany indeks przechwytywania %1 jest poza zakresem.</translation>
+ </message>
+ <message>
+ <location filename="regexpimport.cpp" line="196"/>
+ <source>&lt;p&gt;Requested capture group name &apos;%1&apos;, but it&apos;s not defined in the pattern: &lt;pre&gt;%2&lt;/pre&gt;&lt;/p&gt;</source>
+ <translation>&lt;p&gt;Zażądano grupy do przechwycenia o nazwie &apos;%1&apos;, ale nie jest ona zdefiniowana we wzorcu: &lt;pre&gt;%2&lt;/pre&gt;&lt;/p&gt;</translation>
+ </message>
+</context>
+<context>
+ <name>RegExpImportConfig</name>
+ <message>
+ <location filename="regexpimport.ui" line="20"/>
+ <source>Capture groups</source>
+ <translation>Grupy przechwytujące</translation>
+ </message>
+ <message>
+ <location filename="regexpimport.ui" line="26"/>
+ <source>Treat all RegExp capture groups as columns</source>
+ <translation>Traktuj wszystkie grupy przechwytujące jako kolumny</translation>
+ </message>
+ <message>
+ <location filename="regexpimport.ui" line="39"/>
+ <source>Import only following groups:</source>
+ <translation>Importuj tylko następujące grupy:</translation>
+ </message>
+ <message>
+ <location filename="regexpimport.ui" line="52"/>
+ <source>&lt;p&gt;Enter comma separated list of capture group indexes. The 0 index refers to the entire matched string.&lt;/p&gt;
+&lt;p&gt;If you used named groups in the pattern, you can use names instead of indexes. You can mix indexes and names in this list.&lt;/p&gt;</source>
+ <translation>&lt;p&gt;Wprowadź listę indeksów grup oddzieloną przecinkami. Indeks 0 odpowiada całemu dopasowanemu łańcuchowi.&lt;/p&gt;
+&lt;p&gt;Jeśli użyłeś nazwanych grup we wzorcu, to możesz używać nazw, zamiast indeksów. Możesz mieszać inseksy i nazwy na liście.&lt;/p&gt;</translation>
+ </message>
+ <message>
+ <location filename="regexpimport.ui" line="56"/>
+ <source>Example: 1, 3, 4</source>
+ <translation>Przykład: 1, 3, 4</translation>
+ </message>
+ <message>
+ <location filename="regexpimport.ui" line="69"/>
+ <source>Pattern:</source>
+ <translation>Wzorzec:</translation>
+ </message>
+ <message>
+ <location filename="regexpimport.ui" line="76"/>
+ <source>&lt;p&gt;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&apos;t want to import, then use &quot;import only following groups&quot; option below.
+
+You can use named groups and refer to them in group list below. To name a group use: &lt;pre&gt;(?&amp;lt;myGroupName&amp;gt;\s+\d+\s+)&lt;/pre&gt;&lt;/p&gt;</source>
+ <translation>&lt;p&gt;Użyj grup przechwytujących Wyrażeń Regularnych, aby otoczyć części wyrażenia, które chcesz zaimportować. Jeśli chcesz użyć grupy, której nie chcesz zaimportować, to użyj opcji &quot;importuj tylko następujące grupy&quot; poniżej.
+
+Możesz użyć grup nazwanych i odwoływać się do nich w liście grup poniżej. Aby nazwać grupę, użyj: &lt;pre&gt;(?&amp;lt;nazwaGrupy&amp;gt;\s+\d+\s+)&lt;/pre&gt;&lt;/p&gt;</translation>
+ </message>
+ <message>
+ <location filename="regexpimport.ui" line="81"/>
+ <source>Example: (\d+)\s+((\d+)\w+)\s+(\w+)</source>
+ <translation>Przykład: (\d+)\s+((\d+)\w+)\s+(\w+)</translation>
+ </message>
+</context>
+</TS>
diff --git a/Plugins/RegExpImport/regexpimport.qrc b/Plugins/RegExpImport/regexpimport.qrc
index 9ece86e..0d545ab 100644
--- a/Plugins/RegExpImport/regexpimport.qrc
+++ b/Plugins/RegExpImport/regexpimport.qrc
@@ -2,4 +2,7 @@
<qresource prefix="/forms">
<file>regexpimport.ui</file>
</qresource>
+ <qresource prefix="/msg">
+ <file>RegExpImport_pl.qm</file>
+ </qresource>
</RCC>
diff --git a/Plugins/RegExpImport/regexpimport.ui b/Plugins/RegExpImport/regexpimport.ui
index d1287cb..3844a40 100644
--- a/Plugins/RegExpImport/regexpimport.ui
+++ b/Plugins/RegExpImport/regexpimport.ui
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
- <string>Form</string>
+ <string notr="true">Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="0" colspan="2">
@@ -26,10 +26,10 @@
<string>Treat all RegExp capture groups as columns</string>
</property>
<property name="assignedValue" stdset="0">
- <string>all</string>
+ <string notr="true">all</string>
</property>
<property name="cfg" stdset="0">
- <string>RegExpImport.GroupsMode</string>
+ <string notr="true">RegExpImport.GroupsMode</string>
</property>
</widget>
</item>
@@ -39,10 +39,10 @@
<string>Import only following groups:</string>
</property>
<property name="assignedValue" stdset="0">
- <string>custom</string>
+ <string notr="true">custom</string>
</property>
<property name="cfg" stdset="0">
- <string>RegExpImport.GroupsMode</string>
+ <string notr="true">RegExpImport.GroupsMode</string>
</property>
</widget>
</item>
@@ -56,7 +56,7 @@
<string>Example: 1, 3, 4</string>
</property>
<property name="cfg" stdset="0">
- <string>RegExpImport.CustomGroupList</string>
+ <string notr="true">RegExpImport.CustomGroupList</string>
</property>
</widget>
</item>
@@ -81,7 +81,7 @@ You can use named groups and refer to them in group list below. To name a group
<string>Example: (\d+)\s+((\d+)\w+)\s+(\w+)</string>
</property>
<property name="cfg" stdset="0">
- <string>RegExpImport.Pattern</string>
+ <string notr="true">RegExpImport.Pattern</string>
</property>
</widget>
</item>