diff options
Diffstat (limited to 'Plugins/CsvImport')
| -rw-r--r-- | Plugins/CsvImport/CsvImport.pro | 4 | ||||
| -rw-r--r-- | Plugins/CsvImport/CsvImportOptions.ui | 25 | ||||
| -rw-r--r-- | Plugins/CsvImport/CsvImport_pl.qm | bin | 0 -> 2366 bytes | |||
| -rw-r--r-- | Plugins/CsvImport/CsvImport_pl.ts | 89 | ||||
| -rw-r--r-- | Plugins/CsvImport/csvimport.json | 2 | ||||
| -rw-r--r-- | Plugins/CsvImport/csvimport.qrc | 3 |
6 files changed, 111 insertions, 12 deletions
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> |
