From ef20c39bd9c7c505ba4f6dcd0c1fcf3d23cb660d Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 27 Oct 2012 19:01:13 +0200 Subject: [PATCH] rename 'Operating Systems' to 'Platforms' --- static/js/pandora/statisticsDialog.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/static/js/pandora/statisticsDialog.js b/static/js/pandora/statisticsDialog.js index f56c3d361..b720577b0 100644 --- a/static/js/pandora/statisticsDialog.js +++ b/static/js/pandora/statisticsDialog.js @@ -38,7 +38,7 @@ pandora.ui.statisticsDialog = function() { tabs = [ {id: 'seen', title: 'First Seen & Last Seen', selected: true}, {id: 'locations', title: 'Locations'}, - {id: 'systems', title: 'Operating Systems & Browsers'} + {id: 'platforms', title: 'Platforms & Browsers'} ], $dialog = Ox.Dialog({ @@ -441,7 +441,7 @@ pandora.ui.statisticsDialog = function() { .appendTo($content); top += Ox.len(data[mode][key]) * 16 + 32; }); - } else if (id == 'systems') { + } else if (id == 'platforms') { ['', 'version'].forEach(function(version, i) { ['system', 'browser'].forEach(function(key) { Ox.Chart({ @@ -495,7 +495,7 @@ pandora.ui.statisticsDialog = function() { ? {key: 'value', operator: '-'} : {key: 'key', operator: '+'}, title: key == 'system' - ? (version == '' ? 'Operating Systems' : 'Operating System Versions') + ? (version == '' ? 'Platforms' : 'Platform Versions') : (version == '' ? 'Browsers' : 'Browser Versions'), width: chartWidth }) @@ -570,8 +570,8 @@ pandora.ui.statisticsDialog = function() { ? {key: 'value', operator: '-'} : {key: 'key', operator: '+'}, title: version == '' - ? 'Operating Systems & Browsers' - : 'Operating System & Browser Versions', + ? 'Platforms & Browsers' + : 'Platform & Browser Versions', width: chartWidth }) .css({