From 556b72edb25dedc38af796d15113f3ffe5eabb0a Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Tue, 24 Jun 2014 18:31:10 +0300 Subject: [PATCH] fix install lang --- install/core/i18n/de_DE/install.json | 2 +- install/core/i18n/en_US/install.json | 2 +- install/core/i18n/es_ES/install.json | 2 +- install/js/install.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/install/core/i18n/de_DE/install.json b/install/core/i18n/de_DE/install.json index 0ec21740b6..f83daf6456 100644 --- a/install/core/i18n/de_DE/install.json +++ b/install/core/i18n/de_DE/install.json @@ -61,7 +61,7 @@ "messages": { "Bad init Permission": "Permission denied for \"{*}\" directory. Please set 775 for \"{*}\" or just execute this command in the terminal
{C}<\/b><\/pre>\n\tOperation not permitted? Try this one: {CSU}",
 		"Some errors occurred!": "Some errors occurred!",
-		"Supported php version >=": "Supported php version >=",
+		"phpVersion": "PHP version should be >= {minVersion}",
 		"The PHP extension was not found...": "The {extName}<\/b> PHP extension was not found...",
 		"All Settings correct": "All Settings are correct",
 		"Failed to connect to database": "Failed to connect to database",
diff --git a/install/core/i18n/en_US/install.json b/install/core/i18n/en_US/install.json
index 0ec21740b6..f83daf6456 100644
--- a/install/core/i18n/en_US/install.json
+++ b/install/core/i18n/en_US/install.json
@@ -61,7 +61,7 @@
 	"messages": {
 		"Bad init Permission": "Permission denied for \"{*}\" directory. Please set 775 for \"{*}\" or just execute this command in the terminal 
{C}<\/b><\/pre>\n\tOperation not permitted? Try this one: {CSU}",
 		"Some errors occurred!": "Some errors occurred!",
-		"Supported php version >=": "Supported php version >=",
+		"phpVersion": "PHP version should be >= {minVersion}",
 		"The PHP extension was not found...": "The {extName}<\/b> PHP extension was not found...",
 		"All Settings correct": "All Settings are correct",
 		"Failed to connect to database": "Failed to connect to database",
diff --git a/install/core/i18n/es_ES/install.json b/install/core/i18n/es_ES/install.json
index 303f7ea842..6572d93d9a 100644
--- a/install/core/i18n/es_ES/install.json
+++ b/install/core/i18n/es_ES/install.json
@@ -60,7 +60,7 @@
 	"messages": {
 		"Bad init Permission": "Permission denied for \"{*}\" directory. Please set 775 for \"{*}\" or just execute this command in the terminal 
{C}<\/b><\/pre>\n\tOperation not permitted? Try this one: {CSU}",
 		"Some errors occurred!": "Some errors occurred!",
-		"Supported php version >=": "Supported php version >=",
+		"phpVersion": "PHP version should be >= {minVersion}",
 		"The PHP extension was not found...": "The {extName}<\/b> PHP extension was not found...",
 		"All Settings correct": "All Settings are correct",
 		"Failed to connect to database": "Failed to connect to database",
diff --git a/install/js/install.js b/install/js/install.js
index 369cfbc7eb..2bd852271a 100644
--- a/install/js/install.js
+++ b/install/js/install.js
@@ -363,7 +363,7 @@ InstallScript.prototype.checkSett = function(opt) {
 			if (typeof(data.errors)) {
 				var errors = data.errors;
 				if (typeof(errors.phpVersion) !== 'undefined') {
-					msg += self.getLang('Supported php version >=', 'messages')+' '+errors.phpVersion+rowDelim;
+					msg += self.getLang('phpVersion', 'messages').replace('{minVersion}', errors.phpVersion) + rowDelim;
 				}
 
 				if (typeof(errors.exts) !== 'undefined') {