Re: [Kicad-developers] Inconsistency within l10n strings

2020-04-04 Thread Jeff Young
Single quotes are much easier to read in the code (because they don’t require 
escaping).

But, yeah, it would be nice to standardise on a single approach.

Cheers,
Jeff.


> On 4 Apr 2020, at 19:10, Carsten Schoenert  wrote:
> 
> Hello Marco
> 
> Am 04.04.20 um 20:05 schrieb Marco Ciampa:
>> I do not know but perhaps rules are different in different countries?
> 
> that's for sure.
> 
>> For example single ' quote mark is never used in Italian so I always
>> convert them into a double " quote.
> 
> I mostly do so too, but every time the original string is changed I need
> to review this again. But the English source itself should be consistent
> on this to lower down the work on currently 5.722! strings. :-)
> 
> -- 
> Regards
> Carsten Schoenert
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Altium board importer

2020-04-04 Thread Tomasz Wlostowski
On 04/04/2020 18:18, Wayne Stambaugh wrote:
> For those of you who haven't heard, the Altium board importer[1] was
> merged into the master branch.

Fantastic work Thomas, looking forward to import our Altium projects
using your plugin!

Tom

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Altium board importer

2020-04-04 Thread Adam Wolf
Holy moly! Nice work!

On Sat, Apr 4, 2020 at 11:58 AM Marco Ciampa  wrote:
>
> On Sat, Apr 04, 2020 at 12:18:40PM -0400, Wayne Stambaugh wrote:
> > For those of you who haven't heard, the Altium board importer[1] was
> > merged into the master branch.  It should be available in nightly builds
> > now or in the very near future.  If you have Altium boards, please test
> > the new importer.  Pcbnew must be run in stand alone mode to import
> > Altium boards at the moment.  At some point in the future, support for
> > importing Altium schematics and eventually Altium project import will be
> > implemented.
> >
> > Many thanks to Thomas Pointhuber for all of his hard work in coding this
> > great new feature.
> >
> > Cheers,
> >
> > Wayne
> >
> >
> > [1]: https://gitlab.com/kicad/code/kicad/-/merge_requests/60
> >
>
> Yay! Congrats!
>
> --
>
> Saluton,
> Marco Ciampa
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Inconsistency within l10n strings

2020-04-04 Thread Carsten Schoenert
Hello Marco

Am 04.04.20 um 20:05 schrieb Marco Ciampa:
> I do not know but perhaps rules are different in different countries?

that's for sure.

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

I mostly do so too, but every time the original string is changed I need
to review this again. But the English source itself should be consistent
on this to lower down the work on currently 5.722! strings. :-)

-- 
Regards
Carsten Schoenert

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Inconsistency within l10n strings

2020-04-04 Thread Marco Ciampa
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

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Inconsistency within l10n strings

2020-04-04 Thread Carsten Schoenert
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

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Altium board importer

2020-04-04 Thread Marco Ciampa
On Sat, Apr 04, 2020 at 12:18:40PM -0400, Wayne Stambaugh wrote:
> For those of you who haven't heard, the Altium board importer[1] was
> merged into the master branch.  It should be available in nightly builds
> now or in the very near future.  If you have Altium boards, please test
> the new importer.  Pcbnew must be run in stand alone mode to import
> Altium boards at the moment.  At some point in the future, support for
> importing Altium schematics and eventually Altium project import will be
> implemented.
> 
> Many thanks to Thomas Pointhuber for all of his hard work in coding this
> great new feature.
> 
> Cheers,
> 
> Wayne
> 
> 
> [1]: https://gitlab.com/kicad/code/kicad/-/merge_requests/60
> 

Yay! Congrats!

-- 

Saluton,
Marco Ciampa

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Altium board importer

2020-04-04 Thread Wayne Stambaugh
For those of you who haven't heard, the Altium board importer[1] was
merged into the master branch.  It should be available in nightly builds
now or in the very near future.  If you have Altium boards, please test
the new importer.  Pcbnew must be run in stand alone mode to import
Altium boards at the moment.  At some point in the future, support for
importing Altium schematics and eventually Altium project import will be
implemented.

Many thanks to Thomas Pointhuber for all of his hard work in coding this
great new feature.

Cheers,

Wayne


[1]: https://gitlab.com/kicad/code/kicad/-/merge_requests/60

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp