[pacman-dev] [PATCH 0/2] separate ini parsing from pacman/conf.c

2013-03-15 Thread Sascha Kruse
This set of patches separate the ini parsing from pacman/conf.c into its own file to make the code reusable for future additions, like parsing config files for hooks. The config file gets parsed into a list of ini_section_t which contains the name of the section and a list of directives which in

[pacman-dev] [PATCH 1/2] Introduce ini.{c,h}

2013-03-15 Thread Sascha Kruse
This makes the ini parsing code reusable for future additions like parsing config files for hooks. Signed-off-by: Sascha Kruse knop...@googlemail.com --- src/pacman/Makefile.am | 1 + src/pacman/ini.c | 266 + src/pacman/ini.h | 46

[pacman-dev] [PATCH 2/2] use new ini parsing in pacman/conf.c

2013-03-15 Thread Sascha Kruse
Signed-off-by: Sascha Kruse knop...@googlemail.com --- src/pacman/conf.c | 343 ++ 1 file changed, 111 insertions(+), 232 deletions(-) diff --git a/src/pacman/conf.c b/src/pacman/conf.c index 3f1b1c3..06a4612 100644 --- a/src/pacman/conf.c +++

[pacman-dev] HELP! - plurals in translation files

2013-03-15 Thread Allan McRae
It looks like make update-po is not adding the plural translations to the po files. e.g. Looking at the removed strings that are stored at the bottom of theses files I see: src/pacman/po/en_GB.po: #~ msgid %s: %jd total file, #~ msgid_plural %s: %jd total files, #~ msgstr[0] %s: %jd total

Re: [pacman-dev] HELP! - plurals in translation files

2013-03-15 Thread Allan McRae
On 15/03/13 21:27, Allan McRae wrote: It looks like make update-po is not adding the plural translations to the po files. e.g. Looking at the removed strings that are stored at the bottom of theses files I see: src/pacman/po/en_GB.po: #~ msgid %s: %jd total file, #~ msgid_plural %s:

[pacman-dev] [PATCH] Update POTFILES.in for libalpm and pacman

2013-03-15 Thread Allan McRae
Be complete with files listed. Comment out files where code is used or heavily based on other projects so will never have translatable strings. Signed-off-by: Allan McRae al...@archlinux.org --- BAH! The change of importance here is the addition of src/pacman/check.c which has a few strings in

Re: [pacman-dev] [PATCH] Update POTFILES.in for libalpm and pacman

2013-03-15 Thread Dan McGee
On Fri, Mar 15, 2013 at 7:36 AM, Allan McRae al...@archlinux.org wrote: Be complete with files listed. Comment out files where code is used or heavily based on other projects so will never have translatable strings. Signed-off-by: Allan McRae al...@archlinux.org --- Looks good to me. BAH!

[pacman-dev] [translation] Wtf does pacman say?

2013-03-15 Thread Matthias Gorissen
We are almost done with the .de version, but there are at least two show-stoppers - I simply cannot figure out what it means. %s optionally requires %s\n I assume that we are talking about packages, but even if I should be wrong, I do not really see how something optional can be required. And in

Re: [pacman-dev] [translation] Wtf does pacman say?

2013-03-15 Thread William Giokas
On Fri, Mar 15, 2013 at 04:28:09PM +0100, Matthias Gorissen wrote: We are almost done with the .de version, but there are at least two show-stoppers - I simply cannot figure out what it means. %s optionally requires %s\n I assume that we are talking about packages, but even if I should be

Re: [pacman-dev] [translation] Wtf does pacman say?

2013-03-15 Thread Matthias Gorissen
Am 15.03.2013 16:42, schrieb William Giokas: On Fri, Mar 15, 2013 at 04:28:09PM +0100, Matthias Gorissen wrote: We are almost done with the .de version, but there are at least two show-stoppers - I simply cannot figure out what it means. %s optionally requires %s\n I assume that we are

Re: [pacman-dev] [PATCH v3] Treat packages to be printed as non-ignored

2013-03-15 Thread Andrew Gregory
On 03/14/13 at 06:32pm, Connor Behan wrote: On 14/03/13 03:25 PM, Andrew Gregory wrote: On 03/14/13 at 12:40pm, Connor Behan wrote: I could modify the patch so that it limits ignorepkg to packages beside --ignore rather than clearing it. I could also check the command line arguments so

Re: [pacman-dev] [PATCH 1/2] Introduce ini.{c,h}

2013-03-15 Thread Chirantan Ekbote
On Fri, Mar 15, 2013 at 7:06 AM, Sascha Kruse knop...@googlemail.comwrote: This makes the ini parsing code reusable for future additions like parsing config files for hooks. Signed-off-by: Sascha Kruse knop...@googlemail.com --- src/pacman/Makefile.am | 1 + src/pacman/ini.c | 266

Re: [pacman-dev] [PATCH v3] Treat packages to be printed as non-ignored

2013-03-15 Thread Connor Behan
On 15/03/13 04:49 PM, Andrew Gregory wrote: On 03/14/13 at 06:32pm, Connor Behan wrote: On 14/03/13 03:25 PM, Andrew Gregory wrote: On 03/14/13 at 12:40pm, Connor Behan wrote: I could modify the patch so that it limits ignorepkg to packages beside --ignore rather than clearing it. I could