From 9d239e15c40c793935c044da12e7b76212e77378 Mon Sep 17 00:00:00 2001 From: wwp Date: Sun, 11 Jul 2021 10:45:31 +0200 Subject: [PATCH] English fixes and enhancements related to translation issues. --- src/addrduplicates.c | 2 +- src/addressbook.c | 4 ++-- src/addrmerge.c | 2 +- src/common/prefs.c | 4 ++-- src/grouplistdialog.c | 2 +- src/plugins/pgpcore/pgp_viewer.c | 2 +- src/plugins/spamassassin/spamassassin_gtk.c | 2 +- src/prefs_msg_colors.c | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/addrduplicates.c b/src/addrduplicates.c index 60d2124e6..0987afe2e 100644 --- a/src/addrduplicates.c +++ b/src/addrduplicates.c @@ -839,7 +839,7 @@ gboolean addrduplicates_delete_item_person(ItemPerson *item, AddressDataSource * iface = ds->interface; if( iface && iface->readOnly ) { alertpanel( _("Delete address"), - _("This address data is readonly and cannot be deleted."), + _("This address data is read-only and cannot be deleted."), _("_Close"), NULL, NULL, ALERTFOCUS_FIRST ); return FALSE; } diff --git a/src/addressbook.c b/src/addressbook.c index 30c1ec40a..e6bd9f5f1 100644 --- a/src/addressbook.c +++ b/src/addressbook.c @@ -1433,7 +1433,7 @@ static void addressbook_del_clicked(GtkButton *button, gpointer data) iface = ds->interface; if( iface->readOnly ) { alertpanel( _("Delete address(es)"), - _("This address data is readonly and cannot be deleted."), + _("This address data is read-only and cannot be deleted."), _("_Close"), NULL, NULL, ALERTFOCUS_FIRST); return; } @@ -2205,7 +2205,7 @@ static void addressbook_clip_paste_cb( GtkAction *action, gpointer data ) { ds = addressbook_find_datasource( GTK_CMCTREE_NODE(addrbook.treeSelected) ); if( ds == NULL ) return; if( addrindex_ds_get_readonly( ds ) ) { - alertpanel_error( _("Cannot paste. Target address book is readonly.") ); + alertpanel_error( _("Cannot paste. Target address book is read-only.") ); return; } diff --git a/src/addrmerge.c b/src/addrmerge.c index de87fe2d3..398ac4040 100644 --- a/src/addrmerge.c +++ b/src/addrmerge.c @@ -396,7 +396,7 @@ void addrmerge_merge( /* Test for read only */ if( ds->interface->readOnly ) { alertpanel( _("Merge addresses"), - _("This address data is readonly and cannot be deleted."), + _("This address data is read-only and cannot be deleted."), _("_Close"), NULL, NULL, ALERTFOCUS_FIRST ); return; } diff --git a/src/common/prefs.c b/src/common/prefs.c index 748950728..12df810a2 100644 --- a/src/common/prefs.c +++ b/src/common/prefs.c @@ -231,7 +231,7 @@ gint prefs_file_close_revert(PrefFile *pfile) } /*! - *\brief Check if "path" is a file and readonly + *\brief Check if "path" is a file and read-only */ static gboolean prefs_is_readonly(const gchar * path) { @@ -242,7 +242,7 @@ static gboolean prefs_is_readonly(const gchar * path) } /*! - *\brief Check if "rcfile" is in rcdir, a file and readonly + *\brief Check if "rcfile" is in rcdir, a file and read-only */ gboolean prefs_rc_is_readonly(const gchar * rcfile) { diff --git a/src/grouplistdialog.c b/src/grouplistdialog.c index 4f618c530..60b14e9ab 100644 --- a/src/grouplistdialog.c +++ b/src/grouplistdialog.c @@ -356,7 +356,7 @@ static GtkCMCTreeNode *grouplist_create_branch(NewsGroupInfo *ginfo, else if (ginfo->type == 'm') cols[2] = _("moderated"); else if (ginfo->type == 'n') - cols[2] = _("readonly"); + cols[2] = _("read-only"); else cols[2] = _("unknown"); diff --git a/src/plugins/pgpcore/pgp_viewer.c b/src/plugins/pgpcore/pgp_viewer.c index 51cb4defc..974531dc9 100644 --- a/src/plugins/pgpcore/pgp_viewer.c +++ b/src/plugins/pgpcore/pgp_viewer.c @@ -178,7 +178,7 @@ static void pgpview_show_mime_part(TextView *textview, MimeInfo *partinfo) if (!prefs_common_get_prefs()->work_offline) { val = alertpanel(_("Key import"), _("This key is not in your keyring. Do you want " - "Claws Mail to try and import it?"), + "Claws Mail to try to import it?"), _("_No"), _("from keyserver"), _("from Web Key Directory"), ALERTFOCUS_SECOND); GTK_EVENTS_FLUSH(); diff --git a/src/plugins/spamassassin/spamassassin_gtk.c b/src/plugins/spamassassin/spamassassin_gtk.c index 2e3f0a6ce..2be7aae04 100644 --- a/src/plugins/spamassassin/spamassassin_gtk.c +++ b/src/plugins/spamassassin/spamassassin_gtk.c @@ -386,7 +386,7 @@ static void spamassassin_create_widget_func(PrefsPage * _page, gtk_widget_show(hbox_timeout); gtk_box_pack_start (GTK_BOX (vbox2), hbox_timeout, TRUE, TRUE, 0); - timeout_label = gtk_label_new(_("Timeout")); + timeout_label = gtk_label_new(_("Timeout (secs)")); gtk_widget_show(timeout_label); gtk_box_pack_start(GTK_BOX(hbox_timeout), timeout_label, FALSE, FALSE, 0); diff --git a/src/prefs_msg_colors.c b/src/prefs_msg_colors.c index 79eb8e379..2e3966938 100644 --- a/src/prefs_msg_colors.c +++ b/src/prefs_msg_colors.c @@ -339,7 +339,7 @@ static void prefs_msg_colors_create_widget(PrefsPage *_page, GtkWindow *window, COLOR_BUTTON_PACK_START(hbox, COL_DIFF_HUNK, /* TRANSLATORS: A hunk is a section of the patch indicating how the files differ */ - C_("Tooltip.", "Pick color for hunk lines")); + C_("Tooltip", "Pick color for hunk lines")); COLOR_LABEL_PACK_START(hbox, COL_DIFF_HUNK, /* TRANSLATORS: A hunk is a section of the patch indicating how the files differ */