← Back to team overview

kicad-developers team mailing list archive

Re: Inconsistency within l10n strings

 

On Sat, Apr 04, 2020 at 07:58:23PM +0200, Carsten Schoenert wrote:
> Hi,
> 
> I'm not sure if there are any written rules for creating l10n strings
> within the source code. But one thing that I see quite often is changing
> the escape sequence for variables like %s or %d.
> 
> So for example the string
> 
> Could not load footprint "%s" from library "%s".
> 
> is now changed to
> 
> Could not load footprint '%s' from library '%s'.
> 
> A few months back it was changed to the now again changed style. This
> forward and backward makes translation work a bit tedious.
> 
> Both variants seen above are common in current generated .po files, but
> most of the variables are inside double quotes.
> 
> Wouldn't it make sense to write up all these strings based on the same
> rules?

I do not know but perhaps rules are different in different countries?

For example single ' quote mark is never used in Italian so I always
convert them into a double " quote.

If not then yes you are right. And I suggest to use always double "
quote chars.

--

Saluton,
Marco Ciampa


Follow ups

References