Re: Weblate’s links to sourcecode are often wrong

Rafael Fontenelle <[email protected]>
Newsgroups gmane.linux.redhat.internationalization
Message-ID <CAFPa+SmkMURcYQasu9Fs1x46HHP_WzmHF8nyEjikXSRS=AjHbA@mail.gmail.com>
Hi Mike and Jean-Baptiste,

Em seg., 13 de jan. de 2020 às 09:59, Jean-Baptiste Holcroft
<[email protected]> 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 -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.