rename 'Operating Systems' to 'Platforms'

This commit is contained in:
rolux 2012-10-27 19:01:13 +02:00
parent b86f8d73c8
commit ef20c39bd9

View file

@ -38,7 +38,7 @@ pandora.ui.statisticsDialog = function() {
tabs = [ tabs = [
{id: 'seen', title: 'First Seen & Last Seen', selected: true}, {id: 'seen', title: 'First Seen & Last Seen', selected: true},
{id: 'locations', title: 'Locations'}, {id: 'locations', title: 'Locations'},
{id: 'systems', title: 'Operating Systems & Browsers'} {id: 'platforms', title: 'Platforms & Browsers'}
], ],
$dialog = Ox.Dialog({ $dialog = Ox.Dialog({
@ -441,7 +441,7 @@ pandora.ui.statisticsDialog = function() {
.appendTo($content); .appendTo($content);
top += Ox.len(data[mode][key]) * 16 + 32; top += Ox.len(data[mode][key]) * 16 + 32;
}); });
} else if (id == 'systems') { } else if (id == 'platforms') {
['', 'version'].forEach(function(version, i) { ['', 'version'].forEach(function(version, i) {
['system', 'browser'].forEach(function(key) { ['system', 'browser'].forEach(function(key) {
Ox.Chart({ Ox.Chart({
@ -495,7 +495,7 @@ pandora.ui.statisticsDialog = function() {
? {key: 'value', operator: '-'} ? {key: 'value', operator: '-'}
: {key: 'key', operator: '+'}, : {key: 'key', operator: '+'},
title: key == 'system' title: key == 'system'
? (version == '' ? 'Operating Systems' : 'Operating System Versions') ? (version == '' ? 'Platforms' : 'Platform Versions')
: (version == '' ? 'Browsers' : 'Browser Versions'), : (version == '' ? 'Browsers' : 'Browser Versions'),
width: chartWidth width: chartWidth
}) })
@ -570,8 +570,8 @@ pandora.ui.statisticsDialog = function() {
? {key: 'value', operator: '-'} ? {key: 'value', operator: '-'}
: {key: 'key', operator: '+'}, : {key: 'key', operator: '+'},
title: version == '' title: version == ''
? 'Operating Systems & Browsers' ? 'Platforms & Browsers'
: 'Operating System & Browser Versions', : 'Platform & Browser Versions',
width: chartWidth width: chartWidth
}) })
.css({ .css({