-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Translation][TwigBridge] Implementing variables extraction in "translation:update" #38884
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
06fba65
Implementing variables extraction in "translation:update"
liarco e2934b5
Applying patch from fabbot
liarco bedb0be
Fixing regression: Twig t() now works when domain is set with trans_d…
liarco 87d542f
Fixing variables metadata overwriting previously set data (PHP extrac…
liarco 8142f75
Updating existing tests to include variables
liarco a333f13
Applying patch from fabbot
liarco 38d9e55
Supporting both long and short array syntax (PHP extractor)
liarco edb5aa9
Improving/fixing existing tests and adding variables tests (PHP extra…
liarco 31f96a0
Adding variables tests (Twig extractor)
liarco 5c2e782
Clearer naming
liarco c3e2e88
Avoid overwriting metadata completely when adding variables note (Twi…
liarco c50ce67
Supporting "t()" functions (Twig) without "|trans()" filter (e.g. as …
liarco 6e4013c
Fixing duplicate notes. Extractors now keep the higher variables coun…
liarco 3e0bb8e
Improving readability
liarco deb72d3
Always update variables with latest from code
liarco e8cee75
Fixing bug preventing update of variables from source in some cases
liarco 63a52b9
Fixing unintended CS errors (thanks @wouterj)
liarco 2a10f37
Applying patch from fabbot (reviewed manually)
liarco 0a5366f
Minor fixes
liarco 46d26ec
Using constants for metadata key and prefix
liarco 1612c08
Fixing CI
liarco 8ec6086
Improving code quality
liarco 0025c52
Fixing static analysis (Psalm)
liarco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Applying patch from fabbot
- Loading branch information
commit e2934b599a84de5de300bdb54951665942dc2c3c
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.