Norwegian Bokmaal update

Neil Williams linux at codehelp.co.uk
Tue Dec 6 11:57:15 EST 2005


On Tuesday 06 December 2005 3:50 pm, you wrote:
> Unless they are delineating paragraphs, there really shouldn't be any
> new line markers in the code.  All of the gtk2 text widgets know how to
> wrap text based on the size of the widget, and how to adjust that
> wrapping if the widget is resized.  We shouldn't be hard coding any line
> breaks.

OK. Looks like src/gnome-utils/gnc-file.c show_session_error needs to be 
updated in that case.

    case ERR_BACKEND_NO_BACKEND:
      fmt = _("The URL \n    %s\n"
              "is not supported by this version of GnuCash.");
      gnc_error_dialog (parent, fmt, newfile);

That's repeated in all the error cases. It's one of the things I modified for 
cashutil (as well as replacing "gnucash" with the more flexible PACKAGE 
macro.

       case ERR_BACKEND_NO_BACKEND: {
                fmt = _("%s: The URL '%s' is not supported by this "
                "version of %s.\n");
                fprintf(stderr, fmt, PACKAGE, newfile, PACKAGE);

The terminal \n is part of those CLI adaptations. If \n is to be removed from 
gnc-file.c error messages, I could remove some more duplicate code.

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-patches/attachments/20051206/6589ab4e/attachment.bin


More information about the gnucash-patches mailing list