From a7a66e31da516b361180eafd5e63de21d07d26ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor?= Date: Sat, 15 Oct 2016 20:10:16 +0200 Subject: [PATCH] Update plugin_class.php Add lang codes. --- e107_handlers/plugin_class.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/e107_handlers/plugin_class.php b/e107_handlers/plugin_class.php index e6165bb36..93b952e9d 100644 --- a/e107_handlers/plugin_class.php +++ b/e107_handlers/plugin_class.php @@ -581,7 +581,7 @@ class e107plugin if (vartrue($this->unInstallOpts['delete_ipool'], FALSE)) { $status = ($med->removePath(e_PLUGIN.$plugin, 'icon')) ? E_MESSAGE_SUCCESS : E_MESSAGE_ERROR; - $mes->add('Removing Icons from Media-Manager', $status); + $mes->add(IMALAN_164, $status); } return; } @@ -1666,7 +1666,7 @@ class e107plugin { if ($function == 'install') { - $text = "Installation Complete."; + $text = EPL_ADLAN_238; if ($this->plugConfigFile) { @@ -1750,7 +1750,7 @@ class e107plugin $query .= $tableData['data'][$k]; $query .= "\n) ENGINE=". vartrue($tableData['engine'][$k],"InnoDB")." DEFAULT CHARSET=utf8 "; - $txt = "Adding Table: {$v} "; + $txt = EPL_ADLAN_239." {$v} "; $status = $sql->db_Query($query) ? E_MESSAGE_SUCCESS : E_MESSAGE_ERROR; break; @@ -1758,7 +1758,7 @@ class e107plugin if (!empty($options['delete_tables'])) { $query = "DROP TABLE `".MPREFIX.$v."`; "; - $txt = "Removing Table: {$v}
"; + $txt = EPL_ADLAN_240." {$v}
"; $status = $sql->db_Query_all($query) ? E_MESSAGE_SUCCESS : E_MESSAGE_ERROR; } @@ -2270,7 +2270,7 @@ class e107plugin if($c == 4 || ($prevType == $type)) { - $mes->addDebug("Only 3 Media Categories are permitted during install. One for images and one for files."); + $mes->addDebug(EPL_ADLAN_244); break; } @@ -2510,7 +2510,7 @@ class e107plugin $ret = $config->add($key, $value); if($ret->data_has_changed == TRUE) { - $mes->addSuccess("Adding Pref: ".$key); + $mes->addSuccess(EPL_ADLAN_241." ".$key); } break; @@ -2520,19 +2520,19 @@ class e107plugin { $config->remove($key, $value); - $mes->addSuccess("Removing Pref: ".$key); + $mes->addSuccess(EPL_ADLAN_242." ".$key); } else { $config->update($key, $value); - $mes->addSuccess("Updating Pref: ".$key); + $mes->addSuccess(EPL_ADLAN_243." ".$key); } break; case 'uninstall': $config->remove($key, $value); - $mes->addSuccess("Removing Pref: ".$key); + $mes->addSuccess(EPL_ADLAN_242." ".$key); break; } } @@ -3435,4 +3435,4 @@ class e107plugin } } -?> \ No newline at end of file +?>