Add util for mining commit authors and subjects for translator info
Get git log for SVG files and add authors as TODO to info.json
for curation. Existing authors will be ignored.
We can't automate this 100%, because only a human can decide which category names have to go into.
Example output for existing file:
{
"credits": {
"translation": [
"David Revoy"
],
"proofreading": [
"M1dgard"
],
"editing": [
"Karl Ove Hufthammer"
]
},
"TODO": {
"CalimeroTeknik": [
"Place an id=\"episode-title\" on the right element of all title pages",
"Place an id=\"episode-title\" on the right element of all covers"
]
}
}
And for a new file:
{
"credits": {
"translation": [
"Nick",
"Name"
],
"proofreading": [
"Nick",
"Name"
],
"editing": [
"Nick",
"Name"
]
},
"TODO": {
"David Revoy": [
"Merge MR ep-22-ro translation into local fix for bug #124 (ep02 labels)",
"[refactor][en] update all Inkscape [en] SVGs to 0.92.3",
"Move content to subfolder lang/",
"Global change: new SVG filenaming",
"Move content to subfolder \"ep01_Potion-of-Flight",
"Revert \"[refactor] [0.92.1]",
"[refactor] [0.92.1]",
"Full refactoring: Singlestrip split",
"Merge MR ep-22-ro translation into local fix for bug #124 (ep02 labels)",
"[refactor][en] update all Inkscape [en] SVGs to 0.92.3",
"Move content to subfolder lang/",
"Global change: new SVG filenaming",
"Move content to subfolder \"ep01_Potion-of-Flight",
"Revert \"[refactor] [0.92.1]",
"[refactor] [0.92.1]",
"Full refactoring: Singlestrip split",
"english initial",
"Merge MR ep-22-ro translation into local fix for bug #124 (ep02 labels)",
"[refactor][en] update all Inkscape [en] SVGs to 0.92.3",
"Move content to subfolder lang/",
"Global change: new SVG filenaming",
"Move content to subfolder \"ep01_Potion-of-Flight",
"Revert \"[refactor] [0.92.1]",
"[refactor] [0.92.1]",
"fix wrong position for the background img",
"add an empty ending page, for database manipulation standard. Last page is always the credit page, and episode1 forced all the scripts to get a special episode1 rule. Now with this workaround with not a big cost on fileweight, all episodes are standardised.",
"Merge MR ep-22-ro translation into local fix for bug #124 (ep02 labels)",
"[refactor][en] update all Inkscape [en] SVGs to 0.92.3",
"Move content to subfolder lang/",
"Global change: new SVG filenaming",
"Move content to subfolder \"ep01_Potion-of-Flight",
"Revert \"[refactor] [0.92.1]",
"[refactor] [0.92.1]",
"Full refactoring: Singlestrip split",
"Merge MR ep-22-ro translation into local fix for bug #124 (ep02 labels)",
"[refactor][en] update all Inkscape [en] SVGs to 0.92.3",
"Move content to subfolder lang/",
"Global change: new SVG filenaming",
"Move content to subfolder \"ep01_Potion-of-Flight",
"Revert \"[refactor] [0.92.1]",
"[refactor] [0.92.1]",
"Full refactoring: Singlestrip split",
"Merge MR ep-22-ro translation into local fix for bug #124 (ep02 labels)",
"[refactor][en] update all Inkscape [en] SVGs to 0.92.3",
"Move content to subfolder lang/",
"Global change: new SVG filenaming",
"Move content to subfolder \"ep01_Potion-of-Flight",
"Revert \"[refactor] [0.92.1]",
"[refactor] [0.92.1]",
"[covers] fix all layout for upcoming website",
"english initial"
],
"Karl Ove Hufthammer": [
"Remove filter effect on speech bubbles (fixes #110)",
"Remove filter effect on speech bubbles (fixes #110)",
"Remove filter effect on speech bubbles (fixes #110)",
"Remove filter effect on speech bubbles (fixes #110)",
"Remove filter effect on speech bubbles (fixes #110)"
],
"CalimeroTeknik": [
"Place an id=\"episode-title\" on the right element of all title pages",
"Place an id=\"episode-title\" on the right element of all covers"
],
"M1dgard": [
"[en] Make old episode titles consistent",
"[en] Make old episode titles consistent"
]
}
}
I couldn't resist this juicy challenge :)