diff options
| author | jlbeer <noreply@maennchen1.de> | 2026-09-07 14:45:02 +0200 |
|---|---|---|
| committer | jlbeer <noreply@maennchen1.de> | 2026-09-07 14:45:02 +0200 |
| commit | 99b01f24a799a2696c5acb5636334aa5ab384352 (patch) | |
| tree | 54e41621d34147124f04973644a082115dc404b8 /views/mods/mod_revocation/settings_edit.phtml | |
| parent | f69370577e8d61d2a4356acba41985fab71cff78 (diff) | |
- Übersetzungsfunktionen vereinheitlicht (manchmal nur _() )
- PHP 8.5 / WP 7.1
- Warnungen, die im Plugin "Plugin Check" erwähnt wurden behoben
Diffstat (limited to 'views/mods/mod_revocation/settings_edit.phtml')
| -rw-r--r-- | views/mods/mod_revocation/settings_edit.phtml | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/views/mods/mod_revocation/settings_edit.phtml b/views/mods/mod_revocation/settings_edit.phtml index c47b46b..47666f4 100644 --- a/views/mods/mod_revocation/settings_edit.phtml +++ b/views/mods/mod_revocation/settings_edit.phtml @@ -16,8 +16,8 @@ <div id="wpsg_mod_revocation_reason_app"> <ul class="nav nav-tabs" role="tablist"> - <li role="presentation" :class="{ 'active': tab === 1 }"><a href="#tab1" @click.prevent.stop="tab = 1"><?php echo __('Einstellungen', 'wpsgRevocation'); ?></a></li> - <li role="presentation" :class="{ 'active': tab === 2 }"><a href="#tab2" @click.prevent.stop="tab = 2"><?php echo __('Gründe für Retouren', 'wpsgRevocation'); ?></a></li> + <li role="presentation" :class="{ 'active': tab === 1 }"><a href="#tab1" @click.prevent.stop="tab = 1"><?php echo __('Einstellungen', 'wpsg'); ?></a></li> + <li role="presentation" :class="{ 'active': tab === 2 }"><a href="#tab2" @click.prevent.stop="tab = 2"><?php echo __('Gründe für Retouren', 'wpsg'); ?></a></li> </ul> <input type="hidden" name="wpsg_mod_revocation_reason" v-model="jsonString" /> @@ -25,23 +25,23 @@ <div class="tab-content"> <div v-show="tab === 1" class="tab-pane active"> - <?php echo wpsg_drawForm_Checkbox('wpsg_mod_revocation_view_order', __('An Produkten im Kundenfrontend an den Bestellungen anzeigen.', 'wpsgRevocation'), wpsg_ShopController::getShop()->get_option('wpsg_mod_revocation_view_order'), ['fullWidth' => true]); ?> - <?php echo wpsg_drawForm_Checkbox('wpsg_mod_revocation_view_flyout', __('Auf allen Seiten ein Widerrufs-Flyout anzeigen.', 'wpsgRevocation'), wpsg_ShopController::getShop()->get_option('wpsg_mod_revocation_view_flyout'), ['fullWidth' => true]); ?> - <?php echo wpsg_drawForm_Checkbox('wpsg_mod_revocation_view_product', __('Im Produkt neben "In den Warenkorb" anzeigen.', 'wpsgRevocation'), wpsg_ShopController::getShop()->get_option('wpsg_mod_revocation_view_product'), ['fullWidth' => true]); ?> - <?php echo wpsg_drawForm_Checkbox('wpsg_mod_revocation_view_customer_mail', __('Widerruflink in Bestellbestätigungsmail an Kunden.', 'wpsgRevocation'), wpsg_ShopController::getShop()->get_option('wpsg_mod_revocation_view_customer_mail'), ['fullWidth' => true]); ?> + <?php echo wpsg_drawForm_Checkbox('wpsg_mod_revocation_view_order', __('An Produkten im Kundenfrontend an den Bestellungen anzeigen.', 'wpsg'), wpsg_ShopController::getShop()->get_option('wpsg_mod_revocation_view_order'), ['fullWidth' => true]); ?> + <?php echo wpsg_drawForm_Checkbox('wpsg_mod_revocation_view_flyout', __('Auf allen Seiten ein Widerrufs-Flyout anzeigen.', 'wpsg'), wpsg_ShopController::getShop()->get_option('wpsg_mod_revocation_view_flyout'), ['fullWidth' => true]); ?> + <?php echo wpsg_drawForm_Checkbox('wpsg_mod_revocation_view_product', __('Im Produkt neben "In den Warenkorb" anzeigen.', 'wpsg'), wpsg_ShopController::getShop()->get_option('wpsg_mod_revocation_view_product'), ['fullWidth' => true]); ?> + <?php echo wpsg_drawForm_Checkbox('wpsg_mod_revocation_view_customer_mail', __('Widerruflink in Bestellbestätigungsmail an Kunden.', 'wpsg'), wpsg_ShopController::getShop()->get_option('wpsg_mod_revocation_view_customer_mail'), ['fullWidth' => true]); ?> <hr /> <div v-pre> - <?php echo wpsg_drawForm_Select('wpsg_page_widerrufsformular', __('Seite für das Widerrufsformular', 'wpsgRevocation'), wpsg_ShopController::getShop()->view['pages'], wpsg_ShopController::getShop()->get_option('wpsg_page_widerrufsformular'), ['hint' => __('Wählen Sie „Neu anlegen und zuordnen", damit beim Speichern automatisch eine eigene Seite erstellt wird – oder ordnen Sie eine bestehende Seite zu. Das Formular wird automatisch in diese Seite eingebunden.', 'wpsgRevocation')]); ?> + <?php echo wpsg_drawForm_Select('wpsg_page_widerrufsformular', __('Seite für das Widerrufsformular', 'wpsg'), wpsg_ShopController::getShop()->view['pages'], wpsg_ShopController::getShop()->get_option('wpsg_page_widerrufsformular'), ['hint' => __('Wählen Sie „Neu anlegen und zuordnen", damit beim Speichern automatisch eine eigene Seite erstellt wird – oder ordnen Sie eine bestehende Seite zu. Das Formular wird automatisch in diese Seite eingebunden.', 'wpsg')]); ?> </div> <p class="wpsg_note"> <?php echo wpsg_translate( - __('Einstellungen zu den E-Mails finden Sie in der <a href="#1#">E-Mail Konfiguration</a>.', 'wpsgRevocation'), + __('Einstellungen zu den E-Mails finden Sie in der <a href="#1#">E-Mail Konfiguration</a>.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf' ); ?><br /> - <?php echo __('Das Modul setzt eindeutige Artikelnummern voraus.', 'wpsgRevocation'); ?> + <?php echo __('Das Modul setzt eindeutige Artikelnummern voraus.', 'wpsg'); ?> </p> </div> @@ -49,14 +49,14 @@ <div class="reason_wrap" v-if="arReason.length > 0"> <template v-for="r of arReason"> <div class="wpsg_form_field"> - <label class="label"><?php echo __('ID', 'wpsgRevocation'); ?></label> + <label class="label"><?php echo __('ID', 'wpsg'); ?></label> <div class="value"> {{r.id}} <a data-id="1" class="removeReason" @click.prevent.stop="removeReason(r)" href="#"><span class="wpsg-glyphicon glyphicon glyphicon-trash"></span></a> </div> </div> <div class="wpsg_form_field"> - <label class="label"><?php echo __('Text', 'wpsgRevocation'); ?></label> + <label class="label"><?php echo __('Text', 'wpsg'); ?></label> <div class="value"> <input type="text" v-model="r.text" /> </div> @@ -64,9 +64,9 @@ <hr /> </template> </div> - <p v-else><?php echo __('Keine Gründe definiert', 'wpsgRevocation'); ?></p> + <p v-else><?php echo __('Keine Gründe definiert', 'wpsg'); ?></p> - <a href="#" @click.prevent.stop="addReason" class="addReason"><span class="wpsg-glyphicon glyphicon glyphicon-plus"></span><?php echo __('Neuen Grund anlegen', 'wpsgRevocation'); ?></a> + <a href="#" @click.prevent.stop="addReason" class="addReason"><span class="wpsg-glyphicon glyphicon glyphicon-plus"></span><?php echo __('Neuen Grund anlegen', 'wpsg'); ?></a> </div> </div> @@ -107,7 +107,7 @@ }; const removeReason = r => { - if (confirm('<?php echo __('Sind Sie sich sicher?', 'wpsgRevocation'); ?>')) { + if (confirm('<?php echo __('Sind Sie sich sicher?', 'wpsg'); ?>')) { arReason.value = arReason.value.filter(v => v !== r); |
