Revision: 45
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=45&view=rev
Author: frlan
Date: 2008-05-20 12:21:37 -0700 (Tue, 20 May 2008)
Log Message:
-----------
Update of some strings
Modified Paths:
--------------
trunk/geanysendmail/src/geanysendmail.c
Modified: trunk/geanysendmail/src/geanysendmail.c
===================================================================
--- trunk/geanysendmail/src/geanysendmail.c 2008-05-20 19:09:52 UTC (rev 44)
+++ trunk/geanysendmail/src/geanysendmail.c 2008-05-20 19:21:37 UTC (rev 45)
@@ -135,7 +135,7 @@
}
else
{
- p_ui->set_statusbar(FALSE, _("Please define a mailing tool first."));
+ p_ui->set_statusbar(FALSE, _("Please define a mail client first."));
}
}
else
@@ -210,7 +210,7 @@
gtk_box_set_spacing(GTK_BOX(vbox), 10);
// add a label and a text entry to the dialog
- label1 = gtk_label_new(_("Path and options for the mail programm:"));
+ label1 = gtk_label_new(_("Path and options for the mail client:"));
gtk_widget_show(label1);
gtk_misc_set_alignment(GTK_MISC(label1), 0, 0.5);
entry = gtk_entry_new();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 44
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=44&view=rev
Author: frlan
Date: 2008-05-20 12:09:52 -0700 (Tue, 20 May 2008)
Log Message:
-----------
Activating of i18n support and adding a first German translation
Modified Paths:
--------------
trunk/geanysendmail/ChangeLog
trunk/geanysendmail/po/de.po
trunk/geanysendmail/src/geanysendmail.c
Modified: trunk/geanysendmail/ChangeLog
===================================================================
--- trunk/geanysendmail/ChangeLog 2008-05-20 18:45:50 UTC (rev 43)
+++ trunk/geanysendmail/ChangeLog 2008-05-20 19:09:52 UTC (rev 44)
@@ -1,9 +1,10 @@
2008-05-20 Frank Lanitz <frank(a)frank.uvena.de>
* Ported build system from spellcheck plugin. Thanks for it.
- * Updated Geany plugin API
+ * Updated Geany plugin API.
+ * Activating of i18n support and adding a first German translation.
-
+
2008-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* Restart using ChangeLog.
Modified: trunk/geanysendmail/po/de.po
===================================================================
--- trunk/geanysendmail/po/de.po 2008-05-20 18:45:50 UTC (rev 43)
+++ trunk/geanysendmail/po/de.po 2008-05-20 19:09:52 UTC (rev 44)
@@ -1,69 +1,82 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: geanysendmail\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008-05-20 14:55+0200\n"
+"PO-Revision-Date: 2008-05-20 20:56+0100\n"
+"Last-Translator: Frank Lanitz <frank(a)frank.uvena.de>\n"
+"Language-Team: <frank(a)frank.uvena.de>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: German\n"
+"X-Poedit-Country: GERMANY\n"
+"X-Poedit-SourceCharset: utf-8\n"
+
#: src/geanysendmail.c:40
msgid "GeanySendMail"
-msgstr ""
+msgstr "GeanySendMail"
#: src/geanysendmail.c:40
-msgid ""
-"A little plugin to send the current file as attachment by user's favorite "
-"mailer"
-msgstr ""
+msgid "A little plugin to send the current file as attachment by user's favorite mailer"
+msgstr "Ein Plugin zum Senden einer Datei als Anhang unter Verwendung eines Mailprogrammes."
#: src/geanysendmail.c:91
msgid "Filename placeholder not found. The executed command might have failed."
-msgstr ""
+msgstr "Konnte den Platzhalter für den Dateinamen (\\%s) nicht finden. Das angegebene Kommando könnte nicht korrekt ausgeführt worden sein."
#: src/geanysendmail.c:97
msgid "Could not execute mailer. Please check your configuration."
-msgstr ""
+msgstr "Konnte das Mailprogramm nicht aufrufen. Ist die Konfiguration korrekt?"
#: src/geanysendmail.c:106
msgid "Please define a mailing tool first."
-msgstr ""
+msgstr "Bitte ein Mailprogramm angeben!"
#: src/geanysendmail.c:111
msgid "File have to be saved before sending."
-msgstr ""
+msgstr "Due Datei muss vor dem Senden gespeichert werden."
#: src/geanysendmail.c:173
msgid "Mail Configuration"
-msgstr ""
+msgstr "Maileinstellungen"
#. add a label and a text entry to the dialog
#: src/geanysendmail.c:181
msgid "Path and options for the mail programm:"
-msgstr ""
+msgstr "Pfad und Optionen für das Mailprogramm:"
#: src/geanysendmail.c:189
#, c-format
msgid "Note: \\%f will be replaced by your filename."
-msgstr ""
+msgstr "Anmerkung: \\%f wird durch den Dateinamen ersetzt."
#: src/geanysendmail.c:193
msgid "Showing icon in toolbar (EXPERIMENTAL)"
-msgstr ""
+msgstr "Symbol in der Werkzeugliste anzeigen (Experimental)"
#: src/geanysendmail.c:196
msgid "Shows a icon in the toolbar to send file more easy."
-msgstr ""
+msgstr "Zeigt ein Symbol in der Werkzeugliste an, so dass eine Datei einfacher versendet werden kann."
#: src/geanysendmail.c:238
msgid "Plugin configuration directory could not be created."
-msgstr ""
+msgstr "Konfigurationsdatei konnte nicht erstellt werden."
#: src/geanysendmail.c:261
msgid "Send file by mail"
-msgstr ""
+msgstr "Per Mail senden"
#. Build up menu
#: src/geanysendmail.c:289
msgid "_Mail"
-msgstr ""
+msgstr "_Mail"
#: src/geanysendmail.c:295
msgid "_Mail document"
-msgstr ""
+msgstr "_Dokument versenden"
#: src/geanysendmail.c:298
-msgid ""
-"Sends the opened file as unzipped attachment by any mailer from your $PATH"
-msgstr ""
+msgid "Sends the opened file as unzipped attachment by any mailer from your $PATH"
+msgstr "Sendet ein geöffnete Dokument als ungepackter Anhang unter Verwendung eines Mailprogrammes."
+
Modified: trunk/geanysendmail/src/geanysendmail.c
===================================================================
--- trunk/geanysendmail/src/geanysendmail.c 2008-05-20 18:45:50 UTC (rev 43)
+++ trunk/geanysendmail/src/geanysendmail.c 2008-05-20 19:09:52 UTC (rev 44)
@@ -32,6 +32,10 @@
#include "keybindings.h"
#include "icon.h"
+#if HAVE_LOCALE_H
+# include <locale.h>
+#endif
+
PluginFields *plugin_fields;
GeanyData *geany_data;
GeanyFunctions *geany_functions;
@@ -59,6 +63,33 @@
GtkWidget *separator = NULL;
GtkWidget *separator2 = NULL;
+
+static void locale_init(void)
+{
+#ifdef ENABLE_NLS
+ gchar *locale_dir = NULL;
+
+#if HAVE_LOCALE_H
+ setlocale(LC_ALL, "");
+#endif
+
+#ifdef G_OS_WIN32
+ gchar *install_dir = g_win32_get_package_installation_directory("geany", NULL);
+ /* e.g. C:\Program Files\geany\lib\locale */
+ locale_dir = g_strconcat(install_dir, "\\lib\\locale", NULL);
+ g_free(install_dir);
+#else
+ locale_dir = g_strdup(LOCALEDIR);
+#endif
+
+ bindtextdomain(GETTEXT_PACKAGE, locale_dir);
+ bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
+ textdomain(GETTEXT_PACKAGE);
+ g_free(locale_dir);
+#endif
+}
+
+
/* Callback for sending file as attachment */
static void
send_as_attachment(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gpointer gdata)
@@ -266,6 +297,8 @@
GtkWidget *menu_mail_attachment = NULL;
+ locale_init();
+
config_file = g_strconcat(app->configdir, G_DIR_SEPARATOR_S, "plugins", G_DIR_SEPARATOR_S,
"geanysendmail", G_DIR_SEPARATOR_S, "mail.conf", NULL);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 42
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=42&view=rev
Author: eht16
Date: 2008-05-20 11:27:05 -0700 (Tue, 20 May 2008)
Log Message:
-----------
Tagging the backupcopy 0.1 release.
Added Paths:
-----------
tags/backupcopy/backupcopy-0.1/
Copied: tags/backupcopy/backupcopy-0.1 (from rev 41, trunk/backupcopy)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 41
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=41&view=rev
Author: eht16
Date: 2008-05-20 11:26:16 -0700 (Tue, 20 May 2008)
Log Message:
-----------
Tagging the instantsave 0.1 release.
Added Paths:
-----------
tags/instantsave/instantsave-0.1/
Copied: tags/instantsave/instantsave-0.1 (from rev 40, trunk/instantsave)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 40
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=40&view=rev
Author: eht16
Date: 2008-05-20 11:20:13 -0700 (Tue, 20 May 2008)
Log Message:
-----------
Add new GeanyFunctions API.
Make the code compatible with current Geany API.
Add the filetype's default extension to the new filename.
Add dist-bzip2 and sign targets.
Explicitly depend on Geany >= 0.15.
Make Windows Makefile working.
Update and reformat into reST text.
Remove unnecessary intltool dependency.
Initial release: instantsave 0.1.
Modified Paths:
--------------
trunk/instantsave/ChangeLog
trunk/instantsave/Makefile.am
trunk/instantsave/README
trunk/instantsave/configure.in
trunk/instantsave/makefile.win32
Modified: trunk/instantsave/ChangeLog
===================================================================
--- trunk/instantsave/ChangeLog 2008-05-20 18:17:34 UTC (rev 39)
+++ trunk/instantsave/ChangeLog 2008-05-20 18:20:13 UTC (rev 40)
@@ -1,3 +1,22 @@
+2008-05-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/instantsave.c:
+ Add new GeanyFunctions API.
+ Make the code compatible with current Geany API.
+ Add the filetype's default extension to the new filename.
+ * Makefile.am:
+ Add dist-bzip2 and sign targets.
+ * configure.in:
+ Explicitly depend on Geany >= 0.15.
+ * makefile.win32:
+ Make Windows Makefile working.
+ * README:
+ Update and reformat into reST text.
+ * configure.in, Makefile.am:
+ Remove unnecessary intltool dependency.
+ * Initial release: instantsave 0.1.
+
+
2008-04-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* po/*, src/*, *:
Modified: trunk/instantsave/Makefile.am
===================================================================
--- trunk/instantsave/Makefile.am 2008-05-20 18:17:34 UTC (rev 39)
+++ trunk/instantsave/Makefile.am 2008-05-20 18:20:13 UTC (rev 40)
@@ -4,11 +4,17 @@
EXTRA_DIST = \
autogen.sh \
makefile.win32 \
- intltool-extract.in \
- intltool-merge.in \
- intltool-update.in
+ po/LINGUAS
-DISTCLEANFILES = \
- intltool-extract \
- intltool-merge \
- intltool-update
+dist-bzip2: distdir
+ BZIP2=$(BZIP2_ENV) $(AMTAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
+ -rm -rf $(distdir)
+
+sign:
+ if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
+ gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
+ if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
+ gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
+
+html:
+ rst2html README index.html
Modified: trunk/instantsave/README
===================================================================
--- trunk/instantsave/README 2008-05-20 18:17:34 UTC (rev 39)
+++ trunk/instantsave/README 2008-05-20 18:20:13 UTC (rev 40)
@@ -1,5 +1,5 @@
Instant Save Plugin
--------------------
+===================
About
@@ -13,6 +13,36 @@
similar.
+Downloads
+---------
+
+Instant Save 0.1 Sources
+^^^^^^^^^^^^^^^^^^^^^^^^
+
+http://geany-plugins.sourceforge.net/instantsave/instantsave-0.1.tar.bz2
+
+http://geany-plugins.sourceforge.net/instantsave/instantsave-0.1.tar.bz2.sig (GPG-Signature)
+
+or
+
+http://geany-plugins.sourceforge.net/instantsave/instantsave-0.1.tar.gz
+
+http://geany-plugins.sourceforge.net/instantsave/instantsave-0.1.tar.gz.sig (GPG-Signature)
+
+
+Instant Save 0.1 Windows DLL
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+http://geany-plugins.sourceforge.net/instantsave/instantsave-0.1_win32.zip
+
+Development Code
+^^^^^^^^^^^^^^^^
+
+Get the code from:
+
+ svn checkout http://geany-plugins.svn.sourceforge.net/svnroot/geany-plugins/trunk/instan…
+
+
Requirements
------------
For compiling the plugin yourself, you will need the GTK (>= 2.6.0) libraries
@@ -20,10 +50,12 @@
files, such as Pango, Glib and ATK. All these files are available at
http://www.gtk.org.
-And obviously, you will need have Geany installed. If you have Geany installed
+And obviously, you will need have Geany (>= 0.15) installed. If you have Geany installed
from the sources, you should be ready to go.
If you used a preprared package e.g. from your distribution you probably need
to install an additional package, this might be called geany-dev or geany-devel.
+Please note that in order to compile and use this plugin, you need a current SVN
+version of Geany, at least SVN >= r2604.
Furthermore you need, of course, a C compiler and the Make tool.
The GNU versions of these tools are recommended.
@@ -31,14 +63,16 @@
Installation
------------
-Compiling and installing the code is done by the following three commands:
-$ ./configure
-$ make
-$ make install
+Compiling and installing the code is done by the following three commands::
-For more configuration details run
-$ ./configure --help
+ $ ./configure
+ $ make
+ $ make install
+For more configuration details run::
+
+ $ ./configure --help
+
If there are any errors during compilation, check your build environment
and try to find the error, otherwise contact one of the authors.
@@ -63,3 +97,4 @@
Ideas, questions, patches and bug reports
-----------------------------------------
Send it to me at enrico(dot)troeger(at)uvena(dot)de
+or report them at http://sourceforge.net/tracker/?group_id=222729.
Modified: trunk/instantsave/configure.in
===================================================================
--- trunk/instantsave/configure.in 2008-05-20 18:17:34 UTC (rev 39)
+++ trunk/instantsave/configure.in 2008-05-20 18:20:13 UTC (rev 40)
@@ -13,11 +13,10 @@
LIBTOOL="$LIBTOOL --silent"
AC_PROG_INSTALL
-AC_PROG_INTLTOOL
# checking for Geany
-PKG_CHECK_MODULES(GEANY, [geany])
+PKG_CHECK_MODULES(GEANY, [geany >= 0.15])
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
@@ -57,6 +56,7 @@
echo "----------------------------------------"
echo "Install Instant Save in : ${libdir}"
+echo "Install Instant Save files in : ${prefix}"
echo "Using Geany version : ${GEANY_VERSION}"
echo "Using GTK version : ${GTK_VERSION}"
echo ""
Modified: trunk/instantsave/makefile.win32
===================================================================
--- trunk/instantsave/makefile.win32 2008-05-20 18:17:34 UTC (rev 39)
+++ trunk/instantsave/makefile.win32 2008-05-20 18:20:13 UTC (rev 40)
@@ -1,9 +1,4 @@
-# Running make creates config.h then calls the sub makefiles.
#
-# Other targets are:
-# deps: delete the dependencies so they are regenerated on next make
-# clean: clean all generated files
-#
# localwin32.mk is an optional file to override make variables.
# Use localwin32.mk instead of editing variables as it is included in sub
# makefiles.
@@ -20,6 +15,7 @@
.SUFFIXES: .c .o
-include localwin32.mk
+
OBJS = instantsave.o
INCLUDEDIRS= -I. \
-I$(GEANY_SRC) \
@@ -35,7 +31,8 @@
-I$(PREFIX)/include/glib-2.0 \
-I$(PREFIX)/lib/glib-2.0/include \
-I$(PREFIX)/include/gettext \
- -I$(PREFIX)/include
+ -I$(PREFIX)/include
+
ALL_GTK_LIBS= \
-L"$(PREFIX)/lib" \
-lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 \
@@ -46,12 +43,12 @@
all: $(TARGET)
deps.mak:
- $(CC) -MM $(CCFLAGS) $(INCLUDEDIRS) *.c >deps.mak
+ $(CC) -MM $(CCFLAGS) $(INCLUDEDIRS) src/*.c >deps.mak
-.c.o:
+instantsave.o:
$(CC) $(CCFLAGS) $(INCLUDEDIRS) -c $<
-$(TARGET): $(OBJS) deps.mak
+$(TARGET): deps.mak $(OBJS)
$(CC) -shared $(OBJS) $(ALL_GTK_LIBS) -o $(TARGET)
clean:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.