aboutsummaryrefslogtreecommitdiffstats
path: root/Plugins/SqlExport
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/SqlExport')
-rw-r--r--Plugins/SqlExport/SqlExport.pro4
-rw-r--r--Plugins/SqlExport/SqlExportCommon.ui8
-rw-r--r--Plugins/SqlExport/SqlExportQuery.ui16
-rw-r--r--Plugins/SqlExport/SqlExport_pl.qmbin0 -> 2768 bytes
-rw-r--r--Plugins/SqlExport/SqlExport_pl.ts99
-rw-r--r--Plugins/SqlExport/sqlexport.qrc3
6 files changed, 118 insertions, 12 deletions
diff --git a/Plugins/SqlExport/SqlExport.pro b/Plugins/SqlExport/SqlExport.pro
index 29a952b..f789222 100644
--- a/Plugins/SqlExport/SqlExport.pro
+++ b/Plugins/SqlExport/SqlExport.pro
@@ -27,3 +27,7 @@ OTHER_FILES += \
RESOURCES += \
sqlexport.qrc
+
+
+TRANSLATIONS += SqlExport_pl.ts
+
diff --git a/Plugins/SqlExport/SqlExportCommon.ui b/Plugins/SqlExport/SqlExportCommon.ui
index 9b5de21..891c26a 100644
--- a/Plugins/SqlExport/SqlExportCommon.ui
+++ b/Plugins/SqlExport/SqlExportCommon.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="2" column="0" colspan="2">
@@ -20,7 +20,7 @@
<string>Generate &quot;DROP IF EXISTS&quot; statement before &quot;CREATE&quot; statement</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlExport.GenerateDrop</string>
+ <string notr="true">SqlExport.GenerateDrop</string>
</property>
</widget>
</item>
@@ -30,7 +30,7 @@
<string>Format DDL statements only (excludes &quot;INSERT&quot; statements)</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlExport.FormatDdlsOnly</string>
+ <string notr="true">SqlExport.FormatDdlsOnly</string>
</property>
</widget>
</item>
@@ -40,7 +40,7 @@
<string>Use SQL formatter to format exported SQL statements</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlExport.UseFormatter</string>
+ <string notr="true">SqlExport.UseFormatter</string>
</property>
</widget>
</item>
diff --git a/Plugins/SqlExport/SqlExportQuery.ui b/Plugins/SqlExport/SqlExportQuery.ui
index 4d2a6ae..ff874bd 100644
--- a/Plugins/SqlExport/SqlExportQuery.ui
+++ b/Plugins/SqlExport/SqlExportQuery.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="3" column="0" colspan="2">
@@ -20,14 +20,14 @@
<string>Use SQL formatter to format exported SQL statements</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlExport.UseFormatter</string>
+ <string notr="true">SqlExport.UseFormatter</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="tableLabel">
<property name="text">
- <string>Table name to use for insert statements:</string>
+ <string>Table name to use for INSERT statements:</string>
</property>
</widget>
</item>
@@ -37,7 +37,7 @@
<string>Generate &quot;CREATE TABLE&quot; statement at the begining</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlExport.GenerateCreateTable</string>
+ <string notr="true">SqlExport.GenerateCreateTable</string>
</property>
</widget>
</item>
@@ -47,7 +47,7 @@
<string>Include the query in comments</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlExport.IncludeQueryInComments</string>
+ <string notr="true">SqlExport.IncludeQueryInComments</string>
</property>
</widget>
</item>
@@ -57,14 +57,14 @@
<string>Generate &quot;DROP IF EXISTS&quot; statement before &quot;CREATE&quot; statement</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlExport.GenerateDrop</string>
+ <string notr="true">SqlExport.GenerateDrop</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="tableEdit">
<property name="cfg" stdset="0">
- <string>SqlExport.QueryTable</string>
+ <string notr="true">SqlExport.QueryTable</string>
</property>
</widget>
</item>
@@ -74,7 +74,7 @@
<string>Format DDL statements only (excludes &quot;INSERT&quot; statements)</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlExport.FormatDdlsOnly</string>
+ <string notr="true">SqlExport.FormatDdlsOnly</string>
</property>
</widget>
</item>
diff --git a/Plugins/SqlExport/SqlExport_pl.qm b/Plugins/SqlExport/SqlExport_pl.qm
new file mode 100644
index 0000000..5647c1c
--- /dev/null
+++ b/Plugins/SqlExport/SqlExport_pl.qm
Binary files differ
diff --git a/Plugins/SqlExport/SqlExport_pl.ts b/Plugins/SqlExport/SqlExport_pl.ts
new file mode 100644
index 0000000..5fc187b
--- /dev/null
+++ b/Plugins/SqlExport/SqlExport_pl.ts
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="pl_PL">
+<context>
+ <name>SqlExport</name>
+ <message>
+ <location filename="sqlexport.cpp" line="57"/>
+ <source>-- Results of query:</source>
+ <translation>-- Wyniki zapytania:</translation>
+ </message>
+ <message>
+ <location filename="sqlexport.cpp" line="122"/>
+ <source>-- Table: %1</source>
+ <translation>-- Tabela: %1</translation>
+ </message>
+ <message>
+ <location filename="sqlexport.cpp" line="167"/>
+ <source>-- Index: %1</source>
+ <translation>-- Indeks: %1</translation>
+ </message>
+ <message>
+ <location filename="sqlexport.cpp" line="184"/>
+ <source>-- Trigger: %1</source>
+ <translation>-- Wyzwalacz: %1</translation>
+ </message>
+ <message>
+ <location filename="sqlexport.cpp" line="201"/>
+ <source>-- View: %1</source>
+ <translation>-- Widok: %1</translation>
+ </message>
+ <message>
+ <location filename="sqlexport.cpp" line="215"/>
+ <source>-- File generated with SQLiteStudio v%1 on %2</source>
+ <translation>-- Plik wygenerowany przez SQLiteStudio v%1 dnia %2</translation>
+ </message>
+ <message>
+ <location filename="sqlexport.cpp" line="219"/>
+ <source>-- Text encoding used: %1</source>
+ <translation>-- Użyte kodowanie tekstu: %1</translation>
+ </message>
+ <message>
+ <location filename="sqlexport.cpp" line="303"/>
+ <source>Table name for INSERT statements is mandatory.</source>
+ <translation>Nazwa tabeli dla zapytania INSERT jest obowiązkowa.</translation>
+ </message>
+</context>
+<context>
+ <name>sqlExportCommonConfig</name>
+ <message>
+ <location filename="SqlExportCommon.ui" line="20"/>
+ <source>Generate &quot;DROP IF EXISTS&quot; statement before &quot;CREATE&quot; statement</source>
+ <translation>Generuj zapytanie &quot;DROP IF EXISTS&quot; przed zapytaniem &quot;CREATE&quot;</translation>
+ </message>
+ <message>
+ <location filename="SqlExportCommon.ui" line="30"/>
+ <source>Format DDL statements only (excludes &quot;INSERT&quot; statements)</source>
+ <translation>Formatuj tylko zapytania DDL (wyklucza zapytania &quot;INSERT&quot;)</translation>
+ </message>
+ <message>
+ <location filename="SqlExportCommon.ui" line="40"/>
+ <source>Use SQL formatter to format exported SQL statements</source>
+ <translation>Użyj formatera SQL do formatowania eksportowanych zapytań SQL</translation>
+ </message>
+</context>
+<context>
+ <name>sqlExportQueryConfig</name>
+ <message>
+ <location filename="SqlExportQuery.ui" line="20"/>
+ <source>Use SQL formatter to format exported SQL statements</source>
+ <translation>Użyj formatera SQL do formatowania eksportowanych zapytań SQL</translation>
+ </message>
+ <message>
+ <location filename="SqlExportQuery.ui" line="30"/>
+ <source>Table name to use for INSERT statements:</source>
+ <oldsource>Table name to use for insert statements:</oldsource>
+ <translation>Nazwa tabeli dla zapytań INSERT:</translation>
+ </message>
+ <message>
+ <location filename="SqlExportQuery.ui" line="37"/>
+ <source>Generate &quot;CREATE TABLE&quot; statement at the begining</source>
+ <translation>Generuj zapytanie &quot;CREATE TABLE&quot; na początku</translation>
+ </message>
+ <message>
+ <location filename="SqlExportQuery.ui" line="47"/>
+ <source>Include the query in comments</source>
+ <translation>Dodaj zapytanie w komentarzach</translation>
+ </message>
+ <message>
+ <location filename="SqlExportQuery.ui" line="57"/>
+ <source>Generate &quot;DROP IF EXISTS&quot; statement before &quot;CREATE&quot; statement</source>
+ <translation>Generuj zapytanie &quot;DROP IF EXISTS&quot; przed zapytaniem &quot;CREATE&quot;</translation>
+ </message>
+ <message>
+ <location filename="SqlExportQuery.ui" line="74"/>
+ <source>Format DDL statements only (excludes &quot;INSERT&quot; statements)</source>
+ <translation>Formatuj tylko zapytania DDL (wyklucza zapytania &quot;INSERT&quot;)</translation>
+ </message>
+</context>
+</TS>
diff --git a/Plugins/SqlExport/sqlexport.qrc b/Plugins/SqlExport/sqlexport.qrc
index 447617f..3920490 100644
--- a/Plugins/SqlExport/sqlexport.qrc
+++ b/Plugins/SqlExport/sqlexport.qrc
@@ -3,4 +3,7 @@
<file>SqlExportQuery.ui</file>
<file>SqlExportCommon.ui</file>
</qresource>
+ <qresource prefix="/msg">
+ <file>SqlExport_pl.qm</file>
+ </qresource>
</RCC>