Plugin Directory

Changeset 1718838


Ignore:
Timestamp:
08/24/2017 02:36:03 PM (9 years ago)
Author:
sepanet
Message:

CHG: Auf englisch übersetzt

Location:
sepanet/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sepanet/trunk/wc-sepanet.js

    r1706694 r1718838  
    1414            if(response == 'true')
    1515            {
    16                 jQuery('#sepanet-tansend').text('Tan angefordert');
     16                jQuery('#sepanet-tansend').text('Tan requested');   
    1717            }
    1818            else
  • sepanet/trunk/woocommerce-sepanet.php

    r1707472 r1718838  
    6161        $this->form_fields = array(
    6262            'enabled' => array(
    63                 'title'     => __( 'Aktivieren / Deaktivieren', 'sepanet' ),
    64                 'label'     => __( 'Dieses Payment Gateway aktivieren', 'sepanet' ),
     63                'title'     => __( 'activate / deactivate', 'sepanet' ),
     64                'label'     => __( 'Activate this payment gateway', 'sepanet' ),
    6565                'type'      => 'checkbox',
    6666                'default'   => 'no',
    6767            ),
    6868            'title' => array(
    69                 'title'     => __( 'Titel', 'sepanet' ),
     69                'title'     => __( 'Title', 'sepanet' ),
    7070                'type'      => 'text',
    7171                'desc_tip'  => __( 'Payment title the customer will see during the checkout process.', 'sepanet' ),
    72                 'default'   => __( 'Lastschriftverfahren über SEPA.net', 'sepanet' ),
     72                'default'   => __( 'Direct debit procedure via SEPA.net', 'sepanet' ),
    7373            ),
    7474            'description' => array(
    75                 'title'     => __( 'Beschreibung', 'sepanet' ),
     75                'title'     => __( 'Description', 'sepanet' ),
    7676                'type'      => 'textarea',
    7777                'desc_tip'  => __( 'Payment description the customer will see during the checkout process.', 'sepanet' ),
    78                 'default'   => __( 'Schnell und einfach bezahlen mit dem SEPA.net Lastschriftverfahren. Bitte vergewissern Sie sich, dass Sie eine Handynummer angegeben haben. Sie bekommen zur Validierung eine SMS mit einem TAN-Code zugeschickt.', 'sepanet' ),
     78                'default'   => __( 'Pay fast and easy with the SEPA.net direct debit procedure. Please ensure that you have provided a mobile phone number. You will receive a text message with a TAN for authentication purposes.', 'sepanet' ),
    7979                'css'       => 'max-width:350px;'
    8080            ),
     
    8282                'title'     => __( 'sepanet Offerer ID', 'sepanet' ),
    8383                'type'      => 'text',
    84                 'desc_tip'  => __( 'Ihre SEPA.net Kundennummer.', 'sepanet' ),
     84                'desc_tip'  => __( 'Your SEPA.net customer number.', 'sepanet' ),
    8585            ),
    8686            'mp_securitykey' => array(
    87                 'title'     => __( 'SEPA.net Security Key', 'sepanet' ),
     87                'title'     => __( 'SEPA.net security key', 'sepanet' ),
    8888                'type'      => 'password',
    89                 'desc_tip'  => __( 'Der Security Key den Sie bei der Registrierung bekommen haben.', 'sepanet' ),
     89                'desc_tip'  => __( 'The security key, which you have received during the registration process.', 'sepanet' ),
    9090            ),
    9191            'environment' => array(
    92                 'title'     => __( 'Test Mode', 'sepanet' ),
    93                 'label'     => __( 'Test Modus', 'sepanet' ),
     92                'title'     => __( 'test mode', 'sepanet' ),
     93                'label'     => __( 'test mode', 'sepanet' ),
    9494                'type'      => 'checkbox',
    9595                'description' => __( 'Place the payment gateway in test mode.', 'sepanet' ),
     
    9797            ),
    9898            'billing' => array(
    99                 'title'     => __( 'SEPA.net Rechnung', 'sepanet' ),
    100                 'label'     => __( 'SEPA.net Rechnung verschicken', 'sepanet' ),
     99                'title'     => __( 'SEPA.net bill', 'sepanet' ),
     100                'label'     => __( 'SEPA.net sending a bill', 'sepanet' ),
    101101                'type'      => 'checkbox',
    102                 'description' => __( 'Soll SEPA.net eine Rechnung verschicken?.', 'sepanet' ),
     102                'description' => __( 'Should SEPA.net send a bill?', 'sepanet' ),
    103103                'default'   => '0',
    104104            )
     
    135135                <input id="' . esc_attr( $this->id ) . '-bic" class="input-text wc-sepanet-bic" type="text" autocomplete="off" placeholder="•••••••••••" name="' . ( $args['fields_have_names'] ? $this->id . '-bic' : '' ) . '" />
    136136            </p>',
    137             'tan-button' => '<p class="form-row form-row-wide">'.__('SEPA.net benötigt für die Validierung eine TAN-Nummer. Bitte tragen Sie Ihre Handy-Nr ein und klicken anschließend auf den "Tan anfordern"-Button. Sie bekommen von SEPA.net eine SMS zugeschickt, welche die TAN beinhaltet, welche in das dazugehörige Feld eingetragen werden muss.', 'sepanet').'</p><p class="form-row form-row-first">
    138                 <label for="' . esc_attr( $this->id ) . '-tansend">' . __( 'Tan anfordern', 'sepanet' ) . ' <span class="required">*</span></label>
    139                 <a id="' . esc_attr( $this->id ) . '-tansend" class="button wc-sepanet-tansend" href="#">' . __( 'Tan anfordern', 'sepanet' ) . '</a>
     137            'tan-button' => '<p class="form-row form-row-wide">'.__('SEPA.net requires for the validation a TAN. Please enter your mobile phone number and click subsequently on the "Request TAN" button. You will receive a text message, which contains a TAN, and which needs to be entered in the corresponding field.', 'sepanet').'</p><p class="form-row form-row-first">
     138                <label for="' . esc_attr( $this->id ) . '-tansend">' . __( 'Request TAN', 'sepanet' ) . ' <span class="required">*</span></label>
     139                <a id="' . esc_attr( $this->id ) . '-tansend" class="button wc-sepanet-tansend" href="#">' . __( 'Request TAN', 'sepanet' ) . '</a>
    140140            </p>',
    141141            'tan-field' => '<p class="form-row form-row-last">
    142                 <label for="' . esc_attr( $this->id ) . '-tan">' . __( 'Tan', 'sepanet' ) . ' <span class="required">*</span></label>
     142                <label for="' . esc_attr( $this->id ) . '-tan">' . __( 'TAN', 'sepanet' ) . ' <span class="required">*</span></label>
    143143                <input id="' . esc_attr( $this->id ) . '-tan" class="input-text wc-sepanet-tan" type="text" autocomplete="off" placeholder="••••" name="' . ( $args['fields_have_names'] ? $this->id . '-tan' : '' ) . '" />
    144144            </p>'
     
    164164        if(empty($_POST['sepanet-tan']))
    165165        {
    166             wc_add_notice( __('Bitte Tan angeben.', 'sepanet'), 'error' );
     166            wc_add_notice( __('Please enter the transaction authentication number (TAN).', 'sepanet'), 'error' );
    167167            $valid = false;
    168168        }
    169169        if(empty($_POST['sepanet-iban']))
    170170        {
    171             wc_add_notice( __('Bitte IBAN angeben.', 'sepanet'), 'error' );
     171            wc_add_notice( __('Please enter your IBAN.', 'sepanet'), 'error' );
    172172            $valid = false;
    173173        }
    174174        if(empty($_POST['sepanet-bic']))
    175175        {
    176             wc_add_notice( __('Bitte BIC angeben.', 'sepanet'), 'error' );
     176            wc_add_notice( __('Please enter your BIC.', 'sepanet'), 'error' );
    177177            $valid = false;
    178178        }
     
    343343            else // Wenn alles OK ist
    344344            {
    345                 $customer_order->add_order_note( __( 'Zahlung wurde erfolgreich an SEPA.net gesendet.', 'sepanet' ) );
     345                $customer_order->add_order_note( __( 'The payment was succesfully sent to SEPA.net.', 'sepanet' ) );
    346346                                                 
    347347                // Mark order as Paid
Note: See TracChangeset for help on using the changeset viewer.