Plugin Directory

Changeset 1791116


Ignore:
Timestamp:
12/22/2017 08:52:56 AM (8 years ago)
Author:
weslink
Message:

Preparing for 1.2.3 release

Location:
woo-payjoe-beleg-schnittstelle/trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • woo-payjoe-beleg-schnittstelle/trunk

    • Property svn:ignore
      •  

        old new  
        1 .idea
         1README.md
         2Thumbs.db
         3.github/*
         4.git
         5.gitattributes
         6.gitignore
  • woo-payjoe-beleg-schnittstelle/trunk/README.txt

    r1729812 r1791116  
    44Tags: payjoe, Rechnung, Weslink, Wesselink, CTW, oscware, Germanized, WP Overnigh, vendidero, invoices, invoice, WooCommerce
    55Requires at least: 3.0.1
    6 Tested up to: 4.8.1
    7 Stable tag: 1.2.2
     6Tested up to: 4.9.1
     7Stable tag: 1.2.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7878* Mehr Stabilität beim manuellen Upload von vielen Bestellungen
    7979
     80= 1.2.3 =
     81* Alle Rechnungen erneut senden
     82
    8083== Upgrade Notice ==
    8184
     
    9699* Mehr Stabilität beim manuellen Upload von vielen Bestellungen
    97100
     101= 1.2.3 =
     102* Alle Rechnungen erneut senden
     103
    98104== Contribute ==
    99105
  • woo-payjoe-beleg-schnittstelle/trunk/admin/class-weslink-payjoe-opbeleg-admin.php

    r1718741 r1791116  
    304304                <input type="hidden" id="payjoe_testapi" name="payjoe_testapi">
    305305                <?php
    306                 submit_button(__( "Upload invoices now", 'weslink-payjoe-opbeleg' ) );
     306                submit_button(__( "Upload new invoices now", 'weslink-payjoe-opbeleg' ) );
    307307                ?>
    308308            </form>
     309
     310            <hr>
     311            <h1><?php _e( 'Resend all invoices', 'weslink-payjoe-opbeleg' ); ?></h1>
     312            <form method="post" action="admin.php?page=<?= $this->plugin_name; ?>" id="payjoe_testapi_form">
     313                <input type="hidden" id="payjoe_resend_invoices" name="payjoe_resend_invoices">
     314                <?php
     315                submit_button(__( "Resend all invoices now", 'weslink-payjoe-opbeleg' ) );
     316                ?>
     317            </form>
    309318
    310319
     
    389398            update_post_meta( $post_id, '_payjoe_status', PAYJOE_STATUS_OK );
    390399            update_post_meta( $post_id, '_payjoe_error', '' );
     400        } else if ($result_msg[ 'error'] == 'Duplicate')  {
     401            update_post_meta( $post_id, '_payjoe_status', PAYJOE_STATUS_OK );
     402            update_post_meta( $post_id, '_payjoe_error', '' );
    391403        } else {
    392             update_post_meta( $post_id, '_payjoe_status', PAYJOE_STATUS_ERROR );
    393             update_post_meta( $post_id, '_payjoe_error', $result_msg[ 'error'] );
    394         }
     404            update_post_meta( $post_id, '_payjoe_status', PAYJOE_STATUS_ERROR );
     405            update_post_meta( $post_id, '_payjoe_error', $result_msg[ 'error'] );
     406        }
    395407    }
    396408
     
    438450if(isset($_POST['payjoe_testapi'])){
    439451    add_action( 'admin_notices', 'my_API_test_msg' );
     452} else if (isset($_POST['payjoe_resend_invoices'])){
     453    add_action( 'admin_notices', 'my_resend_invoices_msg' );
    440454}
    441455
     
    446460    <div class="updated">
    447461        <h3><?php _e( 'Result of order upload', 'weslink-payjoe-opbeleg' ); ?></h3>
    448         <pre style="overflow: scroll; height: 65px; word-wrap: break-word;"><?php $payjoe_admins->submit_order_to_api(); ?></pre>
     462        <pre style="overflow: scroll; height: 565px; word-wrap: break-word;"><?php $payjoe_admins->submit_order_to_api(); ?></pre>
    449463    </div>
    450464    <?php
     465}
     466
     467function my_resend_invoices_msg() {
     468    $payjoe_admins = new Weslink_Payjoe_Opbeleg_Admin();
     469    $payjoe_orders = new Weslink_Payjoe_Opbeleg_Orders();
     470
     471    ?>
     472    <div class="updated">
     473        <h3><?php _e( 'Result of order upload', 'weslink-payjoe-opbeleg' ); ?></h3>
     474        <pre style="overflow: scroll; height: 565px; word-wrap: break-word;"><?php $payjoe_orders->setResendStatus(); //$payjoe_admins->submit_order_to_api(); ?></pre>
     475    </div>
     476    <?php
    451477}
    452478
  • woo-payjoe-beleg-schnittstelle/trunk/admin/class-weslink-payjoe-opbeleg-orders.php

    r1729806 r1791116  
    1919     * Returns order details
    2020     */
    21     public function get_orders( $log_json_data = false ) {
     21    public function get_orders( $log_json_data = false) {
    2222
    2323        $args = array(
     
    2828
    2929
    30         /*  Deccide which plugin is used for Invoicing
    31          *  get option
    32          *  '0'     =>  'WP Overnight WooCommerce PDF Invoices & Packing Slips',
    33          *  '1'     =>  'WooCommerce Germanized',
    34          */
    35 
    36         if ( get_option( 'payjoe_invoice_options' ) == 0 ) {
    37             $invoice_number_field_key = '_wcpdf_invoice_number';
    38             $invoice_date_field_key   = '_wcpdf_invoice_date';
    39 
    40         } elseif ( get_option( 'payjoe_invoice_options' ) == 1 ) {
    41 
    42             while ( $this->mapGermanizedInvoiceNumber() ) {
    43                 // while invoices are there to be mappend, map them :-)
    44             };
    45             $invoice_number_field_key = '_payjoe_invoice_number';
    46             $invoice_date_field_key   = '_payjoe_invoice_date';
    47         }
     30        list( $invoice_number_field_key, $invoice_date_field_key ) = $this->getInvoiceCustomFieldKeys();
    4831
    4932
     
    10689
    10790                // OPBeleg - invoice
    108                 $currency_code                     = Helpers::get_currency_code( $order_details->get_order_currency() );
     91                $currency_code                     = Weslink_Payjoe_Helpers::get_currency_code( $order_details->get_currency() );
    10992                $OPBelegUpload['OPAuftragsposten'] = array(); //just one OPAUftragsposten at a OPBelegUpload
    11093
     
    129112                    'OPBelegtyp'            => 0,
    130113                    //0= rechnung, 1= gutschrift
    131                     'OPZahlungsArt'         => $order_details->payment_method,
     114                    'OPZahlungsArt'         => $order_details->get_payment_method(),
    132115                    'OPBelegHerkunft'       => "woocommerce",
    133116                    'OPBelegdatum'          => $OPBelegdatum,
    134117                    'OPBelegNummer'         => $invoice_number,
    135118                    //_wcpdf_invoice_number
    136                     'OPBelegKundenNr'       => $order_details->customer_user,
     119                    'OPBelegKundenNr'       => $order_details->get_customer_id(),
    137120                    // get_post_meta(get_the_ID, '_customer_user', true);
    138121                    //'OPBelegDebitorenNr'    =>  "", // ?
     
    152135                // OPBelegLieferadresse - delivery address
    153136                $obj_op_auftragsposten['OPBelegLieferadresse'] = array(
    154                     'OPBelegAdresseLand'    => $order_details->shipping_country,
    155                     'OPBelegAdresseFirma'   => $order_details->shipping_company,
    156                     'OPBelegAdresseName'    => $order_details->shipping_last_name,
    157                     'OPBelegAdresseVorname' => $order_details->shipping_first_name,
    158                     'OPBelegAdresseEmail'   => $order_details->billing_email,
     137                    'OPBelegAdresseLand'    => $order_details->get_shipping_country(),
     138                    'OPBelegAdresseFirma'   => $order_details->get_shipping_company(),
     139                    'OPBelegAdresseName'    => $order_details->get_shipping_last_name(),
     140                    'OPBelegAdresseVorname' => $order_details->get_shipping_first_name(),
     141                    'OPBelegAdresseEmail'   => $order_details->get_billing_email(),
    159142                    //not available, so we reuse here the billing address
    160                     'OPBelegAdresseStrasse' => $order_details->shipping_address_1 . ' ' . $order_details->shipping_address_2,
    161                     'OPBelegAdressePLZ'     => $order_details->shipping_postcode,
    162                     'OPBelegAdresseOrt'     => $order_details->shipping_city
     143                    'OPBelegAdresseStrasse' => $order_details->get_shipping_address_1() . ' ' . $order_details->get_shipping_address_2(),
     144                    'OPBelegAdressePLZ'     => $order_details->get_shipping_postcode(),
     145                    'OPBelegAdresseOrt'     => $order_details->get_shipping_city()
    163146                );
    164147
    165148                // OPBelegRechnungsadresse - billing address
    166149                $obj_op_auftragsposten['OPBelegRechnungsadresse'] = array(
    167                     'OPBelegAdresseLand'    => $order_details->billing_country,
    168                     'OPBelegAdresseFirma'   => $order_details->billing_company,
    169                     'OPBelegAdresseName'    => $order_details->billing_last_name,
    170                     'OPBelegAdresseVorname' => $order_details->billing_first_name,
    171                     'OPBelegAdresseEmail'   => $order_details->billing_email,
    172                     'OPBelegAdresseStrasse' => $order_details->billing_address_1 . ' ' . $order_details->billing_address_2,
    173                     'OPBelegAdressePLZ'     => $order_details->billing_postcode,
    174                     'OPBelegAdresseOrt'     => $order_details->billing_city
     150                    'OPBelegAdresseLand'    => $order_details->get_billing_country(),
     151                    'OPBelegAdresseFirma'   => $order_details->get_billing_company(),
     152                    'OPBelegAdresseName'    => $order_details->get_billing_last_name(),
     153                    'OPBelegAdresseVorname' => $order_details->get_billing_first_name(),
     154                    'OPBelegAdresseEmail'   => $order_details->get_billing_email(),
     155                    'OPBelegAdresseStrasse' => $order_details->get_billing_address_1() . ' ' . $order_details->get_billing_address_2(),
     156                    'OPBelegAdressePLZ'     => $order_details->get_billing_postcode(),
     157                    'OPBelegAdresseOrt'     => $order_details->get_billing_city()
    175158                );
    176159
     
    269252                 */
    270253                // shipping amount
    271                 $total_shipping = $order_details->get_total_shipping();
     254                $total_shipping = $order_details->get_shipping_total();
    272255                if ( $total_shipping ) {
    273256                    $shipping_tax_rate            = round( ( $order_details->get_shipping_tax() / $total_shipping ) * 100, 2 );
     
    401384            } else {
    402385                //there was an error
     386                if(isset($result['Fehlerliste'])){
    403387                foreach ( $result['Fehlerliste'] as $e_error ) {
    404388                    $error_string = "\n- " . $e_error['OPBelegBuchungstext'];
     
    421405                    }
    422406                    $msg['error'] .= $error_string;
     407
     408                    if (isset($result['Fehlerliste'][0]['OPBelegErrorReasons'][0])) {
     409                        foreach ( $result['Fehlerliste'][0]['OPBelegErrorReasons'][0] as $e_error_reasons_key => $e_error_reasons_value ) {
     410                            if ($e_error_reasons_value == 1) {
     411                                $msg['error'] = 'Duplicate';
     412                            }
     413                        }
     414                    }
     415                }
     416                }else{
     417                    $msg['error'] = $result['Message'];
    423418                }
    424419            }
     
    428423
    429424        if ( $msg['error'] ) {
    430             $tpl        = "<span style='color:red'>%s: %s</span>\n\n";
    431             $err_string = sprintf( $tpl, __( "Error" ), $msg['error'] );
    432             $this->send_error_notfication_to_admin( $err_string );
    433             echo $err_string;
     425
     426            if ( $msg['error'] == 'Duplicate') {
     427                $tpl        = "<span style='color:red'>%s: %s</span>\n\n";
     428                $err_string = sprintf( $tpl, __( "Error" ), $msg['error'] );
     429                echo $err_string;
     430            } else {
     431                $tpl        = "<span style='color:red'>%s: %s</span>\n\n";
     432                $err_string = sprintf( $tpl, __( "Error" ), $msg['error'] );
     433                $this->send_error_notfication_to_admin( $err_string );
     434                echo $err_string;
     435            }
     436
    434437        } else {
    435438            $tpl = "<span style='color:green'>%s</span>\n\n";
     
    470473    }
    471474
     475    function setResendStatus() {
     476
     477        $args = array(
     478            'post_type'      => wc_get_order_types(),
     479            'posts_per_page' => 100,
     480            'post_status'    => array_keys( wc_get_order_statuses() )
     481        );
     482
     483        list( $invoice_number_field_key, $invoice_date_field_key ) = $this->getInvoiceCustomFieldKeys();
     484
     485        $args['meta_query'] = array(
     486            'relation' => 'AND'
     487        ,
     488            array(
     489                'key'     => $invoice_number_field_key,
     490                'value'   => (int) get_option( 'payjoe_startrenr' ),
     491                'type'    => 'NUMERIC',
     492                'compare' => '>='
     493            )
     494        ,
     495            array(
     496                array(
     497                    array(
     498                        'key'     => '_payjoe_status',
     499                        'value'   => (int) PAYJOE_STATUS_OK,
     500                        'type'    => 'NUMERIC',
     501                        'compare' => '==' // already submitted to API but error
     502                    )
     503
     504                )
     505            )
     506        );
     507        $orders             = new WP_Query( $args );
     508        if ( $orders->have_posts() ) {
     509            while ($orders->have_posts()) {
     510                $orders->the_post();
     511                echo "reset payjoe status for Invoice ID ".get_the_ID();
     512                update_post_meta(get_the_ID(), '_payjoe_status', PAYJOE_STATUS_RESEND);
     513
     514            }
     515        }
     516    }
     517
     518    /**
     519     * @return array
     520     */
     521    public function getInvoiceCustomFieldKeys() {
     522        /*  Deccide which plugin is used for Invoicing
     523                 *  get option
     524                 *  '0'     =>  'WP Overnight WooCommerce PDF Invoices & Packing Slips',
     525                 *  '1'     =>  'WooCommerce Germanized',
     526                 */
     527
     528        if ( get_option( 'payjoe_invoice_options' ) == 0 ) {
     529            $invoice_number_field_key = '_wcpdf_invoice_number';
     530            $invoice_date_field_key   = '_wcpdf_invoice_date';
     531
     532        } elseif ( get_option( 'payjoe_invoice_options' ) == 1 ) {
     533
     534            while ( $this->mapGermanizedInvoiceNumber() ) {
     535                // while invoices are there to be mappend, map them :-)
     536            };
     537            $invoice_number_field_key = '_payjoe_invoice_number';
     538            $invoice_date_field_key   = '_payjoe_invoice_date';
     539        }
     540
     541        return array( $invoice_number_field_key, $invoice_date_field_key );
     542    }
     543
     544
    472545}
     546
  • woo-payjoe-beleg-schnittstelle/trunk/admin/partials/constants.php

    r1718741 r1791116  
    1010    const PAYJOE_STATUS_OK      = 20;
    1111    const PAYJOE_STATUS_ERROR   = 30;
     12    const PAYJOE_STATUS_RESEND  = 9989;
    1213
    1314    function get_payjoe_status_list() {
     
    1516                PAYJOE_STATUS_PENDING       =>  __( 'Not yet transferer', 'weslink-payjoe-opbeleg' )
    1617            ,   PAYJOE_STATUS_OK            =>  __( 'Order has been transferd, all is fine', 'weslink-payjoe-opbeleg' )
    17             ,   PAYJOE_STATUS_ERROR         =>  __( '<div title="%s">There has been an error<div>', 'weslink-payjoe-opbeleg' )
     18            ,   PAYJOE_STATUS_ERROR         =>  __( '<div title="%s">There has been an error</div>', 'weslink-payjoe-opbeleg' )
     19            ,   PAYJOE_STATUS_RESEND            =>  __( 'Order is planned to be resend', 'weslink-payjoe-opbeleg' )
    1820        );
    1921    }
  • woo-payjoe-beleg-schnittstelle/trunk/helpers/helpers.php

    r1718741 r1791116  
    1212     */
    1313    public static function get_currency_code( $iso_code ) {
    14         $iso2numeric = require_once dirname( __FILE__ ) . '/files/iso2numeric.php';
     14        $iso2numeric = array(
     15            'AED' => 784,
     16            'AFN' => 971,
     17            'EGP' => 818,
     18            'EUR' => 978,
     19            'ALL' => 8,
     20            'DZD' => 12,
     21            'USD' => 840,
     22            'USD' => 840,
     23            'EUR' => 978,
     24            'AOA' => 973,
     25            'XCD' => 951,
     26            'XCD' => 951,
     27            'XAF' => 950,
     28            'ARS' => 32,
     29            'AMD' => 51,
     30            'AWG' => 533,
     31            'AZN' => 944,
     32            'ETB' => 230,
     33            'AUD' => 36,
     34            'BSD' => 44,
     35            'BHD' => 48,
     36            'BDT' => 50,
     37            'BBD' => 52,
     38            'BYR' => 974,
     39            'EUR' => 978,
     40            'BZD' => 84,
     41            'XOF' => 952,
     42            'BMD' => 60,
     43            'BTN' => 64,
     44            'BOB' => 68,
     45            'USD' => 840,
     46            'BAM' => 977,
     47            'BWP' => 72,
     48            'BRL' => 986,
     49            'USD' => 840,
     50            'BND' => 96,
     51            'BGN' => 975,
     52            'XOF' => 952,
     53            'BIF' => 108,
     54            'CLP' => 152,
     55            'CNY' => 156,
     56            'CRC' => 188,
     57            'XOF' => 952,
     58            'ANG' => 532,
     59            'DKK' => 208,
     60            'EUR' => 978,
     61            'EUR' => 978,
     62            'XCD' => 951,
     63            'DOP' => 214,
     64            'DJF' => 262,
     65            'AED' => 784,
     66            'USD' => 840,
     67            'USD' => 840,
     68            'ERN' => 232,
     69            'EUR' => 978,
     70            'FJD' => 242,
     71            'EUR' => 978,
     72            'EUR' => 978,
     73            'EUR' => 978,
     74            'XPF' => 953,
     75            'XAF' => 950,
     76            'GMD' => 270,
     77            'GEL' => 981,
     78            'GHS' => 936,
     79            'GIP' => 292,
     80            'XCD' => 951,
     81            'EUR' => 978,
     82            'GBP' => 826,
     83            'EUR' => 978,
     84            'USD' => 840,
     85            'GTQ' => 320,
     86            'GNF' => 324,
     87            'XOF' => 952,
     88            'GYD' => 328,
     89            'HTG' => 332,
     90            'HNL' => 340,
     91            'HKD' => 344,
     92            'HKD' => 356,
     93            'IDR' => 360,
     94            'IQD' => 368,
     95            'IRR' => 364,
     96            'EUR' => 978,
     97            'ISK' => 352,
     98            'ILS' => 376,
     99            'EUR' => 978,
     100            'JMD' => 388,
     101            'JPY' => 392,
     102            'YER' => 886,
     103            'JOD' => 400,
     104            'KYD' => 136,
     105            'KHR' => 116,
     106            'XAF' => 950,
     107            'CAD' => 124,
     108            'CVE' => 132,
     109            'KZT' => 398,
     110            'QAR' => 634,
     111            'KES' => 404,
     112            'KGS' => 417,
     113            'AUD' => 36,
     114            'COP' => 170,
     115            'KMF' => 174,
     116            'XAF' => 950,
     117            'CDF' => 976,
     118            'KPW' => 408,
     119            'KRW' => 410,
     120            'EUR' => 978,
     121            'HRK' => 191,
     122            'CUP' => 192,
     123            'KWD' => 414,
     124            'LAK' => 418,
     125            'LSL' => 426,
     126            'EUR' => 978,
     127            'LBP' => 422,
     128            'LRD' => 430,
     129            'LYD' => 434,
     130            'CHF' => 756,
     131            'EUR' => 978,
     132            'MOP' => 446,
     133            'MAG' => 969,
     134            'MWK' => 454,
     135            'MYR' => 458,
     136            'MVR' => 462,
     137            'XOF' => 952,
     138            'EUR' => 978,
     139            'MAD' => 504,
     140            'USD' => 840,
     141            'EUR' => 978,
     142            'MRO' => 478,
     143            'MUR' => 480,
     144            'EUR' => 978,
     145            'MKD' => 807,
     146            'MXN' => 484,
     147            'USD' => 840,
     148            'USD' => 840,
     149            'MDL' => 498,
     150            'EUR' => 978,
     151            'MNT' => 496,
     152            'EUR' => 978,
     153            'XCD' => 951,
     154            'MZN' => 943,
     155            'MMK' => 104,
     156            'NAD' => 516,
     157            'AUD' => 36,
     158            'NPR' => 524,
     159            'XPF' => 953,
     160            'NZD' => 554,
     161            'NIO' => 558,
     162            'EUR' => 978,
     163            'XOF' => 952,
     164            'NGN' => 566,
     165            'USD' => 840,
     166            'TRY' => 949,
     167            'AUD' => 36,
     168            'NOK' => 578,
     169            'EUR' => 978,
     170            'PKR' => 586,
     171            'USD' => 840,
     172            'PAB' => 590,
     173            'PGK' => 598,
     174            'PYG' => 600,
     175            'PEN' => 604,
     176            'PHP' => 608,
     177            'PLN' => 985,
     178            'EUR' => 978,
     179            'USD' => 840,
     180            'EUR' => 978,
     181            'RWF' => 646,
     182            'RON' => 946,
     183            'RUB' => 643,
     184            'USD' => 840,
     185            'SBD' => 90,
     186            'ZMK' => 894,
     187            'WST' => 882,
     188            'EUR' => 978,
     189            'STD' => 678,
     190            'SAR' => 682,
     191            'SEK' => 752,
     192            'CHF' => 756,
     193            'XOF' => 952,
     194            'RSD' => 941,
     195            'SCR' => 690,
     196            'SLL' => 694,
     197            'ZWD' => 716,
     198            'SGD' => 702,
     199            'USD' => 840,
     200            'ANG' => 532,
     201            'EUR' => 978,
     202            'EUR' => 978,
     203            'SOS' => 706,
     204            'EUR' => 978,
     205            'LKR' => 144,
     206            'EUR' => 978,
     207            'XCD' => 951,
     208            'XCD' => 951,
     209            'EUR' => 978,
     210            'EUR' => 978,
     211            'XCD' => 951,
     212            'ZAR' => 710,
     213            'SDG' => 938,
     214            'SSP' => 938,
     215            'SRD' => 968,
     216            'SZL' => 748,
     217            'SYP' => 760,
     218            'TJS' => 972,
     219            'TWD' => 901,
     220            'TZS' => 834,
     221            'THB' => 764,
     222            'USD' => 840,
     223            'XOF' => 952,
     224            'TOP' => 776,
     225            'TTD' => 780,
     226            'XAF' => 950,
     227            'CZK' => 203,
     228            'TND' => 788,
     229            'TRY' => 949,
     230            'TMT' => 795,
     231            'USD' => 840,
     232            'AUD' => 36,
     233            'UGX' => 800,
     234            'UAH' => 980,
     235            'HUF' => 348,
     236            'UYU' => 858,
     237            'UZS' => 860,
     238            'VUV' => 548,
     239            'EUR' => 978,
     240            'VEF' => 937,
     241            'AED' => 784,
     242            'USD' => 840,
     243            'VND' => 704,
     244            'XPF' => 953,
     245            'AUD' => 36,
     246            'XAF' => 950,
     247            'EUR' => 978
     248        );
    15249
    16250        $currency_code = null;
  • woo-payjoe-beleg-schnittstelle/trunk/languages/weslink-payjoe-opbeleg-de_DE.po

    r1718741 r1791116  
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/weslink-payjoe-"
    77"opbeleg\n"
    8 "POT-Creation-Date: 2017-08-14 14:40:36+00:00\n"
     8"POT-Creation-Date: 2017-12-22 08:44+0100\n"
     9"PO-Revision-Date: 2017-12-22 08:52+0100\n"
     10"Last-Translator: \n"
     11"Language-Team: \n"
     12"Language: de\n"
    913"MIME-Version: 1.0\n"
    1014"Content-Type: text/plain; charset=UTF-8\n"
    1115"Content-Transfer-Encoding: 8bit\n"
    12 "PO-Revision-Date: 2017-08-21 10:00+0200\n"
    13 "Language-Team: \n"
    14 "X-Generator: Poedit 2.0.3\n"
    15 "Last-Translator: \n"
     16"X-Generator: Poedit 1.8.12\n"
    1617"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    17 "Language: de\n"
    1818
    1919#: admin/class-weslink-payjoe-opbeleg-admin.php:126
     
    6666
    6767#: admin/class-weslink-payjoe-opbeleg-admin.php:190
     68#, php-format
    6869msgid "<a href=\"%s\" target=\"_blank\">Download Logging File</a>"
    6970msgstr "<a href=\"%s\" target=\"_blank\">Download Log Datei</a>"
     
    101102#: admin/class-weslink-payjoe-opbeleg-admin.php:291
    102103msgid "Payjoe_info-text"
    103 msgstr "Payjoe_info-text"
     104msgstr ""
     105"PayJoe hilft Ihnen bei Ihrer Buchhaltung und gleicht Ihre Zahlungen von z."
     106"B. AMAZON, PayPal, Klarna, Billsafe usw. mit den Rechnungen ab. "
     107"Kostenfreier Testzugang unter <a href=\"http://www.payjoe.de\" target="
     108"\"_blank\">www.payjoe.de</a>"
    104109
    105110#: admin/class-weslink-payjoe-opbeleg-admin.php:302
     
    108113
    109114#: admin/class-weslink-payjoe-opbeleg-admin.php:306
    110 msgid "Upload invoices now"
    111 msgstr "Lade Rechnungen jetzt hoch"
    112 
    113 #: admin/class-weslink-payjoe-opbeleg-admin.php:322
     115msgid "Upload new invoices now"
     116msgstr "Lade neue Rechnungen jetzt hoch"
     117
     118#: admin/class-weslink-payjoe-opbeleg-admin.php:311
     119msgid "Resend all invoices"
     120msgstr "Alle Rechnungen erneut hochladen"
     121
     122#: admin/class-weslink-payjoe-opbeleg-admin.php:315
     123msgid "Resend all invoices now"
     124msgstr "Alle Rechnungen jetzt erneut hochladen"
     125
     126#: admin/class-weslink-payjoe-opbeleg-admin.php:331
    114127msgid "Weslink-PayJoe-Opbeleg Custom Scheduled CronJob"
    115128msgstr "Weslink-PayJoe-Opbeleg eigener geplanter CronJob"
    116129
    117 #: admin/class-weslink-payjoe-opbeleg-admin.php:404
     130#: admin/class-weslink-payjoe-opbeleg-admin.php:416
    118131msgid "PayJoe Status"
    119132msgstr "PayJoe Status"
    120133
    121 #: admin/class-weslink-payjoe-opbeleg-admin.php:447
     134#: admin/class-weslink-payjoe-opbeleg-admin.php:461
     135#: admin/class-weslink-payjoe-opbeleg-admin.php:473
    122136msgid "Result of order upload"
    123137msgstr "Ergebnis des Bestellungsuploads"
    124138
    125 #: admin/class-weslink-payjoe-opbeleg-orders.php:311
     139#: admin/class-weslink-payjoe-opbeleg-orders.php:304
    126140msgid "No orders availlabe for upload to PayJoe"
    127141msgstr "Es sind keine Bestellung für den Upload mit PayJoe verfügbar"
    128142
    129 #: admin/class-weslink-payjoe-opbeleg-orders.php:371
     143#: admin/class-weslink-payjoe-opbeleg-orders.php:383
    130144msgid "Submit success"
    131145msgstr "Absenden erfolgreich"
    132146
    133 #: admin/class-weslink-payjoe-opbeleg-orders.php:397
     147#: admin/class-weslink-payjoe-opbeleg-orders.php:421
    134148msgid "No data responded from API Server."
    135149msgstr "Keine Daten vom API Server erhalten."
    136150
    137 #: admin/class-weslink-payjoe-opbeleg-orders.php:402
     151#: admin/class-weslink-payjoe-opbeleg-orders.php:428
     152#: admin/class-weslink-payjoe-opbeleg-orders.php:432
    138153msgid "Error"
    139154msgstr "Fehler"
    140155
    141 #: admin/class-weslink-payjoe-opbeleg-orders.php:407
     156#: admin/class-weslink-payjoe-opbeleg-orders.php:439
    142157msgid "Success"
    143158msgstr "Erfolg"
    144159
    145 #: admin/partials/constants.php:14
     160#: admin/partials/constants.php:16
    146161msgid "Not yet transferer"
    147162msgstr "Noch nicht transferiert"
    148163
    149 #: admin/partials/constants.php:15
     164#: admin/partials/constants.php:17
    150165msgid "Order has been transferd, all is fine"
    151166msgstr "Bestellung wurde transferiert, alles in Ordnung"
    152167
    153 #: admin/partials/constants.php:16
    154 msgid "<div title=\"%s\">There has been an error<div>"
    155 msgstr "<div title=\"%s\">Es ist ein Fehler aufgetreten<div>"
     168#: admin/partials/constants.php:18
     169#, php-format
     170msgid "<div title=\"%s\">There has been an error</div>"
     171msgstr "<div title=\"%s\">Es ist ein Fehler aufgetreten</div>"
     172
     173#: admin/partials/constants.php:19
     174msgid "Order is planned to be resend"
     175msgstr "Bestellung ist geplant erneut gesendet zu werden"
    156176
    157177#: weslink-payjoe-opbeleg.php:47
     
    160180
    161181#. Plugin Name of the plugin/theme
    162 msgid "PayJoe Beleg Schnittstelle"
    163 msgstr "PayJoe Beleg Schnittstelle"
     182msgid "Woo PayJoe Beleg Schnittstelle"
     183msgstr "Woo PayJoe Beleg Schnittstelle"
    164184
    165185#. Description of the plugin/theme
     
    174194msgid "http://weslink.de"
    175195msgstr "http://weslink.de"
     196
     197#~ msgid "Upload invoices now"
     198#~ msgstr "Lade Rechnungen jetzt hoch"
     199
     200#~ msgid "<div title=\"%s\">There has been an error<div>"
     201#~ msgstr "<div title=\"%s\">Es ist ein Fehler aufgetreten<div>"
     202
     203#~ msgid "PayJoe Beleg Schnittstelle"
     204#~ msgstr "PayJoe Beleg Schnittstelle"
  • woo-payjoe-beleg-schnittstelle/trunk/languages/weslink-payjoe-opbeleg.pot

    r1718741 r1791116  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: PayJoe Beleg Schnittstelle 1.2.1\n"
    6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/weslink-payjoe-opbeleg\n"
    7 "POT-Creation-Date: 2017-08-14 14:40:36+00:00\n"
     5"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
     6"Project-Id-Version: Woo PayJoe Beleg Schnittstelle\n"
     7"POT-Creation-Date: 2017-12-22 08:56+0100\n"
     8"PO-Revision-Date: 2017-12-22 08:40+0100\n"
     9"Last-Translator: \n"
     10"Language-Team: \n"
    811"MIME-Version: 1.0\n"
    912"Content-Type: text/plain; charset=UTF-8\n"
    1013"Content-Transfer-Encoding: 8bit\n"
    11 "PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
    12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    13 "Language-Team: LANGUAGE <LL@li.org>\n"
     14"X-Generator: Poedit 1.8.12\n"
     15"X-Poedit-Basepath: ..\n"
     16"X-Poedit-WPHeader: weslink-payjoe-opbeleg.php\n"
     17"X-Poedit-SourceCharset: UTF-8\n"
     18"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
     19"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
     20"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
     21"X-Poedit-SearchPath-0: .\n"
     22"X-Poedit-SearchPathExcluded-0: *.js\n"
    1423
    1524#: admin/class-weslink-payjoe-opbeleg-admin.php:126
     
    6271
    6372#: admin/class-weslink-payjoe-opbeleg-admin.php:190
     73#, php-format
    6474msgid "<a href=\"%s\" target=\"_blank\">Download Logging File</a>"
    6575msgstr ""
     
    102112
    103113#: admin/class-weslink-payjoe-opbeleg-admin.php:306
    104 msgid "Upload invoices now"
     114msgid "Upload new invoices now"
    105115msgstr ""
    106116
    107 #: admin/class-weslink-payjoe-opbeleg-admin.php:322
     117#: admin/class-weslink-payjoe-opbeleg-admin.php:311
     118msgid "Resend all invoices"
     119msgstr ""
     120
     121#: admin/class-weslink-payjoe-opbeleg-admin.php:315
     122msgid "Resend all invoices now"
     123msgstr ""
     124
     125#: admin/class-weslink-payjoe-opbeleg-admin.php:331
    108126msgid "Weslink-PayJoe-Opbeleg Custom Scheduled CronJob"
    109127msgstr ""
    110128
    111 #: admin/class-weslink-payjoe-opbeleg-admin.php:404
     129#: admin/class-weslink-payjoe-opbeleg-admin.php:416
    112130msgid "PayJoe Status"
    113131msgstr ""
    114132
    115 #: admin/class-weslink-payjoe-opbeleg-admin.php:447
     133#: admin/class-weslink-payjoe-opbeleg-admin.php:461
     134#: admin/class-weslink-payjoe-opbeleg-admin.php:473
    116135msgid "Result of order upload"
    117136msgstr ""
    118137
    119 #: admin/class-weslink-payjoe-opbeleg-orders.php:311
     138#: admin/class-weslink-payjoe-opbeleg-orders.php:304
    120139msgid "No orders availlabe for upload to PayJoe"
    121140msgstr ""
    122141
    123 #: admin/class-weslink-payjoe-opbeleg-orders.php:371
     142#: admin/class-weslink-payjoe-opbeleg-orders.php:383
    124143msgid "Submit success"
    125144msgstr ""
    126145
    127 #: admin/class-weslink-payjoe-opbeleg-orders.php:397
     146#: admin/class-weslink-payjoe-opbeleg-orders.php:421
    128147msgid "No data responded from API Server."
    129148msgstr ""
    130149
    131 #: admin/class-weslink-payjoe-opbeleg-orders.php:402
     150#: admin/class-weslink-payjoe-opbeleg-orders.php:428
     151#: admin/class-weslink-payjoe-opbeleg-orders.php:432
    132152msgid "Error"
    133153msgstr ""
    134154
    135 #: admin/class-weslink-payjoe-opbeleg-orders.php:407
     155#: admin/class-weslink-payjoe-opbeleg-orders.php:439
    136156msgid "Success"
    137157msgstr ""
    138158
    139 #: admin/partials/constants.php:14
     159#: admin/partials/constants.php:16
    140160msgid "Not yet transferer"
    141161msgstr ""
    142162
    143 #: admin/partials/constants.php:15
     163#: admin/partials/constants.php:17
    144164msgid "Order has been transferd, all is fine"
    145165msgstr ""
    146166
    147 #: admin/partials/constants.php:16
    148 msgid "<div title=\"%s\">There has been an error<div>"
     167#: admin/partials/constants.php:18
     168#, php-format
     169msgid "<div title=\"%s\">There has been an error</div>"
     170msgstr ""
     171
     172#: admin/partials/constants.php:19
     173msgid "Order is planned to be resend"
    149174msgstr ""
    150175
     
    152177msgid "Settings"
    153178msgstr ""
     179
    154180#. Plugin Name of the plugin/theme
    155 msgid "PayJoe Beleg Schnittstelle"
     181msgid "Woo PayJoe Beleg Schnittstelle"
    156182msgstr ""
    157183
  • woo-payjoe-beleg-schnittstelle/trunk/weslink-payjoe-opbeleg.php

    r1729806 r1791116  
    1616 * Plugin Name:       Woo PayJoe Beleg Schnittstelle
    1717 * Description:       Plugin zum Upload von Rechnungen zu PayJoe
    18  * Version:           1.2.2
     18 * Version:           1.2.3
    1919 * Author:            WESLINK _ YOUR LINK TO WORDPRESS
    2020 * Author URI:        http://weslink.de
Note: See TracChangeset for help on using the changeset viewer.