mirror of
https://github.com/friendica/friendica
synced 2025-04-19 08:30:11 +00:00
Move L10n::t() calls to DI::l10n()->t() calls
This commit is contained in:
parent
af88c2daa3
commit
5dfee31108
175 changed files with 2841 additions and 2841 deletions
|
@ -27,7 +27,7 @@ class LegacyModule extends BaseModule
|
|||
public static function setModuleFile($file_path)
|
||||
{
|
||||
if (!is_readable($file_path)) {
|
||||
throw new \Exception(Core\L10n::t('Legacy module file not found: %s', $file_path));
|
||||
throw new \Exception(Core\DI::l10n()->t('Legacy module file not found: %s', $file_path));
|
||||
}
|
||||
|
||||
self::$moduleName = basename($file_path, '.php');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue