From 6644c8d0cbbe3430dfa046e5b2bc26e7ef5693af Mon Sep 17 00:00:00 2001
From: sgiehl <stefan@piwik.org>
Date: Thu, 30 Jan 2014 15:46:03 +0100
Subject: [PATCH] moved text to translations

---
 lang/en.json                                            | 1 +
 plugins/Installation/templates/_systemCheckSection.twig | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/lang/en.json b/lang/en.json
index a3a387ce1a..33dd1cf491 100644
--- a/lang/en.json
+++ b/lang/en.json
@@ -1825,6 +1825,7 @@
         "ToGeolocateOldVisits": "To get location data for your old visits, use the script described %1$shere%2$s.",
         "GeoIPPeclCustomDirNotSet": "The %s PHP ini option is not set.",
         "GeoIPServerVarsFound": "Piwik detects the following GeoIP %s variables",
+        "GeoIpLocationProviderNotRecomnended": "Geolocation works, but you are not using one of the recommended providers.",
         "AssumingNonApache": "Cannot find apache_get_modules function, assuming non-Apache webserver.",
         "FoundApacheModules": "Piwik found the following Apache modules",
         "GeoIPNoServerVars": "Piwik cannot find any GeoIP %s variables.",
diff --git a/plugins/Installation/templates/_systemCheckSection.twig b/plugins/Installation/templates/_systemCheckSection.twig
index 7fa9d6000e..1a0f2346c0 100755
--- a/plugins/Installation/templates/_systemCheckSection.twig
+++ b/plugins/Installation/templates/_systemCheckSection.twig
@@ -294,7 +294,7 @@
                 <br/>
             {% elseif infos.extra.geolocation_using_non_recommended %}
                 {{ warning }}
-                <span class="warn">Geolocation works, but you are not using one of the recommended providers.
+                <span class="warn">{{ 'UserCountry_GeoIpLocationProviderNotRecomnended'|translate }}
                     {{ 'UserCountry_GeoIpLocationProviderDesc_ServerBased2'|translate('<a href="http://piwik.org/docs/geo-locate/" target="_blank">', '', '', '</a>')|raw }}</span>
                 <br/>
             {% else %}
@@ -344,4 +344,4 @@
 
 </table>
 
-{% include "@Installation/_integrityDetails.twig" %}
\ No newline at end of file
+{% include "@Installation/_integrityDetails.twig" %}
-- 
GitLab