[CI] error due to svg link with file:///
This happened here
CI raises an error :
##############################################################
Searching SVG files for file:/// links
ERROR: Found file:/// link in ep31_The-Fight/lang/ru/E31P08.svg - please fix!
xlink:href="file:///C:/Users/ruden/Desktop/new-ep31_The-Fight/lang/en/../gfx_Pepper-and-Carrot_by-David-Revoy_E31P08.png"
##############################################################
File links should look like this:
xlink:href=../gfx_Pepper-and-Carrot_by-David-Revoy_<panel>.png
##############################################################
This kind of error risks to be raised often. This path is automatically generated by inkscape. We had to manage this in renderfarm already.
It looks this test is necessary for transcripts.
Reason of this issue is I'm not sure translators can manage this issue easily.
To avoid this issue I've thought about two options :
- Do the same trick in transcripts we did in render farm
- Fix it automatically with the CI. In that way it could clean the repo with good paths.
But maybe there are other options?