[pacman-dev] Updated Hungarian .po file for pacman and suggestions/bugs
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; } -----------------------------------
On 3/11/07, Nagy Gabor <ngaba@petra.hos.u-szeged.hu> wrote:
Hi! I attached the new hungarian locale file. I will update libalpm's hu.po file soon...
Hey, Thanks for the updates. Another locale issue though- what did you encode this file in? It doesn't appear to be ISO-8859-2 anymore, it almost looks like UTF-8. Can you double check this and email it back to me? The preferred method would be to save it in UTF-8, and change the line in the file to indicate that it is UTF-8 (the "Content Type:" line). -Dan
On 3/11/07, Nagy Gabor <ngaba@petra.hos.u-szeged.hu> wrote:
Hi! I attached the new hungarian locale file. I will update libalpm's hu.po file soon...
Hey,
Thanks for the updates. Another locale issue though- what did you encode this file in? It doesn't appear to be ISO-8859-2 anymore, it almost looks like UTF-8. Can you double check this and email it back to me? The po file's encoding is iso8859-2.
On 3/11/07, Nagy Gabor <ngaba@petra.hos.u-szeged.hu> wrote:
When I tested, I noticed that install size doesn't work with -Si.
This is because this information is not always available in sync repositories. Those that are created with the pacman3 utilities (makepkg and repo-add) will have these sizes available.
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
We are in a string freeze, so I want to wait to fix these.
3. I noticed that some option is not documented in manpage (such as --dbpath)
--cachedir and --dbpath are now documented, I'll get them checked in sometime later today. -Dan
participants (2)
-
Dan McGee
-
Nagy Gabor