Re: [LyX/master] prefs/needauth: added warning if user tries to disable authorization for needauth converters.

2017-08-11 Thread Pavel Sanda
Guillaume MM wrote:
> Le 04/08/2017 ?? 18:51, Tommaso Cucinotta a écrit :
>> As per the HTML, if this is the standard for LyX then let's go for it.
>>
> I don't think it is standard, but needauth messages are unusually long and 
> require attention, and this is for them that that LyX dialogs were adapted 
> to accept HTML formatting. I am not sure if I should wait the update of the 
> string.

Avoiding HTML would be better to avoid from the translation machinery 
perspective.
It will likely create some ugly strings full of tags into our .po files.

Pavel


Re: [LyX/master] prefs/needauth: added warning if user tries to disable authorization for needauth converters.

2017-08-09 Thread Guillaume MM

Le 04/08/2017 à 18:51, Tommaso Cucinotta a écrit :

As per the HTML, if this is the standard for LyX then let's go for it.

I don't think it is standard, but needauth messages are unusually long 
and require attention, and this is for them that that LyX dialogs were 
adapted to accept HTML formatting. I am not sure if I should wait the 
update of the string.




Re: [LyX/master] prefs/needauth: added warning if user tries to disable authorization for needauth converters.

2017-08-04 Thread Tommaso Cucinotta

As per the HTML, if this is the standard for LyX then let's go for it.

As per the rephrase, I'm ok with removing the "unless you know...", feel free 
to commit.

Thanks,

T.

On 31/07/2017 23:10, Christian Ridderström wrote:

On 27 July 2017 at 00:06, Tommaso Cucinotta mailto:tomm...@lyx.org>> wrote:

commit 8a4fcd3d95ca4aeed1c46152cecadf29ed21e774
+   _("SECURITY WARNING!"), _("Unchecking this option has the effect 
that potentially harmful converters would be run without asking your permission first. This is 
UNSAFE and NOT recommended, unless you know what you are doing. Are you sure you would like to 
proceed ? The recommended and safe answer is NO!"),


The warning as per the patch:

Unchecking this option has the effect that potentially harmful converters would 
be run without asking your permission first. This is UNSAFE and NOT 
recommended, unless you know what you are doing. Are you sure you would like to 
proceed ? The recommended and safe answer is NO!

There's an extra space before the question mark (?). However, I would suggest removing 
"unless you know what you are doing" from the message to make it stronger, i.e.


Unchecking this option has the effect that potentially harmful converters would 
be run without asking your permission first. This is UNSAFE and NOT 
recommended. Are you sure you would like to proceed? The recommended and safe 
answer is NO!


And actually, I wouldn't mind making the warning even stronger:


Unchecking this option is UNSAFE and NOT RECOMMENDED. With this option unchecked LyX 
will NOT EVEN ASK you for permission before executing converters that might be 
potentially harmful to your computer system. Please read  
for more information.
Are you sure you would like to proceed? The recommended and safe answer is NO!


The above would of course mean that we also need to add a section to the user 
guide or something.
Hmm... could we suggest asking the users' list for advice?

/Christian





Re: [LyX/master] prefs/needauth: added warning if user tries to disable authorization for needauth converters.

2017-07-31 Thread Christian Ridderström
On 27 July 2017 at 00:06, Tommaso Cucinotta  wrote:

> commit 8a4fcd3d95ca4aeed1c46152cecadf29ed21e774
> +   _("SECURITY WARNING!"), _("Unchecking this option has the
> effect that potentially harmful converters would be run without asking your
> permission first. This is UNSAFE and NOT recommended, unless you know what
> you are doing. Are you sure you would like to proceed ? The recommended and
> safe answer is NO!"),
>

The warning as per the patch:

Unchecking this option has the effect that potentially harmful converters
would be run without asking your permission first. This is UNSAFE and NOT
recommended, unless you know what you are doing. Are you sure you would
like to proceed ? The recommended and safe answer is NO!

There's an extra space before the question mark (?). However, I would
suggest removing "unless you know what you are doing" from the message to
make it stronger, i.e.


Unchecking this option has the effect that potentially harmful converters
would be run without asking your permission first. This is UNSAFE and NOT
recommended. Are you sure you would like to proceed? The recommended and
safe answer is NO!


And actually, I wouldn't mind making the warning even stronger:


Unchecking this option is UNSAFE and NOT RECOMMENDED. With this option
unchecked LyX will NOT EVEN ASK you for permission before executing
converters that might be potentially harmful to your computer system.
Please read  for more information.
Are you sure you would like to proceed? The recommended and safe answer is
NO!


The above would of course mean that we also need to add a section to the
user guide or something.
Hmm... could we suggest asking the users' list for advice?

/Christian


Re: [LyX/master] prefs/needauth: added warning if user tries to disable authorization for needauth converters.

2017-07-31 Thread Guillaume MM

Le 27/07/2017 à 00:06, Tommaso Cucinotta a écrit :

commit 8a4fcd3d95ca4aeed1c46152cecadf29ed21e774
Author: Tommaso Cucinotta 
Date:   Thu Jul 27 00:01:51 2017 +0200

 prefs/needauth: added warning if user tries to disable authorization for 
needauth converters.
---
+   _("SECURITY WARNING!"), _("Unchecking this option has the effect 
that potentially harmful converters would be run without asking your permission first. This is 
UNSAFE and NOT recommended, unless you know what you are doing. Are you sure you would like to 
proceed ? The recommended and safe answer is NO!"),


Thanks. HTML maybe?