[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: Possible bug in Kolourpaint
From: Albert Astals Cid <aacid () kde ! org>
Date: 2018-07-29 11:30:13
Message-ID: 2681966.dyWkp92fyn () xps
[Download RAW message or body]
El dilluns, 4 de juny de 2018, a les 0:21:51 CEST, Albert Astals Cid va escriure:
> El divendres, 1 de juny de 2018, a les 23:00:24 CEST, Karl Ove Hufthammer va
> escriure:
> > Karl Ove Hufthammer skreiv 01. juni 2018 22:46:
> > > So that's at least a list of ‘non-causes' of this bug. So I would
> > > guess the problem might be related to the keyboard shortcut system for
> > > pt_BR?
> >
> > I don't know if this is of any help, but it turns out that setting the
> > LANGUAGE environment variable to (e.g.) "nn" but the LC_ALL variable to
> > pt_BR triggers the bug too. I get the UI in Norwegian Nynorsk (which
> > didn't trigger the bug) but the keyboard shortcut is now displayed with
> > a trailing %.
> >
> > A bug in Qt? But it's not a bug in the pt_BR *translation* of Qt
> > (because Qt doesn't *have* a pt_BR translation). And it's rather strange
> > that the rather similar ‘pt' language does *not* trigger the bug.
>
> Nah, if it's a bug it's a bug in gettext, i've added debug to ki18n and we ask
> for translation of
> "<Tool Name> (<Single Accel Key>)" "%1 (%2)"
> and get
> "%1 (%2%)"
> back, when clearly that's not what the .mo has.
>
> I'll try to allocate some more time for this tomorrow (or someone else can
> beat me to it and i'll be happy :))
Found the bug, the extra % was actually on the pt translation.
https://websvn.kde.org/branches/stable/l10n-kf5/pt/messages/kdegraphics/kolourpaint.po?r1=1521196&r2=1521195&pathrev=1521196
It seems to be a problem with how ki18n and gettext handle translations that makes \
multiple language support hard/impossible, I'll write a longer email about it this \
afternoon.
Cheers,
Albert
>
> Cheers,
> Albert
>
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic