mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-09 00:46:05 +02:00
Allow translating filter popup titles
This commit is contained in:
@@ -388,7 +388,11 @@ class AdminPlugin extends Plugin
|
||||
'UPDATE_AVAILABLE',
|
||||
'UPDATES_AVAILABLE',
|
||||
'FULLY_UPDATED',
|
||||
'DAYS'];
|
||||
'DAYS',
|
||||
'PAGE_MODES',
|
||||
'PAGE_TYPES',
|
||||
'ACCESS_LEVELS'
|
||||
];
|
||||
|
||||
foreach($strings as $string) {
|
||||
$translations .= 'translations.PLUGIN_ADMIN.' . $string .' = "' . $this->admin->translate('PLUGIN_ADMIN.' . $string) . '"; ' . PHP_EOL;;
|
||||
|
||||
Reference in New Issue
Block a user