[pacman-dev] [PATCH] Make "[removal]" translatable

Allan McRae allan at archlinux.org
Tue Mar 12 00:48:53 EDT 2013


Fixes FS#34241

Signed-off-by: Allan McRae <allan at archlinux.org>
---
 src/pacman/util.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pacman/util.c b/src/pacman/util.c
index cce1a18..238e328 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -903,8 +903,8 @@ static void _display_targets(alpm_list_t *targets, int verbose)
 			pm_asprintf(&str, "%s-%s", alpm_pkg_get_name(target->remove),
 					alpm_pkg_get_version(target->remove));
 		} else {
-			pm_asprintf(&str, "%s-%s [removal]", alpm_pkg_get_name(target->remove),
-					alpm_pkg_get_version(target->remove));
+			pm_asprintf(&str, "%s-%s [%s]", alpm_pkg_get_name(target->remove),
+					alpm_pkg_get_version(target->remove), _("removal"));
 		}
 		names = alpm_list_add(names, str);
 	}
-- 
1.8.1.5



More information about the pacman-dev mailing list