Clarify "assume installed" error message

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@archlinux.org>
This commit is contained in:
Allan McRae 2014-11-24 15:45:27 +10:00
parent 2759858e8c
commit 4c4890dd1c
1 changed files with 1 additions and 1 deletions

View File

@ -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");
alpm_dep_free(dep);
return ret;
}