-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[Translation] Added PoEditor Provider #40926
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
Conversation
|
Please note that you need squash your commits before this PR can be merged. The maintainer can also squash the commits for you, but then you need to “Allow edits from maintainer” (there is a checkbox in the sidebar of the PR). Cheers! Carsonbot |
363ff30 to
3fbeb16
Compare
src/Symfony/Component/Translation/Bridge/PoEditor/Provider/PoEditorProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/PoEditor/Provider/PoEditorProvider.php
Outdated
Show resolved
Hide resolved
cd050d5 to
0ab9d41
Compare
|
Package / Verify check fails now, it will be fixed as soon as #40928 will be merged. |
a50035f to
32e25a0
Compare
src/Symfony/Component/Translation/Bridge/PoEditor/PoEditorProviderFactory.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/PoEditor/composer.json
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Exception/UnsupportedSchemeException.php
Outdated
Show resolved
Hide resolved
4952323 to
63b9b51
Compare
|
It ready for me for a review. |
src/Symfony/Component/Translation/Bridge/PoEditor/PoEditorProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/PoEditor/PoEditorProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/PoEditor/PoEditorProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/PoEditor/PoEditorProvider.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Translation/Bridge/PoEditor/PoEditorProvider.php
Outdated
Show resolved
Hide resolved
700b7f3 to
3d39d82
Compare
b13f0d4 to
4a199d1
Compare
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
Show resolved
Hide resolved
4a199d1 to
25bab11
Compare
src/Symfony/Component/Translation/Bridge/PoEditor/Tests/PoEditorProviderTest.php
Show resolved
Hide resolved
|
Tests seem broken. |
25bab11 to
7568332
Compare
src/Symfony/Component/Translation/Bridge/PoEditor/PoEditorProviderFactory.php
Outdated
Show resolved
Hide resolved
865cb70 to
3b1c532
Compare
3b1c532 to
240ac22
Compare
|
|
||
| * Add `translation:pull` and `translation:push` commands to manage translations with third-party providers | ||
| * Add `TranslatorBagInterface::getCatalogues` method | ||
| * Add support to load XLIFF string in `XliffFileLoader` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fabpot I've added those missing changes here
|
Last comments have been addressed, branch has been rebased |
|
Thank you @welcoMattic. |
This PR was submitted for the 5.4 branch but it was squashed and merged into the 5.3 branch instead. Discussion ---------- [Translation] Introduce Translation Providers Docs for symfony/symfony#38475, symfony/symfony#40926, symfony/symfony#40927, and symfony/symfony#40947 Ready for first review, but I'm not sure that I've written documentation in the right and all required places. ATM, Translation Providers Bridges packages doesn't exists, so Flex recipes are not created yet. Commits ------- 943a63f [Translation] Introduce Translation Providers
To follow up on #38475, this PR adds PoEditor Provider.
The todo list to make it ready is:
ProviderInterfaceandTranslatorBagInterface(we removed theall()andgetDomains()method from TranslatorBagInterface)src/Symfony/Bundle/FrameworkBundle/Resources/config/translation_providers.phpfileSymfony\Component\Translation\Exception\UnsupportedSchemeExceptionThe major part of the remaining work concerns tests, I will make it done before the beginning of May.