diff options
Diffstat (limited to 'Plugins')
72 files changed, 1532 insertions, 134 deletions
diff --git a/Plugins/ConfigMigration/ConfigMigration.pro b/Plugins/ConfigMigration/ConfigMigration.pro index 965cfeb..aae8b5b 100644 --- a/Plugins/ConfigMigration/ConfigMigration.pro +++ b/Plugins/ConfigMigration/ConfigMigration.pro @@ -29,3 +29,7 @@ FORMS += \ RESOURCES += \ configmigration.qrc + + +TRANSLATIONS += ConfigMigration_pl.ts + diff --git a/Plugins/ConfigMigration/ConfigMigration_pl.qm b/Plugins/ConfigMigration/ConfigMigration_pl.qm Binary files differnew file mode 100644 index 0000000..b62b803 --- /dev/null +++ b/Plugins/ConfigMigration/ConfigMigration_pl.qm diff --git a/Plugins/ConfigMigration/ConfigMigration_pl.ts b/Plugins/ConfigMigration/ConfigMigration_pl.ts new file mode 100644 index 0000000..08919fd --- /dev/null +++ b/Plugins/ConfigMigration/ConfigMigration_pl.ts @@ -0,0 +1,152 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="pl_PL"> +<context> + <name>ConfigMigration</name> + <message> + <location filename="configmigration.cpp" line="36"/> + <source>A configuration from old SQLiteStudio 2.x.x has been detected. Would you like to migrate old settings into the current version? <a href="%1">Click here to do that</a>.</source> + <translation>Wykryto ustawienia ze starej wersji SQLiteStudio 2.x.x. Czy chcesz zmigrować stare ustawienia do aktualnej wersji? <a href="%1">Kliknij, aby to zrobić</a>.</translation> + </message> + <message> + <location filename="configmigration.cpp" line="136"/> + <source>Bug reports history (%1)</source> + <translation>Historia zgłoszonych błędów (%1)</translation> + </message> + <message> + <location filename="configmigration.cpp" line="145"/> + <source>Database list (%1)</source> + <translation>Lista baz danych (%1)</translation> + </message> + <message> + <location filename="configmigration.cpp" line="154"/> + <source>Custom SQL functions (%1)</source> + <translation>Własne funkcje SQL (%1)</translation> + </message> + <message> + <location filename="configmigration.cpp" line="163"/> + <source>SQL queries history (%1)</source> + <translation>Historia zapytań SQL (%1)</translation> + </message> +</context> +<context> + <name>ConfigMigrationWizard</name> + <message> + <location filename="configmigrationwizard.ui" line="14"/> + <source>Configuration migration</source> + <translation>Migracja ustawień</translation> + </message> + <message> + <location filename="configmigrationwizard.ui" line="24"/> + <source>Items to migrate</source> + <translation>Elementy do zmigrowania</translation> + </message> + <message> + <location filename="configmigrationwizard.ui" line="27"/> + <source>This is a list of items found in the old configuration file, which can be migrated into the current configuration.</source> + <translation>To jest lista elementów znalezionych w starym pliku konfiguracyjnym, które mogą być zmigrowane do aktualnych ustawień.</translation> + </message> + <message> + <location filename="configmigrationwizard.ui" line="58"/> + <source>Options</source> + <translation>Opcje</translation> + </message> + <message> + <location filename="configmigrationwizard.ui" line="64"/> + <source>Put imported databases into separate group</source> + <translation>Umieść zaimportowane bazy danych w osobnej grupie</translation> + </message> + <message> + <location filename="configmigrationwizard.ui" line="76"/> + <source>Group name</source> + <translation>Nazwa grupy</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="60"/> + <source>Enter a non-empty name.</source> + <translation>Wprowadź niepustą nazwę.</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="68"/> + <source>Top level group named '%1' already exists. Enter a group name that does not exist yet.</source> + <translation>Grupa o nazwie '%1' istnieje już na najwyższym poziomie. Wprowadź nazwę grupy, która jeszcze nie istnieje.</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="102"/> + <source>Could not open old configuration file in order to migrate settings from it.</source> + <translation>Nie udało się otworzyć starego pliku ustawień w celu zmigtowania z niego ustawień.</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="110"/> + <source>Could not open current configuration file in order to migrate settings from old configuration file.</source> + <translation>Nie udało się otworzyć aktualnego pliku ustawień w celu zmigrowania do niego ustawień ze starego pliku konfiguracyjnego.</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="119"/> + <source>Could not commit migrated data into new configuration file: %1</source> + <translation>Nie udało się zatwierdzenie zmigrowanych danych w nowym pliku ustawień: %1</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="163"/> + <source>Could not read bug reports history from old configuration file in order to migrate it: %1</source> + <translation>Nie udał się odczyt historii zgłoszeń błędów ze starego pliku konfiguracyjnego w celu jej zmigrowania: %1</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="180"/> + <source>Could not insert a bug reports history entry into new configuration file: %1</source> + <translation>Nie udało się dodać wpisów historii zgłoszeń błędów do nowego pliku ustawień: %1</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="201"/> + <source>Could not read database list from old configuration file in order to migrate it: %1</source> + <translation>Nie udało się odczytać listy baz danych ze starego pliku ustawień w celu jej zmigtowania: %1</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="215"/> + <source>Could not query for available order for containing group in new configuration file in order to migrate the database list: %1</source> + <oldsource>Could query for available order for containing group in new configuration file in order to migrate the database list: %1</oldsource> + <translation>Nie udało się odpytać o dostępną kolejność dla grupy zawierającej w nowym pliku ustawień, w celu zmigrowania listy baz danych: %1</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="226"/> + <source>Could not create containing group in new configuration file in order to migrate the database list: %1</source> + <translation>Nie udało się stworzyć grupy w nowym pliku ustawień, w celu zmigrowania listy baz danych: %1</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="247"/> + <source>Could not insert a database entry into new configuration file: %1</source> + <translation>Nie udało się dodać wpisu bazy danych do nowego pliku ustawień: %1</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="259"/> + <source>Could not query for available order for next database in new configuration file in order to migrate the database list: %1</source> + <oldsource>Could query for available order for next database in new configuration file in order to migrate the database list: %1</oldsource> + <translation>Nie udało się odpytać o dostępną kolejność dla następnej bazy w nowym pliku ustawień, w celu zmigrowania listy baz danych: %1</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="270"/> + <source>Could not create group referencing the database in new configuration file: %1</source> + <translation>Nie udało się utworzyć grupy odwołującej się do bazy danych w nowym pliku ustawień: %1</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="288"/> + <source>Could not read function list from old configuration file in order to migrate it: %1</source> + <translation>Nie udało się odczytać listy funkcji ze starego pliku ustawień w celu jej zmigrowania: %1</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="323"/> + <source>Could not read SQL queries history from old configuration file in order to migrate it: %1</source> + <translation>Nie udało się odczytać historii zapytań SQL ze starego pliku ustawień w celu zmigrowania jej: %1</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="330"/> + <source>Could not read next ID for SQL queries history in new configuration file: %1</source> + <translation>Nie udało się odczytać następnego ID dla historii zapytań SQL w nowym pliku ustawień: %1</translation> + </message> + <message> + <location filename="configmigrationwizard.cpp" line="346"/> + <source>Could not insert SQL history entry into new configuration file: %1</source> + <translation>Nie udało się dodanie wpisu do historii SQL w nowym pliku ustawień: %1</translation> + </message> +</context> +</TS> diff --git a/Plugins/ConfigMigration/configmigration.cpp b/Plugins/ConfigMigration/configmigration.cpp index cd49d24..8d75e37 100644 --- a/Plugins/ConfigMigration/configmigration.cpp +++ b/Plugins/ConfigMigration/configmigration.cpp @@ -5,6 +5,7 @@ #include "statusfield.h" #include "configmigrationwizard.h" #include "db/dbsqlite3.h" +#include "translations.h" #include <QCoreApplication> #include <QDir> #include <QFileInfo> @@ -17,6 +18,7 @@ ConfigMigration::ConfigMigration() bool ConfigMigration::init() { Q_INIT_RESOURCE(configmigration); + loadTranslation("ConfigMigration"); if (cfg.CfgMigration.Migrated.get()) { diff --git a/Plugins/ConfigMigration/configmigration.json b/Plugins/ConfigMigration/configmigration.json index 14e5d4b..a8c62d3 100644 --- a/Plugins/ConfigMigration/configmigration.json +++ b/Plugins/ConfigMigration/configmigration.json @@ -2,7 +2,7 @@ "type": "GeneralPurposePlugin", "title": "Configuration migration", "description": "Performs migration from SQLiteStudio 2.1.x configuration to version 3.0.0.", - "version": 10001, + "version": 10002, "author": "SalSoft", "gui": true } diff --git a/Plugins/ConfigMigration/configmigration.qrc b/Plugins/ConfigMigration/configmigration.qrc index 9df7d5e..a46382a 100644 --- a/Plugins/ConfigMigration/configmigration.qrc +++ b/Plugins/ConfigMigration/configmigration.qrc @@ -2,4 +2,7 @@ <qresource prefix="/icons"> <file>config_migration.png</file> </qresource> + <qresource prefix="/msg"> + <file>ConfigMigration_pl.qm</file> + </qresource> </RCC> diff --git a/Plugins/ConfigMigration/configmigrationwizard.cpp b/Plugins/ConfigMigration/configmigrationwizard.cpp index afdf705..7868761 100644 --- a/Plugins/ConfigMigration/configmigrationwizard.cpp +++ b/Plugins/ConfigMigration/configmigrationwizard.cpp @@ -212,7 +212,7 @@ bool ConfigMigrationWizard::migrateDatabases(Db* oldCfgDb, Db* newCfgDb) groupResults = newCfgDb->exec(groupOrderQuery.arg("IS NULL")); if (groupResults->isError()) { - notifyError(tr("Could query for available order for containing group in new configuration file in order to migrate the database list: %1") + notifyError(tr("Could not query for available order for containing group in new configuration file in order to migrate the database list: %1") .arg(groupResults->getErrorText())); return false; } @@ -256,7 +256,7 @@ bool ConfigMigrationWizard::migrateDatabases(Db* oldCfgDb, Db* newCfgDb) if (groupResults->isError()) { - notifyError(tr("Could query for available order for next database in new configuration file in order to migrate the database list: %1") + notifyError(tr("Could not query for available order for next database in new configuration file in order to migrate the database list: %1") .arg(groupResults->getErrorText())); return false; } diff --git a/Plugins/CsvExport/CsvExport.pro b/Plugins/CsvExport/CsvExport.pro index 9ffc8f9..f1fccc6 100644 --- a/Plugins/CsvExport/CsvExport.pro +++ b/Plugins/CsvExport/CsvExport.pro @@ -27,3 +27,7 @@ OTHER_FILES += \ RESOURCES += \ csvexport.qrc + + +TRANSLATIONS += CsvExport_pl.ts + diff --git a/Plugins/CsvExport/CsvExport.ui b/Plugins/CsvExport/CsvExport.ui index ec80b57..8ab93c6 100644 --- a/Plugins/CsvExport/CsvExport.ui +++ b/Plugins/CsvExport/CsvExport.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="0" column="0" colspan="3"> @@ -20,7 +20,7 @@ <string>Column names in first row</string> </property> <property name="cfg" stdset="0"> - <string>CsvExport.ColumnsInFirstRow</string> + <string notr="true">CsvExport.ColumnsInFirstRow</string> </property> </widget> </item> @@ -34,7 +34,7 @@ <item row="1" column="1"> <widget class="QComboBox" name="comboBox"> <property name="cfg" stdset="0"> - <string>CsvExport.Separator</string> + <string notr="true">CsvExport.Separator</string> </property> <item> <property name="text"> @@ -72,7 +72,7 @@ </size> </property> <property name="cfg" stdset="0"> - <string>CsvExport.CustomSeparator</string> + <string notr="true">CsvExport.CustomSeparator</string> </property> </widget> </item> @@ -89,7 +89,7 @@ <string>Empty string</string> </property> <property name="cfg" stdset="0"> - <string>CsvExport.NullValueString</string> + <string notr="true">CsvExport.NullValueString</string> </property> </widget> </item> diff --git a/Plugins/CsvExport/CsvExport_pl.qm b/Plugins/CsvExport/CsvExport_pl.qm Binary files differnew file mode 100644 index 0000000..4d64a8b --- /dev/null +++ b/Plugins/CsvExport/CsvExport_pl.qm diff --git a/Plugins/CsvExport/CsvExport_pl.ts b/Plugins/CsvExport/CsvExport_pl.ts new file mode 100644 index 0000000..a925db2 --- /dev/null +++ b/Plugins/CsvExport/CsvExport_pl.ts @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="pl_PL"> +<context> + <name>CsvExport</name> + <message> + <location filename="CsvExport.ui" line="20"/> + <source>Column names in first row</source> + <translation>Nazwy kolumn w pierwszym wierszu</translation> + </message> + <message> + <location filename="CsvExport.ui" line="30"/> + <source>Column separator:</source> + <translation>Separator kolumny:</translation> + </message> + <message> + <location filename="CsvExport.ui" line="41"/> + <source>, (comma)</source> + <translation>, (przecinek)</translation> + </message> + <message> + <location filename="CsvExport.ui" line="46"/> + <source>; (semicolon)</source> + <translation>; (średnik)</translation> + </message> + <message> + <location filename="CsvExport.ui" line="51"/> + <source>\t (tab)</source> + <translation>\t (znak tabulacji)</translation> + </message> + <message> + <location filename="CsvExport.ui" line="56"/> + <source> (whitespace)</source> + <translation> (spacja)</translation> + </message> + <message> + <location filename="CsvExport.ui" line="61"/> + <source>Custom:</source> + <translation>Własny:</translation> + </message> + <message> + <location filename="CsvExport.ui" line="82"/> + <source>Export NULL values as:</source> + <translation>Eksportuj wartości NULL jako:</translation> + </message> + <message> + <location filename="CsvExport.ui" line="89"/> + <source>Empty string</source> + <translation>Pusty łańcuch</translation> + </message> + <message> + <location filename="csvexport.cpp" line="42"/> + <source>Enter the custom separator character.</source> + <translation>Wprowadź własny znak separatora.</translation> + </message> +</context> +</TS> diff --git a/Plugins/CsvExport/csvexport.qrc b/Plugins/CsvExport/csvexport.qrc index 21d7213..f72a0e4 100644 --- a/Plugins/CsvExport/csvexport.qrc +++ b/Plugins/CsvExport/csvexport.qrc @@ -2,4 +2,7 @@ <qresource prefix="/forms"> <file>CsvExport.ui</file> </qresource> + <qresource prefix="/msg"> + <file>CsvExport_pl.qm</file> + </qresource> </RCC> diff --git a/Plugins/CsvImport/CsvImport.pro b/Plugins/CsvImport/CsvImport.pro index dfdb15b..fdd85b6 100644 --- a/Plugins/CsvImport/CsvImport.pro +++ b/Plugins/CsvImport/CsvImport.pro @@ -26,3 +26,7 @@ OTHER_FILES += \ RESOURCES += \ csvimport.qrc + + +TRANSLATIONS += CsvImport_pl.ts + diff --git a/Plugins/CsvImport/CsvImportOptions.ui b/Plugins/CsvImport/CsvImportOptions.ui index 5a1c6ab..ff06613 100644 --- a/Plugins/CsvImport/CsvImportOptions.ui +++ b/Plugins/CsvImport/CsvImportOptions.ui @@ -6,18 +6,18 @@ <rect> <x>0</x> <y>0</y> - <width>333</width> + <width>365</width> <height>90</height> </rect> </property> <property name="windowTitle"> - <string>Form</string> + <string notr="true">Form</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="1" column="1"> <widget class="QComboBox" name="separatorCombo"> <property name="cfg" stdset="0"> - <string>CsvImport.Separator</string> + <string notr="true">CsvImport.Separator</string> </property> <item> <property name="text"> @@ -48,11 +48,14 @@ </item> <item row="0" column="0" colspan="3"> <widget class="QCheckBox" name="firstRowAsColumnsCheck"> - <property name="cfg" stdset="0"> - <string>CsvImport.FirstRowAsColumns</string> + <property name="toolTip"> + <string><p>Enable this if the first data line in your CSV file represents column names. You don't want column names to be imported into the table as a regular data.</p></string> </property> <property name="text"> - <string>First row represents column names</string> + <string>Skip first row of data</string> + </property> + <property name="cfg" stdset="0"> + <string notr="true">CsvImport.FirstRowAsColumns</string> </property> </widget> </item> @@ -72,18 +75,18 @@ </size> </property> <property name="cfg" stdset="0"> - <string>CsvImport.CustomSeparator</string> + <string notr="true">CsvImport.CustomSeparator</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QCheckBox" name="nullCheck"> - <property name="cfg" stdset="0"> - <string>CsvImport.NullValues</string> - </property> <property name="text"> <string>NULL values:</string> </property> + <property name="cfg" stdset="0"> + <string notr="true">CsvImport.NullValues</string> + </property> </widget> </item> <item row="2" column="1" colspan="2"> @@ -92,7 +95,7 @@ <string>If your CSV data contains null values, define how are they represented in the CSV.</string> </property> <property name="cfg" stdset="0"> - <string>CsvImport.NullValueString</string> + <string notr="true">CsvImport.NullValueString</string> </property> </widget> </item> diff --git a/Plugins/CsvImport/CsvImport_pl.qm b/Plugins/CsvImport/CsvImport_pl.qm Binary files differnew file mode 100644 index 0000000..2e0a4e0 --- /dev/null +++ b/Plugins/CsvImport/CsvImport_pl.qm diff --git a/Plugins/CsvImport/CsvImport_pl.ts b/Plugins/CsvImport/CsvImport_pl.ts new file mode 100644 index 0000000..ca9a7aa --- /dev/null +++ b/Plugins/CsvImport/CsvImport_pl.ts @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="pl_PL"> +<context> + <name>CsvImport</name> + <message> + <location filename="csvimport.cpp" line="30"/> + <source>Cannot read file %1</source> + <translation>Nie można odczytać pliku %1</translation> + </message> + <message> + <location filename="csvimport.cpp" line="62"/> + <source>Could not find any data in the file %1.</source> + <translation>Nie znaleziono danych w pliku %1.</translation> + </message> + <message> + <location filename="csvimport.cpp" line="167"/> + <source>Enter the custom separator character.</source> + <translation>Wprowadź własny znak separatora.</translation> + </message> + <message> + <location filename="csvimport.cpp" line="181"/> + <source>Enter the value that will be interpreted as a NULL.</source> + <translation>Wprowadź wartość, która będzie interpretowana jako NULL.</translation> + </message> + <message> + <location filename="csvimport.cpp" line="194"/> + <source>CSV files (*.csv);;Text files (*.txt);;All files (*)</source> + <translation>Pliki CSV (*.csv);;Pliki tekstowe (*.txt);;Wszystkie pliki (*)</translation> + </message> +</context> +<context> + <name>csvImportOptions</name> + <message> + <location filename="CsvImportOptions.ui" line="24"/> + <source>, (comma)</source> + <translation>, (przecinek)</translation> + </message> + <message> + <location filename="CsvImportOptions.ui" line="29"/> + <source>; (semicolon)</source> + <translation>; (średnik)</translation> + </message> + <message> + <location filename="CsvImportOptions.ui" line="34"/> + <source>\t (tab)</source> + <translation>\t (znak tabulacji)</translation> + </message> + <message> + <location filename="CsvImportOptions.ui" line="39"/> + <source> (whitespace)</source> + <translation> (spacja)</translation> + </message> + <message> + <location filename="CsvImportOptions.ui" line="44"/> + <source>Custom:</source> + <translation>Własny:</translation> + </message> + <message> + <location filename="CsvImportOptions.ui" line="52"/> + <source><p>Enable this if the first data line in your CSV file represents column names. You don't want column names to be imported into the table as a regular data.</p></source> + <translation><p>Włącz to, jeśli pierwsza linia danych w twoim pliku CSV reprezentuje nazwy kolumn. Nie chcesz, aby nazwy kolumn zostały zaimportowane jako zwykłe dane.</p></translation> + </message> + <message> + <location filename="CsvImportOptions.ui" line="55"/> + <source>Skip first row of data</source> + <translation>Pomiń pierwszy wiersz danych</translation> + </message> + <message> + <source>First row represents column names</source> + <translation type="obsolete">Pierwszy wiersz reprezentuje nazwy kolumn</translation> + </message> + <message> + <location filename="CsvImportOptions.ui" line="65"/> + <source>Field separator:</source> + <translation>Separator pól:</translation> + </message> + <message> + <location filename="CsvImportOptions.ui" line="85"/> + <source>NULL values:</source> + <translation>Wartości NULL:</translation> + </message> + <message> + <location filename="CsvImportOptions.ui" line="95"/> + <source>If your CSV data contains null values, define how are they represented in the CSV.</source> + <translation>Jeśli twoje dane CSV zawierają wartości null, zdefiniuj jak są one reprezentowane w CSV.</translation> + </message> +</context> +</TS> diff --git a/Plugins/CsvImport/csvimport.json b/Plugins/CsvImport/csvimport.json index 016c539..a2bf5f8 100644 --- a/Plugins/CsvImport/csvimport.json +++ b/Plugins/CsvImport/csvimport.json @@ -2,6 +2,6 @@ "type": "ImportPlugin", "title": "CSV import", "description": "CSV format support for importing data", - "version": 10000, + "version": 10001, "author": "SalSoft" } diff --git a/Plugins/CsvImport/csvimport.qrc b/Plugins/CsvImport/csvimport.qrc index a071122..727237d 100644 --- a/Plugins/CsvImport/csvimport.qrc +++ b/Plugins/CsvImport/csvimport.qrc @@ -2,4 +2,7 @@ <qresource prefix="/forms"> <file>CsvImportOptions.ui</file> </qresource> + <qresource prefix="/msg"> + <file>CsvImport_pl.qm</file> + </qresource> </RCC> diff --git a/Plugins/HtmlExport/HtmlExport.pro b/Plugins/HtmlExport/HtmlExport.pro index ff0a68e..c4f7468 100644 --- a/Plugins/HtmlExport/HtmlExport.pro +++ b/Plugins/HtmlExport/HtmlExport.pro @@ -27,3 +27,7 @@ RESOURCES += \ FORMS += \ htmlexport.ui + + +TRANSLATIONS += HtmlExport_pl.ts + diff --git a/Plugins/HtmlExport/HtmlExport_pl.qm b/Plugins/HtmlExport/HtmlExport_pl.qm Binary files differnew file mode 100644 index 0000000..a0cac5e --- /dev/null +++ b/Plugins/HtmlExport/HtmlExport_pl.qm diff --git a/Plugins/HtmlExport/HtmlExport_pl.ts b/Plugins/HtmlExport/HtmlExport_pl.ts new file mode 100644 index 0000000..ebe1925 --- /dev/null +++ b/Plugins/HtmlExport/HtmlExport_pl.ts @@ -0,0 +1,173 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="pl_PL"> +<context> + <name>HtmlExport</name> + <message> + <location filename="htmlexport.cpp" line="46"/> + <source>SQL query results</source> + <translation>Wyniki zapytania SQL</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="78"/> + <location filename="htmlexport.cpp" line="155"/> + <source>no type</source> + <translation>brak typu</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="115"/> + <location filename="htmlexport.cpp" line="243"/> + <source>Exported table: %1</source> + <translation>Eksportowana tabela: %1</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="127"/> + <location filename="htmlexport.cpp" line="255"/> + <source>Table: %1</source> + <translation>Tabela: %1</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="255"/> + <source>virtual</source> + <translation>wirtualna</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="308"/> + <source>Exported database: %1</source> + <translation>Eksportowana baza: %1</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="324"/> + <source>Index: %1</source> + <translation>Indeks: %1</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="330"/> + <source>For table:</source> + <translation>Dla tabeli:</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="337"/> + <source>Unique:</source> + <translation>Unikalny:</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="338"/> + <source>Yes</source> + <translation>Tak</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="338"/> + <source>No</source> + <translation>Nie</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="344"/> + <source>Column</source> + <translation>Kolumna</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="345"/> + <source>Collating</source> + <translation>Zestawienie</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="346"/> + <source>Sort order</source> + <translation>Sortowanie</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="377"/> + <source>Trigger: %1</source> + <translation>Wyzwalacz: %1</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="383"/> + <source>Activated:</source> + <translation>Aktywowany:</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="391"/> + <source>Action:</source> + <translation>Akcja:</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="398"/> + <source>On view:</source> + <translation>Na widoku:</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="400"/> + <source>On table:</source> + <translation>Na tabeli:</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="411"/> + <source>Activate condition:</source> + <translation>Warunek aktywacji:</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="418"/> + <source>Code executed:</source> + <translation>Wykonywany kod:</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="452"/> + <source>View: %1</source> + <translation>Widok: %1</translation> + </message> + <message> + <location filename="htmlexport.cpp" line="477"/> + <source>Document generated by SQLiteStudio v%1 on %2</source> + <translation>Dokument wygenerowany przez SQLiteStudio v%1 dnia %2</translation> + </message> +</context> +<context> + <name>HtmlExportConfig</name> + <message> + <location filename="htmlexport.ui" line="36"/> + <source>Maximum number of characters per cell:</source> + <translation>Maksymalna liczba znaków w komórce:</translation> + </message> + <message> + <location filename="htmlexport.ui" line="43"/> + <source>Include data types in first row</source> + <translation>Dodaj typy danych w pierwszym wierszu</translation> + </message> + <message> + <location filename="htmlexport.ui" line="53"/> + <source>Column names as first row</source> + <translation>Nazwy kolumn w pierwszym wierszu</translation> + </message> + <message> + <location filename="htmlexport.ui" line="63"/> + <source>Row numbers as first column</source> + <translation>Numery wierszy w pierwszej kolumnie</translation> + </message> + <message> + <location filename="htmlexport.ui" line="73"/> + <source>Output format</source> + <translation>Format wyjściowy</translation> + </message> + <message> + <location filename="htmlexport.ui" line="79"/> + <source>Format document (new lines, indentation)</source> + <translation>Formatuj dokument (nowe linie, wcięcia)</translation> + </message> + <message> + <location filename="htmlexport.ui" line="92"/> + <source>Compress (everything in one line)</source> + <translation>Kompresuj (wszystko w jednej linii)</translation> + </message> + <message> + <location filename="htmlexport.ui" line="108"/> + <source><p>When enabled, HTML characters such as &lt;, &gt; and &amp; are not escaped in exported values. This allows you for example to export hyper-link enabled documents, but it also may result in incorrect HTML document (unmatched pairs of &lt; and &gt; characters). Be warned.</p></source> + <translation><p>Kiedy włączone, znaki HTML takie jak &lt;, &gt; i &amp; nie będą podmieniane w wyeksportowanych wartościach. Pozwala to przykładowo na eksportowanie odnośników w dokumencie, ale może też spowodować, ze dokument HTML będzie niepoprawny (niedopasowane pary znaków &lt; i &gt;). Miej tego świadomość.</p></translation> + </message> + <message> + <location filename="htmlexport.ui" line="111"/> + <source>Don't escape HTML characters</source> + <translation>Nie podmieniaj znaków HTML.</translation> + </message> +</context> +</TS> diff --git a/Plugins/HtmlExport/htmlexport.qrc b/Plugins/HtmlExport/htmlexport.qrc index 77f9482..8756c61 100644 --- a/Plugins/HtmlExport/htmlexport.qrc +++ b/Plugins/HtmlExport/htmlexport.qrc @@ -5,4 +5,7 @@ <qresource prefix="/forms"> <file>htmlexport.ui</file> </qresource> + <qresource prefix="/msg"> + <file>HtmlExport_pl.qm</file> + </qresource> </RCC> diff --git a/Plugins/HtmlExport/htmlexport.ui b/Plugins/HtmlExport/htmlexport.ui index a4727a4..6606b1f 100644 --- a/Plugins/HtmlExport/htmlexport.ui +++ b/Plugins/HtmlExport/htmlexport.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="4" column="1"> @@ -26,7 +26,7 @@ <number>999999999</number> </property> <property name="cfg" stdset="0"> - <string>HtmlExport.ByteLengthLimit</string> + <string notr="true">HtmlExport.ByteLengthLimit</string> </property> </widget> </item> @@ -43,7 +43,7 @@ <string>Include data types in first row</string> </property> <property name="cfg" stdset="0"> - <string>HtmlExport.PrintDataTypes</string> + <string notr="true">HtmlExport.PrintDataTypes</string> </property> </widget> </item> @@ -53,7 +53,7 @@ <string>Column names as first row</string> </property> <property name="cfg" stdset="0"> - <string>HtmlExport.PrintHeader</string> + <string notr="true">HtmlExport.PrintHeader</string> </property> </widget> </item> @@ -63,7 +63,7 @@ <string>Row numbers as first column</string> </property> <property name="cfg" stdset="0"> - <string>HtmlExport.PrintRowNum</string> + <string notr="true">HtmlExport.PrintRowNum</string> </property> </widget> </item> @@ -79,10 +79,10 @@ <string>Format document (new lines, indentation)</string> </property> <property name="cfg" stdset="0"> - <string>HtmlExport.Format</string> + <string notr="true">HtmlExport.Format</string> </property> <property name="assignedValue" stdset="0"> - <string>format</string> + <string notr="true">format</string> </property> </widget> </item> @@ -92,10 +92,10 @@ <string>Compress (everything in one line)</string> </property> <property name="cfg" stdset="0"> - <string>HtmlExport.Format</string> + <string notr="true">HtmlExport.Format</string> </property> <property name="assignedValue" stdset="0"> - <string>compress</string> + <string notr="true">compress</string> </property> </widget> </item> @@ -111,7 +111,7 @@ <string>Don't escape HTML characters</string> </property> <property name="cfg" stdset="0"> - <string>HtmlExport.DontEscapeHtml</string> + <string notr="true">HtmlExport.DontEscapeHtml</string> </property> </widget> </item> diff --git a/Plugins/JsonExport/JsonExport.pro b/Plugins/JsonExport/JsonExport.pro index 8e29fcf..c259664 100644 --- a/Plugins/JsonExport/JsonExport.pro +++ b/Plugins/JsonExport/JsonExport.pro @@ -26,3 +26,7 @@ FORMS += \ RESOURCES += \ jsonexport.qrc + + +TRANSLATIONS += JsonExport_pl.ts + diff --git a/Plugins/JsonExport/JsonExport_pl.qm b/Plugins/JsonExport/JsonExport_pl.qm Binary files differnew file mode 100644 index 0000000..3ed3bcd --- /dev/null +++ b/Plugins/JsonExport/JsonExport_pl.qm diff --git a/Plugins/JsonExport/JsonExport_pl.ts b/Plugins/JsonExport/JsonExport_pl.ts new file mode 100644 index 0000000..bdfdf8a --- /dev/null +++ b/Plugins/JsonExport/JsonExport_pl.ts @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="pl_PL"> +<context> + <name>JsonExportConfig</name> + <message> + <location filename="jsonexport.ui" line="20"/> + <source>Output format</source> + <translation>Format wyjściowy</translation> + </message> + <message> + <location filename="jsonexport.ui" line="26"/> + <source>Format document (new lines, indentation)</source> + <translation>Formatuj dokument (nowe linie, wcięcia)</translation> + </message> + <message> + <location filename="jsonexport.ui" line="42"/> + <source>Compress (everything in one line)</source> + <translation>Kompresuj (wszystko w jednej linii)</translation> + </message> +</context> +</TS> diff --git a/Plugins/JsonExport/jsonexport.qrc b/Plugins/JsonExport/jsonexport.qrc index 19ea921..c9c8b78 100644 --- a/Plugins/JsonExport/jsonexport.qrc +++ b/Plugins/JsonExport/jsonexport.qrc @@ -2,4 +2,7 @@ <qresource prefix="/forms"> <file>jsonexport.ui</file> </qresource> + <qresource prefix="/msg"> + <file>JsonExport_pl.qm</file> + </qresource> </RCC> diff --git a/Plugins/JsonExport/jsonexport.ui b/Plugins/JsonExport/jsonexport.ui index ebb0d78..df31f58 100644 --- a/Plugins/JsonExport/jsonexport.ui +++ b/Plugins/JsonExport/jsonexport.ui @@ -11,7 +11,7 @@ </rect> </property> <property name="windowTitle"> - <string>Form</string> + <string notr="true">Form</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> @@ -29,10 +29,10 @@ <bool>true</bool> </property> <property name="assignedValue" stdset="0"> - <string>format</string> + <string notr="true">format</string> </property> <property name="cfg" stdset="0"> - <string>JsonExport.Format</string> + <string notr="true">JsonExport.Format</string> </property> </widget> </item> @@ -42,10 +42,10 @@ <string>Compress (everything in one line)</string> </property> <property name="assignedValue" stdset="0"> - <string>compress</string> + <string notr="true">compress</string> </property> <property name="cfg" stdset="0"> - <string>JsonExport.Format</string> + <string notr="true">JsonExport.Format</string> </property> </widget> </item> diff --git a/Plugins/PdfExport/PdfExport.pro b/Plugins/PdfExport/PdfExport.pro index 46dda37..598e23c 100644 --- a/Plugins/PdfExport/PdfExport.pro +++ b/Plugins/PdfExport/PdfExport.pro @@ -24,3 +24,7 @@ FORMS += \ RESOURCES += \ pdfexport.qrc + + +TRANSLATIONS += PdfExport_pl.ts + diff --git a/Plugins/PdfExport/PdfExport_pl.qm b/Plugins/PdfExport/PdfExport_pl.qm Binary files differnew file mode 100644 index 0000000..ff4fc42 --- /dev/null +++ b/Plugins/PdfExport/PdfExport_pl.qm diff --git a/Plugins/PdfExport/PdfExport_pl.ts b/Plugins/PdfExport/PdfExport_pl.ts new file mode 100644 index 0000000..5ac637d --- /dev/null +++ b/Plugins/PdfExport/PdfExport_pl.ts @@ -0,0 +1,256 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="pl_PL"> +<context> + <name>PdfExport</name> + <message> + <location filename="pdfexport.cpp" line="28"/> + <source>SQLiteStudio v%1</source> + <translation>SQLiteStudio v%1</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="60"/> + <source>SQL query results</source> + <translation>Wyniki zapytania SQL</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="89"/> + <location filename="pdfexport.cpp" line="143"/> + <source>Exported table: %1</source> + <translation>Eksportowana tabela: %1</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="92"/> + <location filename="pdfexport.cpp" line="158"/> + <source>Table: %1</source> + <translation>Tabela: %1</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="94"/> + <location filename="pdfexport.cpp" line="230"/> + <source>Column</source> + <translation>Kolumna</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="94"/> + <source>Data type</source> + <translation>Typ danych</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="94"/> + <source>Constraints</source> + <translation>Ograniczenia</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="125"/> + <source>Global table constraints</source> + <translation>Globalne ograniczenia tabeli</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="214"/> + <source>Exported database: %1</source> + <translation>Eksportowana baza: %1</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="222"/> + <source>Index: %1</source> + <translation>Indeks: %1</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="224"/> + <source>Property</source> + <comment>index header</comment> + <translation>Własność</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="224"/> + <source>Value</source> + <comment>index header</comment> + <translation>Wartość</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="227"/> + <source>Indexed table</source> + <translation>Zaindeksowana tabela</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="228"/> + <source>Unique index</source> + <translation>Indeks unikalny</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="228"/> + <source>Yes</source> + <translation>Tak</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="228"/> + <source>No</source> + <translation>Nie</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="230"/> + <source>Collation</source> + <translation>Zestawienie</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="230"/> + <source>Sort order</source> + <translation>Sortowanie</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="246"/> + <source>Partial index condition</source> + <translation>Warunek indeksu częściowego</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="260"/> + <source>Trigger: %1</source> + <translation>Wyzwalacz: %1</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="262"/> + <source>Property</source> + <comment>trigger header</comment> + <translation>Własność</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="262"/> + <source>Value</source> + <comment>trigger header</comment> + <translation>Wartość</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="264"/> + <source>Activation time</source> + <translation>Moment aktywacji</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="267"/> + <source>For action</source> + <translation>Dla akcji</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="271"/> + <source>On view</source> + <translation>Na widoku</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="273"/> + <source>On table</source> + <translation>Na tabeli</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="278"/> + <source>Activation condition</source> + <translation>Warunek aktywacji</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="284"/> + <source>Code executed</source> + <translation>Kod do wykonania</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="296"/> + <source>View: %1</source> + <translation>Widok: %1</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="297"/> + <source>Query:</source> + <translation>Zapytanie:</translation> + </message> + <message> + <location filename="pdfexport.cpp" line="649"/> + <source>Document generated with SQLiteStudio v%1</source> + <translation>Dokument wygenerowany przy pomocy SQLiteStudio v%1</translation> + </message> +</context> +<context> + <name>PdfExportConfig</name> + <message> + <location filename="pdfexport.ui" line="20"/> + <source>Size and layout</source> + <translation>Rozmiar i układ</translation> + </message> + <message> + <location filename="pdfexport.ui" line="36"/> + <source>Page size:</source> + <translation>Rozmiar strony:</translation> + </message> + <message> + <location filename="pdfexport.ui" line="63"/> + <source>Right margin:</source> + <translation>Prawy margines:</translation> + </message> + <message> + <location filename="pdfexport.ui" line="70"/> + <source>Left margin:</source> + <translation>Lewy margines:</translation> + </message> + <message> + <location filename="pdfexport.ui" line="77"/> + <source>Cell padding:</source> + <translation>Odstęp wewnątrz komórki:</translation> + </message> + <message> + <location filename="pdfexport.ui" line="84"/> + <source>Limit characters in single cell:</source> + <translation>Ogranicz liczbę znaków w komórce:</translation> + </message> + <message> + <location filename="pdfexport.ui" line="91"/> + <location filename="pdfexport.ui" line="108"/> + <location filename="pdfexport.ui" line="115"/> + <location filename="pdfexport.ui" line="132"/> + <location filename="pdfexport.ui" line="156"/> + <source>mm</source> + <translation>mm</translation> + </message> + <message> + <location filename="pdfexport.ui" line="139"/> + <source>Bottom margin:</source> + <translation>Dolny margines:</translation> + </message> + <message> + <location filename="pdfexport.ui" line="163"/> + <source>Top margin:</source> + <translation>Górny margines:</translation> + </message> + <message> + <location filename="pdfexport.ui" line="183"/> + <source>Font</source> + <translation>Czcionka</translation> + </message> + <message> + <location filename="pdfexport.ui" line="206"/> + <source>Colors</source> + <translation>Kolory</translation> + </message> + <message> + <location filename="pdfexport.ui" line="212"/> + <source>Headers background:</source> + <translation>Tło nagłówków:</translation> + </message> + <message> + <location filename="pdfexport.ui" line="235"/> + <source>NULL value color:</source> + <translation>Kolor wartości NULL:</translation> + </message> + <message> + <location filename="pdfexport.ui" line="261"/> + <source>Other settings</source> + <translation>Inne ustawienia</translation> + </message> + <message> + <location filename="pdfexport.ui" line="267"/> + <source>Print row numbers for data</source> + <translation>Drukuj numery wierszy dla danych</translation> + </message> + <message> + <location filename="pdfexport.ui" line="277"/> + <source>Print page numbers</source> + <translation>Drukuj numery stron</translation> + </message> +</context> +</TS> diff --git a/Plugins/PdfExport/pdfexport.cpp b/Plugins/PdfExport/pdfexport.cpp index da15ab7..cd1ceca 100644 --- a/Plugins/PdfExport/pdfexport.cpp +++ b/Plugins/PdfExport/pdfexport.cpp @@ -227,7 +227,7 @@ bool PdfExport::exportIndex(const QString& database, const QString& name, const exportObjectRow({tr("Indexed table"), name}); exportObjectRow({tr("Unique index"), (createIndex->uniqueKw ? tr("Yes") : tr("No"))}); - indexColumns = {tr("Column"), tr("Collation"), tr("Sort order")}; + indexColumns = QStringList({tr("Column"), tr("Collation"), tr("Sort order")}); exportObjectColumnsHeader(indexColumns); QString sort; @@ -243,7 +243,7 @@ bool PdfExport::exportIndex(const QString& database, const QString& name, const if (createIndex->where) { - indexColumns = {tr("Partial index condition")}; + indexColumns = QStringList({tr("Partial index condition")}); exportObjectColumnsHeader(indexColumns); exportObjectRow(createIndex->where->detokenize()); } diff --git a/Plugins/PdfExport/pdfexport.qrc b/Plugins/PdfExport/pdfexport.qrc index fce27e6..5a2e9d8 100644 --- a/Plugins/PdfExport/pdfexport.qrc +++ b/Plugins/PdfExport/pdfexport.qrc @@ -2,4 +2,7 @@ <qresource prefix="/forms"> <file>pdfexport.ui</file> </qresource> + <qresource prefix="/msg"> + <file>PdfExport_pl.qm</file> + </qresource> </RCC> diff --git a/Plugins/PdfExport/pdfexport.ui b/Plugins/PdfExport/pdfexport.ui index 31dfce5..1d396ef 100644 --- a/Plugins/PdfExport/pdfexport.ui +++ b/Plugins/PdfExport/pdfexport.ui @@ -6,12 +6,12 @@ <rect> <x>0</x> <y>0</y> - <width>332</width> + <width>335</width> <height>492</height> </rect> </property> <property name="windowTitle"> - <string>Form</string> + <string notr="true">Form</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> @@ -26,7 +26,7 @@ <number>999</number> </property> <property name="cfg" stdset="0"> - <string>PdfExport.MaxCellBytes</string> + <string notr="true">PdfExport.MaxCellBytes</string> </property> </widget> </item> @@ -43,7 +43,7 @@ <number>999999</number> </property> <property name="cfg" stdset="0"> - <string>PdfExport.BottomMargin</string> + <string notr="true">PdfExport.BottomMargin</string> </property> </widget> </item> @@ -53,7 +53,7 @@ <number>999999</number> </property> <property name="cfg" stdset="0"> - <string>PdfExport.RightMargin</string> + <string notr="true">PdfExport.RightMargin</string> </property> </widget> </item> @@ -98,7 +98,7 @@ <number>999999</number> </property> <property name="cfg" stdset="0"> - <string>PdfExport.Padding</string> + <string notr="true">PdfExport.Padding</string> </property> </widget> </item> @@ -122,7 +122,7 @@ <number>999999</number> </property> <property name="cfg" stdset="0"> - <string>PdfExport.TopMargin</string> + <string notr="true">PdfExport.TopMargin</string> </property> </widget> </item> @@ -143,10 +143,10 @@ <item row="0" column="1"> <widget class="ConfigComboBox" name="pageSizeCombo"> <property name="modelName" stdset="0"> - <string>PdfExport.PageSizes</string> + <string notr="true">PdfExport.PageSizes</string> </property> <property name="cfg" stdset="0"> - <string>PdfExport.PageSize</string> + <string notr="true">PdfExport.PageSize</string> </property> </widget> </item> @@ -170,7 +170,7 @@ <number>999999</number> </property> <property name="cfg" stdset="0"> - <string>PdfExport.LeftMargin</string> + <string notr="true">PdfExport.LeftMargin</string> </property> </widget> </item> @@ -186,14 +186,14 @@ <item row="0" column="1"> <widget class="QSpinBox" name="fontSizeSpin"> <property name="cfg" stdset="0"> - <string>PdfExport.FontSize</string> + <string notr="true">PdfExport.FontSize</string> </property> </widget> </item> <item row="0" column="0"> <widget class="QFontComboBox" name="fontComboBox"> <property name="cfg" stdset="0"> - <string>PdfExport.Font</string> + <string notr="true">PdfExport.Font</string> </property> </widget> </item> @@ -222,10 +222,10 @@ </size> </property> <property name="text"> - <string/> + <string notr="true"/> </property> <property name="cfg" stdset="0"> - <string>PdfExport.HeaderBgColor</string> + <string notr="true">PdfExport.HeaderBgColor</string> </property> </widget> </item> @@ -245,10 +245,10 @@ </size> </property> <property name="text"> - <string/> + <string notr="true"/> </property> <property name="cfg" stdset="0"> - <string>PdfExport.NullValueColor</string> + <string notr="true">PdfExport.NullValueColor</string> </property> </widget> </item> @@ -267,7 +267,7 @@ <string>Print row numbers for data</string> </property> <property name="cfg" stdset="0"> - <string>PdfExport.PrintRowNum</string> + <string notr="true">PdfExport.PrintRowNum</string> </property> </widget> </item> @@ -277,7 +277,7 @@ <string>Print page numbers</string> </property> <property name="cfg" stdset="0"> - <string>PdfExport.PrintPageNumbers</string> + <string notr="true">PdfExport.PrintPageNumbers</string> </property> </widget> </item> diff --git a/Plugins/Printing/Printing.pro b/Plugins/Printing/Printing.pro index 49469c2..3f496be 100644 --- a/Plugins/Printing/Printing.pro +++ b/Plugins/Printing/Printing.pro @@ -33,3 +33,7 @@ win32|macx: { RESOURCES += \ printing.qrc + + +TRANSLATIONS += Printing_pl.ts + diff --git a/Plugins/Printing/Printing_pl.qm b/Plugins/Printing/Printing_pl.qm Binary files differnew file mode 100644 index 0000000..0a736b9 --- /dev/null +++ b/Plugins/Printing/Printing_pl.qm diff --git a/Plugins/Printing/Printing_pl.ts b/Plugins/Printing/Printing_pl.ts new file mode 100644 index 0000000..b372ef9 --- /dev/null +++ b/Plugins/Printing/Printing_pl.ts @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="pl_PL"> +<context> + <name>Printing</name> + <message> + <location filename="printing.cpp" line="35"/> + <source>Print data</source> + <translation>Drukuj dane</translation> + </message> + <message> + <location filename="printing.cpp" line="37"/> + <source>Print query</source> + <translation>Drukuj zapytanie</translation> + </message> + <message> + <location filename="printing.cpp" line="75"/> + <source>No data to print.</source> + <translation>Brak danych do wydruku.</translation> + </message> + <message> + <location filename="printing.cpp" line="84"/> + <source>Printing data.</source> + <translation>Drukuj dane.</translation> + </message> + <message> + <location filename="printing.cpp" line="110"/> + <source>Printing query.</source> + <translation>Drukuj zapytanie.</translation> + </message> +</context> +<context> + <name>PrintingExport</name> + <message> + <location filename="printingexport.cpp" line="34"/> + <source>Printing</source> + <translation>Drukuj</translation> + </message> +</context> +</TS> diff --git a/Plugins/Printing/printing.cpp b/Plugins/Printing/printing.cpp index ff8443d..3591d4b 100644 --- a/Plugins/Printing/printing.cpp +++ b/Plugins/Printing/printing.cpp @@ -9,6 +9,7 @@ #include "exportworker.h" #include "services/notifymanager.h" #include "sqleditor.h" +#include "translations.h" #include <QDebug> #include <QPrinter> #include <QPrintDialog> @@ -23,6 +24,8 @@ bool Printing::init() if (!printingExportInit) return false; + loadTranslation("Printing"); + printingConfig = new ExportManager::StandardExportConfig(); printingConfig->exportData = true; printingConfig->exportTableIndexes = false; diff --git a/Plugins/Printing/printing.json b/Plugins/Printing/printing.json index 1a59fb5..101f07b 100644 --- a/Plugins/Printing/printing.json +++ b/Plugins/Printing/printing.json @@ -2,7 +2,7 @@ "type": "GeneralPurposePlugin", "title": "Printing", "description": "Provides printing support.", - "version": 10000, + "version": 10001, "author": "SalSoft", "gui": true, "dependencies": "PdfExport" diff --git a/Plugins/Printing/printing.qrc b/Plugins/Printing/printing.qrc index faf09c1..54dc86f 100644 --- a/Plugins/Printing/printing.qrc +++ b/Plugins/Printing/printing.qrc @@ -2,4 +2,7 @@ <qresource prefix="/icons"> <file>printer.png</file> </qresource> + <qresource prefix="/msg"> + <file>Printing_pl.qm</file> + </qresource> </RCC> 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 Binary files differnew file mode 100644 index 0000000..b71fbf8 --- /dev/null +++ b/Plugins/RegExpImport/RegExpImport_pl.qm 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><p>Requested capture group name '%1', but it's not defined in the pattern: <pre>%2</pre></p></source> + <translation><p>Zażądano grupy do przechwycenia o nazwie '%1', ale nie jest ona zdefiniowana we wzorcu: <pre>%2</pre></p></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><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></source> + <translation><p>Wprowadź listę indeksów grup oddzieloną przecinkami. Indeks 0 odpowiada całemu dopasowanemu łańcuchowi.</p> +<p>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.</p></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><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></source> + <translation><p>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 "importuj tylko następujące grupy" 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: <pre>(?&lt;nazwaGrupy&gt;\s+\d+\s+)</pre></p></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> diff --git a/Plugins/ScriptingTcl/ScriptingTcl.pro b/Plugins/ScriptingTcl/ScriptingTcl.pro index 08d8796..7197a11 100644 --- a/Plugins/ScriptingTcl/ScriptingTcl.pro +++ b/Plugins/ScriptingTcl/ScriptingTcl.pro @@ -136,3 +136,7 @@ win32: { RESOURCES += \ scriptingtcl.qrc + + +TRANSLATIONS += ScriptingTcl_pl.ts + diff --git a/Plugins/ScriptingTcl/ScriptingTcl_pl.qm b/Plugins/ScriptingTcl/ScriptingTcl_pl.qm Binary files differnew file mode 100644 index 0000000..1232971 --- /dev/null +++ b/Plugins/ScriptingTcl/ScriptingTcl_pl.qm diff --git a/Plugins/ScriptingTcl/ScriptingTcl_pl.ts b/Plugins/ScriptingTcl/ScriptingTcl_pl.ts new file mode 100644 index 0000000..be6a580 --- /dev/null +++ b/Plugins/ScriptingTcl/ScriptingTcl_pl.ts @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="pl_PL"> +<context> + <name>ScriptingTcl</name> + <message> + <location filename="scriptingtcl.cpp" line="411"/> + <source>No database available in current context, while called Tcl's '%1' command.</source> + <oldsource>No database available in current context, while called Tcl's 'db' command.</oldsource> + <translation>Brak dostępnej bazy w bieżącym kontekście, podczas wywołania polecenie Tcl '%1'.</translation> + </message> + <message> + <location filename="scriptingtcl.cpp" line="433"/> + <source>Invalid '%1' command sytax. Should be: %2</source> + <oldsource>Invalid 'db' command sytax. Should be: db eval sql</oldsource> + <translation>Niepoprawna składnia polecenia '%1'. Powinno być: %2</translation> + </message> + <message> + <location filename="scriptingtcl.cpp" line="554"/> + <source>Error from Tcl's' '%1' command: %2</source> + <oldsource>Error from Tcl's' 'db' command: %1</oldsource> + <translation>Wystąpił błąd w poleceniu Tcl '%1': %2</translation> + </message> +</context> +</TS> diff --git a/Plugins/ScriptingTcl/scriptingtcl.cpp b/Plugins/ScriptingTcl/scriptingtcl.cpp index 5709808..4390317 100644 --- a/Plugins/ScriptingTcl/scriptingtcl.cpp +++ b/Plugins/ScriptingTcl/scriptingtcl.cpp @@ -408,7 +408,7 @@ int ScriptingTcl::dbCommand(ClientData clientData, Tcl_Interp* interp, int objc, Tcl_Obj* result = nullptr; if (!ctx->db) { - result = Tcl_NewStringObj(tr("No database available in current context, while called Tcl's 'db' command.").toUtf8().constData(), -1); + result = Tcl_NewStringObj(tr("No database available in current context, while called Tcl's '%1' command.").arg("db").toUtf8().constData(), -1); Tcl_SetObjResult(interp, result); return TCL_ERROR; } @@ -430,7 +430,7 @@ int ScriptingTcl::dbCommand(ClientData clientData, Tcl_Interp* interp, int objc, return dbEvalOneColumn(ctx, interp, objv); } - result = Tcl_NewStringObj(tr("Invalid 'db' command sytax. Should be: db eval sql").toUtf8().constData(), -1); + result = Tcl_NewStringObj(tr("Invalid '%1' command sytax. Should be: %2").arg("db", "db eval sql").toUtf8().constData(), -1); Tcl_SetObjResult(interp, result); return TCL_ERROR; } @@ -551,7 +551,7 @@ SqlQueryPtr ScriptingTcl::dbCommonEval(ContextTcl* ctx, Tcl_Interp* interp, Tcl_ SqlQueryPtr execResults = ctx->db->exec(sql, queryArgs, flags); if (execResults->isError()) { - result = Tcl_NewStringObj(tr("Error from Tcl's' 'db' command: %1").arg(execResults->getErrorText()).toUtf8().constData(), -1); + result = Tcl_NewStringObj(tr("Error from Tcl's' '%1' command: %2").arg("db", execResults->getErrorText()).toUtf8().constData(), -1); Tcl_SetObjResult(interp, result); } return execResults; diff --git a/Plugins/ScriptingTcl/scriptingtcl.qrc b/Plugins/ScriptingTcl/scriptingtcl.qrc index 8a0d047..0a78160 100644 --- a/Plugins/ScriptingTcl/scriptingtcl.qrc +++ b/Plugins/ScriptingTcl/scriptingtcl.qrc @@ -2,4 +2,7 @@ <qresource prefix="/scriptingtcl"> <file>scriptingtcl.png</file> </qresource> + <qresource prefix="/msg"> + <file>ScriptingTcl_pl.qm</file> + </qresource> </RCC> 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 Binary files differnew file mode 100644 index 0000000..ea184fe --- /dev/null +++ b/Plugins/SqlEnterpriseFormatter/SqlEnterpriseFormatter_pl.qm 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> 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 "DROP IF EXISTS" statement before "CREATE" 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 "INSERT" 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 "CREATE TABLE" 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 "DROP IF EXISTS" statement before "CREATE" 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 "INSERT" 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 Binary files differnew file mode 100644 index 0000000..5647c1c --- /dev/null +++ b/Plugins/SqlExport/SqlExport_pl.qm 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 "DROP IF EXISTS" statement before "CREATE" statement</source> + <translation>Generuj zapytanie "DROP IF EXISTS" przed zapytaniem "CREATE"</translation> + </message> + <message> + <location filename="SqlExportCommon.ui" line="30"/> + <source>Format DDL statements only (excludes "INSERT" statements)</source> + <translation>Formatuj tylko zapytania DDL (wyklucza zapytania "INSERT")</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 "CREATE TABLE" statement at the begining</source> + <translation>Generuj zapytanie "CREATE TABLE" 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 "DROP IF EXISTS" statement before "CREATE" statement</source> + <translation>Generuj zapytanie "DROP IF EXISTS" przed zapytaniem "CREATE"</translation> + </message> + <message> + <location filename="SqlExportQuery.ui" line="74"/> + <source>Format DDL statements only (excludes "INSERT" statements)</source> + <translation>Formatuj tylko zapytania DDL (wyklucza zapytania "INSERT")</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> diff --git a/Plugins/SqlFormatterSimple/SqlFormatterSimple.pro b/Plugins/SqlFormatterSimple/SqlFormatterSimple.pro index 2c60801..ecf3355 100644 --- a/Plugins/SqlFormatterSimple/SqlFormatterSimple.pro +++ b/Plugins/SqlFormatterSimple/SqlFormatterSimple.pro @@ -26,3 +26,7 @@ OTHER_FILES += \ RESOURCES += \ sqlformattersimple.qrc + + +TRANSLATIONS += SqlFormatterSimple_pl.ts + diff --git a/Plugins/SqlFormatterSimple/SqlFormatterSimple.ui b/Plugins/SqlFormatterSimple/SqlFormatterSimple.ui index 7e81ee0..7cb76b2 100644 --- a/Plugins/SqlFormatterSimple/SqlFormatterSimple.ui +++ b/Plugins/SqlFormatterSimple/SqlFormatterSimple.ui @@ -10,6 +10,9 @@ <height>290</height>
</rect>
</property>
+ <property name="windowTitle">
+ <string notr="true"/>
+ </property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QCheckBox" name="upperKeywordsCheck">
@@ -17,7 +20,7 @@ <string>Upper case keywords</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlFormatterSimple.UpperCaseKeywords</string>
+ <string notr="true">SqlFormatterSimple.UpperCaseKeywords</string>
</property>
</widget>
</item>
@@ -27,7 +30,7 @@ <string>Reduce multiple whitespaces to single whitespace</string>
</property>
<property name="cfg" stdset="0">
- <string>SqlFormatterSimple.TrimLongSpaces</string>
+ <string notr="true">SqlFormatterSimple.TrimLongSpaces</string>
</property>
</widget>
</item>
diff --git a/Plugins/SqlFormatterSimple/SqlFormatterSimple_pl.qm b/Plugins/SqlFormatterSimple/SqlFormatterSimple_pl.qm Binary files differnew file mode 100644 index 0000000..a88fc0f --- /dev/null +++ b/Plugins/SqlFormatterSimple/SqlFormatterSimple_pl.qm diff --git a/Plugins/SqlFormatterSimple/SqlFormatterSimple_pl.ts b/Plugins/SqlFormatterSimple/SqlFormatterSimple_pl.ts new file mode 100644 index 0000000..048a876 --- /dev/null +++ b/Plugins/SqlFormatterSimple/SqlFormatterSimple_pl.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="pl_PL"> +<context> + <name>SqlFormatterSimplePlugin</name> + <message> + <location filename="SqlFormatterSimple.ui" line="20"/> + <source>Upper case keywords</source> + <translation>Zmień litery słów kluczowych na duże</translation> + </message> + <message> + <location filename="SqlFormatterSimple.ui" line="30"/> + <source>Reduce multiple whitespaces to single whitespace</source> + <translation>Zredukuj wiele znaków białych do pojedynczego</translation> + </message> +</context> +</TS> diff --git a/Plugins/SqlFormatterSimple/sqlformattersimple.qrc b/Plugins/SqlFormatterSimple/sqlformattersimple.qrc index febfbd2..33f00ba 100644 --- a/Plugins/SqlFormatterSimple/sqlformattersimple.qrc +++ b/Plugins/SqlFormatterSimple/sqlformattersimple.qrc @@ -2,4 +2,7 @@ <qresource prefix="/forms"> <file>SqlFormatterSimple.ui</file> </qresource> + <qresource prefix="/msg"> + <file>SqlFormatterSimple_pl.qm</file> + </qresource> </RCC> diff --git a/Plugins/XmlExport/XmlExport.pro b/Plugins/XmlExport/XmlExport.pro index 87e0c7f..f7dbb7f 100644 --- a/Plugins/XmlExport/XmlExport.pro +++ b/Plugins/XmlExport/XmlExport.pro @@ -25,3 +25,7 @@ OTHER_FILES += \ RESOURCES += \ xmlexport.qrc + + +TRANSLATIONS += XmlExport_pl.ts + diff --git a/Plugins/XmlExport/XmlExport.ui b/Plugins/XmlExport/XmlExport.ui index 2a236c6..6c6f27e 100644 --- a/Plugins/XmlExport/XmlExport.ui +++ b/Plugins/XmlExport/XmlExport.ui @@ -11,7 +11,7 @@ </rect> </property> <property name="windowTitle"> - <string>Form</string> + <string notr="true">Form</string> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> @@ -29,10 +29,10 @@ <bool>true</bool> </property> <property name="assignedValue" stdset="0"> - <string>format</string> + <string notr="true">format</string> </property> <property name="cfg" stdset="0"> - <string>XmlExport.Format</string> + <string notr="true">XmlExport.Format</string> </property> </widget> </item> @@ -42,10 +42,10 @@ <string>Compress (everything in one line)</string> </property> <property name="assignedValue" stdset="0"> - <string>compress</string> + <string notr="true">compress</string> </property> <property name="cfg" stdset="0"> - <string>XmlExport.Format</string> + <string notr="true">XmlExport.Format</string> </property> </widget> </item> @@ -70,10 +70,10 @@ <bool>true</bool> </property> <property name="assignedValue" stdset="0"> - <string>mixed</string> + <string notr="true">mixed</string> </property> <property name="cfg" stdset="0"> - <string>XmlExport.Escaping</string> + <string notr="true">XmlExport.Escaping</string> </property> </widget> </item> @@ -86,10 +86,10 @@ <string>Always use CDATA</string> </property> <property name="assignedValue" stdset="0"> - <string>cdata</string> + <string notr="true">cdata</string> </property> <property name="cfg" stdset="0"> - <string>XmlExport.Escaping</string> + <string notr="true">XmlExport.Escaping</string> </property> </widget> </item> @@ -102,10 +102,10 @@ <string>Always use ampersand</string> </property> <property name="assignedValue" stdset="0"> - <string>ampersand</string> + <string notr="true">ampersand</string> </property> <property name="cfg" stdset="0"> - <string>XmlExport.Escaping</string> + <string notr="true">XmlExport.Escaping</string> </property> </widget> </item> @@ -124,13 +124,13 @@ <bool>false</bool> </property> <property name="cfg" stdset="0"> - <string>XmlExport.UseNamespace</string> + <string notr="true">XmlExport.UseNamespace</string> </property> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLineEdit" name="namespaceEdit"> <property name="cfg" stdset="0"> - <string>XmlExport.Namespace</string> + <string notr="true">XmlExport.Namespace</string> </property> </widget> </item> diff --git a/Plugins/XmlExport/XmlExport_pl.qm b/Plugins/XmlExport/XmlExport_pl.qm Binary files differnew file mode 100644 index 0000000..40b5b24 --- /dev/null +++ b/Plugins/XmlExport/XmlExport_pl.qm diff --git a/Plugins/XmlExport/XmlExport_pl.ts b/Plugins/XmlExport/XmlExport_pl.ts new file mode 100644 index 0000000..fc0cfaa --- /dev/null +++ b/Plugins/XmlExport/XmlExport_pl.ts @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="pl_PL"> +<context> + <name>XmlExport</name> + <message> + <location filename="xmlexport.cpp" line="38"/> + <source>Enter the namespace to use (for example: http://my.namespace.org)</source> + <oldsource>Enter the namespace to use (for example: http://my.namespace.org</oldsource> + <translation>Wprowadź przestrzeń nazw (na przykład: http://moja.przestrzen.nazw.org)</translation> + </message> +</context> +<context> + <name>XmlExportConfig</name> + <message> + <location filename="XmlExport.ui" line="20"/> + <source>Output format</source> + <translation>Format wyjściowy</translation> + </message> + <message> + <location filename="XmlExport.ui" line="26"/> + <source>Format document (new lines, indentation)</source> + <translation>Formatuj dokument (nowe linie, wcięcia)</translation> + </message> + <message> + <location filename="XmlExport.ui" line="42"/> + <source>Compress (everything in one line)</source> + <translation>Kompresuj (wszystko w jednej linii)</translation> + </message> + <message> + <location filename="XmlExport.ui" line="58"/> + <source>Special characters escaping</source> + <translation>Podmiana znaków specjalnych</translation> + </message> + <message> + <location filename="XmlExport.ui" line="64"/> + <source><p>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.</p></source> + <translation><p>Dla krótszych wartości będzie użyty ampersand, a dla dłuższych CDATA. Dotyczy to tylko wartości, które wymagają podmiany znaków. Inne wartości będą wyeksportowane bez zmian.</p></translation> + </message> + <message> + <location filename="XmlExport.ui" line="67"/> + <source>Use CDATA and ampersands</source> + <translation>Użyj CDATA i ampersandów</translation> + </message> + <message> + <location filename="XmlExport.ui" line="83"/> + <source><p>Every value requiring character escepe will be enclosed in CDATA block.</p></source> + <translation><p>Każda wartość wymagająca podmiany znaków będzie zamknięta w bloku CDATA.</p></translation> + </message> + <message> + <location filename="XmlExport.ui" line="86"/> + <source>Always use CDATA</source> + <translation>Zawsze używaj CDATA</translation> + </message> + <message> + <location filename="XmlExport.ui" line="99"/> + <source><p>Every character that require esceping will be replaced with its ampersand escape sequence. No CDATA blocks will be used.</p></source> + <translation><p>Każdy znak wymagający podmiany będzie zastąpiony odpowiednią sekwencją z ampersandem. Bloki CDATA nie będą używane.</p></translation> + </message> + <message> + <location filename="XmlExport.ui" line="102"/> + <source>Always use ampersand</source> + <translation>Zawsze używaj ampersanda</translation> + </message> + <message> + <location filename="XmlExport.ui" line="118"/> + <source>Define XML namespace</source> + <translation>Zdefiniuj przestrzeń nazw XML</translation> + </message> +</context> +</TS> diff --git a/Plugins/XmlExport/xmlexport.cpp b/Plugins/XmlExport/xmlexport.cpp index 746d246..e76fe7d 100644 --- a/Plugins/XmlExport/xmlexport.cpp +++ b/Plugins/XmlExport/xmlexport.cpp @@ -35,7 +35,7 @@ void XmlExport::validateOptions() EXPORT_MANAGER->updateVisibilityAndEnabled(cfg.XmlExport.Namespace, true, useNs); bool nsValid = !useNs || !cfg.XmlExport.Namespace.get().isEmpty(); - EXPORT_MANAGER->handleValidationFromPlugin(nsValid, cfg.XmlExport.Namespace, tr("Enter the namespace to use (for example: http://my.namespace.org")); + EXPORT_MANAGER->handleValidationFromPlugin(nsValid, cfg.XmlExport.Namespace, tr("Enter the namespace to use (for example: http://my.namespace.org)")); } QString XmlExport::defaultFileExtension() const diff --git a/Plugins/XmlExport/xmlexport.qrc b/Plugins/XmlExport/xmlexport.qrc index d6a77a6..cfa97ff 100644 --- a/Plugins/XmlExport/xmlexport.qrc +++ b/Plugins/XmlExport/xmlexport.qrc @@ -2,4 +2,7 @@ <qresource prefix="/forms"> <file>XmlExport.ui</file> </qresource> + <qresource prefix="/msg"> + <file>XmlExport_pl.qm</file> + </qresource> </RCC> |
