From 142ed7d483b5c9de6027899fb66f8053eceb07a1 Mon Sep 17 00:00:00 2001 From: sgiehl <stefan@piwik.org> Date: Wed, 21 Jan 2015 17:42:21 +0100 Subject: [PATCH] added new device type portable media player --- plugins/DevicesDetection/functions.php | 3 ++- plugins/DevicesDetection/lang/en.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/DevicesDetection/functions.php b/plugins/DevicesDetection/functions.php index 1aff9a6fb7..5ca421abe9 100644 --- a/plugins/DevicesDetection/functions.php +++ b/plugins/DevicesDetection/functions.php @@ -132,7 +132,8 @@ function getDeviceTypeLabel($label) 'tv' => 'DevicesDetection_TV', 'car browser' => 'DevicesDetection_CarBrowser', 'smart display' => 'DevicesDetection_SmartDisplay', - 'camera' => 'DevicesDetection_Camera' + 'camera' => 'DevicesDetection_Camera', + 'portable media player' => 'DevicesDetection_PortableMediaPlayer', ); $deviceTypes = DeviceParser::getAvailableDeviceTypes(); diff --git a/plugins/DevicesDetection/lang/en.json b/plugins/DevicesDetection/lang/en.json index 30019fe2fc..ab955f8201 100644 --- a/plugins/DevicesDetection/lang/en.json +++ b/plugins/DevicesDetection/lang/en.json @@ -30,6 +30,7 @@ "PluginDescription": "This plugin provides extended information about mobile devices, such as Brand (manufacturer), Model (device version), better Device type detection (tv, consoles, smart phones, desktop, etc) and more. This plugin adds a new report in 'Visitors > Devices'.", "SmartDisplay": "Smart display", "Smartphone": "Smartphone", + "PortableMediaPlayer": "Portable media player", "submenu": "Devices", "Tablet": "Tablet", "TV": "Tv", -- GitLab