“General Cost” translation leads to functionality bug
-
Hello,
I found a bug in your plugin. I am using Loco translate plugin for strings translation. When i translated string “General cost” (part of the costs listing next to add to cart button) the part “( price / day )” disappeard. I also think that I found a solution to this problem.Inside the file “mwb-bookings-for-woocommerce/common/class-mwb-bookings-for-woocommerce-common.php” there is a function named
mbfw_booking_total_listing_single_page
. Inside of this function there is an if condition like this:if( "General Cost" == $title)
. This condition should be changed. I belive that it should be something like:if( $title == __( 'General Cost', 'mwb-bookings-for-woocommerce' ))
.
Am i right?
- The topic ‘“General Cost” translation leads to functionality bug’ is closed to new replies.