v2.6.1d (Lyra): Plugin i18n, plugin editor vernieuwd, media invoegen
Plugin internationalisatie: plugins hebben eigen language/ mappen. Systeem plugins volgen admin taal (admin.php), content plugins volgen content taal (site.php). Fallback chain: geselecteerd -> plugin default_language -> CMS default. PluginManager/AdminPluginAPI/CMSAPI uitgebreid met getPluginTranslations()/t(). plugin.json settings ondersteunen label_key/help_key/option_label_key. Plugin uniformiteit: alle 6 plugins hebben uniforme structuur (README.md, assets/.gitkeep, language/nl|en/). plugins/README.md herschreven. guide plugin-development.md (NL+EN) volledig herschreven. Plugin editor vernieuwd: geneste bestandsbrowser zijbalk, nieuw bestand aanmaken, uploaden naar assets/, verwijderen en verplaatsen. Nieuwe routes: plugins-file-upload, plugins-file-delete, plugins-file-move. Path-traversal bescherming + protected plugins geblokkeerd. Media invoegen in editor: nieuw /admin/media-list JSON endpoint + herbruikbare _media-modal.twig include. Plugin-context scant assets/ map. editor-toolbar.js modeMap uitgebreid voor css/scss/js/json. Plugin overzicht knoppen: alleen iconen met title/aria-label. Tests: pentest 30/30, WCAG 2.1 AA 25/25.
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
return [
|
||||
// Menu
|
||||
'menu_label' => 'Dashboard',
|
||||
|
||||
// Page header
|
||||
'page_title' => 'Dashboard',
|
||||
|
||||
// Site information card
|
||||
'site_info' => 'Site information',
|
||||
'site_title' => 'Site title',
|
||||
'default_lang' => 'Default language',
|
||||
'cms_version' => 'CodePress version',
|
||||
'php_version' => 'PHP version',
|
||||
'os' => 'Operating system',
|
||||
'config_loaded' => 'Config loaded',
|
||||
'yes' => 'Yes',
|
||||
'no' => 'No',
|
||||
|
||||
// Content information card
|
||||
'content_info' => 'Content information',
|
||||
'pages' => 'Pages',
|
||||
'folders' => 'Folders',
|
||||
'content_size' => 'Content size',
|
||||
|
||||
// Plugins card
|
||||
'plugins' => 'Plugins',
|
||||
'manage' => 'Manage',
|
||||
'plugin_type_system' => 'system',
|
||||
'plugin_type_content' => 'content',
|
||||
'active' => 'Active',
|
||||
'inactive' => 'Inactive',
|
||||
'no_plugins' => 'No plugins found.',
|
||||
];
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
return [
|
||||
// Menu
|
||||
'menu_label' => 'Dashboard',
|
||||
|
||||
// Page header
|
||||
'page_title' => 'Dashboard',
|
||||
|
||||
// Site informatie card
|
||||
'site_info' => 'Site informatie',
|
||||
'site_title' => 'Site titel',
|
||||
'default_lang' => 'Standaard taal',
|
||||
'cms_version' => 'CodePress versie',
|
||||
'php_version' => 'PHP versie',
|
||||
'os' => 'Besturingssysteem',
|
||||
'config_loaded' => 'Config geladen',
|
||||
'yes' => 'Ja',
|
||||
'no' => 'Nee',
|
||||
|
||||
// Content informatie card
|
||||
'content_info' => 'Content informatie',
|
||||
'pages' => "Pagina's",
|
||||
'folders' => 'Mappen',
|
||||
'content_size' => 'Content grootte',
|
||||
|
||||
// Plugins card
|
||||
'plugins' => 'Plugins',
|
||||
'manage' => 'Beheren',
|
||||
'plugin_type_system' => 'systeem',
|
||||
'plugin_type_content' => 'content',
|
||||
'active' => 'Actief',
|
||||
'inactive' => 'Inactief',
|
||||
'no_plugins' => 'Geen plugins gevonden.',
|
||||
];
|
||||
Reference in New Issue
Block a user