gnumed-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-bugs] <bug>: This exception seems to happen when trying


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] <bug>: This exception seems to happen when trying
Date: Thu, 7 Jul 2011 14:30:14 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Jul 06, 2011 at 09:03:27PM -0300, Rogerio Luz wrote:

> > On Tue, Jul 05, 2011 at 10:45:38PM +0200, Karsten Hilbert wrote:
> >
> > > > user comment  : This exception seems to happen when trying to save a
> > episode under a Problem that still has a open episode ... but this is an
> > exception ?
> >
> > > So, my questions:
> > >
> > > a) Can you reproduce this with any patient or any combination
> > >    of health issue with open episode plus another open episode
> > >    being moved into it ?
> >
> > How about this ?
> >
> > Karsten
> >
> 
> Yes I can get Kirk's back pain into the active 9/2000 extraterresterial
> infection, when I activate any of the other episodes it throws the
> exception.

I have solved the impossible problem :-)

The string where this problem occurs is this:

        question = _(
                'You want to associate the running episode:\n\n'
                ' "%(new_epi_name)s" (%(new_epi_start)s - %(new_epi_end)s)\n\n'
                'with the health issue:\n\n'
                ' "%(issue_name)s"\n\n'
                'There already is another episode running\n'
                'for this health issue:\n\n'
                ' "%(old_epi_name)s" (%(old_epi_start)s - %(old_epi_end)s)\n\n'
                'However, there can only be one running\n'
                'episode per health issue.\n\n'
                'Which episode do you want to close ?'
        )

and the translation to pt_BR is this:

        msgstr ""
        "Quer associar o novo episódio: \n"
        "\n"
        "\"%(new_epi_name)s\" (%(new_epi_start)s - %(new_epi_end)s)\n"
        "\n"
        "com o problema de saúde>\n"
        "\n"
        "\"%(issue name)s\"\n"
        "\n"
        "Já exise um outro episódio aberto para esse problema de saúde:\n"
        "\n"
        " \"%(old_epi_name)s\" (%(old_epi_start)s - %(old_epi_end)s)\n"
        "\n"
        "No entanto, só pode haver um episódio aberto\n"
        " para cada problema de saúde\n"
        "\n"
        "Qual desses episódios quer fechar ?"

See the problem ?

The translation contains

        "\"%(issue name)s\"\n"

where it should contain

        "\"%(issue_name)s\"\n"

Fixed.

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]