Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UPD] delivery_deliverea: Update error message displayed #907

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

dalonsofl
Copy link

Module

delivery_deliverea

Describe the situation

Update the error display to only show the error returned by Deliverea instead of showing all errors in the response.

Affected versions:

16.0

@dalonsofl dalonsofl force-pushed the 16.0-upd_delivery_deliverea branch from 93f954a to 801cb5b Compare November 28, 2024 12:33
if error.get("carrierCode")
else "",
}
_("%s")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you plan to translate every response ?

Nevertheless, you should use translation function arguments instead.

Copy link
Author

@dalonsofl dalonsofl Dec 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right! Besides, the messages in response are already translated into Spanish (in my case), so it is not necessary to transalate one by one each message.

Thanks!

@dalonsofl dalonsofl force-pushed the 16.0-upd_delivery_deliverea branch 2 times, most recently from ac96069 to 48fd4a4 Compare December 16, 2024 16:22
@dalonsofl dalonsofl force-pushed the 16.0-upd_delivery_deliverea branch from 48fd4a4 to 044b068 Compare December 16, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants