[pacman-dev] [PATCH] pacman: correct inconsistent spelling of Packages

Morgan Adamiec morganamilo at archlinux.org
Mon Jul 26 19:46:38 UTC 2021



On 26/07/2021 20:34, Torsten Schmitz wrote:
> When using VerbosePkgLists the header spells
> Package instead of Packages as it does normally.
> 
> Signed-off-by: Torsten Schmitz <noreply.torsten at gmail.com>
> ---
>  src/pacman/util.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/pacman/util.c b/src/pacman/util.c
> index 5486e7a5..36ae0bf0 100644
> --- a/src/pacman/util.c
> +++ b/src/pacman/util.c
> @@ -824,7 +824,7 @@ static alpm_list_t *create_verbose_header(size_t count)
>  	alpm_list_t *ret = NULL;
>  
>  	char *header;
> -	pm_asprintf(&header, "%s (%zu)", _("Package"), count);
> +	pm_asprintf(&header, "%s (%zu)", _("Packages"), count);
>  
>  	add_table_cell(&ret, header, CELL_TITLE | CELL_FREE);
>  	add_table_cell(&ret, _("Old Version"), CELL_TITLE);
> 

Table headings are generally singular as one row contains one package.


More information about the pacman-dev mailing list