From 54b24968f51ac3dd4a97a317092ff0b194d7703c Mon Sep 17 00:00:00 2001
From: mattab <matthieu.aubry@gmail.com>
Date: Wed, 23 Sep 2015 23:47:07 +1200
Subject: [PATCH] Rename segment to "Type of visit" refs #8733

---
 lang/en.json                                                    | 2 +-
 .../test_apiGetReportMetadata__API.getSegmentsMetadata.xml      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lang/en.json b/lang/en.json
index 8a3b9df0fc..bb04c42636 100644
--- a/lang/en.json
+++ b/lang/en.json
@@ -379,7 +379,7 @@
         "Visitors": "Visitors",
         "VisitsWith": "Visits with %s",
         "VisitorSettings": "Visitor Settings",
-        "VisitType": "Visitor type",
+        "VisitType": "Visit type",
         "VisitTypeExample": "For example, to select all visitors who have returned to the website, including those who have bought something in their previous visits, the API request would contain %s",
         "Warning": "Warning",
         "WarningPhpVersionXIsTooOld": "The PHP version %s you are using has reached its End of Life (EOL). You are strongly urged to upgrade to a current version, as using this version may expose you to security vulnerabilities and bugs that have been fixed in more recent versions of PHP.",
diff --git a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getSegmentsMetadata.xml b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getSegmentsMetadata.xml
index 92cca55aa6..df853bd0e4 100644
--- a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getSegmentsMetadata.xml
+++ b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getSegmentsMetadata.xml
@@ -219,7 +219,7 @@
 	<row>
 		<type>dimension</type>
 		<category>Visit</category>
-		<name>Visitor type</name>
+		<name>Visit type</name>
 		<segment>visitorType</segment>
 		<acceptedValues>new, returning, returningCustomer. For example, to select all visitors who have returned to the website, including those who have bought something in their previous visits, the API request would contain &quot;&amp;segment=visitorType==returning,visitorType==returningCustomer&quot;</acceptedValues>
 	</row>
-- 
GitLab