Skip to content

Commit

Permalink
Fix Inflector method call
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis committed Sep 19, 2025
1 parent 8e9b5ce commit e09e322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/Lib/Util/StringUtilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public static function pluginToTextDomain(?string $plugin): string
if (empty($plugin)) {
return 'operation';
}
return \Cake\Utility\Inflector::singularize(\Cake\Utility\Inflector::tableize($plugin));
return \Cake\Utility\Inflector::singularize(\Cake\Utility\Inflector::underscore($plugin));
}

/**
Expand Down

0 comments on commit e09e322

Please sign in to comment.