From 016003905ca0e8e459e3dc33e786beda8ec92f45 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Fri, 30 Jan 2015 17:00:07 -0500 Subject: Imported Upstream version 3.0.2 --- Plugins/XmlExport/XmlExport.pro | 4 +++ Plugins/XmlExport/XmlExport.ui | 26 +++++++------- Plugins/XmlExport/XmlExport_pl.qm | Bin 0 -> 2551 bytes Plugins/XmlExport/XmlExport_pl.ts | 71 ++++++++++++++++++++++++++++++++++++++ Plugins/XmlExport/xmlexport.cpp | 2 +- Plugins/XmlExport/xmlexport.qrc | 3 ++ 6 files changed, 92 insertions(+), 14 deletions(-) create mode 100644 Plugins/XmlExport/XmlExport_pl.qm create mode 100644 Plugins/XmlExport/XmlExport_pl.ts (limited to 'Plugins/XmlExport') 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 @@ - Form + Form @@ -29,10 +29,10 @@ true - format + format - XmlExport.Format + XmlExport.Format @@ -42,10 +42,10 @@ Compress (everything in one line) - compress + compress - XmlExport.Format + XmlExport.Format @@ -70,10 +70,10 @@ true - mixed + mixed - XmlExport.Escaping + XmlExport.Escaping @@ -86,10 +86,10 @@ Always use CDATA - cdata + cdata - XmlExport.Escaping + XmlExport.Escaping @@ -102,10 +102,10 @@ Always use ampersand - ampersand + ampersand - XmlExport.Escaping + XmlExport.Escaping @@ -124,13 +124,13 @@ false - XmlExport.UseNamespace + XmlExport.UseNamespace - XmlExport.Namespace + XmlExport.Namespace diff --git a/Plugins/XmlExport/XmlExport_pl.qm b/Plugins/XmlExport/XmlExport_pl.qm new file mode 100644 index 0000000..40b5b24 Binary files /dev/null and b/Plugins/XmlExport/XmlExport_pl.qm differ 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 @@ + + + + + XmlExport + + + Enter the namespace to use (for example: http://my.namespace.org) + Enter the namespace to use (for example: http://my.namespace.org + Wprowadź przestrzeń nazw (na przykład: http://moja.przestrzen.nazw.org) + + + + XmlExportConfig + + + Output format + Format wyjściowy + + + + Format document (new lines, indentation) + Formatuj dokument (nowe linie, wcięcia) + + + + Compress (everything in one line) + Kompresuj (wszystko w jednej linii) + + + + Special characters escaping + Podmiana znaków specjalnych + + + + <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> + <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> + + + + Use CDATA and ampersands + Użyj CDATA i ampersandów + + + + <p>Every value requiring character escepe will be enclosed in CDATA block.</p> + <p>Każda wartość wymagająca podmiany znaków będzie zamknięta w bloku CDATA.</p> + + + + Always use CDATA + Zawsze używaj CDATA + + + + <p>Every character that require esceping will be replaced with its ampersand escape sequence. No CDATA blocks will be used.</p> + <p>Każdy znak wymagający podmiany będzie zastąpiony odpowiednią sekwencją z ampersandem. Bloki CDATA nie będą używane.</p> + + + + Always use ampersand + Zawsze używaj ampersanda + + + + Define XML namespace + Zdefiniuj przestrzeń nazw XML + + + 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 @@ XmlExport.ui + + XmlExport_pl.qm + -- cgit v1.2.3