Revision: 4530
http://geany.svn.sourceforge.net/geany/?rev=4530&view=rev
Author: eht16
Date: 2010-01-17 21:55:46 +0000 (Sun, 17 Jan 2010)
Log Message:
-----------
Remove debug code
Modified Paths:
--------------
trunk/configure.ac
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2010-01-17 18:37:34 UTC (rev 4529)
+++ trunk/configure.ac 2010-01-17 21:55:46 UTC (rev 4530)
@@ -243,7 +243,6 @@
if test -n "${LINGUAS}"
then
ALL_LINGUAS="${LINGUAS}"
- echo "special"
else
if test -z "$conf_dir" ; then
conf_dir="."
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4529
http://geany.svn.sourceforge.net/geany/?rev=4529&view=rev
Author: eht16
Date: 2010-01-17 18:37:34 +0000 (Sun, 17 Jan 2010)
Log Message:
-----------
Remove po/LINGUAS from the repository.
Generate it automatically if needed by reading available message catalogs from the po directory.
Also respect the LINGUAS environment variable properly.
Modified Paths:
--------------
trunk/ChangeLog
trunk/README.I18N
trunk/configure.ac
trunk/wscript
Removed Paths:
-------------
trunk/po/LINGUAS
Property Changed:
----------------
trunk/
Property changes on: trunk
___________________________________________________________________
Modified: svn:ignore
- Makefile
Makefile.in
aclocal.m4
config.h
config.h.in
config.log
config.status
configure
libtool
stamp-h
stamp-h1
stamp-h.in
global.tags.old
autom4te.cache
config.guess
config.sub
depcomp
install-sh
ltmain.sh
missing
mkinstalldirs
codenames
geany.glade.bak
geany.gladep.bak
TODO.*
RUN
make_deb.sh
build-stamp
geany.1
geany.spec
geany.desktop
*.tar.*
debian
intltool
intltool-*
geany.pc
_build_
.lock-wscript
.waf-*
+ Makefile
Makefile.in
aclocal.m4
config.h
config.h.in
config.log
config.status
configure
libtool
stamp-h
stamp-h1
stamp-h.in
global.tags.old
autom4te.cache
config.guess
config.sub
depcomp
install-sh
ltmain.sh
missing
mkinstalldirs
codenames
geany.glade.bak
geany.gladep.bak
TODO.*
RUN
make_deb.sh
build-stamp
geany.1
geany.spec
geany.desktop
*.tar.*
debian
intltool
intltool-*
geany.pc
_build_
.lock-wscript
.waf-*
po/LINGUAS
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-01-17 15:28:19 UTC (rev 4528)
+++ trunk/ChangeLog 2010-01-17 18:37:34 UTC (rev 4529)
@@ -8,6 +8,11 @@
src/plugindata.h:
Add new signal: "geany-startup-complete" which is sent once all
initialization and startup tasks has been done.
+ * README.I18N, configure.ac, wscript, po/LINGUAS:
+ Remove po/LINGUAS from the repository.
+ Generate it automatically if needed by reading available
+ message catalogs from the po directory.
+ Also respect the LINGUAS environment variable properly.
2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
Modified: trunk/README.I18N
===================================================================
--- trunk/README.I18N 2010-01-17 15:28:19 UTC (rev 4528)
+++ trunk/README.I18N 2010-01-17 18:37:34 UTC (rev 4529)
@@ -20,8 +20,8 @@
interface. I can suggest PoEdit (http://www.poedit.net/), but
there are several other GUIs.
-Make sure you add your language to the file po/LINGUAS.
-Just open the file with a text editor and add your code.
+You don't need to modify the file po/LINGUAS, it is regenerated
+automatically on the next build.
When you have finished editing the file, check the file with:
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2010-01-17 15:28:19 UTC (rev 4528)
+++ trunk/configure.ac 2010-01-17 18:37:34 UTC (rev 4529)
@@ -240,7 +240,16 @@
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
-ALL_LINGUAS="`sed -e '/^#/d' $srcdir/po/LINGUAS`" # take all languages found in file po/LINGUAS
+if test -n "${LINGUAS}"
+then
+ ALL_LINGUAS="${LINGUAS}"
+ echo "special"
+else
+ if test -z "$conf_dir" ; then
+ conf_dir="."
+ fi
+ ALL_LINGUAS=`cd "$conf_dir/po" 2>/dev/null && ls *.po 2>/dev/null | $AWK 'BEGIN { FS="."; ORS=" " } { print $1 }'`
+fi
AM_GLIB_GNU_GETTEXT
# workaround for intltool bug (http://bugzilla.gnome.org/show_bug.cgi?id=490845)
Deleted: trunk/po/LINGUAS
===================================================================
--- trunk/po/LINGUAS 2010-01-17 15:28:19 UTC (rev 4528)
+++ trunk/po/LINGUAS 2010-01-17 18:37:34 UTC (rev 4529)
@@ -1,2 +0,0 @@
-# set of available languages (in alphabetic order)
-be bg ca cs de el en_GB es fi fr gl hu it ja ko lb nl pl pt pt_BR ro ru sl sv tr uk vi zh_CN zh_TW
Modified: trunk/wscript
===================================================================
--- trunk/wscript 2010-01-17 15:28:19 UTC (rev 4528)
+++ trunk/wscript 2010-01-17 18:37:34 UTC (rev 4529)
@@ -51,6 +51,7 @@
import shutil
import tempfile
from distutils import version
+from TaskGen import taskgen, feature
APPNAME = 'geany'
@@ -195,6 +196,8 @@
# we don't require intltool on Windows (it would require Perl) though it works well
try:
conf.check_tool('intltool')
+ if 'LINGUAS' in os.environ:
+ conf.env['LINGUAS'] = os.environ['LINGUAS']
except:
pass
@@ -513,6 +516,23 @@
bld.install_files('${DATADIR}/icons/hicolor/scalable/apps', 'icons/scalable/*.svg')
+@taskgen
+@feature('intltool_po')
+def write_linguas_file(self):
+ linguas = ''
+ if 'LINGUAS' in Build.bld.env:
+ linguas = Build.bld.env['LINGUAS']
+ else:
+ files = os.listdir('%s/po' % self.path.abspath())
+ files.sort()
+ for f in files:
+ if f.endswith('.po'):
+ linguas += '%s ' % f[:-3]
+ f = open("po/LINGUAS", "w")
+ f.write('# This file is autogenerated. Do not edit.\n%s\n' % linguas)
+ f.close()
+
+
def shutdown():
is_win32 = False if not Build.bld else target_is_win32(Build.bld.env)
# the following code was taken from midori's WAF script, thanks
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4528
http://geany.svn.sourceforge.net/geany/?rev=4528&view=rev
Author: eht16
Date: 2010-01-17 15:28:19 +0000 (Sun, 17 Jan 2010)
Log Message:
-----------
Remove test code
Modified Paths:
--------------
trunk/scripts/plugin_test.c
Modified: trunk/scripts/plugin_test.c
===================================================================
--- trunk/scripts/plugin_test.c 2010-01-17 15:17:30 UTC (rev 4527)
+++ trunk/scripts/plugin_test.c 2010-01-17 15:28:19 UTC (rev 4528)
@@ -33,7 +33,6 @@
*/
#include <stdio.h>
-//~ #include <gtk/gtk.h>
#include <glib.h>
#include <gmodule.h>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4527
http://geany.svn.sourceforge.net/geany/?rev=4527&view=rev
Author: eht16
Date: 2010-01-17 15:17:30 +0000 (Sun, 17 Jan 2010)
Log Message:
-----------
Add new signal: "geany-startup-complete" which is sent once all initialization and startup tasks has been done.
Modified Paths:
--------------
trunk/ChangeLog
trunk/doc/plugins.dox
trunk/src/geanyobject.c
trunk/src/geanyobject.h
trunk/src/main.c
trunk/src/plugindata.h
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-01-17 14:52:28 UTC (rev 4526)
+++ trunk/ChangeLog 2010-01-17 15:17:30 UTC (rev 4527)
@@ -4,6 +4,10 @@
Add a little test program which can load and test Geany plugins to
verify it is loadable at runtime and all necessary symbols are
defined.
+ * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
+ src/plugindata.h:
+ Add new signal: "geany-startup-complete" which is sent once all
+ initialization and startup tasks has been done.
2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
Modified: trunk/doc/plugins.dox
===================================================================
--- trunk/doc/plugins.dox 2010-01-17 14:52:28 UTC (rev 4526)
+++ trunk/doc/plugins.dox 2010-01-17 15:17:30 UTC (rev 4527)
@@ -225,6 +225,19 @@
* @param user_data user data.
* @endsignaldef
*
+ * @signaldef geany-startup-complete
+ * @signalproto
+ * void user_function(GObject *obj, gpointer user_data);
+ * @endsignalproto
+ * @signaldesc
+ * Sent once Geany has finished all initialization and startup tasks and the GUI has been
+ * realized. This signal is the very last step in the startup process and is sent once
+ * the GTK main event loop has been entered.
+ *
+ * @param obj a GeanyObject instance, should be ignored.
+ * @param user_data user data.
+ * @endsignaldef
+ *
* @signaldef update-editor-menu
* @signalproto
* void user_function(GObject *obj, const gchar *word, gint pos, GeanyDocument *doc,
Modified: trunk/src/geanyobject.c
===================================================================
--- trunk/src/geanyobject.c 2010-01-17 14:52:28 UTC (rev 4526)
+++ trunk/src/geanyobject.c 2010-01-17 15:17:30 UTC (rev 4527)
@@ -286,6 +286,16 @@
G_TYPE_BOOLEAN, 2,
G_TYPE_POINTER, G_TYPE_POINTER);
+ /* General signals */
+ geany_object_signals[GCB_GEANY_STARTUP_COMPLETE] = g_signal_new (
+ "geany-startup-complete",
+ G_OBJECT_CLASS_TYPE (g_object_class),
+ G_SIGNAL_RUN_FIRST,
+ G_STRUCT_OFFSET (GeanyObjectClass, geany_startup_complete),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
/* Core-only signals */
geany_object_signals[GCB_SAVE_SETTINGS] = g_signal_new (
"save-settings",
Modified: trunk/src/geanyobject.h
===================================================================
--- trunk/src/geanyobject.h 2010-01-17 14:52:28 UTC (rev 4526)
+++ trunk/src/geanyobject.h 2010-01-17 15:17:30 UTC (rev 4527)
@@ -44,6 +44,7 @@
GCB_PROJECT_CLOSE,
GCB_UPDATE_EDITOR_MENU,
GCB_EDITOR_NOTIFY,
+ GCB_GEANY_STARTUP_COMPLETE,
GCB_SAVE_SETTINGS,
GCB_LOAD_SETTINGS,
GCB_MAX
@@ -88,6 +89,7 @@
void (*project_close)(void);
void (*update_editor_menu)(const gchar *word, gint click_pos, GeanyDocument *doc);
gboolean (*editor_notify)(GeanyEditor *editor, gpointer scnt);
+ void (*geany_startup_complete)(void);
void (*save_settings)(GKeyFile *keyfile);
void (*load_settings)(GKeyFile *keyfile);
};
Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c 2010-01-17 14:52:28 UTC (rev 4526)
+++ trunk/src/main.c 2010-01-17 15:17:30 UTC (rev 4527)
@@ -392,6 +392,9 @@
* This is because the main window is realized (i.e. actually drawn on the screen) at the
* end of the startup process.
*
+ * @note Maybe you want to use the @ref geany-startup-complete signal to get notified about
+ * the completed startup process.
+ *
* @return @c TRUE if the Geany main window has been realized or @c FALSE otherwise.
*
* @since 0.19
@@ -888,6 +891,13 @@
}
+static gboolean send_startup_complete(gpointer data)
+{
+ g_signal_emit_by_name(geany_object, "geany-startup-complete");
+ return FALSE;
+}
+
+
gint main(gint argc, gchar **argv)
{
GeanyDocument *doc;
@@ -1079,6 +1089,10 @@
}
#endif
+ /* when we are really done with setting everything up and the main event loop is running,
+ * tell other components, mainly plugins, that startup is complete */
+ g_idle_add_full(G_PRIORITY_LOW, send_startup_complete, NULL, NULL);
+
gtk_main();
return 0;
}
Modified: trunk/src/plugindata.h
===================================================================
--- trunk/src/plugindata.h 2010-01-17 14:52:28 UTC (rev 4526)
+++ trunk/src/plugindata.h 2010-01-17 15:17:30 UTC (rev 4527)
@@ -50,7 +50,7 @@
enum {
/** The Application Programming Interface (API) version, incremented
* whenever any plugin data types are modified or appended to. */
- GEANY_API_VERSION = 169,
+ GEANY_API_VERSION = 170,
/** The Application Binary Interface (ABI) version, incremented whenever
* existing fields in the plugin data types have to be changed or reordered. */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4526
http://geany.svn.sourceforge.net/geany/?rev=4526&view=rev
Author: eht16
Date: 2010-01-17 14:52:28 +0000 (Sun, 17 Jan 2010)
Log Message:
-----------
Add a little test program which can load and test Geany plugins to verify it is loadable at runtime and all necessary symbols are defined.
Modified Paths:
--------------
trunk/ChangeLog
Added Paths:
-----------
trunk/scripts/plugin_test.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-01-17 12:08:30 UTC (rev 4525)
+++ trunk/ChangeLog 2010-01-17 14:52:28 UTC (rev 4526)
@@ -1,3 +1,11 @@
+2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * scripts/plugin_test.c:
+ Add a little test program which can load and test Geany plugins to
+ verify it is loadable at runtime and all necessary symbols are
+ defined.
+
+
2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/editor.c:
Added: trunk/scripts/plugin_test.c
===================================================================
--- trunk/scripts/plugin_test.c (rev 0)
+++ trunk/scripts/plugin_test.c 2010-01-17 14:52:28 UTC (rev 4526)
@@ -0,0 +1,125 @@
+/*
+ * plugin_test.c
+ *
+ * Copyright 2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ * Copyright 2010 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+
+
+/* This code tries to load the passed Geany plugin
+ * (passed as path, e.g. pluginname.so) and looks up some symbols.
+ * Example use case for this tool is to test whether a plugin is
+ * loadable and defines all required symbols.
+ *
+ * This file is not built during the normal build process, instead
+ * compile it on your with the following command in the root of the Geany source tree:
+ *
+ * cc -o plugin_test scripts/plugin_test.c `pkg-config --cflags --libs glib-2.0 gmodule-2.0`
+ */
+
+#include <stdio.h>
+//~ #include <gtk/gtk.h>
+#include <glib.h>
+#include <gmodule.h>
+
+
+static gboolean tp_check_version(GModule *module)
+{
+ /* TODO implement me */
+ return TRUE;
+}
+
+
+static void tp_close_module(GModule *module)
+{
+ if (! g_module_close(module))
+ g_warning("%s: %s", g_module_name(module), g_module_error());
+}
+
+
+/* Emulate loading a plugin and looking up some symbols,
+ * similar to what Geany would do on loading the plugin.
+ */
+static gboolean test_plugin(const gchar *filename)
+{
+ GModule *module;
+ void (*plugin_set_info)(void*);
+ void (*init) (void *data);
+ void (*cleanup) (void);
+
+ g_return_val_if_fail(filename, FALSE);
+ g_return_val_if_fail(g_module_supported(), FALSE);
+
+ module = g_module_open(filename, G_MODULE_BIND_LOCAL);
+ if (! module)
+ {
+ g_warning("Can't load plugin: %s", g_module_error());
+ return FALSE;
+ }
+
+ if (! tp_check_version(module))
+ {
+ tp_close_module(module);
+ return FALSE;
+ }
+
+ g_module_symbol(module, "plugin_set_info", (void *) &plugin_set_info);
+ if (plugin_set_info == NULL)
+ {
+ g_warning("No plugin_set_info() defined for \"%s\" - consider fixing the plugin!", filename);
+ tp_close_module(module);
+ return FALSE;
+ }
+
+ g_module_symbol(module, "plugin_init", (void *) &init);
+ if (init == NULL)
+ {
+ g_warning("Plugin '%s' has no plugin_init() function - consider fixing the plugin!", filename);
+ tp_close_module(module);
+ return FALSE;
+ }
+
+ g_module_symbol(module, "plugin_cleanup", (void *) &cleanup);
+ if (cleanup == NULL)
+ {
+ g_warning("Plugin '%s' has no plugin_cleanup() function - there may be memory leaks!", filename);
+ }
+
+ tp_close_module(module);
+
+ return TRUE;
+}
+
+
+gint main(gint argc, gchar **argv)
+{
+ gint i;
+ gint result = 0;
+
+ g_set_prgname("plugin_test");
+ /* we could perform better argument processing here as well as more error checking but
+ * it's probably not worth at all */
+ for (i = 1; i < argc; i++)
+ {
+ if (! test_plugin(argv[i]))
+ result = 1;
+ }
+
+ return result;
+}
+
Property changes on: trunk/scripts/plugin_test.c
___________________________________________________________________
Added: svn:mime-type
+ text/x-csrc
Added: svn:keywords
+ Author Date Id Revision
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4524
http://geany.svn.sourceforge.net/geany/?rev=4524&view=rev
Author: frlan
Date: 2010-01-16 19:39:23 +0000 (Sat, 16 Jan 2010)
Log Message:
-----------
Remove automatic environment closing functions for LaTeX. Will be done by geanyLaTeX plugin in future
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/editor.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-01-14 09:46:54 UTC (rev 4523)
+++ trunk/ChangeLog 2010-01-16 19:39:23 UTC (rev 4524)
@@ -1,3 +1,10 @@
+2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+
+ * src/editor.c:
+ Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
+ plugin.
+
+
2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c, src/templates.c, src/templates.h:
Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c 2010-01-14 09:46:54 UTC (rev 4523)
+++ trunk/src/editor.c 2010-01-16 19:39:23 UTC (rev 4524)
@@ -101,7 +101,6 @@
static void auto_table(GeanyEditor *editor, gint pos);
static void close_block(GeanyEditor *editor, gint pos);
static void editor_highlight_braces(GeanyEditor *editor, gint cur_pos);
-static void editor_auto_latex(GeanyEditor *editor, gint pos);
static void read_current_word(GeanyEditor *editor, gint pos, gchar *word, size_t wordlen,
const gchar *wc, gboolean stem);
@@ -1039,11 +1038,6 @@
auto_multiline(editor, line);
}
- if (editor_prefs.complete_snippets)
- {
- editor_auto_latex(editor, pos);
- }
-
if (editor_prefs.newline_strip)
{ /* strip the trailing spaces on the previous line */
editor_strip_line_trailing_spaces(editor, line - 1);
@@ -1980,110 +1974,6 @@
return ret;
}
-
-static void editor_auto_latex(GeanyEditor *editor, gint pos)
-{
- ScintillaObject *sci;
-
- g_return_if_fail(editor != NULL);
-
- if (editor->document->file_type->id != GEANY_FILETYPES_LATEX)
- return;
-
- sci = editor->sci;
-
- if (sci_get_char_at(sci, pos - 1 - editor_get_eol_char_len(editor)) == '}')
- {
- gchar *eol, *buf, *construct;
- gchar env[50];
- gint line = sci_get_line_from_position(sci, pos - 2);
- gint line_len = sci_get_line_length(sci, line);
- gint i, start;
-
- /* get the line */
- buf = sci_get_line(sci, line);
-
- /* get to the first non-blank char (some kind of ltrim()) */
- start = 0;
- while (isspace(buf[start]) && buf[start] != '\0')
- start++;
-
- /* check for begin */
- if (strncmp(buf + start, "\\begin", 6) == 0)
- {
- gchar full_cmd[15];
- guint j = 0;
-
- /* take also "\begingroup" (or whatever there can be) and
- * append "\endgroup" and so on. */
- i = start + 6;
- while (i < line_len && buf[i] != '{' && j < (sizeof(full_cmd) - 1))
- { /* copy all between "\begin" and "{" to full_cmd */
- full_cmd[j] = buf[i];
- i++;
- j++;
- }
- full_cmd[j] = '\0';
-
- /* go through the line and get the environment */
- for (i = start + j; i < line_len; i++)
- {
- if (buf[i] == '{')
- {
- j = 0;
- i++;
- while (buf[i] != '}' && j < (sizeof(env) - 1))
- { /* this could be done in a shorter way, but so it remains readable ;-) */
- env[j] = buf[i];
- j++;
- i++;
- }
- env[j] = '\0';
- break;
- }
- }
-
- /* Search whether the environment is closed within the next
- * lines. We assume, no \end is needed in such cases */
- /* TODO using sci_find_text() should be way faster than getting
- * the line buffer and performing string comparisons */
- for (i = 1; i < 5; i++)
- {
- gchar *tmp;
- gchar *end_construct;
- tmp = sci_get_line(sci, line + i);
- /* Again get to the first non-blank char */
- start = 0;
- while (isspace(buf[start]) && buf[start] != '\0')
- start++;
- end_construct = g_strdup_printf("\\end%s{%s}", full_cmd, env);
- if (strstr(tmp, end_construct) != NULL)
- {
- utils_free_pointers(3, tmp, buf, end_construct, NULL);
- return;
- }
- g_free(tmp);
- }
-
- /* get the indentation */
- if (editor->auto_indent)
- read_indent(editor, pos);
- eol = g_strconcat(editor_get_eol_char(editor), indent, NULL);
-
- construct = g_strdup_printf("%s\\end%s{%s}", eol, full_cmd, env);
-
- sci_insert_text(sci, pos, construct);
- sci_goto_pos(sci, pos, TRUE);
- g_free(construct);
- g_free(eol);
- }
- /* later there could be some else ifs for other keywords */
-
- g_free(buf);
- }
-}
-
-
static gchar *snippets_find_completion_by_name(const gchar *type, const gchar *name)
{
gchar *result = NULL;
@@ -2171,8 +2061,8 @@
/** Insert text, replacing \\t tab chars with the correct indent width, and \\n newline
* chars with the correct line ending string.
* @param editor The editor to operate on.
- * @param insert_pos Position, where to start with inserting text block.
* @param text Intended as e.g. "if (1)\n\tdo_something();"
+ * @param insert_pos Position, where to start with inserting text block.
* @param cursor_index If >= 0, the index into @a text to place the cursor.
* @param newline_indent_size Indentation size (in spaces) to insert for each newline; use
* -1 to read the indent size from the line with @a insert_pos on it.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4523
http://geany.svn.sourceforge.net/geany/?rev=4523&view=rev
Author: frlan
Date: 2010-01-14 09:46:54 +0000 (Thu, 14 Jan 2010)
Log Message:
-----------
Fix a spelling mistake on French translation.
Modified Paths:
--------------
trunk/po/ChangeLog
trunk/po/fr.po
Modified: trunk/po/ChangeLog
===================================================================
--- trunk/po/ChangeLog 2010-01-12 21:10:46 UTC (rev 4522)
+++ trunk/po/ChangeLog 2010-01-14 09:46:54 UTC (rev 4523)
@@ -1,3 +1,9 @@
+2010-01-14 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+
+ * fr.po: Fix a spelling mistake on French translation. Thanks to
+ Olivier Cuenot for reporting
+
+
2010-01-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* ru.po: Correction of some minor typos. Reported by Michael Borisov. Thanks.
Modified: trunk/po/fr.po
===================================================================
--- trunk/po/fr.po 2010-01-12 21:10:46 UTC (rev 4522)
+++ trunk/po/fr.po 2010-01-14 09:46:54 UTC (rev 4523)
@@ -1069,7 +1069,7 @@
#: ../src/interface.c:475 ../src/interface.c:1956
msgid "T_oggle Case of Selection"
-msgstr "M_odifier la casse de la séléction"
+msgstr "M_odifier la casse de la sélection"
#: ../src/interface.c:484 ../src/interface.c:1965
msgid "_Comment Line(s)"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.