Message ID | cover.1605196995.git.simon@simonsouth.net |
---|---|
Headers | show |
Hi, I believe this patch inadvertently broke localization for transmission- gtk – or at least I'm recently seeing the English version despite the localization files being present and my locale not being set to English . There is probably a bindtextdomain call somewhere, that is not accurately patched and hence refers to "out" instead of "gui". Regards, Leo
Leo Prikler <leo.prikler@student.tugraz.at> writes: > I believe this patch inadvertently broke localization for transmission- > gtk – or at least I'm recently seeing the English version despite the > localization files being present and my locale not being set to > English. Thanks for pointing this out, Leo. I'll look into it.
Leo Prikler <leo.prikler@student.tugraz.at> writes: > I believe this patch inadvertently broke localization for transmission- > gtk – or at least I'm recently seeing the English version despite the > localization files being present and my locale not being set to English I think I have this fixed now; I'll reply to this email with a patch that corrects this by - Patching Transmission to honour the "localedir" option to its configure script, and - Using this option to specify the "gui" output as the location for the (GTK-specific) localization data. With the patch applied I can now run transmission-gtk en français, which really did not work before. Leo, thanks for mentioning "bindtextdomain" as that was indeed the source of the problem. If you have a few moments, could you test the patch please to make sure it fixes the problem you're seeing?
Am Freitag, den 27.11.2020, 16:30 -0500 schrieb Simon South: > With the patch applied I can now run transmission-gtk en français, > which > really did not work before. > > Leo, thanks for mentioning "bindtextdomain" as that was indeed the > source of the problem. If you have a few moments, could you test the > patch please to make sure it fixes the problem you're seeing? LGTM, it now displays perfektes Alman as before :)
On Fri, Nov 27, 2020 at 11:35:24PM +0100, Leo Prikler wrote: > Am Freitag, den 27.11.2020, 16:30 -0500 schrieb Simon South: > > With the patch applied I can now run transmission-gtk en français, > > which > > really did not work before. > > > > Leo, thanks for mentioning "bindtextdomain" as that was indeed the > > source of the problem. If you have a few moments, could you test the > > patch please to make sure it fixes the problem you're seeing? > LGTM, it now displays perfektes Alman as before :) Great! Pushed as 1d63445168d0102adf08637ed3be4609a044c9e6 Simon, do you think the patch should be sent upstream? Is the fix generically useful? Or is it really a weird corner case from Guix?
On Sat, Nov 28, 2020 at 01:03:49PM -0500, Simon South wrote: > This occurred to me but it turns out a recent commit rips out the > Autotools-based build system altogether, so the change no longer has any > context upstream. This also means we may need to devise a new solution > for the next version of Transmission when it releases. Good to know... looks like they are going to use CMake.