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

🐛 Fixed error in translate helper when invalid parameters are passed #20663

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

sagzy
Copy link
Contributor

@sagzy sagzy commented Jul 25, 2024

ref https://linear.app/tryghost/issue/SLO-182
ref #15500

  • when the {{ t }} helper is used with no parameter or an empty string, it now returns an empty string
  • when the {{ t }} helper is used without options, it now does not throw an error

ref https://linear.app/tryghost/issue/SLO-182

- when the {{ t }} helper is used with no parameter or an empty string, it now returns an empty string
- when the {{ t }} helper is used without options, it now does not throw an error
@sagzy sagzy enabled auto-merge (squash) July 25, 2024 12:40
@sagzy sagzy merged commit 1422ad5 into main Jul 25, 2024
22 checks passed
@sagzy sagzy deleted the fix/SLO-182-theme-helper branch July 25, 2024 12:45
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.

1 participant