summaryrefslogtreecommitdiffstats
path: root/Plugins/SqlEnterpriseFormatter
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/SqlEnterpriseFormatter')
-rw-r--r--Plugins/SqlEnterpriseFormatter/SqlEnterpriseFormatter.pro4
-rw-r--r--Plugins/SqlEnterpriseFormatter/SqlEnterpriseFormatter_pl.qmbin0 -> 5528 bytes
-rw-r--r--Plugins/SqlEnterpriseFormatter/SqlEnterpriseFormatter_pl.ts209
-rw-r--r--Plugins/SqlEnterpriseFormatter/sqlenterpriseformatter.qrc3
-rw-r--r--Plugins/SqlEnterpriseFormatter/sqlenterpriseformatter.ui80
5 files changed, 256 insertions, 40 deletions
diff --git a/Plugins/SqlEnterpriseFormatter/SqlEnterpriseFormatter.pro b/Plugins/SqlEnterpriseFormatter/SqlEnterpriseFormatter.pro
index ae68b60..23efd4c 100644
--- a/Plugins/SqlEnterpriseFormatter/SqlEnterpriseFormatter.pro
+++ b/Plugins/SqlEnterpriseFormatter/SqlEnterpriseFormatter.pro
@@ -98,3 +98,7 @@ FORMS += \
RESOURCES += \
sqlenterpriseformatter.qrc
+
+
+TRANSLATIONS += SqlEnterpriseFormatter_pl.ts
+
diff --git a/Plugins/SqlEnterpriseFormatter/SqlEnterpriseFormatter_pl.qm b/Plugins/SqlEnterpriseFormatter/SqlEnterpriseFormatter_pl.qm
new file mode 100644
index 0000000..ea184fe
--- /dev/null
+++ b/Plugins/SqlEnterpriseFormatter/SqlEnterpriseFormatter_pl.qm
Binary files differ
diff --git a/Plugins/SqlEnterpriseFormatter/SqlEnterpriseFormatter_pl.ts b/Plugins/SqlEnterpriseFormatter/SqlEnterpriseFormatter_pl.ts
new file mode 100644
index 0000000..b73d4ad
--- /dev/null
+++ b/Plugins/SqlEnterpriseFormatter/SqlEnterpriseFormatter_pl.ts
@@ -0,0 +1,209 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="pl_PL">
+<context>
+ <name>QObject</name>
+ <message>
+ <location filename="sqlenterpriseformatter.cpp" line="82"/>
+ <location filename="sqlenterpriseformatter.cpp" line="89"/>
+ <source>name</source>
+ <comment>example name wrapper</comment>
+ <translation>nazwa</translation>
+ </message>
+</context>
+<context>
+ <name>SqlEnterpriseFormatter</name>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="46"/>
+ <source>Indentation</source>
+ <translation>Wcięcia</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="58"/>
+ <source>Line up keywords in multi-line queries</source>
+ <translation>Wyrównaj słowa kluczowe w wielolinijkowych zapytaniach</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="68"/>
+ <source>Indent contents of parenthesis block</source>
+ <translation>Dodaj wcięcia do zawartości bloków w nawiasach</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="91"/>
+ <source>Tab size:</source>
+ <translation>Rozmiar tabulacji:</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="106"/>
+ <source>New lines</source>
+ <translation>Nowe linie</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="160"/>
+ <source>Before opening parenthesis in column definitions</source>
+ <translation>Przed nawiasem otwierającym w definicjach kolumn</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="170"/>
+ <source>After opening parenthesis in column definitions</source>
+ <translation>Po nawiasie otwierającym w definicjach kolumn</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="180"/>
+ <source>Before closing parenthesis in column definitions</source>
+ <translation>Przed nawiasem zamykającym w definicjach kolumn</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="190"/>
+ <source>After closing parenthesis in column definitions</source>
+ <translation>Po nawiasie zamykającym w definicjach kolumn</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="200"/>
+ <source>Before opening parenthesis in expressions</source>
+ <translation>Przed nawiasem otwierającym w wyrażeniach</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="210"/>
+ <source>After opening parenthesis in expressions</source>
+ <translation>Po nawiasie otwierającym w wyrażeniach</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="220"/>
+ <source>Before closing parenthesis in expressions</source>
+ <translation>Przed nawiasem zamykającym w wyrażeniach</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="230"/>
+ <source>After closing parenthesis in expressions</source>
+ <translation>Po nawiasie zamykającym w wyrażeniach</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="240"/>
+ <source>After JOIN keywords in FROM clause</source>
+ <oldsource>After *JOIN keywords in FROM clause</oldsource>
+ <translation>Po słowach kluczowych JOIN w klauzuli FROM</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="250"/>
+ <source>Put each column constraint in CREATE TABLE into new line</source>
+ <translation>Ustaw każde ograniczenie kolumny w CREATE TABLE w nowej linii</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="260"/>
+ <source>After comma</source>
+ <translation>Po przecinku</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="270"/>
+ <source>After comma in expressions</source>
+ <translation>Po przecinku w wyrażeniach</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="280"/>
+ <source>After semicolon</source>
+ <translation>Po średniku</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="290"/>
+ <location filename="sqlenterpriseformatter.ui" line="512"/>
+ <source>Never before semicolon</source>
+ <translation>Nigdy przed średnikiem</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="338"/>
+ <source>White spaces</source>
+ <translation>Spacje</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="392"/>
+ <source>Before comma in lists</source>
+ <translation>Przed przecinkiem w listach</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="402"/>
+ <source>After comma in lists</source>
+ <translation>Po przecinku w listach</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="412"/>
+ <source>Before opening parenthesis</source>
+ <translation>Przed nawiasem otwierającym</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="422"/>
+ <source>After opening parenthesis</source>
+ <translation>Po nawiasie otwierającym</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="432"/>
+ <source>Before closing parenthesis</source>
+ <translation>Przed nawiasem zamykającym</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="442"/>
+ <source>After closing parenthesis</source>
+ <translation>Po nawiasie zamykającym</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="452"/>
+ <source>No space between SQL function name and opening parenthesis</source>
+ <translation>Bez spacji między nazwą funkcji SQL i nawiasem otwierającym</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="462"/>
+ <source>Before dot operator (in path to database object)</source>
+ <translation>Przed operatorem kropki (w ścieżce do obiektu bazodanowego)</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="472"/>
+ <source>After dot operator (in path to database object)</source>
+ <translation>Po operatorze kropki (w ścieżce do obiektu bazodanowego)</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="482"/>
+ <source>Before mathematical operator</source>
+ <translation>Przed operatorem matematycznym</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="492"/>
+ <source>After mathematical operator</source>
+ <translation>Po operatorze matematycznym</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="502"/>
+ <source>Never before comma</source>
+ <translation>Nigdy przed przecinkiem</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="558"/>
+ <source>Names</source>
+ <translation>Nazwy</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="583"/>
+ <source>Preferred name wrapper</source>
+ <translation>Preferowane opakowanie nazwy</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="600"/>
+ <source>Always use name wrapping</source>
+ <translation>Zawsze opakowuj nazwy</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="610"/>
+ <source>Uppercase data type names</source>
+ <translation>Zmieniaj litery nazw typów danych na duże</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="620"/>
+ <source>Uppercase keywords</source>
+ <translation>Zmieniaj litery słów kluczowych na duże</translation>
+ </message>
+ <message>
+ <location filename="sqlenterpriseformatter.ui" line="638"/>
+ <source>Preview</source>
+ <translation>Podgląd</translation>
+ </message>
+</context>
+</TS>
diff --git a/Plugins/SqlEnterpriseFormatter/sqlenterpriseformatter.qrc b/Plugins/SqlEnterpriseFormatter/sqlenterpriseformatter.qrc
index bd23092..79ed2c7 100644
--- a/Plugins/SqlEnterpriseFormatter/sqlenterpriseformatter.qrc
+++ b/Plugins/SqlEnterpriseFormatter/sqlenterpriseformatter.qrc
@@ -2,4 +2,7 @@
<qresource prefix="/forms">
<file>sqlenterpriseformatter.ui</file>
</qresource>
+ <qresource prefix="/msg">
+ <file>SqlEnterpriseFormatter_pl.qm</file>
+ </qresource>
</RCC>
diff --git a/Plugins/SqlEnterpriseFormatter/sqlenterpriseformatter.ui b/Plugins/SqlEnterpriseFormatter/sqlenterpriseformatter.ui
index 49e8788..2ebfbdf 100644
--- a/Plugins/SqlEnterpriseFormatter/sqlenterpriseformatter.ui
+++ b/Plugins/SqlEnterpriseFormatter/sqlenterpriseformatter.ui
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
- <string>Form</string>
+ <string notr="true">Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
@@ -39,7 +39,7 @@
</sizepolicy>
</property>
<property name="currentIndex">
- <number>0</number>
+ <number>1</number>
</property>
<widget class="QWidget" name="indentTab">
<attribute name="title">
@@ -58,7 +58,7 @@
<string>Line up keywords in multi-line queries</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.LineUpKeywords</string>
+ <string notr="true">SqlEnterpriseFormatter.LineUpKeywords</string>
</property>
</widget>
</item>
@@ -68,7 +68,7 @@
<string>Indent contents of parenthesis block</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.IndentParenthesisBlock</string>
+ <string notr="true">SqlEnterpriseFormatter.IndentParenthesisBlock</string>
</property>
</widget>
</item>
@@ -95,7 +95,7 @@
<item row="3" column="2">
<widget class="QSpinBox" name="spinBox">
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.TabSize</string>
+ <string notr="true">SqlEnterpriseFormatter.TabSize</string>
</property>
</widget>
</item>
@@ -133,7 +133,7 @@
<property name="geometry">
<rect>
<x>0</x>
- <y>0</y>
+ <y>-166</y>
<width>578</width>
<height>350</height>
</rect>
@@ -160,7 +160,7 @@
<string>Before opening parenthesis in column definitions</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.NlBeforeOpenParDef</string>
+ <string notr="true">SqlEnterpriseFormatter.NlBeforeOpenParDef</string>
</property>
</widget>
</item>
@@ -170,7 +170,7 @@
<string>After opening parenthesis in column definitions</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.NlAfterOpenParDef</string>
+ <string notr="true">SqlEnterpriseFormatter.NlAfterOpenParDef</string>
</property>
</widget>
</item>
@@ -180,7 +180,7 @@
<string>Before closing parenthesis in column definitions</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.NlBeforeCloseParDef</string>
+ <string notr="true">SqlEnterpriseFormatter.NlBeforeCloseParDef</string>
</property>
</widget>
</item>
@@ -190,7 +190,7 @@
<string>After closing parenthesis in column definitions</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.NlAfterCloseParDef</string>
+ <string notr="true">SqlEnterpriseFormatter.NlAfterCloseParDef</string>
</property>
</widget>
</item>
@@ -200,7 +200,7 @@
<string>Before opening parenthesis in expressions</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.NlBeforeOpenParExpr</string>
+ <string notr="true">SqlEnterpriseFormatter.NlBeforeOpenParExpr</string>
</property>
</widget>
</item>
@@ -210,7 +210,7 @@
<string>After opening parenthesis in expressions</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.NlAfterOpenParExpr</string>
+ <string notr="true">SqlEnterpriseFormatter.NlAfterOpenParExpr</string>
</property>
</widget>
</item>
@@ -220,7 +220,7 @@
<string>Before closing parenthesis in expressions</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.NlBeforeCloseParExpr</string>
+ <string notr="true">SqlEnterpriseFormatter.NlBeforeCloseParExpr</string>
</property>
</widget>
</item>
@@ -230,17 +230,17 @@
<string>After closing parenthesis in expressions</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.NlAfterCloseParExpr</string>
+ <string notr="true">SqlEnterpriseFormatter.NlAfterCloseParExpr</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox_32">
<property name="text">
- <string>After *JOIN keywords in FROM clause</string>
+ <string>After JOIN keywords in FROM clause</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.NlAfterJoinStmt</string>
+ <string notr="true">SqlEnterpriseFormatter.NlAfterJoinStmt</string>
</property>
</widget>
</item>
@@ -250,7 +250,7 @@
<string>Put each column constraint in CREATE TABLE into new line</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.NlBetweenConstraints</string>
+ <string notr="true">SqlEnterpriseFormatter.NlBetweenConstraints</string>
</property>
</widget>
</item>
@@ -260,7 +260,7 @@
<string>After comma</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.NlAfterComma</string>
+ <string notr="true">SqlEnterpriseFormatter.NlAfterComma</string>
</property>
</widget>
</item>
@@ -270,7 +270,7 @@
<string>After comma in expressions</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.NlAfterCommaInExpr</string>
+ <string notr="true">SqlEnterpriseFormatter.NlAfterCommaInExpr</string>
</property>
</widget>
</item>
@@ -280,7 +280,7 @@
<string>After semicolon</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.NlAfterSemicolon</string>
+ <string notr="true">SqlEnterpriseFormatter.NlAfterSemicolon</string>
</property>
</widget>
</item>
@@ -290,7 +290,7 @@
<string>Never before semicolon</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.NlNeverBeforeSemicolon</string>
+ <string notr="true">SqlEnterpriseFormatter.NlNeverBeforeSemicolon</string>
</property>
</widget>
</item>
@@ -392,7 +392,7 @@
<string>Before comma in lists</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.SpaceBeforeCommaInList</string>
+ <string notr="true">SqlEnterpriseFormatter.SpaceBeforeCommaInList</string>
</property>
</widget>
</item>
@@ -402,7 +402,7 @@
<string>After comma in lists</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.SpaceAfterCommaInList</string>
+ <string notr="true">SqlEnterpriseFormatter.SpaceAfterCommaInList</string>
</property>
</widget>
</item>
@@ -412,7 +412,7 @@
<string>Before opening parenthesis</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.SpaceBeforeOpenPar</string>
+ <string notr="true">SqlEnterpriseFormatter.SpaceBeforeOpenPar</string>
</property>
</widget>
</item>
@@ -422,7 +422,7 @@
<string>After opening parenthesis</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.SpaceAfterOpenPar</string>
+ <string notr="true">SqlEnterpriseFormatter.SpaceAfterOpenPar</string>
</property>
</widget>
</item>
@@ -432,7 +432,7 @@
<string>Before closing parenthesis</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.SpaceBeforeClosePar</string>
+ <string notr="true">SqlEnterpriseFormatter.SpaceBeforeClosePar</string>
</property>
</widget>
</item>
@@ -442,7 +442,7 @@
<string>After closing parenthesis</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.SpaceAfterClosePar</string>
+ <string notr="true">SqlEnterpriseFormatter.SpaceAfterClosePar</string>
</property>
</widget>
</item>
@@ -452,7 +452,7 @@
<string>No space between SQL function name and opening parenthesis</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.NoSpaceAfterFunctionName</string>
+ <string notr="true">SqlEnterpriseFormatter.NoSpaceAfterFunctionName</string>
</property>
</widget>
</item>
@@ -462,7 +462,7 @@
<string>Before dot operator (in path to database object)</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.SpaceBeforeDot</string>
+ <string notr="true">SqlEnterpriseFormatter.SpaceBeforeDot</string>
</property>
</widget>
</item>
@@ -472,7 +472,7 @@
<string>After dot operator (in path to database object)</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.SpaceAfterDot</string>
+ <string notr="true">SqlEnterpriseFormatter.SpaceAfterDot</string>
</property>
</widget>
</item>
@@ -482,7 +482,7 @@
<string>Before mathematical operator</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.SpaceBeforeMathOp</string>
+ <string notr="true">SqlEnterpriseFormatter.SpaceBeforeMathOp</string>
</property>
</widget>
</item>
@@ -492,7 +492,7 @@
<string>After mathematical operator</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.SpaceAfterMathOp</string>
+ <string notr="true">SqlEnterpriseFormatter.SpaceAfterMathOp</string>
</property>
</widget>
</item>
@@ -502,7 +502,7 @@
<string>Never before comma</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.SpaceNeverBeforeComma</string>
+ <string notr="true">SqlEnterpriseFormatter.SpaceNeverBeforeComma</string>
</property>
</widget>
</item>
@@ -512,7 +512,7 @@
<string>Never before semicolon</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.SpaceNeverBeforeSemicolon</string>
+ <string notr="true">SqlEnterpriseFormatter.SpaceNeverBeforeSemicolon</string>
</property>
</widget>
</item>
@@ -587,10 +587,10 @@
<item row="3" column="1">
<widget class="ConfigComboBox" name="comboBox">
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.PrefferedWrapper</string>
+ <string notr="true">SqlEnterpriseFormatter.PrefferedWrapper</string>
</property>
<property name="modelName" stdset="0">
- <string>SqlEnterpriseFormatter.Wrappers</string>
+ <string notr="true">SqlEnterpriseFormatter.Wrappers</string>
</property>
</widget>
</item>
@@ -600,7 +600,7 @@
<string>Always use name wrapping</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.AlwaysUseNameWrapping</string>
+ <string notr="true">SqlEnterpriseFormatter.AlwaysUseNameWrapping</string>
</property>
</widget>
</item>
@@ -610,7 +610,7 @@
<string>Uppercase data type names</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.UppercaseDataTypes</string>
+ <string notr="true">SqlEnterpriseFormatter.UppercaseDataTypes</string>
</property>
</widget>
</item>
@@ -620,7 +620,7 @@
<string>Uppercase keywords</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.UppercaseKeywords</string>
+ <string notr="true">SqlEnterpriseFormatter.UppercaseKeywords</string>
</property>
</widget>
</item>
@@ -641,7 +641,7 @@
<item>
<widget class="SqlView" name="previewEdit">
<property name="cfg" stdset="0">
- <string>SqlEnterpriseFormatter.PreviewCode</string>
+ <string notr="true">SqlEnterpriseFormatter.PreviewCode</string>
</property>
<property name="preview" stdset="0">
<bool>true</bool>