Antwort #164 am: 03. September 2015, 15:29:20
Ich habe mich mal an die Übersetzung gemacht.
Wäre schön, wenn das jemand nochmal korrekturliest.
Die lang_english.conf am Ende einfügen:
[revocation_form]
#Step 1
heading_revocation = 'Revoke / return your order '
text_safeterms_copyright = 'This form is a free service from <a href="http://www.safeterms.de/" title="Online Shop AGB und Widerrufsbelehrung">Safeterms.de</a>.'
text_revocation_data ='Please enter your order number and the e-mail address you used to register.'
title_order_id = 'Your order number:'
title_email = 'Your e-mail address:'
#Step 2
heading_revocation_form = 'Cancel order '
text_order_found = 'All order data was found. Please fill out the following form completely and click on "Submit" to send your cancellation.'
title_data = 'Data of your order:'
text_ordered_on = 'Ordered on:'
text_shipping_method = 'Method of shipment:'
text_shipping_address = 'Delivery address:'
title_ordered_on = 'When did you receive the order?'
text_received_on = '<strong>I received my order on:</strong></td><td>%s (TT.MM.YYYY).'
title_revocation = 'Your declaration of revocation:'
text_revocation = 'I hereby give notice, that I cancel my contract of sale of the following goods:'
text_revocated = 'cancel:'
text_qty = 'Quantity:'
text_product_name = 'Product description:'
text_product_price = 'Product price:'
text_send_revocation = 'Click on "Submit" to send your cancellation:'
#Step 3
heading_revocation_received = 'Revocation received / transmitted successfully'
text_revocation_received = 'We have received your revocation to order (No. %s). You should received an email with acknowledgement of receipt of the revocation within 5 minutes.'
in die english.php am Ende vor dem ?> einfügen:
// Revocation form errorsdefine('ERROR_REVOCATION_REVOCATED_QTY', 'The quantity returned for the product <strong>%s</strong> is to large, you have only ordered %s.<br />');define('ERROR_REVOCATION_DATE_MISSING', 'Please enter the date of the delivery.<br />');define('ERROR_REVOCATION_DATE_FORMAT', 'The indicated date is faulty, take care to enter correctly (TT.MM.JJJJ)<br />');define('ERROR_REVOCATION_DATE_PRIOR_TO_ORDER_DATE', 'The date set is prior to the order date.<br />');define('ERROR_REVOCATION_NO_PRODUCT_CHOSEN', 'Please select at least one product you wish to return.<br />');define('ERROR_REVOCATION_NO_ORDER_FOUND', 'Under the specified e-mail address (%s) there is no order number <strong>%s</strong> known!'); Außerdem sollte man darauf hinweisen, dass in den Dateien keine Zeilenumbrüche vorkommen dürfen. In der Installationsanleitung als PDF sind Umbrüche, die bei copy and paste dazu führen, dass der Text nicht vollständig erscheint.
Was mir noch aufgefallen ist:
Unter Order data und der Versandmethode wird auch im Englischen die deutsche Bezeichnung ausgeführt.
Und für alle Host Europe Kunden: Ihr müsst in der widerruf.php folgende Bereich ändern:
// send mail to admin
xtc_php_mail( EMAIL_BILLING_ADDRESS,
EMAIL_BILLING_NAME,
EMAIL_BILLING_ADDRESS,
STORE_NAME,
'',
$_POST['email'],
$emailto,
'',
'',
'Widerruf zur Bestellung Nr. '.$_POST['order_id'],
$email_html,
$email_text
);
wenn das Formular nicht abgesendet werden kann.
[
EDIT Tomcraft 19.09.2015: Englische Übersetzung in Modul aus
Beitrag 1 übernommen.]