[pacman-dev] [PATCH] Clarify error message

Allan McRae allan at archlinux.org
Mon Nov 24 05:48:07 UTC 2014

The error message on failing to add an "assume installed" entry to the backend
was not clear.  Clarify by making "assume-installed" none translatable and
adding a hyphen to match calling flag.

Signed-off-by: Allan McRae <allan at archlinux.org>

Noted by translators.  I will push this after the 4.2 release.

 src/pacman/conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index 5028284..e8e7c03 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -754,7 +754,7 @@ static int setup_libalpm(void)
 		ret = alpm_option_add_assumeinstalled(handle, dep);
 		if(ret) {
-			pm_printf(ALPM_LOG_ERROR, _("Failed to pass assume installed entry to libalpm"));
+			pm_printf(ALPM_LOG_ERROR, _("Failed to pass %s entry to libalpm"), "assume-installed");
 			return ret;

More information about the pacman-dev mailing list