Skip to content

Commit 7970690

Browse files
authored
Merge pull request #617 from FatchipRobert/MAG2-376-ClickToPay-Admin-Translations
MAG2-376 - Added German ClickToPay translations for backend
2 parents 2bace65 + 0161f17 commit 7970690

File tree

5 files changed

+20
-10
lines changed

5 files changed

+20
-10
lines changed

Setup/InstallData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ protected function addGermanPaymentTitles(ModuleDataSetupInterface $setup, $scop
133133
$translations = [
134134
'payone_cash_on_delivery' => 'PAYONE Nachnahme',
135135
'payone_creditcard' => 'PAYONE Kreditkarte',
136-
'payone_creditcardv2' => 'PAYONE Kreditkarte Neu',
136+
'payone_creditcardv2' => 'PAYONE Kreditkarte (Click to Pay)',
137137
'payone_debit' => 'PAYONE Lastschrift',
138138
'payone_advance_payment' => 'PAYONE Vorkasse',
139139
'payone_invoice' => 'PAYONE Rechnung',

etc/adminhtml/menu.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
-->
2727
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
2828
<menu>
29-
<add id="Payone_Core::payone" title="Payone" module="Payone_Core" sortOrder="79" resource="Payone_Core::payone"/>
29+
<add id="Payone_Core::payone" title="PAYONE" module="Payone_Core" sortOrder="79" resource="Payone_Core::payone"/>
3030
<add id="Payone_Core::payone_orders" title="Orders" module="Payone_Core" sortOrder="10" parent="Payone_Core::payone" action="payone/orders" resource="Payone_Core::payone_orders"/>
3131
<add id="Payone_Core::payone_configuration" title="Configuration" module="Payone_Core" sortOrder="20" parent="Payone_Core::payone" resource="Payone_Core::payone_configuration"/>
3232
<add id="Payone_Core::payone_configuration_general" title="General" module="Payone_Core" sortOrder="10" parent="Payone_Core::payone_configuration" action="adminhtml/system_config/edit/section/payone_general" resource="Payone_Core::payone_configuration_general"/>

etc/adminhtml/system.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
<backend_model>Payone\Core\Model\Config\Backend\SerializedOrJson</backend_model>
113113
</field>
114114
<field id="payone_creditcardv2" translate="label" sortOrder="15" showInDefault="1" showInWebsite="1" showInStore="1">
115-
<label>Creditcard New</label>
115+
<label>Creditcard (Click to Pay)</label>
116116
<frontend_model>Payone\Core\Block\Adminhtml\Config\Form\Field\StatusMapping</frontend_model>
117117
<backend_model>Payone\Core\Model\Config\Backend\SerializedOrJson</backend_model>
118118
</field>
@@ -292,7 +292,7 @@
292292
</field>
293293
</group>
294294
<group id="creditcardv2" translate="label" type="text" sortOrder="45" showInDefault="1" showInWebsite="1" showInStore="1">
295-
<label>Payment Creditcard New</label>
295+
<label>Payment Creditcard (Click to Pay)</label>
296296
<field id="customization_enabled" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
297297
<label>Customization enabled</label>
298298
<comment><![CDATA[<br><br>All colors can be entered as a HTML hex code in this format: <b>#3F44FF</b>]]></comment>

etc/adminhtml/system/payone_creditcardv2.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
-->
2727
<include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_include.xsd">
2828
<group id="payone_creditcardv2" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
29-
<label>Creditcard New</label>
29+
<label>Creditcard (Click to Pay)</label>
3030
<field id="active" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
3131
<label>Enabled</label>
3232
<config_path>payment/payone_creditcardv2/active</config_path>
@@ -37,20 +37,20 @@
3737
<config_path>payment/payone_creditcardv2/title</config_path>
3838
</field>
3939
<field id="clicktopay_enabled" translate="label" type="select" sortOrder="14" showInDefault="1" showInWebsite="1" showInStore="1">
40-
<label>Click To Pay - Enabled</label>
40+
<label>Click to Pay - Enabled</label>
4141
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
42-
<tooltip>When Click To Pay is disabled, only manual input of the creditcard data is displayed.</tooltip>
42+
<tooltip>When Click to Pay is disabled, only manual input of the creditcard data is displayed.</tooltip>
4343
</field>
4444
<field id="clicktopay_register_enabled" translate="label" type="select" sortOrder="18" showInDefault="1" showInWebsite="1" showInStore="1">
45-
<label>Click To Pay - Registration enabled</label>
45+
<label>Click to Pay - Registration enabled</label>
4646
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
47-
<tooltip>Allows registration with Click To Pay checkout method. When disabled Click To Pay is only usable for already registered customers. Unregistered customers can use manual input of cc data.</tooltip>
47+
<tooltip>Allows registration with Click to Pay checkout method. When disabled Click to Pay is only usable for already registered customers. Unregistered customers can use manual input of cc data.</tooltip>
4848
<depends>
4949
<field id="clicktopay_enabled">1</field>
5050
</depends>
5151
</field>
5252
<field id="dpa_id" translate="label,tooltip" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="0">
53-
<label>Click To Pay - DPA ID</label>
53+
<label>Click to Pay - DPA ID</label>
5454
<tooltip>Unique identifier of your Click to Pay Digital Payment Application (DPA), provided by Payone.</tooltip>
5555
</field>
5656
<field id="clicktopay_shopname" translate="label,tooltip" type="text" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="0">

i18n/de_DE.csv

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"Maximum 255 digits. Placeholders: {order_increment_id}, {order_id}, {customer_increment_id}, {customer_id}, {creditmemo_increment_id}, {invoice_increment_id}, {invoice_id}","Maximal 255 Zeichen. Platzhalter: {order_increment_id}, {order_id}, {customer_increment_id}, {customer_id}, {creditmemo_increment_id}, {invoice_increment_id}, {invoice_id}"
3535
"Status Mapping","Status Mapping"
3636
"Payment Creditcard","Kreditkartenzahlung"
37+
"Payment Creditcard (Click to Pay)","Kreditkartenzahlung (Click to Pay)"
3738
"Minimum Order Total","Minimaler Warenwert"
3839
"Maximum Order Total","Maximaler Warenwert"
3940
"Minimum Validity Period","Mindest-Gültigkeitszeitraum"
@@ -119,7 +120,16 @@
119120
"Disable directly after refusal","Nach Ablehnung deaktivieren"
120121
"Enables a Javascript-Mixin for the error-processor. This could collide with other extensions of the error-processor. Only activate if needed.","Aktiviert ein Javascript-Mixin für den error-processor. Dies könnte mit anderen Erweiterungen für den error-processor kollidieren. Nur aktivieren wenn Sie dieses Feature brauchen."
121122

123+
"Click to Pay - Enabled","Click to Pay - Aktiviert"
124+
"Click to Pay - Registration enabled","Click to Pay - Registrierung aktiviert"
125+
"Shop name","Shopname"
126+
"When Click to Pay is disabled, only manual input of the creditcard data is displayed.","Wenn Click to Pay deaktiviert ist, wird nur die manuelle Eingabe der Kreditkartendaten angezeigt."
127+
"Allows registration with Click to Pay checkout method. When disabled Click to Pay is only usable for already registered customers. Unregistered customers can use manual input of cc data.","Ermöglicht die Registrierung während des Checkouts mit Click to Pay. Wenn deaktiviert, ist Click to Pay nur für bereits registrierte Kunden nutzbar. Nicht registrierte Kunden können die manuelle Eingabe der Kreditkartendaten nutzen."
128+
"Unique identifier of your Click to Pay Digital Payment Application (DPA), provided by Payone.","Eindeutige Kennung Ihrer Click to Pay Digital Payment Application (DPA), bereitgestellt von Payone."
129+
"Please enter the name of the shop. Used for differentiation of shops in multishop scenarios.","Bitte geben Sie den Namen des Shops ein. Wird zur Unterscheidung von Shops in Multishop-Szenarien verwendet."
130+
122131
"Creditcard","Kreditkarte"
132+
"Creditcard (Click to Pay)","Kreditkarte (Click to Pay)"
123133
"Invoice","Rechnung"
124134
"Safe Invoice","Sicherer Rechnungskauf"
125135
"Debit Payment","Lastschrift"

0 commit comments

Comments
 (0)