change wording of tooltips when mouseovering capabilities on 0xDB info page

This commit is contained in:
rolux 2012-04-18 10:36:51 +00:00
parent 1dd2e09804
commit 19e4593ca6

View file

@ -645,7 +645,10 @@ pandora.ui.infoView = function(data) {
+ (hasCapability ? 'can' : 'can\'t') + ' ' + (hasCapability ? 'can' : 'can\'t') + ' '
+ Ox.map(Ox.toSlashes(capability.name).split('/'), function(word, i) { + Ox.map(Ox.toSlashes(capability.name).split('/'), function(word, i) {
return i == 0 ? null : word.toLowerCase(); 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, title: capability.symbol,
type: 'image' type: 'image'
}) })