[pacman-dev] [PATCH] Make "[removal]" translatable
Fixes FS#34241 Signed-off-by: Allan McRae <allan@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
On 12/03/13 14:48, Allan McRae wrote:
Fixes FS#34241
Signed-off-by: Allan McRae <allan@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); }
Am 12.03.2013 05:51, schrieb Allan McRae:
On 12/03/13 14:48, Allan McRae wrote:
Fixes FS#34241
Signed-off-by: Allan McRae <allan@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...
And while you are on it: One of the copyright notes in the pacman-scripts file has not been extended to 2013 (line 1194).
On 13/03/13 05:28, matthias@archlinux.de wrote:
Am 12.03.2013 05:51, schrieb Allan McRae:
On 12/03/13 14:48, Allan McRae wrote:
Fixes FS#34241
Signed-off-by: Allan McRae <allan@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...
And while you are on it: One of the copyright notes in the pacman-scripts file has not been extended to 2013 (line 1194).
Thanks - located and I will perform the fix in the translations. Allan
participants (2)
-
Allan McRae
-
matthias@archlinux.de