You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #54010 [Translation] Fix extracting qualified t() function calls (rvanvelzen)
This PR was merged into the 6.4 branch.
Discussion
----------
[Translation] Fix extracting qualified `t()` function calls
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix#53835
| License | MIT
`t()` calls are generally qualified. The visitor used to look at the full name for the function call, but since #53624 this is replaced by the qualified name.
This PR adjusts the comparison to only look at the last part of the qualified name.
Commits
-------
eb5ac71 [Translation] Fix extracting qualified t() function calls
"translatable-short-fqn double-quoted key with whitespace and escaped \$\n\" sequences" => "prefixtranslatable-short-fqn double-quoted key with whitespace and escaped \$\n\" sequences",
90
+
'translatable-short-fqn single-quoted key with whitespace and nonescaped \$\n\' sequences' => 'prefixtranslatable-short-fqn single-quoted key with whitespace and nonescaped \$\n\' sequences',
91
+
'translatable-short-fqn single-quoted key with "quote mark at the end"' => 'prefixtranslatable-short-fqn single-quoted key with "quote mark at the end"',
0 commit comments