From 3603ac703fe36ce5e9ac0d95c855ac6828f723ae Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Sun, 6 May 2012 08:40:48 +0530 Subject: [PATCH] Make a message translatable --- libraries/import/shp.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libraries/import/shp.php b/libraries/import/shp.php index 0a2210eb52..dfa0dda0a6 100644 --- a/libraries/import/shp.php +++ b/libraries/import/shp.php @@ -194,7 +194,12 @@ if (isset($plugin_list)) { $this->_loadMultiPointRecord(); break; default: - $this->setError(sprintf("The Shape Type '%s' is not supported.", $this->shapeType)); + $this->setError( + sprintf( + __("Geometry type '%s' is not supported by MySQL."), + $this->shapeType + ) + ); break; } if (extension_loaded('dbase') && isset($this->DBFFile)) {