talons

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

commit ea2a671a0221dd0e6fcb659e284ea549b8d23db6
parent b081a469863dae7a9ccca43d1211a42ebd24a69b
Author: wwp <subscript@free.fr>
Date:   Wed, 26 Mar 2025 21:55:09 +0100

Revert "Normalize capitalization in more messages."

This reverts commit e5fb3f03ed8d80433f194750aa57d1a73c473d8d.

Diffstat:
Msrc/compose.c | 2+-
Msrc/gtk/gtkaspell.c | 6+++---
Msrc/imap.c | 2+-
Msrc/inc.c | 6+++---
Msrc/ldapupdate.c | 2+-
Msrc/ldaputil.c | 4++--
Msrc/main.c | 6+++---
Msrc/mh.c | 4++--
Msrc/news.c | 2+-
Msrc/pop.c | 4++--
Msrc/prefs_migration.c | 12++++++------
Msrc/printing.c | 6+++---
Msrc/send_message.c | 2+-
13 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/src/compose.c b/src/compose.c @@ -6185,7 +6185,7 @@ static ComposeQueueResult compose_queue_sub(Compose *compose, gint *msgnum, Fold if (compose->account->protocol == A_NNTP) newsac = compose->account; else { - alertpanel_error(_("Selected account isn't NNTP: posting is impossible.")); + alertpanel_error(_("Selected account isn't NNTP: Posting is impossible.")); return COMPOSE_QUEUE_ERROR_NO_MSG; } } diff --git a/src/gtk/gtkaspell.c b/src/gtk/gtkaspell.c @@ -666,12 +666,12 @@ static GtkAspeller *gtkaspeller_new(Dictionary *dictionary) gtkaspellcheckers->checkers, gtkaspeller); - debug_print("Aspell: created a new gtkaspeller %p\n", + debug_print("Aspell: Created a new gtkaspeller %p\n", gtkaspeller); } else { dictionary_delete(dict); - debug_print("Aspell: could not create spell checker\n"); + debug_print("Aspell: Could not create spell checker.\n"); } debug_print("Aspell: number of existing checkers %d\n", @@ -723,7 +723,7 @@ static void gtkaspeller_delete(GtkAspeller *gtkaspeller) g_slist_remove(gtkaspellcheckers->checkers, gtkaspeller); - debug_print("Aspell: deleting gtkaspeller %p\n", + debug_print("Aspell: Deleting gtkaspeller %p.\n", gtkaspeller); gtkaspeller_real_delete(gtkaspeller); diff --git a/src/imap.c b/src/imap.c @@ -1250,7 +1250,7 @@ static IMAPSession *imap_session_new(Folder * folder, imap_init(folder); IMAP_FOLDER(folder)->max_set_size = account->imap_batch_size; - buf = g_strdup_printf(_("Account '%s': connecting to IMAP server: %s:%d..."), + buf = g_strdup_printf(_("Account '%s': Connecting to IMAP server: %s:%d..."), folder->account->account_name, folder->account->recv_server, port); statusbar_print_all("%s", buf); diff --git a/src/inc.c b/src/inc.c @@ -356,7 +356,7 @@ void inc_account_list_mail(MainWindow *mainwin, GList *account_list, gboolean au PrefsAccount *account = list->data; if (account == NULL) { - debug_print("INC: huh? inc_account_list_mail() got a NULL account, this should not happen!\n"); + debug_print("INC: Huh? inc_account_list_mail() got a NULL account, this should not happen!\n"); continue; } @@ -867,7 +867,7 @@ static IncState inc_pop3_session_do(IncSession *session) ac->last_pop_login_time = time(NULL); - buf = g_strdup_printf(_("%s: retrieving new messages"), + buf = g_strdup_printf(_("%s: Retrieving new messages"), ac->recv_server); gtk_window_set_title(GTK_WINDOW(inc_dialog->dialog->window), buf); g_free(buf); @@ -896,7 +896,7 @@ static IncState inc_pop3_session_do(IncSession *session) } #endif - buf = g_strdup_printf(_("Account '%s': connecting to POP3 server: %s:%d..."), + buf = g_strdup_printf(_("Account '%s': Connecting to POP3 server: %s:%d..."), account_name, server, port); statusbar_print_all("%s", buf); log_message(LOG_PROTOCOL, "%s\n", buf); diff --git a/src/ldapupdate.c b/src/ldapupdate.c @@ -457,7 +457,7 @@ void clean_up(LDAP *ld, LdapServer *server, GHashTable *contact) { ItemPerson *res = addrcache_remove_person(server->addressCache, person); if (!res) - g_critical("ldapsvr_update_book: could not clean cache\n"); + g_critical("ldapsvr_update_book: Could not clean cache\n"); else addritem_free_item_person(res); } diff --git a/src/ldaputil.c b/src/ldaputil.c @@ -111,7 +111,7 @@ static GList *ldaputil_test_v3( LDAP *ld, gint tov, gint *errcode ) { } else { log_error(LOG_PROTOCOL, _("LDAP error (search): %d (%s)\n"), rc, ldaputil_get_error(ld)); - debug_print("LDAP: error %d (%s)\n", rc, ldaputil_get_error(ld)); + debug_print("LDAP: Error %d (%s)\n", rc, ldaputil_get_error(ld)); } if (errcode) @@ -199,7 +199,7 @@ static GList *ldaputil_test_v2( LDAP *ld, gint tov ) { } else { log_error(LOG_PROTOCOL, _("LDAP error (search): %d (%s)\n"), rc, ldaputil_get_error(ld)); - debug_print("LDAP: error %d (%s)\n", rc, ldaputil_get_error(ld)); + debug_print("LDAP: Error %d (%s)\n", rc, ldaputil_get_error(ld)); } if (result) ldap_msgfree( result ); diff --git a/src/main.c b/src/main.c @@ -2921,13 +2921,13 @@ static void networkmanager_state_change_cb(DBusGProxy *proxy, gchar *dev, if(online && went_offline_nm) { went_offline_nm = FALSE; main_window_toggle_work_offline(mainWin, FALSE, FALSE); - debug_print("NetworkManager: went online\n"); + debug_print("NetworkManager: Went online\n"); log_message(LOG_PROTOCOL, _("NetworkManager: network is online.\n")); } else if(!online) { went_offline_nm = TRUE; main_window_toggle_work_offline(mainWin, TRUE, FALSE); - debug_print("NetworkManager: went offline\n"); + debug_print("NetworkManager: Went offline\n"); log_message(LOG_PROTOCOL, _("NetworkManager: network is offline.\n")); } } @@ -2938,7 +2938,7 @@ static void networkmanager_state_change_cb(DBusGProxy *proxy, gchar *dev, } } else - debug_print("NetworkManager: cannot change connection state because " + debug_print("NetworkManager: Cannot change connection state because " "main window does not exist\n"); } diff --git a/src/mh.c b/src/mh.c @@ -252,7 +252,7 @@ static void mh_get_last_num(Folder *folder, FolderItem *item) cm_return_if_fail(item != NULL); - debug_print("mh_get_last_num(): scanning %s ...\n", item->path?item->path:"(null)"); + debug_print("mh_get_last_num(): Scanning %s ...\n", item->path?item->path:"(null)"); path = folder_item_get_path(item); cm_return_if_fail(path != NULL); @@ -295,7 +295,7 @@ gint mh_get_num_list(Folder *folder, FolderItem *item, GSList **list, gboolean * cm_return_val_if_fail(item != NULL, -1); - debug_print("mh_get_num_list(): scanning %s ...\n", item->path?item->path:"(null)"); + debug_print("mh_get_num_list(): Scanning %s ...\n", item->path?item->path:"(null)"); *old_uids_valid = TRUE; diff --git a/src/news.c b/src/news.c @@ -330,7 +330,7 @@ static Session *news_session_new(Folder *folder, const PrefsAccount *account, gu cm_return_val_if_fail(server != NULL, NULL); log_message(LOG_PROTOCOL, - _("Account '%s': connecting to NNTP server: %s:%d...\n"), + _("Account '%s': Connecting to NNTP server: %s:%d...\n"), folder->account->account_name, server, port); session = g_new0(NewsSession, 1); diff --git a/src/pop.c b/src/pop.c @@ -924,7 +924,7 @@ static Pop3State pop3_lookup_next(Pop3Session *session) ((ac->msg_leave_time * 24 * 60 * 60) + (ac->msg_leave_hour * 60 * 60))) { log_message(LOG_PROTOCOL, - _("POP: deleting expired message %d [%s]\n"), + _("POP: Deleting expired message %d [%s]\n"), session->cur_msg, msg->uidl?msg->uidl:" "); session->cur_total_bytes += size; pop3_delete_send(session); @@ -940,7 +940,7 @@ static Pop3State pop3_lookup_next(Pop3Session *session) break; log_message(LOG_PROTOCOL, - _("POP: skipping message %d [%s] (%d bytes)\n"), + _("POP: Skipping message %d [%s] (%d bytes)\n"), session->cur_msg, msg->uidl?msg->uidl:" ", size); } diff --git a/src/prefs_migration.c b/src/prefs_migration.c @@ -103,7 +103,7 @@ static void _update_config_common(gint version) static void _update_config_account(PrefsAccount *ac_prefs, gint version) { - debug_print("Account '%s': updating config version from %d to %d.\n", + debug_print("Account '%s': Updating config version from %d to %d.\n", ac_prefs->account_name, version, version + 1); switch (version) { @@ -173,7 +173,7 @@ static void _update_config_account(PrefsAccount *ac_prefs, gint version) static void _update_config_password_store(gint version) { - debug_print("Password store: updating config version from %d to %d.\n", + debug_print("Password store: Updating config version from %d to %d.\n", version, version + 1); switch (version) { @@ -189,7 +189,7 @@ static void _update_config_password_store(gint version) static void _update_config_folderlist(gint version) { - debug_print("Folderlist: updating config version from %d to %d.\n", + debug_print("Folderlist: Updating config version from %d to %d.\n", version, version + 1); switch (version) { @@ -267,13 +267,13 @@ int prefs_update_config_version_accounts() gint ver = ac_prefs->config_version; - debug_print("Account '%s': starting config update at config_version %d.\n", ac_prefs->account_name, ver); + debug_print("Account '%s': Starting config update at config_version %d.\n", ac_prefs->account_name, ver); if (!_version_check(ver)) return -1; if (ver == CLAWS_CONFIG_VERSION) { - debug_print("Account '%s': no update necessary, already at latest config_version.\n", ac_prefs->account_name); + debug_print("Account '%s': No update necessary, already at latest config_version.\n", ac_prefs->account_name); continue; } @@ -371,7 +371,7 @@ int prefs_update_config_version_folder_item(FolderItem *item) } if (ver == CLAWS_CONFIG_VERSION) { - debug_print("Folder item '%s': no update necessary, already at latest config_version %d.\n", id, ver); + debug_print("Folder item '%s': No update necessary, already at latest config_version %d.\n", id, ver); g_free(id); return 0; /* nothing to do */ } diff --git a/src/printing.c b/src/printing.c @@ -206,9 +206,9 @@ GtkPageSetup *printing_get_page_setup(void) g_key_file_free(keyfile); if (read_from_file) { - debug_print("Printing: read page setup from key file\n"); + debug_print("Printing: Read page setup from key file\n"); } else { - debug_print("Printing: could not read page setup from key file\n"); + debug_print("Printing: Could not read page setup from key file\n"); } /* if reading from file did not work, or has not been tried (GTK+ < 2.14), use prefs */ @@ -384,7 +384,7 @@ void printing_page_setup(GtkWindow *parent) keyfile = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, PRINTING_PAGE_SETUP_STORAGE_FILE, NULL); if (!gtk_page_setup_to_file(page_setup, keyfile, NULL)) { - debug_print("Printing: could not store page setup in file `%s'\n", keyfile); + debug_print("Printing: Could not store page setup in file `%s'\n", keyfile); } g_free(keyfile); } diff --git a/src/send_message.c b/src/send_message.c @@ -370,7 +370,7 @@ gint send_message_smtp_full(PrefsAccount *ac_prefs, GSList *to_list, FILE *fp, g inc_pop_before_smtp(ac_prefs); } - g_snprintf(buf, sizeof(buf), _("Account '%s': connecting to SMTP server: %s:%d..."), + g_snprintf(buf, sizeof(buf), _("Account '%s': Connecting to SMTP server: %s:%d..."), ac_prefs->account_name, ac_prefs->smtp_server, port); progress_dialog_set_label(send_dialog->dialog, buf); log_message(LOG_PROTOCOL, "%s\n", buf);