[pacman-dev] [patch] extra newlines in package install reason

Jürgen Hötzel juergen at hoetzel.info
Sun Jan 21 19:08:49 EST 2007


On Sun, Jan 21, 2007 at 05:51:51PM -0500, Dan McGee wrote:
> Newlines were included in both setting the string variable and in the
> printf, remove the extra ones.
> 
> Signed-off-by: Dan McGee <dpmcgee at gmail.com>
> 
> --- pacman-lib.orig/src/pacman/package.c    2007-01-21 17:42:14.000000000 -0500
> +++ pacman-lib/src/pacman/package.c 2007-01-21 17:40:50.000000000 -0500
> @@ -49,13 +49,13 @@ void dump_pkg_full(pmpkg_t *pkg, int lev
> 
>     switch((long)alpm_pkg_get_reason(pkg)) {
>         case PM_PKG_REASON_EXPLICIT:
> -           reason = _("Explicitly installed\n");
> +           reason = _("Explicitly installed");
>             break;
>         case PM_PKG_REASON_DEPEND:
> -           reason = _("Installed as a dependency for another package\n");
> +           reason = _("Installed as a dependency for another package");
>             break;
>         default:
> -           reason = _("Unknown\n");
> +           reason = _("Unknown");
>             break;
>     }

The po files needs to be updated too. Many msgids are already out of sync.

Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20070122/01ecb7e1/attachment.pgp>


More information about the pacman-dev mailing list