Replies: 1
I was translated your plugin by loco-translate. Some texts couln’t translate at “class-woo-wallet-wallet.php”‘s texts by unknown reason. So, I’d like to translate by php file.
/** debit cashback amount * */
if (apply_filters(‘woo_wallet_debit_cashback_upon_cancellation’, get_total_order_cashback_amount($order_id))) {
$total_cashback_amount = get_total_order_cashback_amount($order_id);
if ($total_cashback_amount) {
if ($this->debit($order->get_customer_id(), $total_cashback_amount, sprintf(__(‘Cashback for #%s has been debited upon cancellation’, ‘woo-wallet’), $order->get_order_number()))) {
delete_post_meta($order_id, ‘_general_cashback_transaction_id’);
delete_post_meta($order_id, ‘_coupon_cashback_transaction_id’);
}
At that function, I changed “Cashback for #%s has been debited upon cancellation”, and ANSI> UTF-8. But it was not changed.
How can i handle it?