On Sat, Jan 25, 2020 at 12:51 PM Matej Marusak <mmarusak(a)redhat.com> wrote:
On Sat, Jan 25, 2020 at 9:26 AM Jean-Baptiste <jean-baptiste(a)holcroft.fr>
wrote:
> I think so yes. Otherwise, it would be a bug.
>
> I never used linked repository for multiple git branches.
>
> The only usage for linked component is to make weblate faster.
> It means weblate will have one single git repository on disk instead of
> many.
>
I thought that the main advantage of linked components is that, if you
translate some string in one component and the same string is in the other
component as well, it would get translated in both.
As we have branches, it means they now share all the string, and in the
time they diverge. And it would be pointless work for translators to
translate the exact same strings in two components.
So I did some experimenting, and I thought someone else might be interested
as well, so here is how it works:
I kept the original setting, as 'linked' was not what I really needed.
I changed some strings in `cockpit/master`. When I went to
`cockpit/rhel-8-2` these strings were updated there automatically as well.
And when I synced both `cockpit/master` and `cockpit/rhel-8-2` into our
github, both branches in github were updated with separate commits [1][2].
So sync between components works as expected even when components are not
linked.
MM
[1]
https://github.com/cockpit-project/cockpit-weblate/commit/6115a08
[2]
https://github.com/cockpit-project/cockpit-weblate/commit/767eefe
>
> For you it has no impact.
> _______________________________________________
> trans mailing list -- trans(a)lists.fedoraproject.org
> To unsubscribe send an email to trans-leave(a)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
>
--
Matej Marušák
Software Engineer
Red Hat
<
https://www.redhat.com>
<
https://red.ht/sig>
--
Matej Marušák
Software Engineer
Red Hat
<
https://www.redhat.com>
<
https://red.ht/sig>