2005-12-02 [paul] 1.9.100cvs51
* src/prefs_common.c allow translation of some default values Patch by Fabien Vantard
This commit is contained in:
parent
8b34b9f4ea
commit
01fef48e4e
4 changed files with 18 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-12-02 [paul] 1.9.100cvs51
|
||||
|
||||
* src/prefs_common.c
|
||||
allow translation of some default values
|
||||
Patch by Fabien Vantard
|
||||
|
||||
2005-12-02 [paul] 1.9.100cvs50
|
||||
|
||||
* src/codeconv.c
|
||||
|
|
|
@ -1034,3 +1034,4 @@
|
|||
( cvs diff -u -r 1.115.2.68 -r 1.115.2.69 src/main.c; cvs diff -u -r 1.17.2.22 -r 1.17.2.23 src/send_message.c; ) > 1.9.100cvs48.patchset
|
||||
( cvs diff -u -r 1.105.2.42 -r 1.105.2.43 src/prefs_account.c; cvs diff -u -r 1.1.2.4 -r 1.1.2.5 src/prefs_compose_writing.c; cvs diff -u -r 1.4.2.13 -r 1.4.2.14 src/prefs_fonts.c; cvs diff -u -r 1.5.2.4 -r 1.5.2.5 src/prefs_gtk.h; cvs diff -u -r 1.1.2.4 -r 1.1.2.5 src/prefs_image_viewer.c; cvs diff -u -r 1.1.2.7 -r 1.1.2.8 src/prefs_message.c; cvs diff -u -r 1.1.2.6 -r 1.1.2.7 src/prefs_other.c; cvs diff -u -r 1.1.2.4 -r 1.1.2.5 src/prefs_receive.c; cvs diff -u -r 1.1.2.6 -r 1.1.2.7 src/prefs_send.c; cvs diff -u -r 1.5.2.14 -r 1.5.2.15 src/prefs_spelling.c; cvs diff -u -r 1.1.2.15 -r 1.1.2.16 src/prefs_summaries.c; cvs diff -u -r 1.1.2.8 -r 1.1.2.9 src/prefs_wrapping.c; cvs diff -u -r 1.5.2.7 -r 1.5.2.8 src/plugins/dillo_viewer/dillo_prefs.c; cvs diff -u -r 1.1.2.4 -r 1.1.2.5 src/plugins/pgpcore/prefs_gpg.c; ) > 1.9.100cvs49.patchset
|
||||
( cvs diff -u -r 1.65.2.43 -r 1.65.2.44 src/codeconv.c; cvs diff -u -r 1.15.2.13 -r 1.15.2.14 src/codeconv.h; cvs diff -u -r 1.204.2.68 -r 1.204.2.69 src/prefs_common.c; cvs diff -u -r 1.103.2.36 -r 1.103.2.37 src/prefs_common.h; cvs diff -u -r 1.1.2.8 -r 1.1.2.9 src/prefs_message.c; cvs diff -u -r 1.96.2.86 -r 1.96.2.87 src/textview.c; cvs diff -u -r 1.4.2.25 -r 1.4.2.26 src/gtk/about.c; ) > 1.9.100cvs50.patchset
|
||||
( cvs diff -u -r 1.204.2.69 -r 1.204.2.70 src/prefs_common.c; ) > 1.9.100cvs51.patchset
|
||||
|
|
|
@ -11,7 +11,7 @@ MINOR_VERSION=9
|
|||
MICRO_VERSION=100
|
||||
INTERFACE_AGE=0
|
||||
BINARY_AGE=0
|
||||
EXTRA_VERSION=50
|
||||
EXTRA_VERSION=51
|
||||
EXTRA_RELEASE=
|
||||
EXTRA_GTK2_VERSION=
|
||||
|
||||
|
|
|
@ -186,15 +186,15 @@ static PrefParam param[] = {
|
|||
/* Quote */
|
||||
{"reply_quote_mark", "> ", &prefs_common.quotemark, P_STRING,
|
||||
NULL, NULL, NULL},
|
||||
{"reply_quote_format", "On %d\\n%f wrote:\\n\\n%q",
|
||||
{"reply_quote_format", N_("On %d\\n%f wrote:\\n\\n%q"),
|
||||
&prefs_common.quotefmt, P_STRING, NULL, NULL, NULL},
|
||||
|
||||
{"forward_quote_mark", "> ", &prefs_common.fw_quotemark, P_STRING,
|
||||
NULL, NULL, NULL},
|
||||
{"forward_quote_format",
|
||||
"\\n\\nBegin forwarded message:\\n\\n"
|
||||
N_("\\n\\nBegin forwarded message:\\n\\n"
|
||||
"?d{Date: %d\\n}?f{From: %f\\n}?t{To: %t\\n}?c{Cc: %c\\n}"
|
||||
"?n{Newsgroups: %n\\n}?s{Subject: %s\\n}\\n\\n%M",
|
||||
"?n{Newsgroups: %n\\n}?s{Subject: %s\\n}\\n\\n%M"),
|
||||
&prefs_common.fw_quotefmt, P_STRING, NULL, NULL, NULL},
|
||||
{"quote_chars", ">", &prefs_common.quote_chars, P_STRING,
|
||||
NULL, NULL, NULL},
|
||||
|
@ -245,7 +245,7 @@ static PrefParam param[] = {
|
|||
NULL, NULL, NULL},
|
||||
{"thread_by_subject", "TRUE", &prefs_common.thread_by_subject, P_BOOL,
|
||||
NULL, NULL, NULL},
|
||||
{"date_format", "%y/%m/%d(%a) %H:%M", &prefs_common.date_format,
|
||||
{"date_format", N_("%y/%m/%d(%a) %H:%M"), &prefs_common.date_format,
|
||||
P_STRING, NULL, NULL, NULL},
|
||||
|
||||
{"bold_unread", "TRUE", &prefs_common.bold_unread, P_BOOL,
|
||||
|
@ -681,11 +681,15 @@ GList *prefs_common_read_history(const gchar *history)
|
|||
void prefs_common_read_config(void)
|
||||
{
|
||||
gchar *rcpath;
|
||||
|
||||
|
||||
rcpath = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, COMMON_RC, NULL);
|
||||
prefs_read_config(param, "Common", rcpath, NULL);
|
||||
g_free(rcpath);
|
||||
|
||||
|
||||
prefs_common.quotefmt = gettext(prefs_common.quotefmt);
|
||||
prefs_common.fw_quotefmt = gettext(prefs_common.fw_quotefmt);
|
||||
prefs_common.date_format = gettext(prefs_common.date_format);
|
||||
|
||||
prefs_common.mime_open_cmd_history =
|
||||
prefs_common_read_history(COMMAND_HISTORY);
|
||||
prefs_common.summary_quicksearch_history =
|
||||
|
|
Loading…
Reference in a new issue