[Libguestfs] [PATCH] builder: output translated notes

2014-01-30 Thread Pino Toscano
Output all the translations available for the notes in the verbose output and the JSON output, while trying to match the system langauge in the show notes output. The JSON output is slightly changed to handle translations, with the untranslated notes being matched as C. The version is not bumped

Re: [Libguestfs] [PATCH] builder: output translated notes

2014-01-30 Thread Pino Toscano
On Thursday 30 January 2014 15:52:05 Richard W.M. Jones wrote: On Thu, Jan 30, 2014 at 02:44:12PM +0100, Pino Toscano wrote: + let l = ref [] in 'xs' is a bit more natural for lists of things than 'l'. + if Str.string_match regex loc 0 then ( +let match_or_empty n = + try