For the past few releases the "Add shipping information" button shown when viewing an order is not translatable.

In the file "commerce_shipping/src/Plugin/Field/FieldFormatter/ShippingInformationFormatter.php" at line 152, we currently have :

      return Link::fromTextAndUrl('Add shipping information', $add_shipment_url);

And it should be :

      return Link::fromTextAndUrl($this->t('Add shipping information'), $add_shipment_url);

Thank you.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

leducdubleuet created an issue. See original summary.

jsacksick made their first commit to this issue’s fork.

  • jsacksick committed 6afd240c on 3.x
    fix: #3623084 Add shipping information button not translatable when...
jsacksick’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.