38
38
< input type ="checkbox " class ="announcements-show " name ="attr_show_announcements " value ="1 " data-i18n-title ="close-announcements " title ="Close Announcements " />
39
39
< span class ="announcements-exit " data-i18n-title ="close "> *</ span > < br >
40
40
< h3 data-i18n ="latest-announcements "> Latest Announcements</ h3 >
41
- < span class ="footer "> 12/2 /24</ span >
41
+ < span class ="footer "> 12/4 /24</ span >
42
42
< ol >
43
43
< strong > v1.9</ strong >
44
+ < li > Minor adjustments for translations.</ li >
44
45
< li > Fixed a bug introduced in the last update (major appologies!) that could cause Strength to keep reseting to 0 unless set on the monster tab first. Collaterally, the other abilities were capped according to strength. The sheet logic should now be fixed to properly handle PC strength and Monster strength when switching tabs.</ li >
45
46
< li > Small cosmetic change to the Willpower checkboxes and Ability background image.</ li >
46
47
< li > Fixed a bug where PC Strength could get switched to '7' when moving between the PC and Monster tab.</ li >
@@ -614,19 +615,15 @@ <h1 data-i18n="condition-u">CONDITIONS</h1>
614
615
< div class ="skull-image "> </ div >
615
616
</ div >
616
617
< div class ="conditions-box3 "> < input class ="input xbox conditions-hungry " type ="checkbox " name ="attr_hungry " value ="1 " data-i18n-title ="condition-hungry " title ="You must eat a ration of food at least once every day. After a day without food, you become HUNGRY. @{hungry} "> < span > </ span > </ div >
617
- < input class ="hidden conditions-hungry " type ="checkbox " name ="attr_hungry " value ="1 ">
618
618
< div class ="conditions-box4 "> < span class ="header-h1 conditions-hungry " data-i18n ="hungry "> Hungry</ span > </ div >
619
619
< span class ="conditions-box5 "> < input type ="text " class ="input " name ="attr_hungry_note " placeholder ="notes " data-i18n-placeholder ="notes " title ="@{hungry_note} "/> </ span >
620
620
< div class ="conditions-box6 "> < input class ="input xbox conditions-sleepy " type ="checkbox " name ="attr_sleepy " value ="1 " data-i18n-title ="condition-sleepy " title ="You need to sleep for at least one Quarter Day of each day. After one day without sleep, you become SLEEPY. @{sleepy} "> < span > </ span > </ div >
621
- < input class ="hidden conditions-sleepy " type ="checkbox " name ="attr_sleepy " value ="1 ">
622
621
< div class ="conditions-box7 "> < span class ="header-h1 conditions-sleepy " data-i18n ="sleepy "> Sleepy</ span > </ div >
623
622
< span class ="conditions-box8 "> < input type ="text " class ="input " name ="attr_sleepy_note " placeholder ="notes " data-i18n-placeholder ="notes " title ="@{sleepy_note} "/> </ span >
624
623
< div class ="conditions-box9 "> < input class ="input xbox conditions-thirsty " type ="checkbox " name ="attr_thirsty " value ="1 " data-i18n-title ="condition-thirsty " title ="You must drink a ration of water at least once per day. After a day without water, you become THIRSTY. @{thirsty} "> < span > </ span > </ div >
625
- < input class ="hidden conditions-thirsty " type ="checkbox " name ="attr_thirsty " value ="1 ">
626
624
< div class ="conditions-box10 "> < span class ="header-h1 conditions-thirsty " data-i18n ="thirsty "> Thirsty</ span > </ div >
627
625
< span class ="conditions-box11 "> < input type ="text " class ="input " name ="attr_thirsty_note " placeholder ="notes " data-i18n-placeholder ="notes " title ="@{thirsty_note} "/> </ span >
628
626
< div class ="conditions-box12 "> < input class ="input xbox conditions-cold " type ="checkbox " name ="attr_cold " value ="1 " data-i18n-title ="condition-cold " title ="When the cold is bitter and you don't have enough shelter, you have to roll ENDURANCE regularly. @{cold} "> < span > </ span > </ div >
629
- < input class ="hidden conditions-cold " type ="checkbox " name ="attr_cold " value ="1 ">
630
627
< div class ="conditions-box13 "> < span class ="header-h1 conditions-cold " data-i18n ="cold "> Cold</ span > </ div >
631
628
< span class ="conditions-box14 "> < input type ="text " class ="input " name ="attr_cold_note " placeholder ="notes " data-i18n-placeholder ="notes " title ="@{cold_note} "/> </ span >
632
629
</ div >
@@ -2233,7 +2230,7 @@ <h1 data-i18n="dice-pool-u">DICE POOL</h1>
2233
2230
< h1 data-i18n ="talent-u "> TALENTS</ h1 >
2234
2231
</ div >
2235
2232
< div class ="talents-box2 column-header-bottom ">
2236
- < input type ="checkbox " class ="section-toggle-checkbox " name ="attr_toggle_talents " value ="1 " title ="more/less " data-i18n ="show-more-or-less " checked />
2233
+ < input type ="checkbox " class ="section-toggle-checkbox " name ="attr_toggle_talents " value ="1 " title ="more/less " data-i18n-title ="show-more-or-less " checked />
2237
2234
< span class ="expand-section-nav "> </ span >
2238
2235
< span data-i18n ="rank "> Rank</ span >
2239
2236
</ div >
@@ -2368,7 +2365,7 @@ <h1 data-i18n="gea-u">GEAR</h1>
2368
2365
< span data-i18n ="carried-abbr "> Carr</ span >
2369
2366
</ div >
2370
2367
< div class ="gear-box4 column-header-bottom ">
2371
- < input type ="checkbox " class ="section-toggle-checkbox " name ="attr_toggle_gear " value ="1 " title ="more/less " data-i18n ="show-more-or-less " checked />
2368
+ < input type ="checkbox " class ="section-toggle-checkbox " name ="attr_toggle_gear " value ="1 " title ="more/less " data-i18n-title ="show-more-or-less " checked />
2372
2369
< span class ="expand-section-nav "> </ span >
2373
2370
< span data-i18n ="weight-abbr "> Wt</ span >
2374
2371
</ div >
@@ -2436,7 +2433,7 @@ <h1 data-i18n="gea-u">GEAR</h1>
2436
2433
< input type ="checkbox " class ="hidden section-toggle-checkbox " name ="attr_toggle_mount_gear " value ="1 " checked />
2437
2434
< div class ="mount-box1 header-top "> < h1 data-i18n ="moun-u "> MOUNT</ h1 > </ div >
2438
2435
< div class ="mount_gear-box4 column-header-bottom ">
2439
- < input type ="checkbox " class ="section-toggle-checkbox " name ="attr_toggle_mount_gear " value ="1 " title ="more/less " data-i18n ="show-more-or-less " checked />
2436
+ < input type ="checkbox " class ="section-toggle-checkbox " name ="attr_toggle_mount_gear " value ="1 " title ="more/less " data-i18n-title ="show-more-or-less " checked />
2440
2437
< span class ="expand-section-nav "> </ span >
2441
2438
</ div >
2442
2439
< input class ="expand " type ="checkbox " name ="attr_expand_mount1 " value ="1 " data-i18n-title ="show-hide " title ="show/hide " /> < span > </ span >
@@ -2520,7 +2517,7 @@ <h1 data-i18n="cart-wagon-other">Cart/Wagon/Other</h1>
2520
2517
< span data-i18n ="carried-abbr "> Carr</ span >
2521
2518
</ div >
2522
2519
< div class ="cart_gear-box4 column-header-bottom ">
2523
- < input type ="checkbox " class ="section-toggle-checkbox " name ="attr_toggle_cart_gear " value ="1 " title ="more/less " data-i18n ="show-more-or-less " checked />
2520
+ < input type ="checkbox " class ="section-toggle-checkbox " name ="attr_toggle_cart_gear " value ="1 " title ="more/less " data-i18n-title ="show-more-or-less " checked />
2524
2521
< span class ="expand-section-nav "> </ span >
2525
2522
< span data-i18n ="weight-abbr "> Wt</ span >
2526
2523
</ div >
@@ -4075,7 +4072,7 @@ <h1 data-i18n="stronghold-notes-u">STRONGHOLD NOTES</h1>
4075
4072
{{#rollGreater() computed::push 0}}
4076
4073
< div class ="template-grid ">
4077
4074
< div class ="template-grid-item template-span-six push-option ">
4078
- [< span data-i18n: "push-the-roll"> Push the Roll</ span > ](~{{character_name}}|push||{{computed::pushroll}})
4075
+ [< span data-i18n = "push-the-roll "> Push the Roll</ span > ](~{{character_name}}|push||{{computed::pushroll}})
4079
4076
</ div >
4080
4077
</ div >
4081
4078
{{/rollGreater() computed::push 0}}
@@ -5426,7 +5423,7 @@ <h1 data-i18n="stronghold-notes-u">STRONGHOLD NOTES</h1>
5426
5423
artifact_die_ocho : 0 ,
5427
5424
artifact_die_ten : 0 ,
5428
5425
artifact_die_twelve : 0 ,
5429
- current_preset : getTranslationByKey ( `custom-roll` ) ,
5426
+ current_preset : ` ${ getTranslationByKey ( `custom-roll` ) } ` ,
5430
5427
subtitle2 : '' ,
5431
5428
include_with_roll : '' ,
5432
5429
pushable : 1 ,
@@ -5839,7 +5836,7 @@ <h1 data-i18n="stronghold-notes-u">STRONGHOLD NOTES</h1>
5839
5836
artifact_die_eight : 0 ,
5840
5837
artifact_die_ten : 0 ,
5841
5838
artifact_die_twelve : 0 ,
5842
- current_preset : getTranslationByKey ( `reputation-roll` ) ,
5839
+ current_preset : ` ${ getTranslationByKey ( `reputation-roll` ) } ` ,
5843
5840
subtitle2 : '' ,
5844
5841
// include_with_roll: '{{attribute-die-one}}', // hides the dice column footer
5845
5842
include_with_roll : '{{dice-label-flag=1}}' ,
@@ -6250,7 +6247,7 @@ <h1 data-i18n="stronghold-notes-u">STRONGHOLD NOTES</h1>
6250
6247
artifact_die_eight : Math . max ( armor_artifact_die_eight , armor1_artifact_die_eight , armor2_artifact_die_eight , armor3_artifact_die_eight , armor4_artifact_die_eight ) ,
6251
6248
artifact_die_ten : Math . max ( armor_artifact_die_ten , armor1_artifact_die_ten , armor2_artifact_die_ten , armor3_artifact_die_ten , armor4_artifact_die_ten ) ,
6252
6249
artifact_die_twelve : Math . max ( armor_artifact_die_twelve , armor1_artifact_die_twelve , armor2_artifact_die_twelve , armor3_artifact_die_twelve , armor4_artifact_die_twelve ) ,
6253
- current_preset : getTranslationByKey ( `armor-roll` ) ,
6250
+ current_preset : ` ${ getTranslationByKey ( `armor-roll` ) } ` ,
6254
6251
subtitle2 : '' ,
6255
6252
include_with_roll : `{{armor1-equipped=[[ ${ armor1_equipped } ]]}} {{armor1-name=${ armor1_name } }} {{armor1-rating=${ armor1_bonus } }} {{armor1-rating-max=${ armor1_bonus_max } }} {{armor1-rating-misc=${ armor1_damage } }} {{armor1-rating-total=${ armor1_ar } }} {{armor2-equipped=[[ ${ armor2_equipped } ]]}} {{armor2-name=${ armor2_name } }} {{armor2-rating=${ armor2_bonus } }} {{armor2-rating-max=${ armor2_bonus_max } }} {{armor2-rating-misc=${ armor2_damage } }} {{armor2-rating-total=${ armor2_ar } }} {{armor3-equipped=[[ ${ armor3_equipped } ]]}} {{armor3-name=${ armor3_name } }} {{armor3-rating=${ armor3_bonus } }} {{armor3-rating-max=${ armor3_bonus_max } }} {{armor3-rating-misc=${ armor3_damage } }} {{armor3-rating-total=${ armor3_ar } }} {{armor4-equipped=[[ ${ armor4_equipped } ]]}} {{armor4-name=${ armor4_name } }} {{armor4-rating=${ armor4_bonus } }} {{armor4-rating-max=${ armor4_bonus_max } }} {{armor4-rating-misc=${ armor4_damage } }} {{armor4-rating-total=${ armor4_ar } }}` ,
6256
6253
} ) ;
@@ -6385,7 +6382,7 @@ <h1 data-i18n="stronghold-notes-u">STRONGHOLD NOTES</h1>
6385
6382
on ( 'sheet:opened' , function ( ) {
6386
6383
// clog('Translation of query text complete.');
6387
6384
setAttrs ( {
6388
- translation_push_query : getTranslationByKey ( 'push-query' ) ,
6385
+ translation_push_query : ` ${ getTranslationByKey ( 'push-query' ) } ` ,
6389
6386
translation_whisper_macro_query : `?{${ getTranslationByKey ( 'whisper-macro' ) } |${ getTranslationByKey ( 'no' ) } ,|${ getTranslationByKey ( 'yes' ) } ,/w gm |}` ,
6390
6387
translation_whisper_api_macro_query : `?{${ getTranslationByKey ( 'whisper-macro' ) } |${ getTranslationByKey ( 'no' ) } ,!forl |${ getTranslationByKey ( 'yes' ) } ,!wforl |}` ,
6391
6388
} ) ;
@@ -6488,7 +6485,7 @@ <h1 data-i18n="stronghold-notes-u">STRONGHOLD NOTES</h1>
6488
6485
artifact_die_ocho : 0 ,
6489
6486
artifact_die_ten : 0 ,
6490
6487
artifact_die_twelve : 0 ,
6491
- current_preset : getTranslationByKey ( `roll-strength` ) ,
6488
+ current_preset : ` ${ getTranslationByKey ( `roll-strength` ) } ` ,
6492
6489
subtitle2 : '' ,
6493
6490
include_with_roll : '' ,
6494
6491
} ) ;
@@ -6508,7 +6505,7 @@ <h1 data-i18n="stronghold-notes-u">STRONGHOLD NOTES</h1>
6508
6505
artifact_die_ocho : 0 ,
6509
6506
artifact_die_ten : 0 ,
6510
6507
artifact_die_twelve : 0 ,
6511
- current_preset : getTranslationByKey ( `roll-agility` ) ,
6508
+ current_preset : ` ${ getTranslationByKey ( `roll-agility` ) } ` ,
6512
6509
subtitle2 : '' ,
6513
6510
include_with_roll : '' ,
6514
6511
} ) ;
@@ -6528,7 +6525,7 @@ <h1 data-i18n="stronghold-notes-u">STRONGHOLD NOTES</h1>
6528
6525
artifact_die_ocho : 0 ,
6529
6526
artifact_die_ten : 0 ,
6530
6527
artifact_die_twelve : 0 ,
6531
- current_preset : getTranslationByKey ( `roll-wits` ) ,
6528
+ current_preset : ` ${ getTranslationByKey ( `roll-wits` ) } ` ,
6532
6529
subtitle2 : '' ,
6533
6530
include_with_roll : '' ,
6534
6531
} ) ;
@@ -6548,7 +6545,7 @@ <h1 data-i18n="stronghold-notes-u">STRONGHOLD NOTES</h1>
6548
6545
artifact_die_ocho : 0 ,
6549
6546
artifact_die_ten : 0 ,
6550
6547
artifact_die_twelve : 0 ,
6551
- current_preset : getTranslationByKey ( `roll-empathy` ) ,
6548
+ current_preset : ` ${ getTranslationByKey ( `roll-empathy` ) } ` ,
6552
6549
subtitle2 : '' ,
6553
6550
include_with_roll : '' ,
6554
6551
} ) ;
0 commit comments