Support » Plugin: Sliced Invoices - WordPress Invoice Plugin » Translate footer description (admin-panel)

  • Hi all,
    another translation issue in admin/includes/sliced-admin-options.php line 236,237 (v3.6.6) : to let the translation work fine from the translationfiles change

    'name'      => __( 'Footer<br><small>' . sprintf( __( 'Displayed on %1s & %2s', 'sliced-invoices' ), '<span class="i18n-multilingual-display">'.$quote_label_plural.'</span>', '<span class="i18n-multilingual-display">'.$invoice_label_plural.'</span>' ) . '</small>', 'sliced-invoices' ),
    'desc'      => __( 'The footer will be displayed at the bottom of each ' . sprintf( __( '%1s & %2s', 'sliced-invoices' ), '<span class="i18n-multilingual-display">'.$quote_label.'</span>', '<span class="i18n-multilingual-display">'.$invoice_label.'</span>' ) . '. Basic HTML is allowed.', 'sliced-invoices' ),

    to

    'name'      => __( 'Footer<br><small>' , 'sliced-invoices' ) . sprintf( __( 'Displayed on %1s & %2s', 'sliced-invoices' ), '<span class="i18n-multilingual-display">'.$quote_label_plural.'</span>', '<span class="i18n-multilingual-display">'.$invoice_label_plural.'</span>' ) . '</small>',
    'desc'      => __( 'The footer will be displayed at the bottom of each ' , 'sliced-invoices' ) . sprintf( __( '%1s & %2s', 'sliced-invoices' ), '<span class="i18n-multilingual-display">'.$quote_label.'</span>', '<span class="i18n-multilingual-display">'.$invoice_label.'</span>' ),

    I don’t know if the code is a nice one that fits well into sliced-invoices but it works fine for me. Hope this helps anyone to do a full translation for sliced-invoices.

    ThX

    • This topic was modified 2 years, 3 months ago by st3phan5.
    • This topic was modified 2 years, 3 months ago by st3phan5.
  • The topic ‘Translate footer description (admin-panel)’ is closed to new replies.