diff --git a/language/en-GB/en-GB.plg_vmshipment_rules_shipping.ini b/language/en-GB/en-GB.plg_vmshipment_rules_shipping.ini index 703457a3276feb606d35f77bfd197b48750c4d4f..bfb662705e1f3a5a9276b1738761a19ced058055 100755 --- a/language/en-GB/en-GB.plg_vmshipment_rules_shipping.ini +++ b/language/en-GB/en-GB.plg_vmshipment_rules_shipping.ini @@ -39,6 +39,7 @@ OTSHIPMENT_RULES_SHIPPING_NAME="Shipment Name" OTSHIPMENT_RULES_WEIGHT="Order Weight" OTSHIPMENT_RULES_ARTICLES="Articles/Products in Order" OTSHIPMENT_RULES_COST="Shipment Cost" +OTSHIPMENT_RULES_TAX="Tax" OTSHIPMENT_RULES_UNKNOWN_VARIABLE="Unknown variable '%s' in rule '%s'" OTSHIPMENT_RULES_UNKNOWN_OPERATOR="Unknown operator '%s' in shipment rule '%s'" diff --git a/rules_shipping_base.php b/rules_shipping_base.php index 3602734b14fd10fb1a8592446452a99723e56091..94fb2493497a51febd751887168d2d7894e93ff6 100644 --- a/rules_shipping_base.php +++ b/rules_shipping_base.php @@ -197,11 +197,11 @@ class plgVmShipmentRules_Shipping_Base extends vmPSPlugin { $html = '<table class="adminlist">' . "\n"; $html .= $this->getHtmlHeaderBE (); - $html .= $this->getHtmlRowBE ('RULES_SHIPPING_NAME', $shipinfo->shipment_name); - $html .= $this->getHtmlRowBE ('RULES_WEIGHT', $shipinfo->order_weight . ' ' . ShopFunctions::renderWeightUnit ($shipinfo->shipment_weight_unit)); - $html .= $this->getHtmlRowBE ('RULES_ARTICLES', $shipinfo->order_articles . '/' . $shipinfo->order_products); - $html .= $this->getHtmlRowBE ('RULES_COST', $currency->priceDisplay ($shipinfo->shipment_cost)); - $html .= $this->getHtmlRowBE ('RULES_TAX', $taxDisplay); + $html .= $this->getHtmlRowBE ('OTSHIPMENT_RULES_SHIPPING_NAME', $shipinfo->shipment_name); + $html .= $this->getHtmlRowBE ('OTSHIPMENT_RULES_WEIGHT', $shipinfo->order_weight . ' ' . ShopFunctions::renderWeightUnit ($shipinfo->shipment_weight_unit)); + $html .= $this->getHtmlRowBE ('OTSHIPMENT_RULES_ARTICLES', $shipinfo->order_articles . '/' . $shipinfo->order_products); + $html .= $this->getHtmlRowBE ('OTSHIPMENT_RULES_COST', $currency->priceDisplay ($shipinfo->shipment_cost)); + $html .= $this->getHtmlRowBE ('OTSHIPMENT_RULES_TAX', $taxDisplay); $html .= '</table>' . "\n"; return $html;