Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Commit37b8077
committed
bug#46239 [Translation] Refresh local translations on PushCommand if the provider has domains (Florian-B)
This PR was merged into the 5.4 branch.Discussion----------[Translation] Refresh local translations on PushCommand if the provider has domains| Q | A| ------------- | ---| Branch? | 5.4| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets | no| License | MIT| Doc PR | noSince#45171 it's possible to define targeted translation domains in configuration.On `translation:push` without `--domains` option the command should read our configuration in order build local translations list.If the domain is only define in the configuration we need to refresh the local translations list to prevent full update of Provider (push all domains without filtering).I think we should add a test but I failed to do it properly.Commits-------8b0f7eb [Translation] Refresh local translations if the provider has domainsFile tree
1 file changed
+7
-7
lines changed- src/Symfony/Component/Translation/Command
1 file changed
+7
-7
lines changedLines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
134 | 140 | | |
135 | 141 | | |
136 | 142 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
0 commit comments
Comments
(0)