fixes
This commit is contained in:
1 parent
43cfaa0411
commit
3b0d692839
7 files changed
+341
-136
No files matched your search
@@ -97,7 +97,7 @@ func main() {
|
||||
}
|
||||
updated++
|
||||
rewrittenPairs += count
|
||||
log.Printf("category=%s repeated_pairs_rewritten=%d", c.id, count)
|
||||
log.Printf("category=%s legacy_sections_normalized=%d", c.id, count)
|
||||
if !*apply {
|
||||
continue
|
||||
}
|
||||
@@ -117,5 +117,5 @@ func main() {
|
||||
log.Fatal(fmt.Errorf("category %s changed concurrently; rerun dry-run", c.id))
|
||||
}
|
||||
}
|
||||
log.Printf("A1 cleanup: categories_scanned=%d categories_requiring_cleanup=%d rewritten_pairs=%d applied=%v", len(candidates), updated, rewrittenPairs, *apply)
|
||||
log.Printf("A1 cleanup: categories_scanned=%d categories_requiring_cleanup=%d normalized_sections=%d applied=%v", len(candidates), updated, rewrittenPairs, *apply)
|
||||
}
|
||||
@@ -440,7 +440,7 @@ func main() {
|
||||
}
|
||||
|
||||
}
|
||||
log.Printf("offline shared default translations: languages=%d templates=%d missing=%d saved=%d eligible=%d updated=%d legacy_upgraded=%d custom_untouched=%d A1_protected=%d A1_duplicate_pairs_rewritten=%d A1_categories_updated=%d failures=%d dry_run=%v", len(targetLangs), len(sources), missing, inserted, eligible, changed, upgraded, custom, protected, a1Removed, a1Updated, failures, *dryRun)
|
||||
log.Printf("offline shared default translations: languages=%d templates=%d missing=%d saved=%d eligible=%d updated=%d legacy_upgraded=%d custom_untouched=%d A1_protected=%d A1_legacy_sections_normalized=%d A1_categories_updated=%d failures=%d dry_run=%v", len(targetLangs), len(sources), missing, inserted, eligible, changed, upgraded, custom, protected, a1Removed, a1Updated, failures, *dryRun)
|
||||
if *dryRun && missing > 0 {
|
||||
log.Printf("dry-run: the full run loads all 25 prelocalized language templates from disk without an LLM")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user