[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-385-g03b2cb8e0
paul at claws-mail.org
paul at claws-mail.org
Fri Dec 17 11:42:45 UTC 2021
The branch, gtk3 has been updated
via 03b2cb8e0c6ff619e3be1fe272e74418d955b60e (commit)
from c49e227ed16befa69073bd1b87833937367bce7c (commit)
Summary of changes:
src/common/utils.c | 6 +++---
src/plugins/bogofilter/bogofilter_gtk.c | 2 +-
src/plugins/bsfilter/bsfilter_gtk.c | 2 +-
src/plugins/spamassassin/spamassassin_gtk.c | 2 +-
src/prefs_account.c | 2 +-
src/prefs_compose_writing.c | 2 +-
src/prefs_matcher.c | 4 ++--
7 files changed, 10 insertions(+), 10 deletions(-)
- Log -----------------------------------------------------------------
commit 03b2cb8e0c6ff619e3be1fe272e74418d955b60e
Author: paul <paul at claws-mail.org>
Date: Fri Dec 17 11:42:40 2021 +0000
fix bug 4556, 'Filesize in kilobytes versus kibibytes'
diff --git a/src/common/utils.c b/src/common/utils.c
index 326df0d41..17902c706 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -182,9 +182,9 @@ gchar *to_human_readable(goffset size)
register int t = 0, r = 0;
if (b_format == NULL) {
b_format = _("%dB");
- kb_format = _("%d.%02dKB");
- mb_format = _("%d.%02dMB");
- gb_format = _("%.2fGB");
+ kb_format = _("%d.%02dKiB");
+ mb_format = _("%d.%02dMiB");
+ gb_format = _("%.2fGiB");
}
if (size < (goffset)1024) {
diff --git a/src/plugins/bogofilter/bogofilter_gtk.c b/src/plugins/bogofilter/bogofilter_gtk.c
index 42c9c776b..4d5891128 100644
--- a/src/plugins/bogofilter/bogofilter_gtk.c
+++ b/src/plugins/bogofilter/bogofilter_gtk.c
@@ -178,7 +178,7 @@ static void bogofilter_create_widget_func(PrefsPage * _page,
_("Messages larger than this will not be checked"));
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(max_size_spinbtn), TRUE);
- max_size_kb_label = gtk_label_new(_("KB"));
+ max_size_kb_label = gtk_label_new(_("KiB"));
gtk_widget_show(max_size_kb_label);
gtk_box_pack_start(GTK_BOX(hbox_max_size), max_size_kb_label, FALSE, FALSE, 0);
diff --git a/src/plugins/bsfilter/bsfilter_gtk.c b/src/plugins/bsfilter/bsfilter_gtk.c
index 5d8945049..1753005d2 100644
--- a/src/plugins/bsfilter/bsfilter_gtk.c
+++ b/src/plugins/bsfilter/bsfilter_gtk.c
@@ -159,7 +159,7 @@ static void bsfilter_create_widget_func(PrefsPage * _page,
_("Messages larger than this will not be checked"));
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(max_size_spinbtn), TRUE);
- max_size_kb_label = gtk_label_new(_("KB"));
+ max_size_kb_label = gtk_label_new(_("KiB"));
gtk_widget_show(max_size_kb_label);
gtk_box_pack_start(GTK_BOX(hbox_max_size), max_size_kb_label, FALSE, FALSE, 0);
diff --git a/src/plugins/spamassassin/spamassassin_gtk.c b/src/plugins/spamassassin/spamassassin_gtk.c
index 2be7aae04..d17da5e57 100644
--- a/src/plugins/spamassassin/spamassassin_gtk.c
+++ b/src/plugins/spamassassin/spamassassin_gtk.c
@@ -378,7 +378,7 @@ static void spamassassin_create_widget_func(PrefsPage * _page,
_("Messages larger than this will not be checked"));
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(max_size_spinbtn), TRUE);
- max_size_kb_label = gtk_label_new(_("KB"));
+ max_size_kb_label = gtk_label_new(_("KiB"));
gtk_widget_show(max_size_kb_label);
gtk_box_pack_start(GTK_BOX(hbox_max_size), max_size_kb_label, FALSE, FALSE, 0);
diff --git a/src/prefs_account.c b/src/prefs_account.c
index fce357b11..744a36492 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -1681,7 +1681,7 @@ static void receive_create_widget_func(PrefsPage * _page,
gtk_widget_show (size_limit_spinbtn);
gtk_box_pack_start (GTK_BOX (hbox1), size_limit_spinbtn, FALSE, FALSE, 0);
- label = gtk_label_new (_("KB"));
+ label = gtk_label_new (_("KiB"));
gtk_widget_show (label);
gtk_box_pack_start (GTK_BOX (hbox1), label, FALSE, FALSE, 0);
diff --git a/src/prefs_compose_writing.c b/src/prefs_compose_writing.c
index 731386955..a91269d79 100644
--- a/src/prefs_compose_writing.c
+++ b/src/prefs_compose_writing.c
@@ -202,7 +202,7 @@ static void prefs_compose_writing_create_widget(PrefsPage *_page, GtkWindow *win
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbtn_warn_large_insert_size),
TRUE);
- label_warn_large_insert_size = gtk_label_new(_("KB into message body "));
+ label_warn_large_insert_size = gtk_label_new(_("KiB into message body "));
gtk_widget_show (label_warn_large_insert_size);
gtk_box_pack_start (GTK_BOX (hbox_warn_large_insert),
label_warn_large_insert_size, FALSE, FALSE, 0);
diff --git a/src/prefs_matcher.c b/src/prefs_matcher.c
index e8d915398..de7785cfc 100644
--- a/src/prefs_matcher.c
+++ b/src/prefs_matcher.c
@@ -360,8 +360,8 @@ static void prefs_matcher_models_create(void)
store = gtk_list_store_new(3, G_TYPE_STRING, G_TYPE_INT, G_TYPE_BOOLEAN);
COMBOBOX_ADD(store, _("bytes"), SIZE_UNIT_BYTES);
- COMBOBOX_ADD(store, _("kilobytes"), SIZE_UNIT_KBYTES);
- COMBOBOX_ADD(store, _("megabytes"), SIZE_UNIT_MBYTES);
+ COMBOBOX_ADD(store, _("kibibytes"), SIZE_UNIT_KBYTES);
+ COMBOBOX_ADD(store, _("mebibytes"), SIZE_UNIT_MBYTES);
matcher.model_size_units = GTK_TREE_MODEL(store);
store = gtk_list_store_new(3, G_TYPE_STRING, G_TYPE_INT, G_TYPE_BOOLEAN);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list