From cf701a5d51d16bd680a8722462bc34ba4ea35af6 Mon Sep 17 00:00:00 2001 From: Kamborio Date: Fri, 18 Oct 2024 08:28:35 +0000 Subject: [PATCH 1/5] Translated using Weblate (Spanish) Currently translated at 100.0% (32 of 32 strings) Translation: Galette/Plugins: Paypal Translate-URL: https://hosted.weblate.org/projects/galette/paypal-plugin/es/ --- lang/paypal_es.utf8.po | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lang/paypal_es.utf8.po b/lang/paypal_es.utf8.po index 59e5163..8fb1aef 100644 --- a/lang/paypal_es.utf8.po +++ b/lang/paypal_es.utf8.po @@ -5,21 +5,22 @@ # Berto Te , 2021. # Johan Cwiklinski , 2021, 2022, 2023. # gallegonovato , 2022. +# Kamborio , 2024. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" +"Report-Msgid-Bugs-To: translations@galette.eu\n" "POT-Creation-Date: 2024-02-08 22:18+0100\n" -"PO-Revision-Date: 2023-12-09 18:39+0000\n" -"Last-Translator: Johan Cwiklinski \n" -"Language-Team: Spanish \n" +"PO-Revision-Date: 2024-10-19 07:02+0000\n" +"Last-Translator: Kamborio \n" +"Language-Team: Spanish \n" "Language: es\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: Weblate 5.3-dev\n" +"X-Generator: Weblate 5.8-rc\n" #: ../lib/GalettePaypal/Controllers/PaypalController.php:68 msgid "Paypal payment" @@ -83,7 +84,7 @@ msgstr "¡Tu pago ha sido procesado!" #: ../lib/GalettePaypal/PluginGalettePaypal.php:49 msgid "Paypal" -msgstr "Paypal" +msgstr "PayPal" #: ../lib/GalettePaypal/PluginGalettePaypal.php:80 msgid "Payment form" From 7498fbf9094ee90811f565cd93d572c25a40abd6 Mon Sep 17 00:00:00 2001 From: Johan Cwiklinski Date: Sat, 19 Oct 2024 09:07:12 +0200 Subject: [PATCH 2/5] Compile locales --- lang/es.utf8/LC_MESSAGES/paypal.mo | Bin 4037 -> 4078 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/lang/es.utf8/LC_MESSAGES/paypal.mo b/lang/es.utf8/LC_MESSAGES/paypal.mo index bfb50c11cf0029f62721cfb07c3e814d6eeec116..9e68c256c24e58eb625f6e62ed435cc648f00813 100644 GIT binary patch delta 433 zcmXxe&q@MO6bA4!7XHh!kfP|1111qN<7h@Tq_}94B}oJ>qQzJj6Q;R#?^pzZyGRIH zwrJT4RO6-x@C91+0Jd%0why$s`JL}v_&B}zPyBURY4;SOr6AEe5%ohvCVUDLmEk8` zgz6Yk4i;b@O1K8!U>bhI6*wIsio*QRGMq#{fqv+~7;M2Q*ojb^IvAd@n1#vlfdx2+ zT!l065~koiOu#NI!7qrLDKSB`05zC|C3pv$a31~+|6{oB7}Y3i{rvFYRx; z!g8c-xee~fV%@Tt>oT3S!j%KbO*_@U!w9J-jY?wwiW#EPPE$M1U z!xAn`bDc$xEGeDT+lcSM)2p~XrIU^IfXIY zz$EVCG+ts6?~$M78^^J`Ut|WS@C?^+3}5hX|BgEt;LB}1hy*$Z+O0WX+J9}Uu{A@_ z&g+@HmR%?q`DBI)l}y*uw;a=Q8>VMF1+8dTO-oxjuGJeg%dOY6Mb9zaYQ Date: Sat, 19 Oct 2024 09:22:35 +0200 Subject: [PATCH 3/5] Fix checker configuration --- .composer-require-checker.config.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.composer-require-checker.config.json b/.composer-require-checker.config.json index 26bde63..f49e224 100644 --- a/.composer-require-checker.config.json +++ b/.composer-require-checker.config.json @@ -23,6 +23,7 @@ "// Galette constants (not detected as they are dynamically declared)", "GALETTE_ATTACHMENTS_PATH", + "GALETTE_ADAPTATIVE_CARDS", "GALETTE_BASE_PATH", "GALETTE_CACHE_DIR", "GALETTE_CARD_COLS", From 3543931a5963482ced316adca9aa6202d82d9d02 Mon Sep 17 00:00:00 2001 From: Johan Cwiklinski Date: Sun, 20 Oct 2024 08:51:58 +0200 Subject: [PATCH 4/5] Use console tools to install Galette and plugin --- .github/workflows/ci-linux.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index 12efa4a..fe14c8b 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -205,15 +205,17 @@ jobs: POSTGRES_HOST: localhost POSTGRES_PORT: 5432 run: | - PGPASSWORD=g@l3tte psql -d galette_tests -a -f galette-core/galette/install/scripts/pgsql.sql -U galette_tests -h localhost - PGPASSWORD=g@l3tte psql -d galette_tests -a -f galette-core/galette/plugins/plugin-paypal/scripts/pgsql.sql -U galette_tests -h localhost + cd galette-core + bin/console galette:install -v --dbtype=pgsql --dbhost=localhost --dbname=galette_tests --dbuser=galette_tests --dbpass=g@l3tte --admin=admin --password=admin --no-interaction -w + bin/console galette:plugins:install-db --all if: env.skip != 'true' && startsWith(matrix.db-image, 'postgres') - name: Init for MariaDB run: | + cd galette-core mysql -e 'create database IF NOT EXISTS galette_tests;' -u galette_tests --password=g@l3tte -h 127.0.0.1 -P 3306 - mysql -e 'use galette_tests; source galette-core/galette/install/scripts/mysql.sql;' -u galette_tests --password=g@l3tte -h 127.0.0.1 -P 3306 - mysql -e 'use galette_tests; source galette-core/galette/plugins/plugin-paypal/scripts/mysql.sql;' -u galette_tests --password=g@l3tte -h 127.0.0.1 -P 3306 + bin/console galette:install -v --dbtype=mysql --dbhost=127.0.0.1 --dbname=galette_tests --dbuser=galette_tests --dbpass=g@l3tte --admin=admin --password=admin --no-interaction -w + bin/console galette:plugins:install-db --all if: env.skip != 'true' && (startsWith(matrix.db-image, 'mysql') || startsWith(matrix.db-image, 'mariadb')) - name: Unit tests From a9441b6cfea77bea4f0622c6978d3151e8f43b4f Mon Sep 17 00:00:00 2001 From: Johan Cwiklinski Date: Sun, 20 Oct 2024 09:47:36 +0200 Subject: [PATCH 5/5] Bump version --- _define.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_define.php b/_define.php index 7ca6252..69c61e6 100644 --- a/_define.php +++ b/_define.php @@ -25,10 +25,10 @@ 'Galette Paypal', //Name 'Paypal integration', //Short description 'Johan Cwiklinski', //Author - '2.1.1', //Version + '2.1.2', //Version '1.1.0', //Galette compatible version 'paypal', //routing name and translation domain - '2024-07-06', //Release date + '2024-10-20', //Release date [ //Permissions needed 'paypal_preferences' => 'staff', 'store_paypal_preferences' => 'staff',