← Back to team overview

kicad-developers team mailing list archive

Re: quotes around part numbers

 

On Wed, Apr 10, 2013 at 09:25:15AM -0500, Dick Hollenbeck wrote:
> Lorenzo,
> 
> In the course of updating some translatable strings, I see you removed
> some quotes around some of the non-filename values where I had
> inserted them.
> 
> This pertains to at least these files: specctra*.cpp, *_plugin.cpp
> 
> These non-filename fields can sometimes be blank, especially during an
> error scenario where unpredictable things happen, and the purpose of
> the quotes is to make the blank-ness visibleby showing a placehold or
> "" or '' in such a case.

OK, didn't think about the fault case; I used the following 'rules'
which were the most used:

<%s> for filenames
"%s" for strings
no quotes for references, values or footprints



-- 
Lorenzo Marcantonio
Logos Srl


Follow ups

References