Pascal Birchler

Results 727 comments of Pascal Birchler

If you instead want to make the command be named `wp timber make-pot` I'd do something like this: ```php WP_CLI::add_command( 'timber make-pot', 'My_Timber' ); class My_Timber { public function __invoke()...

Is there anything left here for the WP-CLI / i18-command side of things?

No update I‘m afraid. I personally haven‘t had time to look into it but it sounds like a feasible enhancement and PRs are more than welcome. You do have some...

I don't see much value in changing the default (again). This options is about removing strings from the PO file that only occur in JavaScript files. Since we have the...

Good point. Would it make sense to add a dedicated `purge` command or something? Because it's not ideal to then load the full PO file in memory when many of...

Some more observations after working on #108 and other tickets: * The `Plugin` class and especially `\Required\Traduttore\Plugin::register_hooks()` is getting too complex. We should put all these things into different methods/functions...

There's an open feature request to allow customizing the list of file extensions. Right now only `js` and `jsx` are considered. See #231. But it might also make sense to...

From what I can see this will probably require something similar to #304, involving the existing [`VueJsExtractor`](https://github.com/php-gettext/Gettext/blob/4.x/src/Extractors/VueJs.php) to extract these function calls from `.vue` files. I currently have bandwidth to...

> Is there a reason why this is not failing the tests? Which ones should fail in your opinion? I didn't add any loader tests for this one (because of...

> Do you have a repo that we can use to test that it is working? I've set up https://sourceforge.net/projects/pascals-test-project/ but with no webhooks configured yet. It's on my todo...