← Back to team overview

kicad-developers team mailing list archive

Re: Consistency in messages

 

I typically use '%s' mainly because it's easier than escaping the double
quote but I'm not opposed to "%s".  <%s> should be avoided because some
text controls interpret the <> as html tags.  I thought we got ride of
most if not all of the <%s> occurrences but apparently not.

On 11/29/2017 3:26 PM, Simon Richter wrote:
> Hi,
> 
> we don't seem to have a consistent convention on quoting in messages
> shown to the user, and thus we have all three of
> 
>     '%s'
>     "%s"
>     <%s>
> 
> in format strings when referring to names (files, nets, netclasses, …).
> 
> For the untranslated strings, I'd prefer either double or single quotes,
> while translated messages should probably use the locale appropriate
> quoting format.
> 
> Which should it be?
> 
>    Simon
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


Follow ups

References