diff options
author | Dan McGee <dan@archlinux.org> | 2008-02-17 00:44:21 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-02-17 00:44:21 +0100 |
commit | 273950473ea4fed67c0af0a4905bd3d3cbac15b3 (patch) | |
tree | 2dee1b3e66dbc5e7f6c8062e65b1227f15f546df | |
parent | be95e4d8a008662eb0e19a3186953511551acec1 (diff) | |
download | pacman-273950473ea4fed67c0af0a4905bd3d3cbac15b3.tar.gz pacman-273950473ea4fed67c0af0a4905bd3d3cbac15b3.tar.xz |
Add gettext call to 2 'failed' messages
Noticed-by: Vojtěch Gondžala <vogo@seznam.cz>
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | src/pacman/add.c | 2 | ||||
-rw-r--r-- | src/pacman/remove.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/add.c b/src/pacman/add.c index debe5c47..9d646e11 100644 --- a/src/pacman/add.c +++ b/src/pacman/add.c @@ -115,7 +115,7 @@ int pacman_add(alpm_list_t *targets) for(i = targets; i; i = alpm_list_next(i)) { char *targ = alpm_list_getdata(i); if(alpm_trans_addtarget(targ) == -1) { - printf("failed.\n"); + printf(_("failed.\n")); fprintf(stderr, _("error: '%s': %s\n"), targ, alpm_strerrorlast()); add_cleanup(); diff --git a/src/pacman/remove.c b/src/pacman/remove.c index 0722057f..4c5b5c09 100644 --- a/src/pacman/remove.c +++ b/src/pacman/remove.c @@ -107,7 +107,7 @@ int pacman_remove(alpm_list_t *targets) for(i = finaltargs; i; i = alpm_list_next(i)) { char *targ = alpm_list_getdata(i); if(alpm_trans_addtarget(targ) == -1) { - printf("failed.\n"); + printf(_("failed.\n")); fprintf(stderr, _("error: '%s': %s\n"), targ, alpm_strerrorlast()); remove_cleanup(); |