On Thu, Dec 20, 2007 at 09:32:38AM +0100, Magnus Hagander wrote: > (errmsg("could not open file \"%s\": %s violation", fileName, > (GetLastError() == > ERROR_SHARING_VIOLATION)?_("sharing"):_("lock")), > > Is _("") the proper way to get a translatable string in like that, or is > there a better way?
Hmm, from a translation point of view wouldn't it be better to have the word "violation" inside each of the _(), since not all languages might allow such substitions (gender problems). Have a nice day, -- Martijn van Oosterhout <[EMAIL PROTECTED]> http://svana.org/kleptog/ > Those who make peaceful revolution impossible will make violent revolution > inevitable. > -- John F Kennedy
signature.asc
Description: Digital signature