projects
/
brisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7394ed7
)
proper language management for deck reload (and close button)
author
Matteo Nastasi
<nastasi@alternativeoutput.it>
Mon, 4 May 2020 06:22:09 +0000
(08:22 +0200)
committer
Matteo Nastasi
<nastasi@alternativeoutput.it>
Mon, 4 May 2020 06:22:09 +0000
(08:22 +0200)
web/briskin5/briskin5.js
patch
|
blob
|
history
diff --git
a/web/briskin5/briskin5.js
b/web/briskin5/briskin5.js
index
bdbf6eb
..
5d52931
100644
(file)
--- a/
web/briskin5/briskin5.js
+++ b/
web/briskin5/briskin5.js
@@
-22,7
+22,12
@@
*/
var mlang_briskin5 = { 'is_calling' : { 'it' : ' sta chiamando',
*/
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)
{
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
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,
"Chiudi"
, 400, 110);
+ x = new notify(gst,
mlang_briskin5['deckreload']
,
+ 0,
mlang_briskin5['close_btn'][g_lang]
, 400, 110);
}
preferences_showhide();
}
}
preferences_showhide();
}