Revision: 1024 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1024&view=re... Author: ntrel Date: 2009-10-23 16:47:15 +0000 (Fri, 23 Oct 2009)
Log Message: ----------- Remove trailing space from strings (patch by Frank & Dominic, thanks). Remove double space in some strings.
Modified Paths: -------------- trunk/geany-plugins/geanylua/examples/scripting/help.lua trunk/geany-plugins/geanylua/glspi.h trunk/geany-plugins/geanylua/glspi_app.c trunk/geany-plugins/geanylua/glspi_dlg.c trunk/geany-plugins/geanylua/glspi_sci.c trunk/geany-plugins/geanylua/gsdlg_lua.c
Modified: trunk/geany-plugins/geanylua/examples/scripting/help.lua =================================================================== --- trunk/geany-plugins/geanylua/examples/scripting/help.lua 2009-10-20 19:40:56 UTC (rev 1023) +++ trunk/geany-plugins/geanylua/examples/scripting/help.lua 2009-10-23 16:47:15 UTC (rev 1024) @@ -55,6 +55,6 @@ end else geany.message("Error launching help", - "Can't find help file in:\n "..OwnHelpDir.."\nor:\n "..SysHelpDir) + "Can't find help file in:\n "..OwnHelpDir.."\nor:\n"..SysHelpDir) end
Modified: trunk/geany-plugins/geanylua/glspi.h =================================================================== --- trunk/geany-plugins/geanylua/glspi.h 2009-10-20 19:40:56 UTC (rev 1023) +++ trunk/geany-plugins/geanylua/glspi.h 2009-10-23 16:47:15 UTC (rev 1024) @@ -124,7 +124,7 @@ { lua_pushfstring(L, _("Error in module "%s" at function %s():\n" " invalid table in argument #%d:\n" - " expected type "%s" for element #%d\n "), + " expected type "%s" for element #%d\n"), LUA_MODULE_NAME, func+6, argnum, type, idx); lua_error(L); return 0;
Modified: trunk/geany-plugins/geanylua/glspi_app.c =================================================================== --- trunk/geany-plugins/geanylua/glspi_app.c 2009-10-20 19:40:56 UTC (rev 1023) +++ trunk/geany-plugins/geanylua/glspi_app.c 2009-10-23 16:47:15 UTC (rev 1024) @@ -147,7 +147,7 @@ w=ui_lookup_widget(main_widgets->window, widname); if (!w) { lua_pushfstring(L, _("Error in module "%s" at function %s():\n" - "widget "%s" not found for argument #1.\n "), + "widget "%s" not found for argument #1.\n"), LUA_MODULE_NAME, &__FUNCTION__[6], widname); lua_error(L); return 0; @@ -156,7 +156,7 @@ sigid=g_signal_lookup(signame,typeid); if (!sigid) { lua_pushfstring(L, _("Error in module "%s" at function %s() argument #2:\n" - "widget "%s" has no signal named "%s".\n "), + "widget "%s" has no signal named "%s".\n"), LUA_MODULE_NAME, &__FUNCTION__[6], widname, signame); lua_error(L); return 0;
Modified: trunk/geany-plugins/geanylua/glspi_dlg.c =================================================================== --- trunk/geany-plugins/geanylua/glspi_dlg.c 2009-10-20 19:40:56 UTC (rev 1023) +++ trunk/geany-plugins/geanylua/glspi_dlg.c 2009-10-23 16:47:15 UTC (rev 1024) @@ -436,7 +436,7 @@ } if (!create_file_filter(L, GTK_FILE_CHOOSER(dlg), mask)) { lua_pushfstring(L, _("Error in module "%s" at function pickfile():\n" - "failed to parse filter string at argument #3.\n "), + "failed to parse filter string at argument #3.\n"), LUA_MODULE_NAME); lua_error(L); return NULL; @@ -486,7 +486,7 @@ } else if ( (*tmp != '\0') && (strcasecmp(tmp,"open")!=0) ) { lua_pushfstring(L, _("Error in module "%s" at function %s():\n" - "expected string "open" or "save" for argument #1.\n "), + "expected string "open" or "save" for argument #1.\n"), LUA_MODULE_NAME, &__FUNCTION__[6]); lua_error(L); return 0;
Modified: trunk/geany-plugins/geanylua/glspi_sci.c =================================================================== --- trunk/geany-plugins/geanylua/glspi_sci.c 2009-10-20 19:40:56 UTC (rev 1023) +++ trunk/geany-plugins/geanylua/glspi_sci.c 2009-10-23 16:47:15 UTC (rev 1024) @@ -792,7 +792,7 @@ } else { lua_pushfstring(L, _("Error in module "%s" at function %s():\n" " invalid table in argument #%d:\n" - " unknown flag "%s" for element #%d\n "), + " unknown flag "%s" for element #%d\n"), LUA_MODULE_NAME, &__FUNCTION__[6], 4, (strlen(flagname)>64)?_("<too large to display>"):flagname, i); lua_error(L);
Modified: trunk/geany-plugins/geanylua/gsdlg_lua.c =================================================================== --- trunk/geany-plugins/geanylua/gsdlg_lua.c 2009-10-20 19:40:56 UTC (rev 1023) +++ trunk/geany-plugins/geanylua/gsdlg_lua.c 2009-10-23 16:47:15 UTC (rev 1024) @@ -107,7 +107,7 @@ { lua_pushfstring(L, _("Error in module "%s" at function %s():\n" " invalid table in argument #%d:\n" - " expected type "%s" for element #%d\n "), + " expected type "%s" for element #%d\n"), LUA_MODULE_NAME, func+5, argnum, type, idx); lua_error(L); return 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.