diff options
author | Judd Vinet <judd@archlinux.org> | 2006-05-15 02:19:57 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2006-05-15 02:19:57 +0000 |
commit | bb787e26ee01f961c76fbe4e568275a66e80009f (patch) | |
tree | 6b16de3f1d21f018ea1f2a0e53fc38562c4e89b1 /lib/libalpm/group.c | |
parent | 3d3a29a80849f2aaa0baff93c1ae4478276e2b54 (diff) | |
download | pacman-bb787e26ee01f961c76fbe4e568275a66e80009f.tar.xz |
first stage of i18n stuff from VMiklos
Diffstat (limited to 'lib/libalpm/group.c')
-rw-r--r-- | lib/libalpm/group.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/group.c b/lib/libalpm/group.c index af769575..4df56484 100644 --- a/lib/libalpm/group.c +++ b/lib/libalpm/group.c @@ -23,6 +23,7 @@ #include <stdlib.h> #include <stdio.h> #include <string.h> +#include <libintl.h> /* pacman */ #include "util.h" #include "error.h" @@ -36,7 +37,7 @@ pmgrp_t *_alpm_grp_new() grp = (pmgrp_t *)malloc(sizeof(pmgrp_t)); if(grp == NULL) { - _alpm_log(PM_LOG_ERROR, "malloc failure: could not allocate %d bytes", + _alpm_log(PM_LOG_ERROR, _("malloc failure: could not allocate %d bytes"), sizeof(pmgrp_t)); RET_ERR(PM_ERR_MEMORY, NULL); } |