From 9833141c1307c3f683a7e005818c43ec57181061 Mon Sep 17 00:00:00 2001
From: hide-me <45032974+hide-me@users.noreply.github.com>
Date: Sun, 22 Mar 2020 01:00:17 +0300
Subject: [PATCH] Trying to add tanslatable string
Please check it. I tested on my site and it's working perfectly, but maybe I did some mistakes.
---
bl-plugins/version/plugin.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bl-plugins/version/plugin.php b/bl-plugins/version/plugin.php
index 2448597a..9f906fd8 100644
--- a/bl-plugins/version/plugin.php
+++ b/bl-plugins/version/plugin.php
@@ -42,7 +42,7 @@ class pluginVersion extends Plugin {
global $L;
$html = '';
if ($this->getValue('showCurrentVersion')) {
- $html = 'Version '.(defined('BLUDIT_PRO')?'':'').''.BLUDIT_VERSION.'';
+ $html = ''.$L->get('Version').' '.(defined('BLUDIT_PRO')?'':'').''.BLUDIT_VERSION.'';
}
if ($this->getValue('newVersionAlert')) {
$html .= ''.$L->get('New version available').' ';
@@ -61,4 +61,4 @@ class pluginVersion extends Plugin {
}
return false;
}
-}
\ No newline at end of file
+}