Fix stat import

This commit is contained in:
LeRatierBretonnien 2024-02-26 10:04:55 +01:00
parent 8112dae14d
commit abfc91e3f4
31 changed files with 69 additions and 94 deletions

View File

@ -246,7 +246,7 @@ Hooks.once('init', () => {
for (i = 0; i < len; i++) { for (i = 0; i < len; i++) {
for (let compData of validCompendiums) { for (let compData of validCompendiums) {
let translItem = game.babele.translate(compData.metadata.id, { name: talents_list[i] }, true); let translItem = game.babele.translate(compData.metadata.id, { name: talents_list[i] }, true);
console.log("Search talent name:", compData.metadata.id, talents_list[i], translItem); //console.log("Search talent name:", compData.metadata.id, talents_list[i], translItem);
let transl = translItem?.name || undefined let transl = translItem?.name || undefined
if (!transl) transl = talents_list[i] if (!transl) transl = talents_list[i]
if (transl == talents_list[i]) { if (transl == talents_list[i]) {
@ -589,7 +589,7 @@ Hooks.once('init', () => {
Hooks.once('ready', () => { Hooks.once('ready', () => {
import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter=>{ import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter=>{
//console.log("ClassCounter loaded", moduleCounter) console.log("ClassCounter loaded", moduleCounter)
moduleCounter.ClassCounter.registerUsageCount("wh4-fr-translation") moduleCounter.ClassCounter.registerUsageCount("wh4-fr-translation")
}).catch(err=> }).catch(err=>
console.log("No stats available, giving up.") console.log("No stats available, giving up.")

View File

@ -1 +1 @@
MANIFEST-000451 MANIFEST-000455

View File

@ -1,7 +1,3 @@
2024/02/26-09:25:08.589507 7f13374006c0 Recovering log #449 2024/02/26-10:02:15.075264 7f1336a006c0 Recovering log #453
2024/02/26-09:25:08.619503 7f13374006c0 Delete type=3 #447 2024/02/26-10:02:15.085825 7f1336a006c0 Delete type=3 #451
2024/02/26-09:25:08.619642 7f13374006c0 Delete type=0 #449 2024/02/26-10:02:15.085920 7f1336a006c0 Delete type=0 #453
2024/02/26-09:31:31.421231 7f132fe006c0 Level-0 table #454: started
2024/02/26-09:31:31.421275 7f132fe006c0 Level-0 table #454: 0 bytes OK
2024/02/26-09:31:31.565568 7f132fe006c0 Delete type=0 #452
2024/02/26-09:31:31.566489 7f132fe006c0 Manual compaction at level-0 from '!journal!3IgmiprzLB6Lwenc' @ 72057594037927935 : 1 .. '!journal!suuYN87Al1ZZWtQQ' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2024/02/25-23:39:43.430119 7f1337e006c0 Recovering log #445 2024/02/26-09:25:08.589507 7f13374006c0 Recovering log #449
2024/02/25-23:39:43.441308 7f1337e006c0 Delete type=3 #443 2024/02/26-09:25:08.619503 7f13374006c0 Delete type=3 #447
2024/02/25-23:39:43.441411 7f1337e006c0 Delete type=0 #445 2024/02/26-09:25:08.619642 7f13374006c0 Delete type=0 #449
2024/02/26-00:15:14.958948 7f132fe006c0 Level-0 table #450: started 2024/02/26-09:31:31.421231 7f132fe006c0 Level-0 table #454: started
2024/02/26-00:15:14.958985 7f132fe006c0 Level-0 table #450: 0 bytes OK 2024/02/26-09:31:31.421275 7f132fe006c0 Level-0 table #454: 0 bytes OK
2024/02/26-00:15:14.994389 7f132fe006c0 Delete type=0 #448 2024/02/26-09:31:31.565568 7f132fe006c0 Delete type=0 #452
2024/02/26-00:15:15.032049 7f132fe006c0 Manual compaction at level-0 from '!journal!3IgmiprzLB6Lwenc' @ 72057594037927935 : 1 .. '!journal!suuYN87Al1ZZWtQQ' @ 0 : 0; will stop at (end) 2024/02/26-09:31:31.566489 7f132fe006c0 Manual compaction at level-0 from '!journal!3IgmiprzLB6Lwenc' @ 72057594037927935 : 1 .. '!journal!suuYN87Al1ZZWtQQ' @ 0 : 0; will stop at (end)

View File

@ -1 +1 @@
MANIFEST-000452 MANIFEST-000456

View File

@ -1,7 +1,3 @@
2024/02/26-09:25:08.622337 7f1337e006c0 Recovering log #450 2024/02/26-10:02:15.087857 7f133ce006c0 Recovering log #454
2024/02/26-09:25:08.650244 7f1337e006c0 Delete type=3 #448 2024/02/26-10:02:15.098015 7f133ce006c0 Delete type=3 #452
2024/02/26-09:25:08.650369 7f1337e006c0 Delete type=0 #450 2024/02/26-10:02:15.098171 7f133ce006c0 Delete type=0 #454
2024/02/26-09:31:31.219639 7f132fe006c0 Level-0 table #455: started
2024/02/26-09:31:31.219683 7f132fe006c0 Level-0 table #455: 0 bytes OK
2024/02/26-09:31:31.421058 7f132fe006c0 Delete type=0 #453
2024/02/26-09:31:31.566461 7f132fe006c0 Manual compaction at level-0 from '!folders!3uquYH73ttCdoH0I' @ 72057594037927935 : 1 .. '!items!ylFhk7mGZOnAJTUT' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2024/02/25-23:39:43.443298 7f1336a006c0 Recovering log #446 2024/02/26-09:25:08.622337 7f1337e006c0 Recovering log #450
2024/02/25-23:39:43.452927 7f1336a006c0 Delete type=3 #444 2024/02/26-09:25:08.650244 7f1337e006c0 Delete type=3 #448
2024/02/25-23:39:43.452983 7f1336a006c0 Delete type=0 #446 2024/02/26-09:25:08.650369 7f1337e006c0 Delete type=0 #450
2024/02/26-00:15:14.994710 7f132fe006c0 Level-0 table #451: started 2024/02/26-09:31:31.219639 7f132fe006c0 Level-0 table #455: started
2024/02/26-00:15:14.994738 7f132fe006c0 Level-0 table #451: 0 bytes OK 2024/02/26-09:31:31.219683 7f132fe006c0 Level-0 table #455: 0 bytes OK
2024/02/26-00:15:15.031682 7f132fe006c0 Delete type=0 #449 2024/02/26-09:31:31.421058 7f132fe006c0 Delete type=0 #453
2024/02/26-00:15:15.032058 7f132fe006c0 Manual compaction at level-0 from '!folders!3uquYH73ttCdoH0I' @ 72057594037927935 : 1 .. '!items!ylFhk7mGZOnAJTUT' @ 0 : 0; will stop at (end) 2024/02/26-09:31:31.566461 7f132fe006c0 Manual compaction at level-0 from '!folders!3uquYH73ttCdoH0I' @ 72057594037927935 : 1 .. '!items!ylFhk7mGZOnAJTUT' @ 0 : 0; will stop at (end)

View File

@ -1 +1 @@
MANIFEST-000451 MANIFEST-000455

View File

@ -1,7 +1,3 @@
2024/02/26-09:25:08.685625 7f1337e006c0 Recovering log #449 2024/02/26-10:02:15.113956 7f133ce006c0 Recovering log #453
2024/02/26-09:25:08.716786 7f1337e006c0 Delete type=3 #447 2024/02/26-10:02:15.124437 7f133ce006c0 Delete type=3 #451
2024/02/26-09:25:08.717195 7f1337e006c0 Delete type=0 #449 2024/02/26-10:02:15.124490 7f133ce006c0 Delete type=0 #453
2024/02/26-09:31:31.566675 7f132fe006c0 Level-0 table #454: started
2024/02/26-09:31:31.566739 7f132fe006c0 Level-0 table #454: 0 bytes OK
2024/02/26-09:31:31.733942 7f132fe006c0 Delete type=0 #452
2024/02/26-09:31:31.935375 7f132fe006c0 Manual compaction at level-0 from '!journal!cZtNgayIw2QFhC9u' @ 72057594037927935 : 1 .. '!journal!cZtNgayIw2QFhC9u' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2024/02/25-23:39:43.469451 7f1336a006c0 Recovering log #445 2024/02/26-09:25:08.685625 7f1337e006c0 Recovering log #449
2024/02/25-23:39:43.480769 7f1336a006c0 Delete type=3 #443 2024/02/26-09:25:08.716786 7f1337e006c0 Delete type=3 #447
2024/02/25-23:39:43.480913 7f1336a006c0 Delete type=0 #445 2024/02/26-09:25:08.717195 7f1337e006c0 Delete type=0 #449
2024/02/26-00:15:15.032190 7f132fe006c0 Level-0 table #450: started 2024/02/26-09:31:31.566675 7f132fe006c0 Level-0 table #454: started
2024/02/26-00:15:15.032219 7f132fe006c0 Level-0 table #450: 0 bytes OK 2024/02/26-09:31:31.566739 7f132fe006c0 Level-0 table #454: 0 bytes OK
2024/02/26-00:15:15.093715 7f132fe006c0 Delete type=0 #448 2024/02/26-09:31:31.733942 7f132fe006c0 Delete type=0 #452
2024/02/26-00:15:15.173217 7f132fe006c0 Manual compaction at level-0 from '!journal!cZtNgayIw2QFhC9u' @ 72057594037927935 : 1 .. '!journal!cZtNgayIw2QFhC9u' @ 0 : 0; will stop at (end) 2024/02/26-09:31:31.935375 7f132fe006c0 Manual compaction at level-0 from '!journal!cZtNgayIw2QFhC9u' @ 72057594037927935 : 1 .. '!journal!cZtNgayIw2QFhC9u' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000451 MANIFEST-000455

View File

@ -1,7 +1,3 @@
2024/02/26-09:25:08.560987 7f1337e006c0 Recovering log #449 2024/02/26-10:02:15.062440 7f133ce006c0 Recovering log #453
2024/02/26-09:25:08.586267 7f1337e006c0 Delete type=3 #447 2024/02/26-10:02:15.072502 7f133ce006c0 Delete type=3 #451
2024/02/26-09:25:08.586576 7f1337e006c0 Delete type=0 #449 2024/02/26-10:02:15.072547 7f133ce006c0 Delete type=0 #453
2024/02/26-09:31:31.131912 7f132fe006c0 Level-0 table #454: started
2024/02/26-09:31:31.131952 7f132fe006c0 Level-0 table #454: 0 bytes OK
2024/02/26-09:31:31.219453 7f132fe006c0 Delete type=0 #452
2024/02/26-09:31:31.566434 7f132fe006c0 Manual compaction at level-0 from '!journal!50u8VAjdmovyr0hx' @ 72057594037927935 : 1 .. '!journal!yzw9I0r3hCK7PJnz' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2024/02/25-23:39:43.417564 7f1336a006c0 Recovering log #445 2024/02/26-09:25:08.560987 7f1337e006c0 Recovering log #449
2024/02/25-23:39:43.427993 7f1336a006c0 Delete type=3 #443 2024/02/26-09:25:08.586267 7f1337e006c0 Delete type=3 #447
2024/02/25-23:39:43.428043 7f1336a006c0 Delete type=0 #445 2024/02/26-09:25:08.586576 7f1337e006c0 Delete type=0 #449
2024/02/26-00:15:14.913793 7f132fe006c0 Level-0 table #450: started 2024/02/26-09:31:31.131912 7f132fe006c0 Level-0 table #454: started
2024/02/26-00:15:14.913841 7f132fe006c0 Level-0 table #450: 0 bytes OK 2024/02/26-09:31:31.131952 7f132fe006c0 Level-0 table #454: 0 bytes OK
2024/02/26-00:15:14.958799 7f132fe006c0 Delete type=0 #448 2024/02/26-09:31:31.219453 7f132fe006c0 Delete type=0 #452
2024/02/26-00:15:15.032038 7f132fe006c0 Manual compaction at level-0 from '!journal!50u8VAjdmovyr0hx' @ 72057594037927935 : 1 .. '!journal!yzw9I0r3hCK7PJnz' @ 0 : 0; will stop at (end) 2024/02/26-09:31:31.566434 7f132fe006c0 Manual compaction at level-0 from '!journal!50u8VAjdmovyr0hx' @ 72057594037927935 : 1 .. '!journal!yzw9I0r3hCK7PJnz' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000451 MANIFEST-000455

View File

@ -1,7 +1,3 @@
2024/02/26-09:25:08.525839 7f13374006c0 Recovering log #449 2024/02/26-10:02:15.049854 7f1336a006c0 Recovering log #453
2024/02/26-09:25:08.557135 7f13374006c0 Delete type=3 #447 2024/02/26-10:02:15.060291 7f1336a006c0 Delete type=3 #451
2024/02/26-09:25:08.557260 7f13374006c0 Delete type=0 #449 2024/02/26-10:02:15.060341 7f1336a006c0 Delete type=0 #453
2024/02/26-09:31:31.042099 7f132fe006c0 Level-0 table #454: started
2024/02/26-09:31:31.042171 7f132fe006c0 Level-0 table #454: 0 bytes OK
2024/02/26-09:31:31.131729 7f132fe006c0 Delete type=0 #452
2024/02/26-09:31:31.566396 7f132fe006c0 Manual compaction at level-0 from '!tables!4l60Lxv8cpsyy2Cg' @ 72057594037927935 : 1 .. '!tables.results!tfaYKDZqu7kgZvRG.yvbwKursaixh2dby' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2024/02/25-23:39:43.405127 7f1337e006c0 Recovering log #445 2024/02/26-09:25:08.525839 7f13374006c0 Recovering log #449
2024/02/25-23:39:43.415351 7f1337e006c0 Delete type=3 #443 2024/02/26-09:25:08.557135 7f13374006c0 Delete type=3 #447
2024/02/25-23:39:43.415394 7f1337e006c0 Delete type=0 #445 2024/02/26-09:25:08.557260 7f13374006c0 Delete type=0 #449
2024/02/26-00:15:14.876806 7f132fe006c0 Level-0 table #450: started 2024/02/26-09:31:31.042099 7f132fe006c0 Level-0 table #454: started
2024/02/26-00:15:14.876840 7f132fe006c0 Level-0 table #450: 0 bytes OK 2024/02/26-09:31:31.042171 7f132fe006c0 Level-0 table #454: 0 bytes OK
2024/02/26-00:15:14.913526 7f132fe006c0 Delete type=0 #448 2024/02/26-09:31:31.131729 7f132fe006c0 Delete type=0 #452
2024/02/26-00:15:15.032020 7f132fe006c0 Manual compaction at level-0 from '!tables!4l60Lxv8cpsyy2Cg' @ 72057594037927935 : 1 .. '!tables.results!tfaYKDZqu7kgZvRG.yvbwKursaixh2dby' @ 0 : 0; will stop at (end) 2024/02/26-09:31:31.566396 7f132fe006c0 Manual compaction at level-0 from '!tables!4l60Lxv8cpsyy2Cg' @ 72057594037927935 : 1 .. '!tables.results!tfaYKDZqu7kgZvRG.yvbwKursaixh2dby' @ 0 : 0; will stop at (end)

View File

@ -1 +1 @@
MANIFEST-000094 MANIFEST-000098

View File

@ -1,8 +1,3 @@
2024/02/26-09:25:08.653968 7f13374006c0 Recovering log #92 2024/02/26-10:02:15.101078 7f1336a006c0 Recovering log #96
2024/02/26-09:25:08.682862 7f13374006c0 Delete type=3 #90 2024/02/26-10:02:15.111880 7f1336a006c0 Delete type=3 #94
2024/02/26-09:25:08.683053 7f13374006c0 Delete type=0 #92 2024/02/26-10:02:15.111965 7f1336a006c0 Delete type=0 #96
2024/02/26-09:31:31.734136 7f132fe006c0 Level-0 table #97: started
2024/02/26-09:31:31.734187 7f132fe006c0 Level-0 table #97: 0 bytes OK
2024/02/26-09:31:31.935001 7f132fe006c0 Delete type=0 #95
2024/02/26-09:31:31.935450 7f132fe006c0 Manual compaction at level-0 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal!yfZxl4I7XAuUF6r3' @ 0 : 0; will stop at (end)
2024/02/26-09:31:31.935494 7f132fe006c0 Manual compaction at level-1 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal!yfZxl4I7XAuUF6r3' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,8 @@
2024/02/25-23:39:43.455535 7f1337e006c0 Recovering log #88 2024/02/26-09:25:08.653968 7f13374006c0 Recovering log #92
2024/02/25-23:39:43.467033 7f1337e006c0 Delete type=3 #86 2024/02/26-09:25:08.682862 7f13374006c0 Delete type=3 #90
2024/02/25-23:39:43.467172 7f1337e006c0 Delete type=0 #88 2024/02/26-09:25:08.683053 7f13374006c0 Delete type=0 #92
2024/02/26-00:15:15.093842 7f132fe006c0 Level-0 table #93: started 2024/02/26-09:31:31.734136 7f132fe006c0 Level-0 table #97: started
2024/02/26-00:15:15.093872 7f132fe006c0 Level-0 table #93: 0 bytes OK 2024/02/26-09:31:31.734187 7f132fe006c0 Level-0 table #97: 0 bytes OK
2024/02/26-00:15:15.172983 7f132fe006c0 Delete type=0 #91 2024/02/26-09:31:31.935001 7f132fe006c0 Delete type=0 #95
2024/02/26-00:15:15.173247 7f132fe006c0 Manual compaction at level-0 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal!yfZxl4I7XAuUF6r3' @ 0 : 0; will stop at (end) 2024/02/26-09:31:31.935450 7f132fe006c0 Manual compaction at level-0 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal!yfZxl4I7XAuUF6r3' @ 0 : 0; will stop at (end)
2024/02/26-00:15:15.173282 7f132fe006c0 Manual compaction at level-1 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal!yfZxl4I7XAuUF6r3' @ 0 : 0; will stop at (end) 2024/02/26-09:31:31.935494 7f132fe006c0 Manual compaction at level-1 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal!yfZxl4I7XAuUF6r3' @ 0 : 0; will stop at (end)