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(PWA): broken translation strings (backport #2359) #2361

Merged
merged 6 commits into from
Oct 30, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 30, 2024

Broken after #1856

  • 2nd argument in translation function are the variables, not the context. Here 2nd argument is being passed as null and the variables are being passed as the context

    Incorrect: __("string", context, variables)
    Correct: __("string", variables, context)

  • translation function __ was being used without injecting

  • simplified some other translation strings


    This is an automatic backport of pull request fix(PWA): broken translation strings #2359 done by Mergify.

@mergify mergify bot requested a review from ruchamahabal as a code owner October 30, 2024 12:07
@ruchamahabal ruchamahabal merged commit 6da012d into version-15-hotfix Oct 30, 2024
8 checks passed
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 15.34.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@ruchamahabal ruchamahabal deleted the mergify/bp/version-15-hotfix/pr-2359 branch October 31, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants