Monday, January 13, 2020

Re: Weblate’s links to sourcecode are often wrong

Hi Mike and Jean-Baptiste,

Em seg., 13 de jan. de 2020 às 09:59, Jean-Baptiste Holcroft
<jean-baptiste@holcroft.fr> escreveu:
>
> Le 2020-01-13 13:51, Mike FABIAN a écrit :
> > https://github.com/OpenPrinting/system-config-printer/blob/master/ppdippstr.py#L121
> >
> > ("master" added between "blob" and "ppdippstr.py")
>
> I don't know the reason of this, the component looks correctly
> configured:
> https://github.com/OpenPrinting/system-config-printer/blob/{{branch}}/{{filename}}#L{{line}}
>
> The help says: "Link to repository browser, use {{branch}} for branch,
> {{filename}} and {{line}} as filename and line placeholders."
> The repository branch is "master", which should works...
>
> I'll forward it to Weblate's support

My bet is that "../" in the source string location of the POT file
(e.g. "../ppdippstr.py:121") is making it move one "folder" up and,
therefore. removing "master".

Rafael Fontenelle
_______________________________________________
trans mailing list -- trans@lists.fedoraproject.org
To unsubscribe send an email to trans-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/trans@lists.fedoraproject.org

No comments:

Post a Comment