gettextize initial modifications

This commit is contained in:
Fumitoshi UKAI
2003-09-23 18:42:24 +00:00
parent c671efea32
commit 2b74f5b767
67 changed files with 18557 additions and 288 deletions

12
rc.c
View File

@@ -1,4 +1,4 @@
/* $Id: rc.c,v 1.88 2003/09/22 21:27:42 ukai Exp $ */
/* $Id: rc.c,v 1.89 2003/09/23 18:42:25 ukai Exp $ */
/*
* Initialization file etc.
*/
@@ -54,7 +54,8 @@ static int RC_table_size;
#if LANG == JA
static wc_ces OptionCharset = WC_CES_EUC_JP;
static int OptionEncode = FALSE;
/* FIXME: gettextize here */
#define CMT_HELPER "<22><><EFBFBD><EFBFBD><EFBFBD>ӥ塼<D3A5><E5A1BC><EFBFBD><EFBFBD><EFBFBD>Խ<EFBFBD>"
#define CMT_TABSTOP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#define CMT_INDENT_INCR "HTML<4D><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD>ǥ<EFBFBD><C7A5><EFBFBD><EFBFBD><EFBFBD>"
@@ -425,6 +426,7 @@ struct sel_c {
#ifdef USE_COLOR
static struct sel_c colorstr[] = {
#if LANG == JA
/* FIXME: gettextize here */
{0, "black", "<EFBFBD><EFBFBD>"},
{1, "red", "<EFBFBD><EFBFBD>"},
{2, "green", "<EFBFBD><EFBFBD>"},
@@ -465,6 +467,7 @@ static char n_s[][2] = {
static struct sel_c defaulturls[] = {
#if LANG == JA
/* FIXME: gettextize here */
{N_S(DEFAULT_URL_EMPTY), "̵<EFBFBD><EFBFBD>"},
{N_S(DEFAULT_URL_CURRENT), "<EFBFBD><EFBFBD><EFBFBD>ߤ<EFBFBD>URL"},
{N_S(DEFAULT_URL_LINK), "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>URL"},
@@ -479,6 +482,7 @@ static struct sel_c defaulturls[] = {
#ifdef USE_MOUSE
static struct sel_c wheelmode[] = {
#if LANG == JA
/* FIXME: gettextize here */
{TRUE, "1", "A:<3A><><EFBFBD>̥<EFBFBD><CCA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"},
{FALSE, "0", "B:<3A><><EFBFBD><EFBFBD><EFBFBD>ιԿ<CEB9>"},
{0, NULL, NULL}
@@ -867,6 +871,7 @@ struct param_ptr params10[] = {
struct param_section sections[] = {
#if LANG == JA
/* FIXME: gettextize here */
{"ɽ<EFBFBD><EFBFBD><EFBFBD>ط<EFBFBD>", params1},
#ifdef USE_COLOR
{"ɽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>", params2},
@@ -1361,6 +1366,7 @@ sync_with_option(void)
if (AcceptLang == NULL || *AcceptLang == '\0') {
#if LANG == JA
/* FIXME: gettextize here? */
AcceptLang = "ja;q=1.0, en;q=0.5";
#else /* LANG != JA (must be EN) */
AcceptLang = "en;q=1.0";
@@ -1606,7 +1612,7 @@ load_option_panel(void)
buf = loadHTMLString(src);
#ifdef USE_M17N
if (buf)
#if LANG == JA
#if LANG == JA /* XXX: why? */
buf->document_charset = OptionCharset;
#else
buf->document_charset = SystemCharset;