[Github-comments] [geany/geany-plugins] Rename GeanyLipsum to just Lipsum (#472)

Colomban Wendling notifications at xxxxx
Wed Aug 10 20:13:11 UTC 2016


>  	config_file = g_strconcat(geany->app->configdir,
>  		G_DIR_SEPARATOR_S, "plugins", G_DIR_SEPARATOR_S,
>  		"geanylipsum", G_DIR_SEPARATOR_S, "lipsum.conf", NULL);
>  
> +	#ifndef G_OS_WIN32
> +	/* We try only to move if we are on not Windows platform */
> +	config_dir_old = g_build_filename(geany->app->configdir,
> +		"plugins", "geanylipsum", NULL);
> +	config_file_old = g_build_filename(config_dir_old,
> +		"lipsum.conf", NULL);
> +	config_dir = g_build_filename(geany->app->configdir,
> +		"plugins", "lipsum", NULL);
> +	if (g_file_test(config_file_old, G_FILE_TEST_EXISTS))
> +	{
> +		if (dialogs_show_question(
> +			_("Renamed plugin detected!\n"
> +			  "\n"
> +			  "GeanyLipsum has been renamed to Lipsum -- as you will "
> +			  "already recognised it. \n"

> "As you may have already noticed, GeanyLipsum has been renamed to just Lipsum."

even better

Not sure the additional sentence is needed as suggesting to move the configuration seems clear enough to me, but why not.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/472/files/7f33eb6f5962ad92cbc1e95c45ded0347d85a60e#r74320826
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160810/29e574cd/attachment.html>


More information about the Github-comments mailing list