summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2008-01-20 14:11:25 +0100
committerDan McGee <dan@archlinux.org>2008-01-20 21:30:33 +0100
commitbba62655fe06989e89576e66a97607da88aa9916 (patch)
tree512a7a0d6090e4dfbbcea4e8c78d21693cca7cda
parent73ee64d49f8703e2b732ae03771a63ef56208601 (diff)
downloadpacman-bba62655fe06989e89576e66a97607da88aa9916.tar.gz
pacman-bba62655fe06989e89576e66a97607da88aa9916.tar.xz
two string fixes.
* added a newline to a conflict message in add.c * removed the trailing dot in a replace message in callback.c. Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
-rw-r--r--src/pacman/add.c2
-rw-r--r--src/pacman/callback.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/add.c b/src/pacman/add.c
index 80366de1..975d26be 100644
--- a/src/pacman/add.c
+++ b/src/pacman/add.c
@@ -146,7 +146,7 @@ int pacman_add(alpm_list_t *targets)
case PM_ERR_CONFLICTING_DEPS:
for(i = data; i; i = alpm_list_next(i)) {
pmconflict_t *conflict = alpm_list_getdata(i);
- printf(_(":: %s: conflicts with %s"),
+ printf(_(":: %s: conflicts with %s\n"),
alpm_conflict_get_package1(conflict), alpm_conflict_get_package2(conflict));
}
break;
diff --git a/src/pacman/callback.c b/src/pacman/callback.c
index 9742d7f0..268a8a7f 100644
--- a/src/pacman/callback.c
+++ b/src/pacman/callback.c
@@ -285,7 +285,7 @@ void cb_trans_conv(pmtransconv_t event, void *data1, void *data2,
alpm_pkg_get_name(data2));
*response = yesno(str);
} else {
- printf(_("Replacing %s with %s/%s\n."),
+ printf(_("Replacing %s with %s/%s\n"),
alpm_pkg_get_name(data1),
(char *)data3,
alpm_pkg_get_name(data2));