[pacman-dev] Updated Hungarian .po file for pacman and suggestions/bugs

Nagy Gabor ngaba at petra.hos.u-szeged.hu
Sun Mar 11 15:55:40 EDT 2007


Hi!
I attached the new hungarian locale file. I will update libalpm's hu.po
file soon...
When I tested, I noticed that install size doesn't work with -Si.
Some other notes (I translated into Hungarian in these ways):
1. '-s, --search' should be '-s, --search [regex]' both after -Qh and
-Sh
2. '-p, --file' should be '-p, --file <package>' after -Qh
3. I noticed that some option is not documented in manpage (such as
--dbpath)

Bye, Nagy Gabor

PS.: We talked about the fact that there is a confusing error message
in remove.c, so I applied these patches before compiling (because I
think they are bugs):
-------------------(to unify)----
diff -Naur pacman-lib.old/src/pacman/add.c pacman-lib/src/pacman/add.c
--- pacman-lib.old/src/pacman/add.c	2007-03-11
16:23:43.000000000 +0100 +++ pacman-lib/src/pacman/add.c
2007-03-11 16:22:31.000000000 +0100 @@ -80,7 +80,7 @@
 	for(i = targets; i; i = i->next) {
 		if(alpm_trans_addtarget(i->data) == -1) {
 			MSG(NL, "\n");
-			ERR(NL, _("failed to add target '%s' (%s)"),
(char *)i->data, alpm_strerror(pm_errno));
+			ERR(NL, _("failed to add target '%s' to the
transaction (%s)\n"), (char *)i->data, alpm_strerror(pm_errno)); retval
= 1; goto cleanup;
 		}
--------------------(confusing)---
diff -Naur pacman-lib.old/src/pacman/remove.c
pacman-lib/src/pacman/remove.c ---
pacman-lib.old/src/pacman/remove.c	2007-03-11 16:23:43.000000000
+0100 +++ pacman-lib/src/pacman/remove.c	2007-03-11
16:21:47.000000000 +0100 @@ -89,7 +89,7 @@ for(i = finaltargs; i; i =
alpm_list_next(i)) { char *targ = alpm_list_getdata(i);
 		if(alpm_trans_addtarget(targ) == -1) {
-			ERR(NL, _("failed to add target '%s' (%s)\n"),
targ, alpm_strerror(pm_errno));
+			ERR(NL, _("failed to add target '%s' to the
transaction (%s)\n"), targ, alpm_strerror(pm_errno)); retval = 1;
 			goto cleanup;
 		}
-----------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hu.po.gz
Type: application/x-gzip
Size: 9753 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20070311/d76797b7/attachment.bin>


More information about the pacman-dev mailing list