Re: [Kicad-developers] strange, probably trivial, message formatting error

2021-11-29 Thread Marco Ciampa
On Mon, Nov 29, 2021 at 02:59:17PM -0800, Seth Hillbrand wrote:
> Hi Marco-
> 
> Tested this on Linux and Mac but cannot recreate the issue
> 
> [image: image.png]
> 
> Are you compiling yourself or using the PPA?
> 
> -Seth
> 

I took it from git master and compile it myself but, strangely enough I
can't reproduce it anymore. Perhaps some recent commit fixed it already?

Anyway THANKS again...

-- 

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


Re: [Kicad-developers] strange, probably trivial, message formatting error

2021-11-29 Thread jp charras


Le 29/11/2021 à 15:48, Ian McInerney a écrit :

I ask because it is working in the non-translated English dialog I have:
image.png

-Ian


On Mon, Nov 29, 2021 at 2:31 PM Marco Ciampa  wrote:

On Mon, Nov 29, 2021 at 12:58:15PM +, Ian McInerney wrote:
> Did you include the newlines in the translated text?

Obviusly, gettext has a specific test that does not pass if
parameters or
newlines are different in source and translation.

Check it by yourself...

#: common/dialogs/dialog_global_lib_table_config.cpp:42
#, c-format
msgid ""
"KiCad has been run for the first time using the new %s library
table for\n"
"accessing libraries.  In order for KiCad to access %s libraries,\n"
"you must configure your global %s library table.  Please select
from one\n"
"of the options below.  If you are not sure which option to
select, please\n"
"use the default selection."
msgstr ""
"KiCad è stato eseguito per la prima volta usando la nuova tabella
librerie "
"%s\n"
"per l'accesso alle librerie.  Per permettere a KiCad di accedere
alle "
"librerie %s,\n"
"è necessario configurare la tabella librerie %s globale.
Selezionare una "
"delle\n"
"opzioni sottostanti.  Se non si sa quale opzione scegliere, usare
la\n"
"selezione predefinita."

-- 


Saluton,
Marco Ciampa


For me it is working in non translated and translated languages (French, 
Italian)


--
Jean-Pierre CHARRAS
___
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] strange, probably trivial, message formatting error

2021-11-29 Thread Ian McInerney
Did you include the newlines in the translated text?

-Ian

On Mon, Nov 29, 2021 at 9:22 AM Marco Ciampa  wrote:

> Hi devs,
> the message here:
>
> #: common/dialogs/dialog_global_lib_table_config.cpp:42
> #, c-format
> msgid ""
> "KiCad has been run for the first time using the new %s library table
> for\n"
> "accessing libraries.  In order for KiCad to access %s libraries,\n"
> "you must configure your global %s library table.  Please select from
> one\n"
> "of the options below.  If you are not sure which option to select,
> please\n"
> "use the default selection."
>
>  seems to be rendered without new lines (see image attached). It is
> obviously very difficoult to read.
>
> --
>
> 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


[Kicad-developers] strange, probably trivial, message formatting error

2021-11-29 Thread Marco Ciampa
Hi devs,
the message here:

#: common/dialogs/dialog_global_lib_table_config.cpp:42
#, c-format
msgid ""
"KiCad has been run for the first time using the new %s library table for\n"
"accessing libraries.  In order for KiCad to access %s libraries,\n"
"you must configure your global %s library table.  Please select from one\n"
"of the options below.  If you are not sure which option to select, please\n"
"use the default selection."

 seems to be rendered without new lines (see image attached). It is
obviously very difficoult to read.

-- 

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