Skip to content
Snippets Groups Projects
Commit b61df451 authored by ale's avatar ale
Browse files

Tweak package matching

parent 553a8f67
No related branches found
Tags v0.0.6
No related merge requests found
Pipeline #72777 passed
......@@ -115,8 +115,8 @@ class Wplang implements PluginInterface, EventSubscriberInterface {
$t = new Translatable( 'theme', $name, $package->getVersion(), $this->languages, $this->wpLanguageDir );
break;
case 'wordpress-core':
if ( 'roots' === $provider && ('wordpress-full' == $name || 'wordpress' === $name) ) {
$t = new Translatable( 'core', $name, $package->getVersion(), $this->languages, $this->wpLanguageDir );
if ( 'roots' === $provider && ('wordpress-full' == $name || 'wordpress-no-content' === $name) ) {
$t = new Translatable( 'core', 'wordpress', $package->getVersion(), $this->languages, $this->wpLanguageDir );
}
break;
case 'package':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment