Reverse default value when building with NLS
authorRicardo Mones <ricardo@mones.org>
Wed, 8 Jul 2020 16:15:05 +0000 (18:15 +0200)
committerRicardo Mones <ricardo@mones.org>
Wed, 8 Jul 2020 16:15:05 +0000 (18:15 +0200)
Ref: https://lists.claws-mail.org/pipermail/devel/2020-July/002541.html

src/prefs_common.c

index 36808658744c79b13af04f24643c703557ee578f..de52af0c2ab15658253d86cae76ace194bce9c7d 100644 (file)
@@ -436,8 +436,13 @@ static PrefParam param[] = {
         &prefs_common.ng_abbrev_len, P_INT,
         NULL, NULL, NULL},
 
+#ifdef ENABLE_NLS
+       {"translate_header", "TRUE", &prefs_common.trans_hdr, P_BOOL,
+        NULL, NULL, NULL},
+#else
        {"translate_header", "FALSE", &prefs_common.trans_hdr, P_BOOL,
         NULL, NULL, NULL},
+#endif
 
        /* Display: Summary View */
        {"default_sort_key", "3", &prefs_common.default_sort_key, P_ENUM,