From: Matteo Nastasi Date: Mon, 4 May 2020 06:22:09 +0000 (+0200) Subject: proper language management for deck reload (and close button) X-Git-Tag: v5.10.0~2 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=80543e4ec5a984e613c1df07cbc8716f1322fef1;p=brisk.git proper language management for deck reload (and close button) --- diff --git a/web/briskin5/briskin5.js b/web/briskin5/briskin5.js index bdbf6eb..5d52931 100644 --- a/web/briskin5/briskin5.js +++ b/web/briskin5/briskin5.js @@ -22,7 +22,12 @@ */ var mlang_briskin5 = { 'is_calling' : { 'it' : ' sta chiamando', - 'en' : ' is calling' } } + 'en' : ' is calling' }, + 'deckreload' : { 'it' : '
Per rendere visibile il nuovo mazzo di carte

occorre fare reload della pagina.', + 'en' : '
EN: Per rendere visibile il nuovo mazzo di carte

occorre fare reload della pagina.'}, + 'close_btn': { 'it' : 'Chiudi', + 'en' : 'Close'} + } function Preferences(ring_endauct, deck, deck_old) { @@ -355,8 +360,8 @@ function act_preferences_update() preferences_update(); if (preferences.deck != preferences.deck_old) { // FIXME: with dynamic text - x = new notify(gst,'
Per rendere visibile il nuovo mazzo di carte

occorre fare reload della pagina.', - 0, "Chiudi", 400, 110); + x = new notify(gst, mlang_briskin5['deckreload'], + 0, mlang_briskin5['close_btn'][g_lang], 400, 110); } preferences_showhide(); }