fix(09): wrap wp_die error strings in gettext and update translations

Verifier caught 5 hardcoded German strings in the email failure wp_die
block. Wrapped in esc_html__(), added German translations, regenerated
POT/PO/MO files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-07 00:06:25 +09:00
parent 54643b245c
commit a7c70031d9
4 changed files with 49 additions and 9 deletions

View File

@@ -5,16 +5,16 @@ msgstr ""
"Project-Id-Version: Umzugsliste 1.0.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/Siegel-"
"Umzugsliste\n"
"POT-Creation-Date: 2026-02-06T15:05:40+00:00\n"
"PO-Revision-Date: 2026-02-06T14:52:05+00:00\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2026-02-06T14:52:05+00:00\n"
"PO-Revision-Date: 2026-02-06T14:52:05+00:00\n"
"X-Generator: WP-CLI 2.12.0\n"
"X-Domain: siegel-umzugsliste\n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. Plugin Name of the plugin
@@ -106,6 +106,26 @@ msgstr "Sicherheitsüberprüfung fehlgeschlagen. Bitte versuchen Sie es erneut."
msgid "Captcha verification failed. Please try again."
msgstr "Captcha-Verifizierung fehlgeschlagen. Bitte versuchen Sie es erneut."
#: includes/class-form-handler.php:120
msgid "Email could not be sent"
msgstr "E-Mail konnte nicht versendet werden"
#: includes/class-form-handler.php:121
msgid "Your request has been saved, but the email could not be sent."
msgstr "Ihre Anfrage wurde gespeichert, aber die E-Mail konnte nicht versendet werden."
#: includes/class-form-handler.php:122
msgid "Please contact us by phone:"
msgstr "Bitte kontaktieren Sie uns telefonisch:"
#: includes/class-form-handler.php:125
msgid "Back to homepage"
msgstr "Zurück zur Startseite"
#: includes/class-form-handler.php:126
msgid "Email Error"
msgstr "E-Mail-Fehler"
#: includes/class-form-handler.php:145
msgid "Name (Loading Address)"
msgstr "Name (Beladeadresse)"

View File

@@ -9,7 +9,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2026-02-06T14:52:05+00:00\n"
"POT-Creation-Date: 2026-02-06T15:05:40+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.12.0\n"
"X-Domain: siegel-umzugsliste\n"
@@ -108,6 +108,26 @@ msgstr ""
msgid "Captcha verification failed. Please try again."
msgstr ""
#: includes/class-form-handler.php:120
msgid "Email could not be sent"
msgstr ""
#: includes/class-form-handler.php:121
msgid "Your request has been saved, but the email could not be sent."
msgstr ""
#: includes/class-form-handler.php:122
msgid "Please contact us by phone:"
msgstr ""
#: includes/class-form-handler.php:125
msgid "Back to homepage"
msgstr ""
#: includes/class-form-handler.php:126
msgid "Email Error"
msgstr ""
#: includes/class-form-handler.php:145
msgid "Name (Loading Address)"
msgstr ""