projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
51e07f5
)
gettextise clamav and dillo plugins
author
Paul Mangan
<paul@claws-mail.org>
Fri, 16 May 2003 16:36:45 +0000
(16:36 +0000)
committer
Paul Mangan
<paul@claws-mail.org>
Fri, 16 May 2003 16:36:45 +0000
(16:36 +0000)
ChangeLog.claws
patch
|
blob
|
history
configure.ac
patch
|
blob
|
history
po/POTFILES.in
patch
|
blob
|
history
src/plugins/clamav/clamav_plugin.c
patch
|
blob
|
history
src/plugins/clamav/clamav_plugin_gtk.c
patch
|
blob
|
history
src/plugins/dillo_viewer/dillo_prefs.c
patch
|
blob
|
history
src/plugins/dillo_viewer/dillo_viewer.c
patch
|
blob
|
history
diff --git
a/ChangeLog.claws
b/ChangeLog.claws
index a9785863a8ac4c973a33bbc89378c16ec1b59762..11100c6d030c6b374fe247a3e6cffca3fba9e5b1 100644
(file)
--- a/
ChangeLog.claws
+++ b/
ChangeLog.claws
@@
-1,3
+1,14
@@
+2003-05-16 [paul] 0.8.11claws157
+
+ * po/POTFILES.in
+ remove non-existant entries
+
+ * src/plugins/clamav/clamav_plugin.c
+ src/plugins/clamav/clamav_plugin_gtk.c
+ src/plugins/dillo_viewer/dillo_prefs.c
+ src/plugins/dillo_viewer/dillo_viewer.c
+ gettextise
+
2003-05-16 [christoph] 0.8.11claws156
* po/POTFILES.in
2003-05-16 [christoph] 0.8.11claws156
* po/POTFILES.in
diff --git
a/configure.ac
b/configure.ac
index 6d012c8f8dfb576d64dd6650586754024afa3670..f2c66fb873dcc584ce57fac0e7e7d6bde7ec04e7 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-11,7
+11,7
@@
MINOR_VERSION=8
MICRO_VERSION=11
INTERFACE_AGE=0
BINARY_AGE=0
MICRO_VERSION=11
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=claws15
6
+EXTRA_VERSION=claws15
7
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
diff --git
a/po/POTFILES.in
b/po/POTFILES.in
index d3d5d9093ef3bca90cb004c86251705c81f070a0..6997248afcf5812de38ca3ecf16eed966b6ec599 100644
(file)
--- a/
po/POTFILES.in
+++ b/
po/POTFILES.in
@@
-85,8
+85,6
@@
src/plugins/mathml_viewer/mathml_viewer.c
src/plugins/image_viewer/viewerprefs.c
src/plugins/image_viewer/viewer.c
src/plugins/image_viewer/plugin.c
src/plugins/image_viewer/viewerprefs.c
src/plugins/image_viewer/viewer.c
src/plugins/image_viewer/plugin.c
-src/plugins/maildir/maildir.c
-src/plugins/maildir/plugin.c
src/plugins/dillo_viewer/dillo_viewer.c
src/plugins/dillo_viewer/dillo_prefs.c
src/plugins/clamav/clamav_plugin_gtk.c
src/plugins/dillo_viewer/dillo_viewer.c
src/plugins/dillo_viewer/dillo_prefs.c
src/plugins/clamav/clamav_plugin_gtk.c
diff --git
a/src/plugins/clamav/clamav_plugin.c
b/src/plugins/clamav/clamav_plugin.c
index 7f1ebaf02487ed6d69983c81a74bd55c72c9d893..0a080e45d6252d41823334bff34c0285534e5624 100644
(file)
--- a/
src/plugins/clamav/clamav_plugin.c
+++ b/
src/plugins/clamav/clamav_plugin.c
@@
-26,8
+26,9
@@
#include <glib.h>
#include <clamav.h>
#include <glib.h>
#include <clamav.h>
-#include "common/plugin.h"
-#include "common/utils.h"
+#include "intl.h"
+#include "plugin.h"
+#include "utils.h"
#include "hooks.h"
#include "inc.h"
#include "mimeview.h"
#include "hooks.h"
#include "inc.h"
#include "mimeview.h"
@@
-244,12
+245,12
@@
void plugin_done(void)
const gchar *plugin_name(void)
{
const gchar *plugin_name(void)
{
- return
"Clam AntiVirus"
;
+ return
_("Clam AntiVirus")
;
}
const gchar *plugin_desc(void)
{
}
const gchar *plugin_desc(void)
{
- return "This plugin uses Clam AntiVirus to scan all message attachments "
+ return
_(
"This plugin uses Clam AntiVirus to scan all message attachments "
"that are received from a POP account.\n"
"\n"
"When a message attachment is found to contain a virus it can be "
"that are received from a POP account.\n"
"\n"
"When a message attachment is found to contain a virus it can be "
@@
-258,7
+259,7
@@
const gchar *plugin_desc(void)
"This plugin only contains the actual function for scanning "
"and deleting or moving the message. You probably want to load "
"the Gtk+ User Interface plugin too, otherwise you will have to "
"This plugin only contains the actual function for scanning "
"and deleting or moving the message. You probably want to load "
"the Gtk+ User Interface plugin too, otherwise you will have to "
- "manually write the plugin configuration.\n";
+ "manually write the plugin configuration.\n"
)
;
}
const gchar *plugin_type(void)
}
const gchar *plugin_type(void)
diff --git
a/src/plugins/clamav/clamav_plugin_gtk.c
b/src/plugins/clamav/clamav_plugin_gtk.c
index 9fd05a282240e7b9668b0c2ccf22e289f939e915..91e0a54c0c7bb3279041f1dd4221fc1a8eae625d 100644
(file)
--- a/
src/plugins/clamav/clamav_plugin_gtk.c
+++ b/
src/plugins/clamav/clamav_plugin_gtk.c
@@
-27,8
+27,8
@@
#include <gtk/gtk.h>
#include "intl.h"
#include <gtk/gtk.h>
#include "intl.h"
-#include "
common/
plugin.h"
-#include "
common/
utils.h"
+#include "plugin.h"
+#include "utils.h"
#include "prefs.h"
#include "folder.h"
#include "prefs_gtk.h"
#include "prefs.h"
#include "folder.h"
#include "prefs_gtk.h"
@@
-88,7
+88,7
@@
static void clamav_create_widget_func(PrefsPage * _page, GtkWindow *window, gpoi
gtk_table_set_row_spacings(GTK_TABLE(table), 4);
gtk_table_set_col_spacings(GTK_TABLE(table), 8);
gtk_table_set_row_spacings(GTK_TABLE(table), 4);
gtk_table_set_col_spacings(GTK_TABLE(table), 8);
- label1 = gtk_label_new
("Enable virus scanning"
);
+ label1 = gtk_label_new
(_("Enable virus scanning")
);
gtk_widget_show (label1);
gtk_table_attach (GTK_TABLE (table), label1, 0, 1, 0, 1,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
gtk_widget_show (label1);
gtk_table_attach (GTK_TABLE (table), label1, 0, 1, 0, 1,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
@@
-102,7
+102,7
@@
static void clamav_create_widget_func(PrefsPage * _page, GtkWindow *window, gpoi
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- label2 = gtk_label_new
("Enable archive content scanning"
);
+ label2 = gtk_label_new
(_("Enable archive content scanning")
);
gtk_widget_show (label2);
gtk_table_attach (GTK_TABLE (table), label2, 0, 1, 1, 2,
(GtkAttachOptions) (GTK_FILL),
gtk_widget_show (label2);
gtk_table_attach (GTK_TABLE (table), label2, 0, 1, 1, 2,
(GtkAttachOptions) (GTK_FILL),
@@
-115,7
+115,7
@@
static void clamav_create_widget_func(PrefsPage * _page, GtkWindow *window, gpoi
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- label3 = gtk_label_new
("Maximum attachment size"
);
+ label3 = gtk_label_new
(_("Maximum attachment size")
);
gtk_widget_show (label3);
gtk_table_attach (GTK_TABLE (table), label3, 0, 1, 4, 5,
(GtkAttachOptions) (GTK_FILL),
gtk_widget_show (label3);
gtk_table_attach (GTK_TABLE (table), label3, 0, 1, 4, 5,
(GtkAttachOptions) (GTK_FILL),
@@
-133,11
+133,11
@@
static void clamav_create_widget_func(PrefsPage * _page, GtkWindow *window, gpoi
gtk_widget_show (max_size);
gtk_box_pack_start (GTK_BOX (hbox1), max_size, FALSE, FALSE, 0);
gtk_widget_show (max_size);
gtk_box_pack_start (GTK_BOX (hbox1), max_size, FALSE, FALSE, 0);
- label4 = gtk_label_new
("MB"
);
+ label4 = gtk_label_new
(_("MB")
);
gtk_widget_show (label4);
gtk_box_pack_start (GTK_BOX (hbox1), label4, FALSE, FALSE, 0);
gtk_widget_show (label4);
gtk_box_pack_start (GTK_BOX (hbox1), label4, FALSE, FALSE, 0);
- label5 = gtk_label_new
("Receive infected messages"
);
+ label5 = gtk_label_new
(_("Receive infected messages")
);
gtk_widget_show (label5);
gtk_table_attach (GTK_TABLE (table), label5, 0, 1, 5, 6,
(GtkAttachOptions) (GTK_FILL),
gtk_widget_show (label5);
gtk_table_attach (GTK_TABLE (table), label5, 0, 1, 5, 6,
(GtkAttachOptions) (GTK_FILL),
@@
-150,7
+150,7
@@
static void clamav_create_widget_func(PrefsPage * _page, GtkWindow *window, gpoi
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- label6 = gtk_label_new (
"Save folder"
);
+ label6 = gtk_label_new (
_("Save folder")
);
gtk_widget_show (label6);
gtk_table_attach (GTK_TABLE (table), label6, 0, 1, 6, 7,
(GtkAttachOptions) (GTK_FILL),
gtk_widget_show (label6);
gtk_table_attach (GTK_TABLE (table), label6, 0, 1, 6, 7,
(GtkAttachOptions) (GTK_FILL),
@@
-170,8
+170,7
@@
static void clamav_create_widget_func(PrefsPage * _page, GtkWindow *window, gpoi
(GtkAttachOptions) (0), 0, 0);
label7 =
(GtkAttachOptions) (0), 0, 0);
label7 =
- gtk_label_new(_
- ("Leave empty to use the default trash folder"));
+ gtk_label_new(_("Leave empty to use the default trash folder"));
gtk_widget_show(label7);
gtk_table_attach(GTK_TABLE(table), label7, 1, 2, 7, 8,
(GtkAttachOptions) (GTK_FILL),
gtk_widget_show(label7);
gtk_table_attach(GTK_TABLE(table), label7, 1, 2, 7, 8,
(GtkAttachOptions) (GTK_FILL),
@@
-248,12
+247,12
@@
void plugin_done(void)
const gchar *plugin_name(void)
{
const gchar *plugin_name(void)
{
- return
"Clam AntiVirus GTK"
;
+ return
_("Clam AntiVirus GTK")
;
}
const gchar *plugin_desc(void)
{
}
const gchar *plugin_desc(void)
{
- return "This plugin provides a Preferences page for the Clam AntiVirus "
+ return
_(
"This plugin provides a Preferences page for the Clam AntiVirus "
"plugin.\n"
"\n"
"You will find the options in the Other Preferences window "
"plugin.\n"
"\n"
"You will find the options in the Other Preferences window "
@@
-263,7
+262,7
@@
const gchar *plugin_desc(void)
"content scanning, set the maximum size of an attachment to be "
"checked, (if the attachment is larger it will not be checked), "
"configure whether infected mail should be received (default: Yes) "
"content scanning, set the maximum size of an attachment to be "
"checked, (if the attachment is larger it will not be checked), "
"configure whether infected mail should be received (default: Yes) "
- "and select the folder where infected mail will be saved.\n";
+ "and select the folder where infected mail will be saved.\n"
)
;
}
const gchar *plugin_type(void)
}
const gchar *plugin_type(void)
diff --git
a/src/plugins/dillo_viewer/dillo_prefs.c
b/src/plugins/dillo_viewer/dillo_prefs.c
index a9ee1e9ee112fb16776120ecd8e019b1d9001fca..58f4c7ca99ad29654567a61aede17810a0478896 100644
(file)
--- a/
src/plugins/dillo_viewer/dillo_prefs.c
+++ b/
src/plugins/dillo_viewer/dillo_prefs.c
@@
-33,7
+33,7
@@
#include <gtk/gtk.h>
#include "intl.h"
#include <gtk/gtk.h>
#include "intl.h"
-#include "
common/
utils.h"
+#include "utils.h"
#include "prefs.h"
#include "prefs_gtk.h"
#include "prefswindow.h"
#include "prefs.h"
#include "prefs_gtk.h"
#include "prefswindow.h"
@@
-100,19
+100,19
@@
static void create_dillo_prefs_page(PrefsPage *page,
gtk_widget_show(vbox);
local_checkbox = gtk_check_button_new_with_label
gtk_widget_show(vbox);
local_checkbox = gtk_check_button_new_with_label
- (
"Don't Follow Links in Mails"
);
+ (
_("Don't Follow Links in Mails")
);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(local_checkbox),
dillo_prefs.local);
gtk_box_pack_start(GTK_BOX(vbox), local_checkbox, FALSE, FALSE, 0);
gtk_widget_show(local_checkbox);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(local_checkbox),
dillo_prefs.local);
gtk_box_pack_start(GTK_BOX(vbox), local_checkbox, FALSE, FALSE, 0);
gtk_widget_show(local_checkbox);
- label = gtk_label_new("(You can still allow following links\n"
- "by reloading the page)");
+ label = gtk_label_new(
_(
"(You can still allow following links\n"
+ "by reloading the page)")
)
;
gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0);
gtk_widget_show(label);
full_checkbox = gtk_check_button_new_with_label
gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0);
gtk_widget_show(label);
full_checkbox = gtk_check_button_new_with_label
- (
"Full Window Mode (Hide Controls)"
);
+ (
_("Full Window Mode (Hide Controls)")
);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(full_checkbox),
dillo_prefs.full);
gtk_box_pack_start(GTK_BOX(vbox), full_checkbox, FALSE, FALSE, 0);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(full_checkbox),
dillo_prefs.full);
gtk_box_pack_start(GTK_BOX(vbox), full_checkbox, FALSE, FALSE, 0);
diff --git
a/src/plugins/dillo_viewer/dillo_viewer.c
b/src/plugins/dillo_viewer/dillo_viewer.c
index 47efcbdbd01ef7ce6fa402ea44a1bc75d2dc2c49..68c88f6652cd42bfa223c9e5d2d91e4d6d421d71 100644
(file)
--- a/
src/plugins/dillo_viewer/dillo_viewer.c
+++ b/
src/plugins/dillo_viewer/dillo_viewer.c
@@
-17,14
+17,19
@@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <unistd.h>
#include <glib.h>
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
#include <unistd.h>
#include <glib.h>
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
-#include "common/plugin.h"
-#include "common/utils.h"
+#include "intl.h"
+#include "plugin.h"
+#include "utils.h"
#include "mimeview.h"
#include "dillo_prefs.h"
#include "mimeview.h"
#include "dillo_prefs.h"
@@
-172,13
+177,13
@@
void plugin_done(void)
const gchar *plugin_name(void)
{
const gchar *plugin_name(void)
{
- return
"Dillo HTML Viewer"
;
+ return
_("Dillo HTML Viewer")
;
}
const gchar *plugin_desc(void)
{
}
const gchar *plugin_desc(void)
{
- return "This plugin renders HTML mail using the Dillo "
- "web browser.";
+ return
_(
"This plugin renders HTML mail using the Dillo "
+ "web browser."
)
;
}
const gchar *plugin_type(void)
}
const gchar *plugin_type(void)