Skip to content

Commit

Permalink
Merge branch 'WP-60' into 'main'
Browse files Browse the repository at this point in the history
feat: add translation for delivery dates

See merge request ecommerce_modules/cms/wordpress/wordpress!27
  • Loading branch information
vermorag committed Sep 11, 2024
2 parents fab6159 + 8def8b7 commit 5de4cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Actions/CalculateDeliveryAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ static function ($carry, $item) use ($package) {

$this->rates[$tariff['tariff_code']] = [
'id' => sprintf('%s:%s', Config::DELIVERY_NAME, $tariff['tariff_code']),
'label' => sprintf("CDEK: %s, (%s-%s дней)",
'label' => sprintf(esc_html__('CDEK: %s, (%s-%s days)', 'cdekdelivery'),
Tariff::getTariffUserNameByCode($tariff['tariff_code']), $minDay,
$maxDay),
'cost' => $cost,
Expand Down

0 comments on commit 5de4cce

Please sign in to comment.