*/
var mlang_briskin5 = { 'is_calling' : { 'it' : ' sta chiamando',
- 'en' : ' is calling' } }
+ 'en' : ' is calling' },
+ 'deckreload' : { 'it' : '<br/>Per rendere visibile il nuovo mazzo di carte<br/><br/>occorre fare reload della pagina.',
+ 'en' : '<br/>EN: Per rendere visibile il nuovo mazzo di carte<br/><br/>occorre fare reload della pagina.'},
+ 'close_btn': { 'it' : 'Chiudi',
+ 'en' : 'Close'}
+ }
function Preferences(ring_endauct, deck, deck_old)
{
$("astalascio").style.visibility = "hidden";
$("chooseed").style.visibility = "visible";
for (i = 0 ; i < 4 ; i++) {
- $("seed"+i).src = "img/"+i+""+card+".png";
+ $("seed"+i).setAttribute('data-card-id', '' + i + card);
seed=$("seed"+i);
eval("seed.onclick = function () { act_choose("+i+""+card+"); };");
}
var preferences = new Preferences(true, 'xx', 'xx');
// FIXME move it in the html dynamic generation scope
var deck_list = { 'xx': 'Normal cards',
+ 'nb': 'No border cards',
'yy': 'Slim cards' }
function preferences_init()
{
preferences_update();
if (preferences.deck != preferences.deck_old) {
// FIXME: with dynamic text
- x = new notify(gst,'<br/>Per rendere visibile il nuovo mazzo di carte<br/><br/>occorre fare reload della pagina.',
- 0, "Close", 400, 110);
+ x = new notify(gst, mlang_briskin5['deckreload'][g_lang],
+ 0, mlang_briskin5['close_btn'][g_lang], 400, 110);
}
preferences_showhide();
}