Revision: 198
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=198&view=rev
Author: frlan
Date: 2008-10-03 12:52:32 +0000 (Fri, 03 Oct 2008)
Log Message:
-----------
GeanySendMail: Updated copyright in file header
Modified Paths:
--------------
trunk/geanysendmail/src/geanysendmail.c
Modified: trunk/geanysendmail/src/geanysendmail.c
===================================================================
--- trunk/geanysendmail/src/geanysendmail.c 2008-10-03 12:26:38 UTC (rev 197)
+++ trunk/geanysendmail/src/geanysendmail.c 2008-10-03 12:52:32 UTC (rev 198)
@@ -2,8 +2,9 @@
* geanysendmail.c
*
* Copyright 2007, 2008 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
- * Copyright 2007 Enrico Tröger <enrico.troeger(a)uvena.de>
- * Copyright 2007, 2008 Nick Treleaven <nick.treleaven(a)btinternet.com>
+ * Copyright 2007 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ * Copyright 2007, 2008 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+ * Copyright 2008 Timothy Boronczyk <tboronczyk(at)gmail(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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 197
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=197&view=rev
Author: frlan
Date: 2008-10-03 12:26:38 +0000 (Fri, 03 Oct 2008)
Log Message:
-----------
GeanySendMail: Implement a %b placeholder for adding base name of file to mailer command.
Modified Paths:
--------------
trunk/geanysendmail/ChangeLog
trunk/geanysendmail/po/de.po
trunk/geanysendmail/po/geanysendmail.pot
trunk/geanysendmail/src/geanysendmail.c
Modified: trunk/geanysendmail/ChangeLog
===================================================================
--- trunk/geanysendmail/ChangeLog 2008-10-02 23:23:17 UTC (rev 196)
+++ trunk/geanysendmail/ChangeLog 2008-10-03 12:26:38 UTC (rev 197)
@@ -1,3 +1,9 @@
+2008-10-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+
+ * Implement a %b placeholder for adding basename of file to mailer command.
+ Thanks to Timothy Boronczyk for idea.
+
+
2008-09-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* Make configuration example copyable.
@@ -5,7 +11,7 @@
2008-09-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
- * Added a patch by Timothy Boronczyk to support creating a mail with
+ * Added a patch by Timothy Boronczyk to support creating a mail with
recipients email. Thanks for it.
@@ -15,8 +21,8 @@
package
* Build environment: Added makefile for Windows (needs to be tested)
* configure.in: Update of version string
-
+
2008-07-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* Make plugin compile with Geany svn r2767.
@@ -29,8 +35,8 @@
2008-06-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
- * Make plugin also work together with GTK-2.8. Thanks to Nick for
- providing patch.
+ * Make plugin also work together with GTK-2.8. Thanks to Nick for
+ providing patch.
2008-06-14 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
@@ -43,11 +49,11 @@
* Ported build system from spellcheck plugin. Thanks for it.
* 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.
+ * Restart using ChangeLog.
2007-11-29 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
Modified: trunk/geanysendmail/po/de.po
===================================================================
--- trunk/geanysendmail/po/de.po 2008-10-02 23:23:17 UTC (rev 196)
+++ trunk/geanysendmail/po/de.po 2008-10-03 12:26:38 UTC (rev 197)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: geanysendmail 0.4svn\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-10-03 01:18+0200\n"
+"POT-Creation-Date: 2008-10-03 14:23+0200\n"
"PO-Revision-Date: 2008-05-24 19:13+0100\n"
"Last-Translator: Frank Lanitz <frank(a)frank.uvena.de>\n"
"Language-Team: <frank(a)frank.uvena.de>\n"
@@ -37,7 +37,7 @@
msgid "Enter the recipient's e-mail address:"
msgstr "Emailadresse des Empfängers:"
-#: src/geanysendmail.c:171 src/geanysendmail.c:331
+#: src/geanysendmail.c:171 src/geanysendmail.c:333
msgid "Plugin configuration directory could not be created."
msgstr "Konfigurationsdatei konnte nicht erstellt werden."
@@ -56,32 +56,34 @@
"Konnte den Platzhalter für den Mailempfänger (\\%r) nicht finden. Das "
"angegebene Kommando könnte nicht korrekt ausgeführt worden sein."
-#: src/geanysendmail.c:200
+#: src/geanysendmail.c:202
msgid "Could not execute mailer. Please check your configuration."
msgstr "Konnte das Mailprogramm nicht aufrufen. Ist die Konfiguration korrekt?"
-#: src/geanysendmail.c:212
+#: src/geanysendmail.c:214
msgid "Please define a mail client first."
msgstr "Bitte ein Mailprogramm angeben!"
-#: src/geanysendmail.c:217
+#: src/geanysendmail.c:219
#, fuzzy
msgid "File has to be saved before sending."
msgstr "Die Datei muss vor dem Senden gespeichert werden."
#. add a label and a text entry to the dialog
-#: src/geanysendmail.c:355
+#: src/geanysendmail.c:357
msgid "Path and options for the mail client:"
msgstr "Pfad und Optionen für das Mailprogramm:"
-#: src/geanysendmail.c:363
+#: src/geanysendmail.c:365
#, fuzzy
msgid ""
"Note: \n"
-"\t\\%f will be replaced by your file.\t\t\n"
-"\t\\%r will be replaced the recipient's email address.\t\t\n"
-"\tAs an example you can use:\t\t\n"
-"\tsylpheed --attach \\%f --compose \\%r"
+"\t\\%f will be replaced by your file.\n"
+"\t\\%r will be replaced by recipient's email address.\n"
+"\t\\%b will be replaced by basename of a file\n"
+"\tExamples:\n"
+"\tsylpheed --attach \\%f --compose \\%r\n"
+"\tmutt -s \"Sending \\%f\" -a \\%f \\%r"
msgstr ""
"Anmerkung: \n"
"\t\\%f wird mit der zu sendenden Datei ersetzt.\t\n"
@@ -89,36 +91,36 @@
"\tEin Beispiel könnte sein:\t\n"
"\tsylpheed --attach \\%f --compose \\%r"
-#: src/geanysendmail.c:371
+#: src/geanysendmail.c:375
msgid "Showing icon in toolbar"
msgstr "Symbol in der Werkzeugliste anzeigen"
-#: src/geanysendmail.c:374
+#: src/geanysendmail.c:378
msgid "Shows a icon in the toolbar to send file more easy."
msgstr ""
"Zeigt ein Symbol in der Werkzeugliste an, so dass eine Datei einfacher "
"versendet werden kann."
-#: src/geanysendmail.c:380
+#: src/geanysendmail.c:384
msgid "Using dialog for entering email address of recipients"
msgstr ""
"Zeigt einen Dialog zum Eingeben der Emailadresse des Empfängers der zu "
"sendenden Datei"
-#: src/geanysendmail.c:409
+#: src/geanysendmail.c:413
msgid "Send file by mail"
msgstr "Per Mail senden"
#. Build up menu
-#: src/geanysendmail.c:440
+#: src/geanysendmail.c:444
msgid "_Mail"
msgstr "_Mail"
-#: src/geanysendmail.c:446
+#: src/geanysendmail.c:450
msgid "_Mail document"
msgstr "_Dokument versenden"
-#: src/geanysendmail.c:449
+#: src/geanysendmail.c:453
msgid ""
"Sends the opened file as unzipped attachment by any mailer from your $PATH"
msgstr ""
Modified: trunk/geanysendmail/po/geanysendmail.pot
===================================================================
--- trunk/geanysendmail/po/geanysendmail.pot 2008-10-02 23:23:17 UTC (rev 196)
+++ trunk/geanysendmail/po/geanysendmail.pot 2008-10-03 12:26:38 UTC (rev 197)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-10-03 01:18+0200\n"
+"POT-Creation-Date: 2008-10-03 14:23+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -34,7 +34,7 @@
msgid "Enter the recipient's e-mail address:"
msgstr ""
-#: src/geanysendmail.c:171 src/geanysendmail.c:331
+#: src/geanysendmail.c:171 src/geanysendmail.c:333
msgid "Plugin configuration directory could not be created."
msgstr ""
@@ -48,58 +48,60 @@
"failed."
msgstr ""
-#: src/geanysendmail.c:200
+#: src/geanysendmail.c:202
msgid "Could not execute mailer. Please check your configuration."
msgstr ""
-#: src/geanysendmail.c:212
+#: src/geanysendmail.c:214
msgid "Please define a mail client first."
msgstr ""
-#: src/geanysendmail.c:217
+#: src/geanysendmail.c:219
msgid "File has to be saved before sending."
msgstr ""
#. add a label and a text entry to the dialog
-#: src/geanysendmail.c:355
+#: src/geanysendmail.c:357
msgid "Path and options for the mail client:"
msgstr ""
-#: src/geanysendmail.c:363
+#: src/geanysendmail.c:365
msgid ""
"Note: \n"
-"\t\\%f will be replaced by your file.\t\t\n"
-"\t\\%r will be replaced the recipient's email address.\t\t\n"
-"\tAs an example you can use:\t\t\n"
-"\tsylpheed --attach \\%f --compose \\%r"
+"\t\\%f will be replaced by your file.\n"
+"\t\\%r will be replaced by recipient's email address.\n"
+"\t\\%b will be replaced by basename of a file\n"
+"\tExamples:\n"
+"\tsylpheed --attach \\%f --compose \\%r\n"
+"\tmutt -s \"Sending \\%f\" -a \\%f \\%r"
msgstr ""
-#: src/geanysendmail.c:371
+#: src/geanysendmail.c:375
msgid "Showing icon in toolbar"
msgstr ""
-#: src/geanysendmail.c:374
+#: src/geanysendmail.c:378
msgid "Shows a icon in the toolbar to send file more easy."
msgstr ""
-#: src/geanysendmail.c:380
+#: src/geanysendmail.c:384
msgid "Using dialog for entering email address of recipients"
msgstr ""
-#: src/geanysendmail.c:409
+#: src/geanysendmail.c:413
msgid "Send file by mail"
msgstr ""
#. Build up menu
-#: src/geanysendmail.c:440
+#: src/geanysendmail.c:444
msgid "_Mail"
msgstr ""
-#: src/geanysendmail.c:446
+#: src/geanysendmail.c:450
msgid "_Mail document"
msgstr ""
-#: src/geanysendmail.c:449
+#: src/geanysendmail.c:453
msgid ""
"Sends the opened file as unzipped attachment by any mailer from your $PATH"
msgstr ""
Modified: trunk/geanysendmail/src/geanysendmail.c
===================================================================
--- trunk/geanysendmail/src/geanysendmail.c 2008-10-02 23:23:17 UTC (rev 196)
+++ trunk/geanysendmail/src/geanysendmail.c 2008-10-03 12:26:38 UTC (rev 197)
@@ -193,6 +193,8 @@
/* Removes %r if option was not activ but was included into command */
p_utils->string_replace_all(cmd_str, "%r", NULL);
+ p_utils->string_replace_all(cmd_str, "%b", g_path_get_basename(locale_filename));
+
command = g_string_free(cmd_str, FALSE);
g_spawn_command_line_async(command, &error);
if (error != NULL)
@@ -360,10 +362,12 @@
if (mailer != NULL)
gtk_entry_set_text(GTK_ENTRY(pref_widgets.entry), mailer);
- label2 = gtk_label_new(_("Note: \n\t\%f will be replaced by your file.\
- \n\t\%r will be replaced the recipient's email address.\
- \n\tAs an example you can use:\
- \n\tsylpheed --attach \%f --compose \%r"));
+ label2 = gtk_label_new(_("Note: \n\t\%f will be replaced by your file."\
+ "\n\t\%r will be replaced by recipient's email address."\
+ "\n\t\%b will be replaced by basename of a file"\
+ "\n\tExamples:"\
+ "\n\tsylpheed --attach \%f --compose \%r"\
+ "\n\tmutt -s \"Sending \%f\" -a \%f \%r"));
gtk_label_set_selectable(GTK_LABEL(label2), TRUE);
gtk_widget_show(label2);
gtk_misc_set_alignment(GTK_MISC(label2), 0, 0.5);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 196
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=196&view=rev
Author: frlan
Date: 2008-10-02 23:23:17 +0000 (Thu, 02 Oct 2008)
Log Message:
-----------
GeanySendMail: Little backup of last little changes.
Modified Paths:
--------------
trunk/geanysendmail/po/de.po
trunk/geanysendmail/po/geanysendmail.pot
trunk/geanysendmail/src/geanysendmail.c
Modified: trunk/geanysendmail/po/de.po
===================================================================
--- trunk/geanysendmail/po/de.po 2008-10-02 23:22:46 UTC (rev 195)
+++ trunk/geanysendmail/po/de.po 2008-10-02 23:23:17 UTC (rev 196)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: geanysendmail 0.4svn\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-10-02 01:02+0200\n"
+"POT-Creation-Date: 2008-10-03 01:18+0200\n"
"PO-Revision-Date: 2008-05-24 19:13+0100\n"
"Last-Translator: Frank Lanitz <frank(a)frank.uvena.de>\n"
"Language-Team: <frank(a)frank.uvena.de>\n"
@@ -65,6 +65,7 @@
msgstr "Bitte ein Mailprogramm angeben!"
#: src/geanysendmail.c:217
+#, fuzzy
msgid "File has to be saved before sending."
msgstr "Die Datei muss vor dem Senden gespeichert werden."
@@ -74,13 +75,15 @@
msgstr "Pfad und Optionen für das Mailprogramm:"
#: src/geanysendmail.c:363
+#, fuzzy
msgid ""
"Note: \n"
-"\t\\%f will be replaced by your file.\t\n"
-"\t\\%r will be replaced the recipient's email address. \t\n"
-"\tAs an example you can use:\t\n"
+"\t\\%f will be replaced by your file.\t\t\n"
+"\t\\%r will be replaced the recipient's email address.\t\t\n"
+"\tAs an example you can use:\t\t\n"
"\tsylpheed --attach \\%f --compose \\%r"
-msgstr "Anmerkung: \n"
+msgstr ""
+"Anmerkung: \n"
"\t\\%f wird mit der zu sendenden Datei ersetzt.\t\n"
"\t\\%r wird mit der Emailadresse des Empfängers ersetzt.\t\n"
"\tEin Beispiel könnte sein:\t\n"
@@ -98,7 +101,9 @@
#: src/geanysendmail.c:380
msgid "Using dialog for entering email address of recipients"
-msgstr "Zeigt einen Dialog zum Eingeben der Emailadresse des Empfängers der zu sendenden Datei"
+msgstr ""
+"Zeigt einen Dialog zum Eingeben der Emailadresse des Empfängers der zu "
+"sendenden Datei"
#: src/geanysendmail.c:409
msgid "Send file by mail"
Modified: trunk/geanysendmail/po/geanysendmail.pot
===================================================================
--- trunk/geanysendmail/po/geanysendmail.pot 2008-10-02 23:22:46 UTC (rev 195)
+++ trunk/geanysendmail/po/geanysendmail.pot 2008-10-02 23:23:17 UTC (rev 196)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-09-02 01:39+0200\n"
+"POT-Creation-Date: 2008-10-03 01:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -26,58 +26,80 @@
"mailer"
msgstr ""
-#: src/geanysendmail.c:125
+#: src/geanysendmail.c:137
+msgid "Recipient's Address"
+msgstr ""
+
+#: src/geanysendmail.c:144
+msgid "Enter the recipient's e-mail address:"
+msgstr ""
+
+#: src/geanysendmail.c:171 src/geanysendmail.c:331
+msgid "Plugin configuration directory could not be created."
+msgstr ""
+
+#: src/geanysendmail.c:185
msgid "Filename placeholder not found. The executed command might have failed."
msgstr ""
-#: src/geanysendmail.c:131
+#: src/geanysendmail.c:190
+msgid ""
+"Recipient address placeholder not found. The executed command might have "
+"failed."
+msgstr ""
+
+#: src/geanysendmail.c:200
msgid "Could not execute mailer. Please check your configuration."
msgstr ""
-#: src/geanysendmail.c:140
+#: src/geanysendmail.c:212
msgid "Please define a mail client first."
msgstr ""
-#: src/geanysendmail.c:145
-msgid "File have to be saved before sending."
+#: src/geanysendmail.c:217
+msgid "File has to be saved before sending."
msgstr ""
-#: src/geanysendmail.c:252
-msgid "Plugin configuration directory could not be created."
-msgstr ""
-
#. add a label and a text entry to the dialog
-#: src/geanysendmail.c:277
+#: src/geanysendmail.c:355
msgid "Path and options for the mail client:"
msgstr ""
-#: src/geanysendmail.c:285
-#, c-format
-msgid "Note: \\%f will be replaced by your filename."
+#: src/geanysendmail.c:363
+msgid ""
+"Note: \n"
+"\t\\%f will be replaced by your file.\t\t\n"
+"\t\\%r will be replaced the recipient's email address.\t\t\n"
+"\tAs an example you can use:\t\t\n"
+"\tsylpheed --attach \\%f --compose \\%r"
msgstr ""
-#: src/geanysendmail.c:289
+#: src/geanysendmail.c:371
msgid "Showing icon in toolbar"
msgstr ""
-#: src/geanysendmail.c:292
+#: src/geanysendmail.c:374
msgid "Shows a icon in the toolbar to send file more easy."
msgstr ""
-#: src/geanysendmail.c:316
+#: src/geanysendmail.c:380
+msgid "Using dialog for entering email address of recipients"
+msgstr ""
+
+#: src/geanysendmail.c:409
msgid "Send file by mail"
msgstr ""
#. Build up menu
-#: src/geanysendmail.c:345
+#: src/geanysendmail.c:440
msgid "_Mail"
msgstr ""
-#: src/geanysendmail.c:351
+#: src/geanysendmail.c:446
msgid "_Mail document"
msgstr ""
-#: src/geanysendmail.c:354
+#: src/geanysendmail.c:449
msgid ""
"Sends the opened file as unzipped attachment by any mailer from your $PATH"
msgstr ""
Modified: trunk/geanysendmail/src/geanysendmail.c
===================================================================
--- trunk/geanysendmail/src/geanysendmail.c 2008-10-02 23:22:46 UTC (rev 195)
+++ trunk/geanysendmail/src/geanysendmail.c 2008-10-02 23:23:17 UTC (rev 196)
@@ -361,9 +361,9 @@
gtk_entry_set_text(GTK_ENTRY(pref_widgets.entry), mailer);
label2 = gtk_label_new(_("Note: \n\t\%f will be replaced by your file.\
- \n\t\%r will be replaced the recipient's email address. \
- \n\tAs an example you can use:\
- \n\tsylpheed --attach \%f --compose \%r"));
+ \n\t\%r will be replaced the recipient's email address.\
+ \n\tAs an example you can use:\
+ \n\tsylpheed --attach \%f --compose \%r"));
gtk_label_set_selectable(GTK_LABEL(label2), TRUE);
gtk_widget_show(label2);
gtk_misc_set_alignment(GTK_MISC(label2), 0, 0.5);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 195
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=195&view=rev
Author: frlan
Date: 2008-10-02 23:22:46 +0000 (Thu, 02 Oct 2008)
Log Message:
-----------
GeanySendMail: Little update of German translation
Modified Paths:
--------------
trunk/geanysendmail/po/de.po
Modified: trunk/geanysendmail/po/de.po
===================================================================
--- trunk/geanysendmail/po/de.po 2008-10-01 22:59:25 UTC (rev 194)
+++ trunk/geanysendmail/po/de.po 2008-10-02 23:22:46 UTC (rev 195)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: geanysendmail 0.4svn\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-09-02 01:39+0200\n"
+"POT-Creation-Date: 2008-10-02 01:02+0200\n"
"PO-Revision-Date: 2008-05-24 19:13+0100\n"
"Last-Translator: Frank Lanitz <frank(a)frank.uvena.de>\n"
"Language-Team: <frank(a)frank.uvena.de>\n"
@@ -29,67 +29,99 @@
"Ein Plugin zum Senden einer Datei als Anhang unter Verwendung eines "
"Mailprogrammes."
-#: src/geanysendmail.c:125
+#: src/geanysendmail.c:137
+msgid "Recipient's Address"
+msgstr "Emailadresse des Empfängers"
+
+#: src/geanysendmail.c:144
+msgid "Enter the recipient's e-mail address:"
+msgstr "Emailadresse des Empfängers:"
+
+#: src/geanysendmail.c:171 src/geanysendmail.c:331
+msgid "Plugin configuration directory could not be created."
+msgstr "Konfigurationsdatei konnte nicht erstellt werden."
+
+#: src/geanysendmail.c:185
msgid "Filename placeholder not found. The executed command might have failed."
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:131
+#: src/geanysendmail.c:190
+#, fuzzy
+msgid ""
+"Recipient address placeholder not found. The executed command might have "
+"failed."
+msgstr ""
+"Konnte den Platzhalter für den Mailempfänger (\\%r) nicht finden. Das "
+"angegebene Kommando könnte nicht korrekt ausgeführt worden sein."
+
+#: src/geanysendmail.c:200
msgid "Could not execute mailer. Please check your configuration."
msgstr "Konnte das Mailprogramm nicht aufrufen. Ist die Konfiguration korrekt?"
-#: src/geanysendmail.c:140
+#: src/geanysendmail.c:212
msgid "Please define a mail client first."
msgstr "Bitte ein Mailprogramm angeben!"
-#: src/geanysendmail.c:145
-msgid "File have to be saved before sending."
-msgstr "Due Datei muss vor dem Senden gespeichert werden."
+#: src/geanysendmail.c:217
+msgid "File has to be saved before sending."
+msgstr "Die Datei muss vor dem Senden gespeichert werden."
-#: src/geanysendmail.c:252
-msgid "Plugin configuration directory could not be created."
-msgstr "Konfigurationsdatei konnte nicht erstellt werden."
-
#. add a label and a text entry to the dialog
-#: src/geanysendmail.c:277
+#: src/geanysendmail.c:355
msgid "Path and options for the mail client:"
msgstr "Pfad und Optionen für das Mailprogramm:"
-#: src/geanysendmail.c:285
-#, c-format
-msgid "Note: \\%f will be replaced by your filename."
-msgstr "Anmerkung: \\%f wird durch den Dateinamen ersetzt."
+#: src/geanysendmail.c:363
+msgid ""
+"Note: \n"
+"\t\\%f will be replaced by your file.\t\n"
+"\t\\%r will be replaced the recipient's email address. \t\n"
+"\tAs an example you can use:\t\n"
+"\tsylpheed --attach \\%f --compose \\%r"
+msgstr "Anmerkung: \n"
+"\t\\%f wird mit der zu sendenden Datei ersetzt.\t\n"
+"\t\\%r wird mit der Emailadresse des Empfängers ersetzt.\t\n"
+"\tEin Beispiel könnte sein:\t\n"
+"\tsylpheed --attach \\%f --compose \\%r"
-#: src/geanysendmail.c:289
+#: src/geanysendmail.c:371
msgid "Showing icon in toolbar"
msgstr "Symbol in der Werkzeugliste anzeigen"
-#: src/geanysendmail.c:292
+#: src/geanysendmail.c:374
msgid "Shows a icon in the toolbar to send file more easy."
msgstr ""
"Zeigt ein Symbol in der Werkzeugliste an, so dass eine Datei einfacher "
"versendet werden kann."
-#: src/geanysendmail.c:316
+#: src/geanysendmail.c:380
+msgid "Using dialog for entering email address of recipients"
+msgstr "Zeigt einen Dialog zum Eingeben der Emailadresse des Empfängers der zu sendenden Datei"
+
+#: src/geanysendmail.c:409
msgid "Send file by mail"
msgstr "Per Mail senden"
#. Build up menu
-#: src/geanysendmail.c:345
+#: src/geanysendmail.c:440
msgid "_Mail"
msgstr "_Mail"
-#: src/geanysendmail.c:351
+#: src/geanysendmail.c:446
msgid "_Mail document"
msgstr "_Dokument versenden"
-#: src/geanysendmail.c:354
+#: src/geanysendmail.c:449
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."
+#~ msgid "Note: \\%f will be replaced by your filename."
+#~ msgstr "Anmerkung: \\%f wird durch den Dateinamen ersetzt."
+
#~ msgid "Mail Configuration"
#~ msgstr "Maileinstellungen"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 194
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=194&view=rev
Author: frlan
Date: 2008-10-01 22:59:25 +0000 (Wed, 01 Oct 2008)
Log Message:
-----------
GeanySendMail: Removing of %r in case of it was entered at configuration dialog but feature was deactivated.
Modified Paths:
--------------
trunk/geanysendmail/src/geanysendmail.c
Modified: trunk/geanysendmail/src/geanysendmail.c
===================================================================
--- trunk/geanysendmail/src/geanysendmail.c 2008-10-01 22:58:32 UTC (rev 193)
+++ trunk/geanysendmail/src/geanysendmail.c 2008-10-01 22:59:25 UTC (rev 194)
@@ -185,8 +185,13 @@
p_ui->set_statusbar(FALSE, _("Filename placeholder not found. The executed command might have failed."));
if (use_address_dialog == TRUE && address != NULL)
+ {
if (! p_utils->string_replace_all(cmd_str, "%r", address))
p_ui->set_statusbar(FALSE, _("Recipient address placeholder not found. The executed command might have failed."));
+ }
+ else
+ /* Removes %r if option was not activ but was included into command */
+ p_utils->string_replace_all(cmd_str, "%r", NULL);
command = g_string_free(cmd_str, FALSE);
g_spawn_command_line_async(command, &error);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 193
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=193&view=rev
Author: frlan
Date: 2008-10-01 22:58:32 +0000 (Wed, 01 Oct 2008)
Log Message:
-----------
GeanySendMail: Show email address dialog only of %r was included inside plugin configuration dialog
Modified Paths:
--------------
trunk/geanysendmail/src/geanysendmail.c
Modified: trunk/geanysendmail/src/geanysendmail.c
===================================================================
--- trunk/geanysendmail/src/geanysendmail.c 2008-10-01 22:57:16 UTC (rev 192)
+++ trunk/geanysendmail/src/geanysendmail.c 2008-10-01 22:58:32 UTC (rev 193)
@@ -130,7 +130,7 @@
locale_filename = p_utils->get_locale_from_utf8(doc->file_name);
cmd_str = g_string_new(mailer);
- if (use_address_dialog == TRUE)
+ if ((use_address_dialog == TRUE) && (g_strrstr(mailer, "%r") != NULL))
{
gint tmp;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.