[LyX/master] Handle the case of outdated chkconfig.ltx in user directory

Pavel Sanda sanda at lyx.org
Sun Apr 21 09:42:09 UTC 2024


On Sat, Apr 20, 2024 at 12:57:49PM +0000, Juergen Spitzmueller wrote:
> +				frontend::Alert::warning(_("Outdated configuration script detected!"),
> +					_("We have detected an outdated script 'chkconfig.ltx' in your user directory.\n"
> +					  "The script has been renamed to 'chkconfig.ltx.bak'.\n"
> +					  "If you did not copy the script there by purpose, you can safely delete it."));
> +			else {
> +				// renaming failed
> +				frontend::Alert::warning(_("Outdated configuration script detected!"),
> +					bformat(_("We have detected an outdated script 'chkconfig.ltx' in your user directory\n"
> +					  "(%1$s).\n"
> +					  "Please delete or update this file!"), from_utf8(chkconfig.absFileName())));

Not sure if it's woth the flurry of new commits, but:
1) "We" sounds somewhat unusual in our messages
2) "If you did not copy the script there" was somewhat confusing on first reading as it does not relate to the previous sentence, but the first one (->"If you did not copy the original script there")
3) maybe by purpose -> on purpose ?

Pavel


More information about the lyx-devel mailing list