On Wed, Oct 09, 2013 at 04:25:46PM +0200, Benno Schulenberg wrote: > whereas I would like to see it gettextized like this: > > _("--foo this is an option") > _("-bar this is the other one") Hello Benno, I realised I dropped the ball here and didn't split up the help text for you. It was only when someone said "where's the translations"[1] that I noticed something was missing. The latest commit[2] has them sliced up now. Let me know if that's good enough for translating. If so, we can start to load in the translations. > >> "-L without -F makes no sense\n" > >> "Try `%s --help' for more information." > A define is a nice way of making sure that the text is always the > same, but the essential part is that the two lines get a separate > call of gettext() each. I couldn't split these as they are used in a function call. It's something like printf("text %s", program_name) where you can call printf once only. - Craig [1] //www.freelists.org/post/procps/Translations,12 [2] https://gitorious.org/procps/procps/commit/8a38cd5eb449c47450e31aa093635e8cfaaf2f73 -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5