talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit ae4437f4dd570a18d0e1eca5d56206a1617ac9f0
parent d44ed0c2228d7b1e8a2808f4b3e622e69f57249f
Author: wwp <subscript@free.fr>
Date:   Thu, 10 Apr 2025 19:54:32 +0200

replace more uses of the anachronism 'Compose' in the UI

Diffstat:
Msrc/plugins/python/composewindowtype.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/plugins/python/composewindowtype.c b/src/plugins/python/composewindowtype.c @@ -489,7 +489,7 @@ static PyObject* ComposeWindow_set_modified(clawsmail_ComposeWindowObject *self, * This partly duplicates functionality in compose.c::compose_set_title(). * While it's nice to not have to modify Claws Mail for this to work, * it would be cleaner to export that function in Claws Mail. */ - if((strcmp(gtk_window_get_title(GTK_WINDOW(self->compose->window)), _("Compose message")) != 0) && + if((strcmp(gtk_window_get_title(GTK_WINDOW(self->compose->window)), _("Write message")) != 0) && (old_modified != self->compose->modified)) { gchar *str; gchar *edited; @@ -498,10 +498,10 @@ static PyObject* ComposeWindow_set_modified(clawsmail_ComposeWindowObject *self, edited = self->compose->modified ? _(" [Edited]") : ""; subject = gtk_editable_get_chars(GTK_EDITABLE(self->compose->subject_entry), 0, -1); if(subject && strlen(subject)) - str = g_strdup_printf(_("%s - Compose message%s"), + str = g_strdup_printf(_("%s - Write message%s"), subject, edited); else - str = g_strdup_printf(_("[no subject] - Compose message%s"), edited); + str = g_strdup_printf(_("[no subject] - Write message%s"), edited); gtk_window_set_title(GTK_WINDOW(self->compose->window), str); g_free(str); g_free(subject);