analytics: Rename 'new iOS app' to 'Mobile app'.

This commit is contained in:
Tim Abbott
2017-07-07 18:31:13 -07:00
parent 626c5ef55e
commit 31caab4229
2 changed files with 2 additions and 2 deletions

View File

@@ -319,7 +319,7 @@ class TestMapArrays(ZulipTestCase):
self.assertEqual(result, self.assertEqual(result,
{'Old desktop app': [32, 36, 39], {'Old desktop app': [32, 36, 39],
'Old iOS app': [1, 2, 3], 'Old iOS app': [1, 2, 3],
'New iOS app': [1, 5, 7], 'Mobile app': [1, 5, 7],
'Website': [1, 2, 3], 'Website': [1, 2, 3],
'Python API': [2, 4, 6], 'Python API': [2, 4, 6],
'SomethingRandom': [4, 5, 6], 'SomethingRandom': [4, 5, 6],

View File

@@ -163,7 +163,7 @@ def client_label_map(name):
if name == "ZulipiOS": if name == "ZulipiOS":
return "Old iOS app" return "Old iOS app"
if name == "ZulipMobile": if name == "ZulipMobile":
return "New iOS app" return "Mobile app"
if name in ["ZulipPython", "API: Python"]: if name in ["ZulipPython", "API: Python"]:
return "Python API" return "Python API"
if name.startswith("Zulip") and name.endswith("Webhook"): if name.startswith("Zulip") and name.endswith("Webhook"):