kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #43613
Inconsistency within l10n strings
-
To:
KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
Carsten Schoenert <c.schoenert@xxxxxxxxxxx>
-
Date:
Sat, 4 Apr 2020 19:58:23 +0200
-
Autocrypt:
addr=c.schoenert@xxxxxxxxxxx; prefer-encrypt=mutual; keydata= mQINBFIDTk4BEACx6disb51q5rTdDmnkOayFDiLgOrZ4InnRmbTsgYJaigcRXjVtjFaxwL0M Qtzrt9srlLBReWD4JvoLP9/8z2C1ORaoOUatApssuKd32Qa80lBlduIQCfaZ6K5Ij0TXeqIb dWXMWSvpaOwt+ecBGSdEepgABtxO9Xel9zqDsAauFxBRHGzJs3bSG8QRtwnQA2+9J8UEtzAc dY69YAkF3Q6HIPP/0mbGiget/1WGR+8tPKlVMYcgZtGIP2J36GkDbfDvdbH5QLn2KtMuGXLv f1CTy+vvQL3mY4caKamCU7tLi8FSufNZpPChguNOHsbuO//ACrTFqGysVFvq25zEb60t9Hoq AXHIMlDJFnR7XBUCyAHV4NROMvGZlFbLuZpUA81Kukj72xifqk9ZFl9sxqKPgheqi+dT8peV LgvgCgMgQjvZgQ5X4AG2kiIezWtjlToCZAZ4ufQ26aofvwZqhBrogQF/+272B9CJuKBLIx+R CEhtW4gTKShY3moc8Aqh8AFH3pWkXILAxEGnvMu8oapAUiRNXNOb/nBlYXH1BEc+Boarm8vj LElQxdI4uNEQsLvZxsL4iYvrbZ5OLZnjkMJjvU7XVFjxAkDAHT8eYH9LWK/VeiK8fm+zsDZU qy2dN77RYlQbO9TkKlJs3CR2lpT7Dr/ObtIqEf4VFOplxTY9kwARAQABtCtDYXJzdGVuIFNj aG9lbmVydCA8Yy5zY2hvZW5lcnRAdC1vbmxpbmUuZGU+iQI3BBMBCAAhBQJSA05OAhsDBQsJ CAcDBRUKCQgLBRYCAwEAAh4BAheAAAoJEIMBYBQlHR2w8DoP/2RO8DOOA/P2Bf5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100101 Thunderbird/68.6.0
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?
--
Regards
Carsten Schoenert
Follow ups