Translation function added
This commit is contained in:
@@ -39,7 +39,7 @@ class Index extends BaseAdmin
|
||||
switch ($_GET['action']) {
|
||||
case 'reload':
|
||||
Addon::reload();
|
||||
info('Addons reloaded');
|
||||
info(DI::l10n()->t('Addons reloaded'));
|
||||
break;
|
||||
|
||||
case 'toggle' :
|
||||
|
||||
@@ -122,7 +122,7 @@ class Site extends BaseAdmin
|
||||
}
|
||||
DBA::close($usersStmt);
|
||||
|
||||
info("Relocation started. Could take a while to complete.");
|
||||
info(DI::l10n()->t("Relocation started. Could take a while to complete."));
|
||||
|
||||
DI::baseUrl()->redirect('admin/site');
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ class Index extends BaseAdmin
|
||||
}
|
||||
Theme::setAllowedList($allowed_themes);
|
||||
|
||||
info('Themes reloaded');
|
||||
info(DI::l10n()->t('Themes reloaded'));
|
||||
break;
|
||||
|
||||
case 'toggle' :
|
||||
|
||||
Reference in New Issue
Block a user