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

fix: translate Update default_success_action.py (backport #43295) #43719

Merged

Commits on Oct 18, 2024

  1. refactor: update default_success_action.py

    The _(doctype) inside get_message is removed from the .format() method. The reason is that _(doctype) would attempt to translate the doctype itself, which is generally not required since the doctypes in doctype_list are system-level terms. The main string "{0} has been submitted successfully" should be translated, and then it should receive the doctype name as an argument.
    
    (cherry picked from commit 804558e)
    doancan authored and mergify[bot] committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    f70506f View commit details
    Browse the repository at this point in the history