add new (old) 'no border' deck
[brisk.git] / web / briskin5 / briskin5.js
index 5d52931..c3dacea 100644 (file)
@@ -322,6 +322,7 @@ function set_iscalling(idx)
 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()
 {
@@ -360,7 +361,7 @@ function act_preferences_update()
     preferences_update();
     if (preferences.deck != preferences.deck_old) {
         // FIXME: with dynamic text
-        x = new notify(gst, mlang_briskin5['deckreload'],
+        x = new notify(gst, mlang_briskin5['deckreload'][g_lang],
                        0, mlang_briskin5['close_btn'][g_lang], 400, 110);
     }
     preferences_showhide();