Am Freitag, 26. April 2013 um 17:39:10, schrieb Kornel Benko <kor...@lyx.org>
> Am Freitag, 26. April 2013 um 16:43:15, schrieb Richard Heck <rgh...@lyx.org>
> > The branch, master, has been updated.
> > 
> > - Log -----------------------------------------------------------------
> > 
> > commit 78652c98c8af2290492d969570a084ad58ec0c02
> > Author: Richard Heck <rgh...@lyx.org>
> > Date:   Fri Apr 26 10:42:45 2013 -0400
> > 
> >     Remove assertion accidentally added during the audit.
> > 
> > diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
> > index 2a4d4e7..e5a469f 100644
> > --- a/src/Paragraph.cpp
> > +++ b/src/Paragraph.cpp
> > @@ -1850,9 +1850,8 @@ FontSpan Paragraph::fontSpan(pos_type pos) const
> >     }
> >  
> >     // This should not happen, but if so, we take no chances.
> > -   LBUFERR(false, _("Invalid position."));
> > -   // Squash warning
> > -   return FontSpan();
> > +   LYXERR0("Paragraph::getEndPosOfFontSpan: This should not happen!");
> > +   return FontSpan(pos, pos);
> >  }
> >  
> >  
> 
> Richard, BTW, should these messages really be translatable?
> The all refer to source code, this is at least very difficult to translate.
> 

Moreover, there are now also *empty* strings to be translated. But empty string 
is
reserved for the header info in the po-file.

Please remove the '_' in all asserts.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to