Re: translating g_warning|g_error



On Fri, Mar 18, 2011 at 12:45 PM, Matthew Barnes <mbarnes redhat com> wrote:
> On Fri, 2011-03-18 at 11:06 -0400, Colin Walters wrote:
>> * Should we be translating g_warning / g_error ?
>
> "g_log: no, GError: yes" is my rule of thumb.

Ok, fyi:

checkout/evolution [git master]
$ git grep 'g_\(\(warning\)\|\(error\)\) *(_'
addressbook/tools/evolution-addressbook-export-list-cards.c:
                 g_warning (_("Can not open
addressbook/tools/evolution-addressbook-export-list-cards.c:
                 g_warning (_("Can not open
addressbook/tools/evolution-addressbook-export-list-folders.c:
 g_warning (_("Couldn't get list of address
addressbook/tools/evolution-addressbook-export-list-folders.c:
         g_warning (_("Can not open file"))
addressbook/tools/evolution-addressbook-export-list-folders.c:
                 g_warning (_("failed to op
addressbook/tools/evolution-addressbook-export.c:
 g_warning (_("Command line arguments error
addressbook/tools/evolution-addressbook-export.c:
         g_warning (_("Only support csv or
addressbook/tools/evolution-addressbook-export.c:
         g_warning (_("In async mode, outpu
addressbook/tools/evolution-addressbook-export.c:
         g_warning (_("In normal mode, ther
addressbook/tools/evolution-addressbook-export.c:
g_warning (_("Unhandled error"));
calendar/gui/dialogs/recurrence-page.c:         g_warning (_("Could
not get a selection to modify."));
calendar/gui/dialogs/recurrence-page.c:         g_warning (_("Could
not get a selection to delete."));


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