From a3b19f83cad075a3a7b8e0d95729ad8bd10a4e6e Mon Sep 17 00:00:00 2001
From: Sebastian Pisula <sebastian.pisula@gmail.com>
Date: Tue, 30 Aug 2022 09:13:02 +0200
Subject: [PATCH] feature(core): added de_DE translations

---
 .gitignore    |   1 +
 changelog.txt |   4 ++++
 composer.json |   9 ++++++++-
 lang/de_DE.po |  43 +++++++++++++++++++++++++++++++++++++++++++
 lang/pl_PL.mo | Bin 1159 -> 0 bytes
 5 files changed, 56 insertions(+), 1 deletion(-)
 create mode 100755 lang/de_DE.po
 delete mode 100644 lang/pl_PL.mo

diff --git a/.gitignore b/.gitignore
index 16e7a8c..81b5934 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ composer.lock
 build-coverage
 swagger
 .phpcs-cache
+/lang/*.mo
diff --git a/changelog.txt b/changelog.txt
index d940f97..884d241 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,5 +1,9 @@
 # Changelog
 
+## [3.1.0] - 2022-08-30
+### Added
+- de_DE translations
+
 ## [3.0.0] - 2022-07-19
 ### Added
 - Added strong typing to all the interfaces
diff --git a/composer.json b/composer.json
index 03b48b4..7412e02 100644
--- a/composer.json
+++ b/composer.json
@@ -41,7 +41,8 @@
 		"text-domain": "wp-forms",
 		"translations-folder": "lang",
 		"po-files": {
-			"pl_PL": "pl_PL.po"
+			"pl_PL": "pl_PL.po",
+			"de_DE": "de_DE.po"
 		}
 	},
 	"scripts": {
@@ -49,5 +50,11 @@
 		"phpunit-unit-fast": "phpunit --configuration phpunit-unit.xml --no-coverage",
 		"phpunit-integration": "phpunit --configuration phpunit-integration.xml --coverage-text --colors=never",
 		"phpunit-integration-fast": "phpunit --configuration phpunit-integration.xml --no-coverage"
+	},
+	"config": {
+		"allow-plugins": {
+			"phpstan/extension-installer": true,
+			"dealerdirect/phpcodesniffer-composer-installer": true
+		}
 	}
 }
diff --git a/lang/de_DE.po b/lang/de_DE.po
new file mode 100755
index 0000000..51c3f77
--- /dev/null
+++ b/lang/de_DE.po
@@ -0,0 +1,43 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: wp-forms\n"
+"POT-Creation-Date: 2022-08-30 09:12+0200\n"
+"PO-Revision-Date: 2022-08-30 09:12+0200\n"
+"Last-Translator: Sebastian Pisula <sebastian.pisula@gmail.com>\n"
+"Language-Team: Łukasz Spryszak <lspryszak@gmail.com>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Poedit 3.1.1\n"
+"X-Poedit-Basepath: ..\n"
+"X-Poedit-SourceCharset: UTF-8\n"
+"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
+"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
+"_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
+"X-Poedit-SearchPath-0: .\n"
+"X-Poedit-SearchPath-1: src\n"
+"X-Poedit-SearchPathExcluded-0: *.js\n"
+"X-Poedit-SearchPathExcluded-1: vendor\n"
+"X-Poedit-SearchPathExcluded-2: vendor_prefixed\n"
+
+#: templates/input-image.php:25
+msgid "Set image"
+msgstr "Bild einstellen"
+
+#: templates/input-image.php:32
+msgid "Remove image"
+msgstr "Bild entfernen"
+
+#: templates/input-image.php:53
+msgid "Select or Upload Media"
+msgstr "Medien auswählen oder hochladen"
+
+#: templates/input-image.php:55
+msgid "Use this media"
+msgstr "Dieses Medium verwenden"
+
+#: templates/product-select.php:13
+msgid "Search for a product&hellip;"
+msgstr "Suche nach einem Produkt&hellip;"
diff --git a/lang/pl_PL.mo b/lang/pl_PL.mo
deleted file mode 100644
index f621cb5cbf4b151eecddd0e12ca29f4eee4f51c7..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 1159
zcmaJ=L2lDP6g9Mf2#5s>Sis_Ms9LB~+bN=Qnif%7RFMj+Z74fyV*e&i>=|oj+@?__
zHe7)f7k~?JgPwpr2Vl(s_+zIDi>f2N{6GJ_H}hwl`TcPIt3~5B;VGd_xJNiAnDL!(
zpYVfV_@9JFgkOZagg=A_gujH9Im?>6QTZG5mi3rwn-rf=JfdjURTS?~{7jLg<+w?|
zw+LjP4x*>S^k(g2CQcBNjP=kuKqjL;9195yaw*~>(hGe|(<E;anPQ}YxK5r57Q-IK
z38S)}xH}3#_Y(zKNd!_1$YAfr_D7T|5!{EP0Ct4TR4w>m@8d~gs`gu^(Ff1*T-$kR
zd#m6&zVqsZ<2g>P&6KteCF3e(T1X#)L}&?tfc2ab?7r@0EJ^E;$TmpKdj*}tK17zy
zq((MmWH8oxWgD`qj6URP7_@79yL;QSrro+z+Y($Or&i8#>Q&=NujDC9coU*NlL~dK
zbGT!#&2*;aW0dwbk3^jCo)2r?MAtsq?~tRMoJG(@Y4GX|st4u7e!~>zO!s}L*K0vq
zNS4~=mHEK)a;jR5CiQ8U)*^4UT-XE$h<@fe8!ZnO7Rq$JwQABuQ+C!}2hPvSy3sgG
z<Z;R4Ej4FbABaLmxK*9Uhw4Dn#@^%EsgSX1CrbMehRqP0A@|*7uNjU^h^TUz@R7e7
zEgKG16f&(P8Kx=D(uu)PeVwHfRhd?*GMz3Pav}0+Pd=(9jcT7T<UQ2p!%Q{*ovi#{
z2Xw8rLl=7`;rgItbQQHdiqay+*m$4U2kKf4EpviA7V=t^cc}_<iO0zZ<C@h`#l;s8
vUCGAQ!MGT*LG=WOx|qJfqqA;;atvwFC31`x-_m3-d2dHbv(t%xqO<-1KU!4E

-- 
GitLab