diff --git a/modules/cms/widgets/componentlist/partials/_items.htm b/modules/cms/widgets/componentlist/partials/_items.htm
index 994daf517..439048421 100644
--- a/modules/cms/widgets/componentlist/partials/_items.htm
+++ b/modules/cms/widgets/componentlist/partials/_items.htm
@@ -3,9 +3,9 @@
-
+
-
= e($item->description) ?>
+
= e(trans($item->description)) ?>
= $this->makePartial('component_list', ['components'=>$item->items]) ?>
diff --git a/modules/system/lang/en/lang.php b/modules/system/lang/en/lang.php
index f3dd476fe..142661ed3 100644
--- a/modules/system/lang/en/lang.php
+++ b/modules/system/lang/en/lang.php
@@ -45,6 +45,7 @@ return [
'refresh_success' => "Successfully refreshed those plugins in the system.",
'disable_success' => "Successfully disabled those plugins.",
'enable_success' => "Successfully enabled those plugins.",
+ 'unknown_plugin' => "Plugin has been removed from the file system.",
],
'project' => [
'name' => 'Project',
diff --git a/modules/system/models/PluginVersion.php b/modules/system/models/PluginVersion.php
index 49d80c46e..f7b60e7a8 100644
--- a/modules/system/models/PluginVersion.php
+++ b/modules/system/models/PluginVersion.php
@@ -1,5 +1,6 @@
pluginDetails();
foreach ($pluginInfo as $attribute => $info) {
- $this->{$attribute} = $info;
+ $this->{$attribute} = Lang::get($info);
}
if ($this->is_disabled)
@@ -62,7 +63,7 @@ class PluginVersion extends Model
}
else {
$this->name = $this->code;
- $this->description = 'Plugin has been removed from the file system.';
+ $this->description = Lang::get('system::lang.plugins.unknown_plugin');
$this->orphaned = true;
}