[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fw: indent: [rfe] better support for gettext macros
From: |
Hamish |
Subject: |
Fw: indent: [rfe] better support for gettext macros |
Date: |
Sun, 22 Jun 2008 04:50:26 -0700 (PDT) |
Debian Bug #487517 [wishlist]
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487517
----
> Package: indent
> Version: 2.2.9-7
> Severity: wishlist
> Tags: l10n
>
> Hi,
>
> At the GRASS GIS project (grass.osgeo.org) we are preparing
> to re-indent our c. 1M SLOC codebase. Trials have shown that
> indent sometimes does not do well with the _("") gettext macros
> used for i18n of messages.
> For example,
>
> indent 2.2.9 produces:
> G_fatal_error
> (_
> ("Can't get projection info of current location
>
> better would be to break lines like:
> G_fatal_error(
> _("Can't get projection info ....
>
>
>
> CLI rules used:
> $ indent -bad -bap -bbb -br -bli0 -bls -cli0 -ncs -fc1 -hnl -i4 \
> -nbbo -nbc -nbfda -nbfde -ncdb -ncdw -nce -nfca -npcs -nprs \
> -npsl -nsc -nsob -saf -sai -saw -sbi0 -ss -ts8 -ut main.c
>
> Example code which upon indent'ing shows the behaviour:
> http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.sun/main.c
>
> refs:
> http://thread.gmane.org/gmane.comp.gis.grass.devel/26820/focus=27382
> http://trac.osgeo.org/grass/browser/grass/trunk/SUBMITTING#L229
>
>
> thanks,
> Hamish
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fw: indent: [rfe] better support for gettext macros,
Hamish <=