mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-03-18 02:21:06 +01:00
NL Language updates (#1351)
* add nl changes - part 1 * finish nl translation fixes * add missing translations * roundup * rm extra stuff * Removed`ADDMORE_PLUGINS` * rm meer plugins as requested rm 'installeer meer plugins' as requested * rm empty line? * revert to old NL version
This commit is contained in:
@@ -1005,13 +1005,13 @@ class AdminController extends AdminBaseController
|
||||
if ($result) {
|
||||
$this->admin->json_response = [
|
||||
'status' => 'success',
|
||||
'message' => $this->admin->translate(is_string($result) ? $result : sprintf($this->admin->translate($reinstall ? 'PLUGIN_ADMIN.PACKAGE_X_REINSTALLED_SUCCESSFULLY' : 'PLUGIN_ADMIN.PACKAGE_X_INSTALLED_SUCCESSFULLY',
|
||||
'message' => $this->admin->translate(is_string($result) ? $result : sprintf($this->admin->translate($reinstall ?: 'PLUGIN_ADMIN.PACKAGE_X_REINSTALLED_SUCCESSFULLY',
|
||||
null), $package))
|
||||
];
|
||||
} else {
|
||||
$this->admin->json_response = [
|
||||
'status' => 'error',
|
||||
'message' => $this->admin->translate($reinstall ? 'PLUGIN_ADMIN.REINSTALLATION_FAILED' : 'PLUGIN_ADMIN.INSTALLATION_FAILED')
|
||||
'message' => $this->admin->translate($reinstall ?: 'PLUGIN_ADMIN.INSTALLATION_FAILED')
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user