From 19e4593ca6009aa57db936e313a9138487810673 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 18 Apr 2012 10:36:51 +0000 Subject: [PATCH] change wording of tooltips when mouseovering capabilities on 0xDB info page --- static/js/pandora/infoView.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/js/pandora/infoView.js b/static/js/pandora/infoView.js index afb4dfa4..e4d24c36 100644 --- a/static/js/pandora/infoView.js +++ b/static/js/pandora/infoView.js @@ -645,7 +645,10 @@ pandora.ui.infoView = function(data) { + (hasCapability ? 'can' : 'can\'t') + ' ' + Ox.map(Ox.toSlashes(capability.name).split('/'), function(word, i) { return i == 0 ? null : word.toLowerCase(); - }).join(' '), + }).join(' ') + .replace('see item', 'see the item') + .replace('play video', 'play the full video') + .replace('download video', 'download the video'), title: capability.symbol, type: 'image' })