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

Allan McRae allan at archlinux.org
Tue Mar 12 00:51:01 EDT 2013


On 12/03/13 14:48, Allan McRae wrote:
> Fixes FS#34241
> 
> Signed-off-by: Allan McRae <allan at archlinux.org>
> ---

I will break the "string freeze" for this one when I do a merge of
translations this weekend.   If it does not get translated by release
time, it makes no difference than the current state...

>  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);
>  	}
> 



More information about the pacman-dev mailing list