On Wed, Sep 11, 2024 at 6:11 PM Alex Shi <seakeel@xxxxxxxxx> wrote: > > Hi Dongliang: > > In scripts/checktransupdate.py, > def get_origin_path(file_path): > paths = file_path.split("/") > tidx = paths.index("translations") > opaths = paths[:tidx] > opaths += paths[tidx + 2 :] > return "/".join(opaths) cc +ziqiu Could you take a look at this function? > > It use a different way instead of the ':Original:' line to find out the origin file. > That may cause file finding failed if we have a different dir map for translation. Yes, this is more reasonable. BTW, is this enforced in the Chinese or other language translation? > > Yes, we have no worry since all of them are same. But could we take the ':Original:' usage for a possible dir map changes? Yeah, at least we can take the current method as backup for original file location. > > Anyway, just a quick idea. > > Thanks > Alex >