diff options
| author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-09-24 18:35:06 +0000 | 
|---|---|---|
| committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-09-24 18:35:06 +0000 | 
| commit | ed6197d1a0f387101fa0e78ece7e0116d7a98259 (patch) | |
| tree | c584a9ed5c8bdb75e2feaa4c3889410878fd0089 | |
| parent | based on [w3m-dev 03970] (diff) | |
| download | w3m-ed6197d1a0f387101fa0e78ece7e0116d7a98259.tar.gz w3m-ed6197d1a0f387101fa0e78ece7e0116d7a98259.zip | |
gettextize
* Makefile.in: updated
* menu.c: gettextize
* rc.c: gettextize
* intl/.cvsignore: added
* po/.cvsignore: added
* po/Makevars: added
* po/Makevars.template: removed
* po/POTFILES.in: updated
* po/w3m.pot: created
* po/ja.po: created
From: Fumitoshi UKAI  <ukai@debian.or.jp>
| -rw-r--r-- | ChangeLog | 16 | ||||
| -rw-r--r-- | Makefile.in | 11 | ||||
| -rw-r--r-- | intl/.cvsignore | 1 | ||||
| -rw-r--r-- | menu.c | 57 | ||||
| -rw-r--r-- | po/.cvsignore | 5 | ||||
| -rw-r--r-- | po/LINGUAS | 2 | ||||
| -rw-r--r-- | po/Makevars (renamed from po/Makevars.template) | 6 | ||||
| -rw-r--r-- | po/POTFILES.in | 4 | ||||
| -rw-r--r-- | po/ja.po | 763 | ||||
| -rw-r--r-- | po/w3m.pot | 762 | ||||
| -rw-r--r-- | rc.c | 404 | 
11 files changed, 1807 insertions, 224 deletions
| @@ -1,3 +1,17 @@ +2003-09-25  Fumitoshi UKAI  <ukai@debian.or.jp> + +	* gettextize +	* Makefile.in: updated +	* menu.c: gettextize +	* rc.c: gettextize +	* intl/.cvsignore: added +	* po/.cvsignore: added +	* po/Makevars: added +	* po/Makevars.template: removed +	* po/POTFILES.in: updated +	* po/w3m.pot: created +	* po/ja.po: created +  2003-09-24  Fumitoshi UKAI  <ukai@debian.or.jp>  	* based on [w3m-dev 03970] @@ -8058,4 +8072,4 @@ a	* [w3m-dev 03276] compile error on EWS4800  	* release-0-2-1  	* import w3m-0.2.1 -$Id: ChangeLog,v 1.867 2003/09/24 14:05:06 ukai Exp $ +$Id: ChangeLog,v 1.868 2003/09/24 18:35:06 ukai Exp $ diff --git a/Makefile.in b/Makefile.in index 9243711..6c8cc98 100644 --- a/Makefile.in +++ b/Makefile.in @@ -6,6 +6,7 @@  SHELL=@SHELL@  PACKAGE = @PACKAGE@  VERSION = @VERSION@ +DOMAIN = $(PACKAGE)  prefix = @prefix@  exec_prefix = @exec_prefix@  bindir = @bindir@ @@ -181,9 +182,9 @@ w3mimg:  	(cd w3mimg && $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)")  intl po: -	(cd $@ && $(MAKE) top_builddir=.. subdir=$@) +	(cd $@ && $(MAKE)) -install: install-core install-scripts +install: install-core install-scripts install-po  install-core: $(TARGETS)  	-$(MKDIR) $(DESTDIR)$(bindir) @@ -216,6 +217,12 @@ install-helpfile:  		$(INSTALL_DATA) $$file $(DESTDIR)$(HELP_DIR)/$$file; \  	done +install-po: +	for subdir in intl po; \ +	do \ +	 (cd $$subdir && $(MAKE) install); \ +	done +  all-scripts:  	for dir in $(SCRIPTSUBDIRS);	\  	do	\ diff --git a/intl/.cvsignore b/intl/.cvsignore new file mode 100644 index 0000000..f3c7a7c --- /dev/null +++ b/intl/.cvsignore @@ -0,0 +1 @@ +Makefile @@ -1,4 +1,4 @@ -/* $Id: menu.c,v 1.36 2003/09/23 18:42:25 ukai Exp $ */ +/* $Id: menu.c,v 1.37 2003/09/24 18:35:06 ukai Exp $ */  /*    * w3m menu.c   */ @@ -257,8 +257,7 @@ static int smDelTab(char c);  static Menu MainMenu;  #if LANG == JA -/* FIXME: gettextize here */ -static wc_ces MainMenuCharset = WC_CES_EUC_JP; +static wc_ces MainMenuCharset = WC_CES_EUC_JP; /* charset of source code */  static int MainMenuEncode = FALSE;  static MenuItem MainMenuItem[] = {      /* type        label         variabel value func     popup keys data  */ @@ -287,31 +286,36 @@ static MenuItem MainMenuItem[] = {  #else				/* LANG != JA */  #ifdef USE_M17N +/* FIXME: gettextize here */  static wc_ces MainMenuCharset = WC_CES_US_ASCII; +#if ENABLE_NLS +static int MainMenuEncode = FALSE; +#else  static int MainMenuEncode = TRUE;  #endif +#endif  static MenuItem MainMenuItem[] = {      /* type        label           variable value func     popup keys data  */ -    {MENU_FUNC, " Back         (b) ", NULL, 0, backBf, NULL, "b", NULL}, -    {MENU_POPUP, " Select Buffer(s) ", NULL, 0, NULL, &SelectMenu, "s", NULL}, -    {MENU_POPUP, " Select Tab   (t) ", NULL, 0, NULL, &SelTabMenu, "tT", NULL}, -    {MENU_FUNC, " View Source  (v) ", NULL, 0, vwSrc, NULL, "vV", NULL}, -    {MENU_FUNC, " Edit Source  (e) ", NULL, 0, editBf, NULL, "eE", NULL}, -    {MENU_FUNC, " Save Source  (S) ", NULL, 0, svSrc, NULL, "S", NULL}, -    {MENU_FUNC, " Reload       (r) ", NULL, 0, reload, NULL, "rR", NULL}, -    {MENU_NOP, " ---------------- ", NULL, 0, nulcmd, NULL, "", NULL}, -    {MENU_FUNC, " Go Link      (a) ", NULL, 0, followA, NULL, "a", NULL}, -    {MENU_FUNC, "   on New Tab (n) ", NULL, 0, tabA, NULL, "nN", NULL}, -    {MENU_FUNC, " Save Link    (A) ", NULL, 0, svA, NULL, "A", NULL}, -    {MENU_FUNC, " View Image   (i) ", NULL, 0, followI, NULL, "i", NULL}, -    {MENU_FUNC, " Save Image   (I) ", NULL, 0, svI, NULL, "I", NULL}, -    {MENU_FUNC, " View Frame   (f) ", NULL, 0, rFrame, NULL, "fF", NULL}, -    {MENU_NOP, " ---------------- ", NULL, 0, nulcmd, NULL, "", NULL}, -    {MENU_FUNC, " Bookmark     (B) ", NULL, 0, ldBmark, NULL, "B", NULL}, -    {MENU_FUNC, " Help         (h) ", NULL, 0, ldhelp, NULL, "hH", NULL}, -    {MENU_FUNC, " Option       (o) ", NULL, 0, ldOpt, NULL, "oO", NULL}, -    {MENU_NOP, " ---------------- ", NULL, 0, nulcmd, NULL, "", NULL}, -    {MENU_FUNC, " Quit         (q) ", NULL, 0, qquitfm, NULL, "qQ", NULL}, +    {MENU_FUNC,  N_(" Back         (b) "), NULL, 0, backBf, NULL, "b", NULL}, +    {MENU_POPUP, N_(" Select Buffer(s) "), NULL, 0, NULL, &SelectMenu, "s", NULL}, +    {MENU_POPUP, N_(" Select Tab   (t) "), NULL, 0, NULL, &SelTabMenu, "tT", NULL}, +    {MENU_FUNC, N_(" View Source  (v) "), NULL, 0, vwSrc, NULL, "vV", NULL}, +    {MENU_FUNC, N_(" Edit Source  (e) "), NULL, 0, editBf, NULL, "eE", NULL}, +    {MENU_FUNC, N_(" Save Source  (S) "), NULL, 0, svSrc, NULL, "S", NULL}, +    {MENU_FUNC, N_(" Reload       (r) "), NULL, 0, reload, NULL, "rR", NULL}, +    {MENU_NOP, N_(" ---------------- "), NULL, 0, nulcmd, NULL, "", NULL}, +    {MENU_FUNC, N_(" Go Link      (a) "), NULL, 0, followA, NULL, "a", NULL}, +    {MENU_FUNC, N_("   on New Tab (n) "), NULL, 0, tabA, NULL, "nN", NULL}, +    {MENU_FUNC, N_(" Save Link    (A) "), NULL, 0, svA, NULL, "A", NULL}, +    {MENU_FUNC, N_(" View Image   (i) "), NULL, 0, followI, NULL, "i", NULL}, +    {MENU_FUNC, N_(" Save Image   (I) "), NULL, 0, svI, NULL, "I", NULL}, +    {MENU_FUNC, N_(" View Frame   (f) "), NULL, 0, rFrame, NULL, "fF", NULL}, +    {MENU_NOP, N_(" ---------------- "), NULL, 0, nulcmd, NULL, "", NULL}, +    {MENU_FUNC, N_(" Bookmark     (B) "), NULL, 0, ldBmark, NULL, "B", NULL}, +    {MENU_FUNC, N_(" Help         (h) "), NULL, 0, ldhelp, NULL, "hH", NULL}, +    {MENU_FUNC, N_(" Option       (o) "), NULL, 0, ldOpt, NULL, "oO", NULL}, +    {MENU_NOP, N_(" ---------------- "), NULL, 0, nulcmd, NULL, "", NULL}, +    {MENU_FUNC, N_(" Quit         (q) "), NULL, 0, qquitfm, NULL, "qQ", NULL},      {MENU_END, "", NULL, 0, nulcmd, NULL, "", NULL},  };  #endif				/* LANG != JA  */ @@ -1754,9 +1758,14 @@ initMenu(void)  #ifdef USE_M17N      if (!MainMenuEncode) {  	MenuItem *item; +#if ENABLE_NLS +	/* FIXME: charset that gettext(3) returns */ +	MainMenuCharset = SystemCharset;  +#endif  	for (item = MainMenuItem; item->type != MENU_END; item++)  	    item->label = -		wc_conv(item->label, MainMenuCharset, InnerCharset)->ptr; +		wc_conv(gettext(item->label), MainMenuCharset,  +			InnerCharset)->ptr;  	MainMenuEncode = TRUE;      }  #endif diff --git a/po/.cvsignore b/po/.cvsignore new file mode 100644 index 0000000..e1c4c8b --- /dev/null +++ b/po/.cvsignore @@ -0,0 +1,5 @@ +stamp-po +POTFILES +ja.gmo +Makefile +Makefile.in diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 0000000..1489115 --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1,2 @@ +# Set of available languages. +ja diff --git a/po/Makevars.template b/po/Makevars index 32692ab..5440cb2 100644 --- a/po/Makevars.template +++ b/po/Makevars @@ -8,7 +8,7 @@ subdir = po  top_builddir = ..  # These options get passed to xgettext. -XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ +XGETTEXT_OPTIONS = --from-code=EUC-JP --keyword=_ --keyword=N_  # This is the copyright holder that gets inserted into the header of the  # $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding @@ -18,7 +18,7 @@ XGETTEXT_OPTIONS = --keyword=_ --keyword=N_  # or entity, or to disclaim their copyright.  The empty string stands for  # the public domain; in this case the translators are expected to disclaim  # their copyright. -COPYRIGHT_HOLDER = Free Software Foundation, Inc. +COPYRIGHT_HOLDER = Fumitoshi UKAI  # This is the email address or URL to which the translators shall report  # bugs in the untranslated strings: @@ -34,7 +34,7 @@ COPYRIGHT_HOLDER = Free Software Foundation, Inc.  # It can be your email address, or a mailing list address where translators  # can write to without being subscribed, or the URL of a web page through  # which the translators can contact you. -MSGID_BUGS_ADDRESS = +MSGID_BUGS_ADDRESS = ukai@debian.or.jp  # This is the list of locale categories, beyond LC_MESSAGES, for which the  # message catalogs shall be used.  It is usually empty. diff --git a/po/POTFILES.in b/po/POTFILES.in index 178d78e..bc4ce87 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,8 +1,8 @@  # List of source files containing translatable strings.  # Copyright (C) 2003 Fumitoshi UKAI  #main.c -#menu.c -#rc.c +menu.c +rc.c  #w3mbookmark.c  #w3mhelperpanel.c diff --git a/po/ja.po b/po/ja.po new file mode 100644 index 0000000..e88ee5d --- /dev/null +++ b/po/ja.po @@ -0,0 +1,763 @@ +# Japanese translations for w3m package +# w3m パッケージに対する英訳. +# Copyright (C) 2003 THE w3m'S COPYRIGHT HOLDER +# This file is distributed under the same license as the w3m package. +# Fumitoshi UKAI <ukai@debian.or.jp>, 2003. +# +msgid "" +msgstr "" +"Project-Id-Version: w3m 0.4.2\n" +"Report-Msgid-Bugs-To: ukai@debian.or.jp\n" +"POT-Creation-Date: 2003-09-25 02:19+0900\n" +"PO-Revision-Date: 2003-09-25 02:55+0900\n" +"Last-Translator: Fumitoshi UKAI <ukai@debian.or.jp>\n" +"Language-Team: Japanese\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=EUC-JP\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: menu.c:299 +msgid " Back         (b) " +msgstr "戻る         (b)" + +#: menu.c:300 +msgid " Select Buffer(s) " +msgstr "バッファ選択 (s)" + +#: menu.c:301 +msgid " Select Tab   (t) " +msgstr "タブ選択     (t)" + +#: menu.c:302 +msgid " View Source  (v) " +msgstr "ソースを表示 (v)" + +#: menu.c:303 +msgid " Edit Source  (e) " +msgstr "ソースを編集 (e)" + +#: menu.c:304 +msgid " Save Source  (S) " +msgstr "ソースを保存 (S)" + +#: menu.c:305 +msgid " Reload       (r) " +msgstr "再読み込み   (r)" + +#: menu.c:306 menu.c:313 menu.c:317 +msgid " ---------------- " +msgstr "----------------" + +#: menu.c:307 +msgid " Go Link      (a) " +msgstr "リンクを表示 (a)" + +#: menu.c:308 +msgid "   on New Tab (n) " +msgstr "新タブで表示 (n)" + +#: menu.c:309 +msgid " Save Link    (A) " +msgstr "リンクを保存 (A)" + +#: menu.c:310 +msgid " View Image   (i) " +msgstr "画像を表示   (i)" + +#: menu.c:311 +msgid " Save Image   (I) " +msgstr "画像を保存   (I)" + +#: menu.c:312 +msgid " View Frame   (f) " +msgstr "フレーム表示 (f)" + +#: menu.c:314 +msgid " Bookmark     (B) " +msgstr "ブックマーク (B)" + +#: menu.c:315 +msgid " Help         (h) " +msgstr "ヘルプ       (h)" + +#: menu.c:316 +msgid " Option       (o) " +msgstr "オプション   (o)" + +#: menu.c:318 +msgid " Quit         (q) " +msgstr "終了         (q)" + +#: rc.c:240 +msgid "External Viewer Setup" +msgstr "外部ビューアの編集" + +#: rc.c:241 +msgid "Tab width in characters" +msgstr "タブ幅" + +#: rc.c:242 +msgid "Indent for HTML rendering" +msgstr "HTML整形時のインデント幅" + +#: rc.c:243 +msgid "Number of pixels per character (4.0...32.0)" +msgstr "文字幅 (4.0...32.0)" + +#: rc.c:244 +msgid "Number of pixels per line (4.0...64.0)" +msgstr "一行の高さ (4.0...64.0)" + +#: rc.c:245 +msgid "Number of remembered lines when used as a pager" +msgstr "ページャとして利用した時に保存される行数" + +#: rc.c:246 +msgid "Use URL history" +msgstr "履歴を使う" + +#: rc.c:247 +msgid "Number of remembered URL" +msgstr "保持するURL履歴の数" + +#: rc.c:248 +msgid "Save URL history" +msgstr "URL履歴の保存" + +#: rc.c:249 +msgid "Render frames automatically" +msgstr "フレームの自動表示" + +#: rc.c:250 +msgid "Treat argument without scheme as URL" +msgstr "scheme のない引数も URL とみなす" + +#: rc.c:251 +msgid "Use _self as default target" +msgstr "targetが未指定の場合に_selfを使用する" + +#: rc.c:252 +msgid "Open link on new tab if target is _blank or _new" +msgstr "targetが_blankか_newの場合は新しいタブで開く" + +#: rc.c:253 +msgid "Open download list panel on new tab" +msgstr "Download list panel を新しいタブで開く" + +#: rc.c:254 +msgid "Display link URL automatically" +msgstr "リンク先の自動表示" + +#: rc.c:255 +msgid "Display decoded URL" +msgstr "URLをデコードして表示" + +#: rc.c:256 +msgid "Display current line number" +msgstr "現在の行番号の表示" + +#: rc.c:257 +msgid "Display inline images" +msgstr "インライン画像を表示" + +#: rc.c:259 +msgid "Load inline images automatically" +msgstr "インライン画像を自動で読み込む" + +#: rc.c:260 +msgid "Maximum processes for parallel image loading" +msgstr "画像読み込み時の最大プロセス数" + +#: rc.c:261 +msgid "Use external image viewer" +msgstr "画像を外部ビューワで表示" + +#: rc.c:262 +msgid "Scale of image (%)" +msgstr "画像のスケール(%)" + +#: rc.c:263 +msgid "External command to display image" +msgstr "画像を表示するためのコマンド" + +#: rc.c:264 +msgid "Use link list of image map" +msgstr "イメージマップのリンク先一覧を表示" + +#: rc.c:266 +msgid "Display file names in multi-column format" +msgstr "ファイル名のマルチカラム表示" + +#: rc.c:267 +msgid "Use ASCII equivalents to display entities" +msgstr "エンティティを ASCII の代替表現で表す" + +#: rc.c:268 +msgid "Use graphic char for border of table and menu" +msgstr "テーブルやメニューの枠に graphic 文字を使う" + +#: rc.c:269 +msgid "Fold lines in TEXTAREA" +msgstr "TEXTAREA の行を折り返して表示" + +#: rc.c:270 +msgid "Display DEL, S and STRIKE element" +msgstr "DEL, S, STRIKE 要素の内容を表示する" + +#: rc.c:271 +msgid "Display with color" +msgstr "カラー表示" + +#: rc.c:272 +msgid "Color of normal character" +msgstr "文字の色" + +#: rc.c:273 +msgid "Color of anchor" +msgstr "アンカーの色" + +#: rc.c:274 +msgid "Color of image link" +msgstr "画像リンクの色" + +#: rc.c:275 +msgid "Color of form" +msgstr "フォームの色" + +#: rc.c:276 +msgid "Enable coloring of active link" +msgstr "背景の色" + +#: rc.c:277 +msgid "Color of currently active link" +msgstr "マークの色" + +#: rc.c:278 +msgid "Use visited link color" +msgstr "現在選択されているリンクの色を指定する" + +#: rc.c:279 +msgid "Color of visited link" +msgstr "現在選択されているリンクの色" + +#: rc.c:280 +msgid "Color of background" +msgstr "訪れたことがあるリンクは色を変える" + +#: rc.c:281 +msgid "Color of mark" +msgstr "訪れたことがあるリンクの色" + +#: rc.c:282 +msgid "Use proxy" +msgstr "プロキシを使用する" + +#: rc.c:283 +msgid "URL of HTTP proxy host" +msgstr "HTTPプロキシ(URLで入力)" + +#: rc.c:285 +msgid "URL of HTTPS proxy host" +msgstr "HTTPSプロキシ(URLで入力)" + +#: rc.c:288 +msgid "URL of GOPHER proxy host" +msgstr "GOPHERプロキシ(URLで入力)" + +#: rc.c:290 +msgid "URL of FTP proxy host" +msgstr "FTPプロキシ(URLで入力)" + +#: rc.c:291 +msgid "Domains to be accessed directly (no proxy)" +msgstr "プロキシから除外するドメイン" + +#: rc.c:292 +msgid "Check noproxy by network address" +msgstr "ネットワークアドレスでプロキシ除外のチェック" + +#: rc.c:293 +msgid "Disable cache" +msgstr "Cache を使わない" + +#: rc.c:295 +msgid "News server" +msgstr "News サーバ" + +#: rc.c:296 +msgid "Mode of news server" +msgstr "News サーバのモード" + +#: rc.c:297 +msgid "Number of news messages" +msgstr "News を一覧表示する時の数" + +#: rc.c:299 +msgid "Order of name resolution" +msgstr "名前解決の順序" + +#: rc.c:300 +msgid "Directory corresponding to / (document root)" +msgstr "/ で表されるディレクトリ(document root)" + +#: rc.c:301 +msgid "Directory corresponding to /~user" +msgstr "/~user で表されるディレクトリ" + +#: rc.c:302 +msgid "Directory corresponding to /cgi-bin" +msgstr "/cgi-bin で表されるディレクトリ" + +#: rc.c:303 +msgid "Confirm when quitting with q" +msgstr "q での終了時に確認する" + +#: rc.c:304 +msgid "Close tab if buffer is last when back" +msgstr "戻る時にバッファが最後ならタブを閉じる" + +#: rc.c:306 +msgid "Enable mark operations" +msgstr "マーク機能を有効にする" + +#: rc.c:308 +msgid "Enable Emacs-style line editing" +msgstr "Emacs風の行編集にする" + +#: rc.c:309 +msgid "Enable vi-like numeric prefix" +msgstr "vi風の数値プレフィクス" + +#: rc.c:310 +msgid "Move cursor to top line when going to label" +msgstr "ラベルに移動する時にカーソルがトップになるようにする" + +#: rc.c:311 +msgid "Move cursor to top line when moving to next page" +msgstr "次のページに移動する時にカーソルがトップになるようにする" + +#: rc.c:312 +msgid "Fold lines of plain text file" +msgstr "plain text ファイルの行を折り返す" + +#: rc.c:313 +msgid "Show line numbers" +msgstr "行番号を表示する" + +#: rc.c:314 +msgid "Show search string" +msgstr "検索文字列を表示する" + +#: rc.c:315 +msgid "List of mime.types files" +msgstr "利用するmime.types" + +#: rc.c:316 +msgid "List of mailcap files" +msgstr "利用するmailcap" + +#: rc.c:317 +msgid "List of urimethodmap files" +msgstr "利用するurimethodmap" + +#: rc.c:318 +msgid "Editor" +msgstr "利用するエディタ" + +#: rc.c:319 +msgid "Mailer" +msgstr "利用するメーラ" + +#: rc.c:320 +msgid "External Browser" +msgstr "外部ブラウザ" + +#: rc.c:321 +msgid "Second External Browser" +msgstr "外部ブラウザその2" + +#: rc.c:322 +msgid "Third External Browser" +msgstr "外部ブラウザその3" + +#: rc.c:323 +msgid "Disable secret file security check" +msgstr "パスワードファイルのパーミッションをチェックしない" + +#: rc.c:324 +msgid "Password file" +msgstr "パスワードファイル" + +#: rc.c:325 +msgid "File for setting form on loading" +msgstr "文書読込時のフォーム設定用ファイル" + +#: rc.c:326 +msgid "Password for anonymous FTP (your mail address)" +msgstr "FTPのパスワード(普通は自分のmail addressを使う)" + +#: rc.c:327 +msgid "Generate domain part of password for FTP" +msgstr "FTPのパスワードのドメイン名を自動生成する" + +#: rc.c:328 +msgid "User-Agent identification string" +msgstr "User-Agent" + +#: rc.c:329 +msgid "Accept-Encoding header" +msgstr "圧縮方法(Accept-Encoding:)" + +#: rc.c:330 +msgid "Accept header" +msgstr "受けつけるメディアタイプ(Accept:)" + +#: rc.c:331 +msgid "Accept-Language header" +msgstr "受けつける言語(Accept-Language:)" + +#: rc.c:332 +msgid "Treat URL-like strings as links in all pages" +msgstr "全てのページのURL風の文字列をリンクにする" + +#: rc.c:333 +msgid "Wrap search" +msgstr "折り返し検索" + +#: rc.c:334 +msgid "Display unseen objects (e.g. bgimage tag)" +msgstr "背景画像等へのリンクを作る" + +#: rc.c:336 +msgid "Run external viewer in a separate session" +msgstr "外部ビューアを別セッションで動かす" + +#: rc.c:338 +msgid "Run external viewer in the background" +msgstr "外部ビューアをバックグラウンドで動かす" + +#: rc.c:340 +msgid "Use external program for directory listing" +msgstr "ディレクトリリストに外部コマンドを使う" + +#: rc.c:341 +msgid "URL of directory listing command" +msgstr "ディレクトリリスト用コマンド" + +#: rc.c:343 +msgid "Enable dictionary lookup through CGI" +msgstr "辞書引きをCGI経由でおこなう" + +#: rc.c:344 +msgid "URL of dictionary lookup command" +msgstr "辞書引きコマンドのURL" + +#: rc.c:346 +msgid "Display link name for images lacking ALT" +msgstr "空のIMG ALT属性の時にリンク名を表示する" + +#: rc.c:347 +msgid "Index file for directories" +msgstr "各ディレクトリのインデックスファイル" + +#: rc.c:348 +msgid "Prepend http:// to URL automatically" +msgstr "URLに自動的に http:// を補う" + +#: rc.c:349 +msgid "Default value for open-URL command" +msgstr "URLを開く時のデフォルト文字列" + +#: rc.c:350 +msgid "Decode Content-Transfer-Encoding when saving" +msgstr "保存時に Content-Transfer-Encoding をデコードする" + +#: rc.c:351 +msgid "Preserve timestamp when saving" +msgstr "保存時にタイムスタンプを保持する" + +#: rc.c:353 +msgid "Enable mouse" +msgstr "マウスを使う" + +#: rc.c:354 +msgid "Scroll in reverse direction of mouse drag" +msgstr "マウスのドラッグ動作を逆にする" + +#: rc.c:355 +msgid "Behavior of wheel scroll speed" +msgstr "ホイールでのスクロール速度の扱い" + +#: rc.c:356 +#, no-c-format +msgid "(A only)Scroll by # % of screen" +msgstr "(Aのみ)画面の何%スクロールするか" + +#: rc.c:357 +msgid "(B only)Scroll by # lines" +msgstr "(Bのみ)スクロールする行数" + +#: rc.c:359 +msgid "Free memory of undisplayed buffers" +msgstr "表示されていないバッファのメモリを解放する" + +#: rc.c:360 +msgid "Suppress `Referer:' header" +msgstr "Referer: を送らないようにする" + +#: rc.c:361 +msgid "Search case-insensitively" +msgstr "サーチ時に大文字小文字の区別をしない" + +#: rc.c:362 +msgid "Use LESSOPEN" +msgstr "LESSOPENを使用" + +#: rc.c:365 +msgid "Perform SSL server verification" +msgstr "SSLのサーバ認証を行う" + +#: rc.c:366 +msgid "PEM encoded certificate file of client" +msgstr "SSLのクライアント用PEM形式証明書ファイル" + +#: rc.c:367 +msgid "PEM encoded private key file of client" +msgstr "SSLのクライアント用PEM形式秘密鍵ファイル" + +#: rc.c:368 +msgid "Path to directory for PEM encoded certificates of CAs" +msgstr "SSLの認証局のPEM形式証明書群のあるディレクトリへのパス" + +#: rc.c:369 +msgid "File consisting of PEM encoded certificates of CAs" +msgstr "SSLの認証局のPEM形式証明書群のファイル" + +#: rc.c:371 +msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)" +msgstr "使わないSSLメソッドのリスト(2: SSLv2, 3: SSLv3, t:TLSv1)" + +#: rc.c:374 +msgid "Enable cookie processing" +msgstr "クッキーを使用する" + +#: rc.c:375 +msgid "Accept cookies" +msgstr "クッキーを受け付ける" + +#: rc.c:376 +msgid "Action to be taken on invalid cookie" +msgstr "問題のあるクッキーでも受け付ける" + +#: rc.c:377 +msgid "Domains to reject cookies from" +msgstr "クッキーを受け付けないドメイン" + +#: rc.c:378 +msgid "Domains to accept cookies from" +msgstr "クッキーを受け付けるドメイン" + +#: rc.c:380 +msgid "Number of redirections to follow" +msgstr "従うリダイレクトの回数" + +#: rc.c:381 +msgid "Enable processing of meta-refresh tag" +msgstr "meta refresh に対応する" + +#: rc.c:384 +msgid "Enable Migemo (Roma-ji search)" +msgstr "Migemo(ローマ字検索)を使用する" + +#: rc.c:385 +msgid "Migemo command" +msgstr "Migemoコマンド" + +#: rc.c:389 +msgid "Display charset" +msgstr "表示用文字コード" + +#: rc.c:390 +msgid "Default document charset" +msgstr "文書の標準の文字コード" + +#: rc.c:391 +msgid "Automatic charset detect when loading" +msgstr "文書の読み込み時に文字コードの自動判定を行う" + +#: rc.c:392 +msgid "System charset" +msgstr "システムの文字コード" + +#: rc.c:393 +msgid "System charset follows locale(LC_CTYPE)" +msgstr "Locale(LC_CTYPE) に従ってシステムの文字コードを設定" + +#: rc.c:394 +msgid "Output halfdump with display charset" +msgstr "表示用文字コードで halfdump の出力を行う" + +#: rc.c:395 +msgid "Use multi column characters" +msgstr "複数カラムの文字を使う" + +#: rc.c:396 +msgid "Use combining characters" +msgstr "結合文字を使う" + +#: rc.c:397 +msgid "Use Unicode language tags" +msgstr "Unicode の言語タグを使う" + +#: rc.c:398 +msgid "Charset conversion using Unicode map" +msgstr "Unicodeを介したコード変換" + +#: rc.c:399 +msgid "Charset conversion when loading" +msgstr "文書の読み込み時に文字コードを変換する" + +#: rc.c:400 +msgid "Adjust search string for document charset" +msgstr "検索文字列を文書の文字コードに変換する" + +#: rc.c:401 +msgid "Fix character width when conversion" +msgstr "文字幅の変わる変換をしない" + +#: rc.c:402 +msgid "Use GB 12345 Unicode map instead of GB 2312's" +msgstr "GB 12345 の Unicode マップを GB 2312 用に使う" + +#: rc.c:403 +msgid "Use JIS X 0201 Roman for ISO-2022-JP" +msgstr "ISO-2022-JP で JIS X 0201-Roman を使う" + +#: rc.c:404 +msgid "Use JIS C 6226:1978 for ISO-2022-JP" +msgstr "ISO-2022-JP で JIS C 6226:1978(旧JIS) を使う" + +#: rc.c:405 +msgid "Use JIS X 0201 Katakana" +msgstr "JIS X 0201-Katakana を使う" + +#: rc.c:406 +msgid "Use JIS X 0212:1990 (Supplemental Kanji)" +msgstr "JIS X 0212:1990(補助漢字) を使う" + +#: rc.c:407 +msgid "Use JIS X 0213:2000 (2000JIS)" +msgstr "JIS X 0213:2000(2000JIS) を使う" + +#: rc.c:408 +msgid "Strict ISO-2022-JP/KR/CN" +msgstr "厳格な ISO-2022-JP/KR/CN を使う" + +#: rc.c:409 +msgid "Treat 4 bytes char. of GB18030 as Unicode" +msgstr "GB18030 の 4バイト文字を Unicode として扱う" + +#: rc.c:412 +msgid "keymap file" +msgstr "keymapファイル" + +#: rc.c:444 +msgid "black" +msgstr "黒" + +#: rc.c:445 +msgid "red" +msgstr "赤" + +#: rc.c:446 +msgid "green" +msgstr "緑" + +#: rc.c:447 +msgid "yellow" +msgstr "黄" + +#: rc.c:448 +msgid "blue" +msgstr "青" + +#: rc.c:449 +msgid "magenta" +msgstr "紫" + +#: rc.c:450 +msgid "cyan" +msgstr "空色" + +#: rc.c:451 +msgid "white" +msgstr "白" + +#: rc.c:452 +msgid "terminal" +msgstr "端末" + +#: rc.c:478 +msgid "none" +msgstr "無し" + +#: rc.c:479 +msgid "current URL" +msgstr "現在のURL" + +#: rc.c:480 +msgid "link URL" +msgstr "リンク先のURL" + +#: rc.c:493 +msgid "A:relative to screen height" +msgstr "A:画面サイズに比例" + +#: rc.c:494 +msgid "B:fixed speed" +msgstr "B:一定の行数" + +#: rc.c:899 +msgid "Display Settings" +msgstr "表示関係" + +#: rc.c:901 +msgid "Color Settings" +msgstr "表示色" + +#: rc.c:903 +msgid "Miscellaneous Settings" +msgstr "雑多な設定" + +#: rc.c:904 +msgid "Directory Settings" +msgstr "ディレクトリ設定" + +#: rc.c:905 +msgid "External Program Settings" +msgstr "外部プログラム" + +#: rc.c:906 +msgid "Network Settings" +msgstr "ネットワークの設定" + +#: rc.c:907 +msgid "Proxy Settings" +msgstr "プロキシの設定" + +#: rc.c:909 +msgid "SSL Settings" +msgstr "SSLの設定" + +#: rc.c:912 +msgid "Cookie Settings" +msgstr "クッキーの設定" + +#: rc.c:915 +msgid "Charset Settings" +msgstr "文字コードの設定" + +#: rc.c:1386 +msgid "en;q=1.0" +msgstr "ja;q=1.0, en;q=0.5" diff --git a/po/w3m.pot b/po/w3m.pot new file mode 100644 index 0000000..aabec44 --- /dev/null +++ b/po/w3m.pot @@ -0,0 +1,762 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: ukai@debian.or.jp\n" +"POT-Creation-Date: 2003-09-25 02:19+0900\n" +"PO-Revision-Date: 2003-09-25 02:23+0900\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: menu.c:299 +msgid " Back         (b) " +msgstr "" + +#: menu.c:300 +msgid " Select Buffer(s) " +msgstr "" + +#: menu.c:301 +msgid " Select Tab   (t) " +msgstr "" + +#: menu.c:302 +msgid " View Source  (v) " +msgstr "" + +#: menu.c:303 +msgid " Edit Source  (e) " +msgstr "" + +#: menu.c:304 +msgid " Save Source  (S) " +msgstr "" + +#: menu.c:305 +msgid " Reload       (r) " +msgstr "" + +#: menu.c:306 menu.c:313 menu.c:317 +msgid " ---------------- " +msgstr "" + +#: menu.c:307 +msgid " Go Link      (a) " +msgstr "" + +#: menu.c:308 +msgid "   on New Tab (n) " +msgstr "" + +#: menu.c:309 +msgid " Save Link    (A) " +msgstr "" + +#: menu.c:310 +msgid " View Image   (i) " +msgstr "" + +#: menu.c:311 +msgid " Save Image   (I) " +msgstr "" + +#: menu.c:312 +msgid " View Frame   (f) " +msgstr "" + +#: menu.c:314 +msgid " Bookmark     (B) " +msgstr "" + +#: menu.c:315 +msgid " Help         (h) " +msgstr "" + +#: menu.c:316 +msgid " Option       (o) " +msgstr "" + +#: menu.c:318 +msgid " Quit         (q) " +msgstr "" + +#: rc.c:240 +msgid "External Viewer Setup" +msgstr "" + +#: rc.c:241 +msgid "Tab width in characters" +msgstr "" + +#: rc.c:242 +msgid "Indent for HTML rendering" +msgstr "" + +#: rc.c:243 +msgid "Number of pixels per character (4.0...32.0)" +msgstr "" + +#: rc.c:244 +msgid "Number of pixels per line (4.0...64.0)" +msgstr "" + +#: rc.c:245 +msgid "Number of remembered lines when used as a pager" +msgstr "" + +#: rc.c:246 +msgid "Use URL history" +msgstr "" + +#: rc.c:247 +msgid "Number of remembered URL" +msgstr "" + +#: rc.c:248 +msgid "Save URL history" +msgstr "" + +#: rc.c:249 +msgid "Render frames automatically" +msgstr "" + +#: rc.c:250 +msgid "Treat argument without scheme as URL" +msgstr "" + +#: rc.c:251 +msgid "Use _self as default target" +msgstr "" + +#: rc.c:252 +msgid "Open link on new tab if target is _blank or _new" +msgstr "" + +#: rc.c:253 +msgid "Open download list panel on new tab" +msgstr "" + +#: rc.c:254 +msgid "Display link URL automatically" +msgstr "" + +#: rc.c:255 +msgid "Display decoded URL" +msgstr "" + +#: rc.c:256 +msgid "Display current line number" +msgstr "" + +#: rc.c:257 +msgid "Display inline images" +msgstr "" + +#: rc.c:259 +msgid "Load inline images automatically" +msgstr "" + +#: rc.c:260 +msgid "Maximum processes for parallel image loading" +msgstr "" + +#: rc.c:261 +msgid "Use external image viewer" +msgstr "" + +#: rc.c:262 +msgid "Scale of image (%)" +msgstr "" + +#: rc.c:263 +msgid "External command to display image" +msgstr "" + +#: rc.c:264 +msgid "Use link list of image map" +msgstr "" + +#: rc.c:266 +msgid "Display file names in multi-column format" +msgstr "" + +#: rc.c:267 +msgid "Use ASCII equivalents to display entities" +msgstr "" + +#: rc.c:268 +msgid "Use graphic char for border of table and menu" +msgstr "" + +#: rc.c:269 +msgid "Fold lines in TEXTAREA" +msgstr "" + +#: rc.c:270 +msgid "Display DEL, S and STRIKE element" +msgstr "" + +#: rc.c:271 +msgid "Display with color" +msgstr "" + +#: rc.c:272 +msgid "Color of normal character" +msgstr "" + +#: rc.c:273 +msgid "Color of anchor" +msgstr "" + +#: rc.c:274 +msgid "Color of image link" +msgstr "" + +#: rc.c:275 +msgid "Color of form" +msgstr "" + +#: rc.c:276 +msgid "Enable coloring of active link" +msgstr "" + +#: rc.c:277 +msgid "Color of currently active link" +msgstr "" + +#: rc.c:278 +msgid "Use visited link color" +msgstr "" + +#: rc.c:279 +msgid "Color of visited link" +msgstr "" + +#: rc.c:280 +msgid "Color of background" +msgstr "" + +#: rc.c:281 +msgid "Color of mark" +msgstr "" + +#: rc.c:282 +msgid "Use proxy" +msgstr "" + +#: rc.c:283 +msgid "URL of HTTP proxy host" +msgstr "" + +#: rc.c:285 +msgid "URL of HTTPS proxy host" +msgstr "" + +#: rc.c:288 +msgid "URL of GOPHER proxy host" +msgstr "" + +#: rc.c:290 +msgid "URL of FTP proxy host" +msgstr "" + +#: rc.c:291 +msgid "Domains to be accessed directly (no proxy)" +msgstr "" + +#: rc.c:292 +msgid "Check noproxy by network address" +msgstr "" + +#: rc.c:293 +msgid "Disable cache" +msgstr "" + +#: rc.c:295 +msgid "News server" +msgstr "" + +#: rc.c:296 +msgid "Mode of news server" +msgstr "" + +#: rc.c:297 +msgid "Number of news messages" +msgstr "" + +#: rc.c:299 +msgid "Order of name resolution" +msgstr "" + +#: rc.c:300 +msgid "Directory corresponding to / (document root)" +msgstr "" + +#: rc.c:301 +msgid "Directory corresponding to /~user" +msgstr "" + +#: rc.c:302 +msgid "Directory corresponding to /cgi-bin" +msgstr "" + +#: rc.c:303 +msgid "Confirm when quitting with q" +msgstr "" + +#: rc.c:304 +msgid "Close tab if buffer is last when back" +msgstr "" + +#: rc.c:306 +msgid "Enable mark operations" +msgstr "" + +#: rc.c:308 +msgid "Enable Emacs-style line editing" +msgstr "" + +#: rc.c:309 +msgid "Enable vi-like numeric prefix" +msgstr "" + +#: rc.c:310 +msgid "Move cursor to top line when going to label" +msgstr "" + +#: rc.c:311 +msgid "Move cursor to top line when moving to next page" +msgstr "" + +#: rc.c:312 +msgid "Fold lines of plain text file" +msgstr "" + +#: rc.c:313 +msgid "Show line numbers" +msgstr "" + +#: rc.c:314 +msgid "Show search string" +msgstr "" + +#: rc.c:315 +msgid "List of mime.types files" +msgstr "" + +#: rc.c:316 +msgid "List of mailcap files" +msgstr "" + +#: rc.c:317 +msgid "List of urimethodmap files" +msgstr "" + +#: rc.c:318 +msgid "Editor" +msgstr "" + +#: rc.c:319 +msgid "Mailer" +msgstr "" + +#: rc.c:320 +msgid "External Browser" +msgstr "" + +#: rc.c:321 +msgid "Second External Browser" +msgstr "" + +#: rc.c:322 +msgid "Third External Browser" +msgstr "" + +#: rc.c:323 +msgid "Disable secret file security check" +msgstr "" + +#: rc.c:324 +msgid "Password file" +msgstr "" + +#: rc.c:325 +msgid "File for setting form on loading" +msgstr "" + +#: rc.c:326 +msgid "Password for anonymous FTP (your mail address)" +msgstr "" + +#: rc.c:327 +msgid "Generate domain part of password for FTP" +msgstr "" + +#: rc.c:328 +msgid "User-Agent identification string" +msgstr "" + +#: rc.c:329 +msgid "Accept-Encoding header" +msgstr "" + +#: rc.c:330 +msgid "Accept header" +msgstr "" + +#: rc.c:331 +msgid "Accept-Language header" +msgstr "" + +#: rc.c:332 +msgid "Treat URL-like strings as links in all pages" +msgstr "" + +#: rc.c:333 +msgid "Wrap search" +msgstr "" + +#: rc.c:334 +msgid "Display unseen objects (e.g. bgimage tag)" +msgstr "" + +#: rc.c:336 +msgid "Run external viewer in a separate session" +msgstr "" + +#: rc.c:338 +msgid "Run external viewer in the background" +msgstr "" + +#: rc.c:340 +msgid "Use external program for directory listing" +msgstr "" + +#: rc.c:341 +msgid "URL of directory listing command" +msgstr "" + +#: rc.c:343 +msgid "Enable dictionary lookup through CGI" +msgstr "" + +#: rc.c:344 +msgid "URL of dictionary lookup command" +msgstr "" + +#: rc.c:346 +msgid "Display link name for images lacking ALT" +msgstr "" + +#: rc.c:347 +msgid "Index file for directories" +msgstr "" + +#: rc.c:348 +msgid "Prepend http:// to URL automatically" +msgstr "" + +#: rc.c:349 +msgid "Default value for open-URL command" +msgstr "" + +#: rc.c:350 +msgid "Decode Content-Transfer-Encoding when saving" +msgstr "" + +#: rc.c:351 +msgid "Preserve timestamp when saving" +msgstr "" + +#: rc.c:353 +msgid "Enable mouse" +msgstr "" + +#: rc.c:354 +msgid "Scroll in reverse direction of mouse drag" +msgstr "" + +#: rc.c:355 +msgid "Behavior of wheel scroll speed" +msgstr "" + +#: rc.c:356 +#, no-c-format +msgid "(A only)Scroll by # % of screen" +msgstr "" + +#: rc.c:357 +msgid "(B only)Scroll by # lines" +msgstr "" + +#: rc.c:359 +msgid "Free memory of undisplayed buffers" +msgstr "" + +#: rc.c:360 +msgid "Suppress `Referer:' header" +msgstr "" + +#: rc.c:361 +msgid "Search case-insensitively" +msgstr "" + +#: rc.c:362 +msgid "Use LESSOPEN" +msgstr "" + +#: rc.c:365 +msgid "Perform SSL server verification" +msgstr "" + +#: rc.c:366 +msgid "PEM encoded certificate file of client" +msgstr "" + +#: rc.c:367 +msgid "PEM encoded private key file of client" +msgstr "" + +#: rc.c:368 +msgid "Path to directory for PEM encoded certificates of CAs" +msgstr "" + +#: rc.c:369 +msgid "File consisting of PEM encoded certificates of CAs" +msgstr "" + +#: rc.c:371 +msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)" +msgstr "" + +#: rc.c:374 +msgid "Enable cookie processing" +msgstr "" + +#: rc.c:375 +msgid "Accept cookies" +msgstr "" + +#: rc.c:376 +msgid "Action to be taken on invalid cookie" +msgstr "" + +#: rc.c:377 +msgid "Domains to reject cookies from" +msgstr "" + +#: rc.c:378 +msgid "Domains to accept cookies from" +msgstr "" + +#: rc.c:380 +msgid "Number of redirections to follow" +msgstr "" + +#: rc.c:381 +msgid "Enable processing of meta-refresh tag" +msgstr "" + +#: rc.c:384 +msgid "Enable Migemo (Roma-ji search)" +msgstr "" + +#: rc.c:385 +msgid "Migemo command" +msgstr "" + +#: rc.c:389 +msgid "Display charset" +msgstr "" + +#: rc.c:390 +msgid "Default document charset" +msgstr "" + +#: rc.c:391 +msgid "Automatic charset detect when loading" +msgstr "" + +#: rc.c:392 +msgid "System charset" +msgstr "" + +#: rc.c:393 +msgid "System charset follows locale(LC_CTYPE)" +msgstr "" + +#: rc.c:394 +msgid "Output halfdump with display charset" +msgstr "" + +#: rc.c:395 +msgid "Use multi column characters" +msgstr "" + +#: rc.c:396 +msgid "Use combining characters" +msgstr "" + +#: rc.c:397 +msgid "Use Unicode language tags" +msgstr "" + +#: rc.c:398 +msgid "Charset conversion using Unicode map" +msgstr "" + +#: rc.c:399 +msgid "Charset conversion when loading" +msgstr "" + +#: rc.c:400 +msgid "Adjust search string for document charset" +msgstr "" + +#: rc.c:401 +msgid "Fix character width when conversion" +msgstr "" + +#: rc.c:402 +msgid "Use GB 12345 Unicode map instead of GB 2312's" +msgstr "" + +#: rc.c:403 +msgid "Use JIS X 0201 Roman for ISO-2022-JP" +msgstr "" + +#: rc.c:404 +msgid "Use JIS C 6226:1978 for ISO-2022-JP" +msgstr "" + +#: rc.c:405 +msgid "Use JIS X 0201 Katakana" +msgstr "" + +#: rc.c:406 +msgid "Use JIS X 0212:1990 (Supplemental Kanji)" +msgstr "" + +#: rc.c:407 +msgid "Use JIS X 0213:2000 (2000JIS)" +msgstr "" + +#: rc.c:408 +msgid "Strict ISO-2022-JP/KR/CN" +msgstr "" + +#: rc.c:409 +msgid "Treat 4 bytes char. of GB18030 as Unicode" +msgstr "" + +#: rc.c:412 +msgid "keymap file" +msgstr "" + +#: rc.c:444 +msgid "black" +msgstr "" + +#: rc.c:445 +msgid "red" +msgstr "" + +#: rc.c:446 +msgid "green" +msgstr "" + +#: rc.c:447 +msgid "yellow" +msgstr "" + +#: rc.c:448 +msgid "blue" +msgstr "" + +#: rc.c:449 +msgid "magenta" +msgstr "" + +#: rc.c:450 +msgid "cyan" +msgstr "" + +#: rc.c:451 +msgid "white" +msgstr "" + +#: rc.c:452 +msgid "terminal" +msgstr "" + +#: rc.c:478 +msgid "none" +msgstr "" + +#: rc.c:479 +msgid "current URL" +msgstr "" + +#: rc.c:480 +msgid "link URL" +msgstr "" + +#: rc.c:493 +msgid "A:relative to screen height" +msgstr "" + +#: rc.c:494 +msgid "B:fixed speed" +msgstr "" + +#: rc.c:899 +msgid "Display Settings" +msgstr "" + +#: rc.c:901 +msgid "Color Settings" +msgstr "" + +#: rc.c:903 +msgid "Miscellaneous Settings" +msgstr "" + +#: rc.c:904 +msgid "Directory Settings" +msgstr "" + +#: rc.c:905 +msgid "External Program Settings" +msgstr "" + +#: rc.c:906 +msgid "Network Settings" +msgstr "" + +#: rc.c:907 +msgid "Proxy Settings" +msgstr "" + +#: rc.c:909 +msgid "SSL Settings" +msgstr "" + +#: rc.c:912 +msgid "Cookie Settings" +msgstr "" + +#: rc.c:915 +msgid "Charset Settings" +msgstr "" + +#: rc.c:1386 +msgid "en;q=1.0" +msgstr "" @@ -1,4 +1,4 @@ -/* $Id: rc.c,v 1.89 2003/09/23 18:42:25 ukai Exp $ */ +/* $Id: rc.c,v 1.90 2003/09/24 18:35:06 ukai Exp $ */  /*    * Initialization file etc.   */ @@ -52,10 +52,9 @@ static int RC_table_size;  #define P_SCALE    10  #if LANG == JA -static wc_ces OptionCharset = WC_CES_EUC_JP; +static wc_ces OptionCharset = WC_CES_EUC_JP; /* charset of source code */  static int OptionEncode = FALSE; -/* FIXME: gettextize here */  #define CMT_HELPER	 "外部ビューアの編集"  #define CMT_TABSTOP      "タブ幅"  #define CMT_INDENT_INCR  "HTML整形時のインデント幅" @@ -232,181 +231,185 @@ static int OptionEncode = FALSE;  #define CMT_KEYMAP_FILE "keymapファイル"  #else				/* LANG != JA */ +/* FIXME: gettextize here */ +#if ENABLE_NLS +static wc_ces OptionCharset = WC_CES_US_ASCII; +static int OptionEncode = FALSE; +#endif - -#define CMT_HELPER	 "External Viewer Setup" -#define CMT_TABSTOP      "Tab width in characters" -#define CMT_INDENT_INCR  "Indent for HTML rendering" -#define CMT_PIXEL_PER_CHAR      "Number of pixels per character (4.0...32.0)" -#define CMT_PIXEL_PER_LINE      "Number of pixels per line (4.0...64.0)" -#define CMT_PAGERLINE    "Number of remembered lines when used as a pager" -#define CMT_HISTORY	 "Use URL history" -#define CMT_HISTSIZE     "Number of remembered URL" -#define CMT_SAVEHIST     "Save URL history" -#define CMT_FRAME        "Render frames automatically" -#define CMT_ARGV_IS_URL  "Treat argument without scheme as URL" -#define CMT_TSELF        "Use _self as default target" -#define CMT_OPEN_TAB_BLANK "Open link on new tab if target is _blank or _new" -#define CMT_OPEN_TAB_DL_LIST "Open download list panel on new tab" -#define CMT_DISPLINK     "Display link URL automatically" -#define CMT_DECODE_URL   "Display decoded URL" -#define CMT_DISPLINEINFO "Display current line number" -#define CMT_DISP_IMAGE   "Display inline images" +#define CMT_HELPER	 N_("External Viewer Setup") +#define CMT_TABSTOP      N_("Tab width in characters") +#define CMT_INDENT_INCR  N_("Indent for HTML rendering") +#define CMT_PIXEL_PER_CHAR N_("Number of pixels per character (4.0...32.0)") +#define CMT_PIXEL_PER_LINE N_("Number of pixels per line (4.0...64.0)") +#define CMT_PAGERLINE    N_("Number of remembered lines when used as a pager") +#define CMT_HISTORY	 N_("Use URL history") +#define CMT_HISTSIZE     N_("Number of remembered URL") +#define CMT_SAVEHIST     N_("Save URL history") +#define CMT_FRAME        N_("Render frames automatically") +#define CMT_ARGV_IS_URL  N_("Treat argument without scheme as URL") +#define CMT_TSELF        N_("Use _self as default target") +#define CMT_OPEN_TAB_BLANK N_("Open link on new tab if target is _blank or _new") +#define CMT_OPEN_TAB_DL_LIST N_("Open download list panel on new tab") +#define CMT_DISPLINK     N_("Display link URL automatically") +#define CMT_DECODE_URL   N_("Display decoded URL") +#define CMT_DISPLINEINFO N_("Display current line number") +#define CMT_DISP_IMAGE   N_("Display inline images")  #ifdef USE_IMAGE -#define CMT_AUTO_IMAGE   "Load inline images automatically" -#define CMT_MAX_LOAD_IMAGE "Maximum processes for parallel image loading" -#define CMT_EXT_IMAGE_VIEWER   "Use external image viewer" -#define CMT_IMAGE_SCALE  "Scale of image (%)" -#define CMT_IMGDISPLAY   "External command to display image" -#define CMT_IMAGE_MAP_LIST "Use link list of image map" -#endif -#define CMT_MULTICOL     "Display file names in multi-column format" -#define CMT_ALT_ENTITY   "Use ASCII equivalents to display entities" -#define CMT_GRAPHIC_CHAR "Use graphic char for border of table and menu" -#define CMT_FOLD_TEXTAREA "Fold lines in TEXTAREA" -#define CMT_DISP_INS_DEL "Display DEL, S and STRIKE element" -#define CMT_COLOR        "Display with color" -#define CMT_B_COLOR      "Color of normal character" -#define CMT_A_COLOR      "Color of anchor" -#define CMT_I_COLOR      "Color of image link" -#define CMT_F_COLOR      "Color of form" -#define CMT_ACTIVE_STYLE "Enable coloring of active link" -#define CMT_C_COLOR	 "Color of currently active link" -#define CMT_VISITED_ANCHOR "Use visited link color" -#define CMT_V_COLOR	 "Color of visited link" -#define CMT_BG_COLOR     "Color of background" -#define CMT_MARK_COLOR   "Color of mark" -#define CMT_USE_PROXY    "Use proxy" -#define CMT_HTTP_PROXY   "URL of HTTP proxy host" +#define CMT_AUTO_IMAGE   N_("Load inline images automatically") +#define CMT_MAX_LOAD_IMAGE N_("Maximum processes for parallel image loading") +#define CMT_EXT_IMAGE_VIEWER   N_("Use external image viewer") +#define CMT_IMAGE_SCALE  N_("Scale of image (%)") +#define CMT_IMGDISPLAY   N_("External command to display image") +#define CMT_IMAGE_MAP_LIST N_("Use link list of image map") +#endif +#define CMT_MULTICOL     N_("Display file names in multi-column format") +#define CMT_ALT_ENTITY   N_("Use ASCII equivalents to display entities") +#define CMT_GRAPHIC_CHAR N_("Use graphic char for border of table and menu") +#define CMT_FOLD_TEXTAREA N_("Fold lines in TEXTAREA") +#define CMT_DISP_INS_DEL N_("Display DEL, S and STRIKE element") +#define CMT_COLOR        N_("Display with color") +#define CMT_B_COLOR      N_("Color of normal character") +#define CMT_A_COLOR      N_("Color of anchor") +#define CMT_I_COLOR      N_("Color of image link") +#define CMT_F_COLOR      N_("Color of form") +#define CMT_ACTIVE_STYLE N_("Enable coloring of active link") +#define CMT_C_COLOR	 N_("Color of currently active link") +#define CMT_VISITED_ANCHOR N_("Use visited link color") +#define CMT_V_COLOR	 N_("Color of visited link") +#define CMT_BG_COLOR     N_("Color of background") +#define CMT_MARK_COLOR   N_("Color of mark") +#define CMT_USE_PROXY    N_("Use proxy") +#define CMT_HTTP_PROXY   N_("URL of HTTP proxy host")  #ifdef USE_SSL -#define CMT_HTTPS_PROXY  "URL of HTTPS proxy host" +#define CMT_HTTPS_PROXY  N_("URL of HTTPS proxy host")  #endif				/* USE_SSL */  #ifdef USE_GOPHER -#define CMT_GOPHER_PROXY "URL of GOPHER proxy host" +#define CMT_GOPHER_PROXY N_("URL of GOPHER proxy host")  #endif				/* USE_GOPHER */ -#define CMT_FTP_PROXY    "URL of FTP proxy host" -#define CMT_NO_PROXY     "Domains to be accessed directly (no proxy)" -#define CMT_NOPROXY_NETADDR	"Check noproxy by network address" -#define CMT_NO_CACHE     "Disable cache" +#define CMT_FTP_PROXY    N_("URL of FTP proxy host") +#define CMT_NO_PROXY     N_("Domains to be accessed directly (no proxy)") +#define CMT_NOPROXY_NETADDR	N_("Check noproxy by network address") +#define CMT_NO_CACHE     N_("Disable cache")  #ifdef USE_NNTP -#define CMT_NNTP_SERVER  "News server" -#define CMT_NNTP_MODE    "Mode of news server" -#define CMT_MAX_NEWS     "Number of news messages" -#endif -#define CMT_DNS_ORDER	"Order of name resolution" -#define CMT_DROOT        "Directory corresponding to / (document root)" -#define CMT_PDROOT       "Directory corresponding to /~user" -#define CMT_CGIBIN       "Directory corresponding to /cgi-bin" -#define CMT_CONFIRM_QQ   "Confirm when quitting with q" -#define CMT_CLOSE_TAB_BACK "Close tab if buffer is last when back" +#define CMT_NNTP_SERVER  N_("News server") +#define CMT_NNTP_MODE    N_("Mode of news server") +#define CMT_MAX_NEWS     N_("Number of news messages") +#endif +#define CMT_DNS_ORDER	N_("Order of name resolution") +#define CMT_DROOT       N_("Directory corresponding to / (document root)") +#define CMT_PDROOT      N_("Directory corresponding to /~user") +#define CMT_CGIBIN      N_("Directory corresponding to /cgi-bin") +#define CMT_CONFIRM_QQ  N_("Confirm when quitting with q") +#define CMT_CLOSE_TAB_BACK N_("Close tab if buffer is last when back")  #ifdef USE_MARK -#define CMT_USE_MARK	"Enable mark operations" -#endif -#define CMT_EMACS_LIKE_LINEEDIT	"Enable Emacs-style line editing" -#define CMT_VI_PREC_NUM	 "Enable vi-like numeric prefix" -#define CMT_LABEL_TOPLINE	"Move cursor to top line when going to label" -#define CMT_NEXTPAGE_TOPLINE	"Move cursor to top line when moving to next page" -#define CMT_FOLD_LINE    "Fold lines of plain text file" -#define CMT_SHOW_NUM     "Show line numbers" -#define CMT_SHOW_SRCH_STR "Show search string" -#define CMT_MIMETYPES    "List of mime.types files" -#define CMT_MAILCAP      "List of mailcap files" -#define CMT_URIMETHODMAP "List of urimethodmap files" -#define CMT_EDITOR       "Editor" -#define CMT_MAILER       "Mailer" -#define CMT_EXTBRZ       "External Browser" -#define CMT_EXTBRZ2      "Second External Browser" -#define CMT_EXTBRZ3      "Third External Browser" -#define CMT_DISABLE_SECRET_SECURITY_CHECK	"Disable secret file security check" -#define CMT_PASSWDFILE	 "Password file" -#define CMT_PRE_FORM_FILE	"File for setting form on loading" -#define CMT_FTPPASS      "Password for anonymous FTP (your mail address)" -#define CMT_FTPPASS_HOSTNAMEGEN "Generate domain part of password for FTP" -#define CMT_USERAGENT    "User-Agent identification string" -#define CMT_ACCEPTENCODING	"Accept-Encoding header" -#define CMT_ACCEPTMEDIA	 "Accept header" -#define CMT_ACCEPTLANG   "Accept-Language header" -#define CMT_MARK_ALL_PAGES "Treat URL-like strings as links in all pages" -#define CMT_WRAP         "Wrap search" -#define CMT_VIEW_UNSEENOBJECTS "Display unseen objects (e.g. bgimage tag)" +#define CMT_USE_MARK	N_("Enable mark operations") +#endif +#define CMT_EMACS_LIKE_LINEEDIT	N_("Enable Emacs-style line editing") +#define CMT_VI_PREC_NUM	 N_("Enable vi-like numeric prefix") +#define CMT_LABEL_TOPLINE N_("Move cursor to top line when going to label") +#define CMT_NEXTPAGE_TOPLINE N_("Move cursor to top line when moving to next page") +#define CMT_FOLD_LINE    N_("Fold lines of plain text file") +#define CMT_SHOW_NUM     N_("Show line numbers") +#define CMT_SHOW_SRCH_STR N_("Show search string") +#define CMT_MIMETYPES    N_("List of mime.types files") +#define CMT_MAILCAP      N_("List of mailcap files") +#define CMT_URIMETHODMAP N_("List of urimethodmap files") +#define CMT_EDITOR       N_("Editor") +#define CMT_MAILER       N_("Mailer") +#define CMT_EXTBRZ       N_("External Browser") +#define CMT_EXTBRZ2      N_("Second External Browser") +#define CMT_EXTBRZ3      N_("Third External Browser") +#define CMT_DISABLE_SECRET_SECURITY_CHECK	N_("Disable secret file security check") +#define CMT_PASSWDFILE	 N_("Password file") +#define CMT_PRE_FORM_FILE	N_("File for setting form on loading") +#define CMT_FTPPASS      N_("Password for anonymous FTP (your mail address)") +#define CMT_FTPPASS_HOSTNAMEGEN N_("Generate domain part of password for FTP") +#define CMT_USERAGENT    N_("User-Agent identification string") +#define CMT_ACCEPTENCODING	N_("Accept-Encoding header") +#define CMT_ACCEPTMEDIA	 N_("Accept header") +#define CMT_ACCEPTLANG   N_("Accept-Language header") +#define CMT_MARK_ALL_PAGES N_("Treat URL-like strings as links in all pages") +#define CMT_WRAP         N_("Wrap search") +#define CMT_VIEW_UNSEENOBJECTS N_("Display unseen objects (e.g. bgimage tag)")  #ifdef __EMX__ -#define CMT_BGEXTVIEW	 "Run external viewer in a separate session" +#define CMT_BGEXTVIEW	 N_("Run external viewer in a separate session")  #else -#define CMT_BGEXTVIEW    "Run external viewer in the background" +#define CMT_BGEXTVIEW    N_("Run external viewer in the background")  #endif -#define CMT_EXT_DIRLIST  "Use external program for directory listing" -#define CMT_DIRLIST_CMD  "URL of directory listing command" +#define CMT_EXT_DIRLIST  N_("Use external program for directory listing") +#define CMT_DIRLIST_CMD  N_("URL of directory listing command")  #ifdef USE_DICT -#define CMT_USE_DICTCOMMAND  "Enable dictionary lookup through CGI" -#define CMT_DICTCOMMAND  "URL of dictionary lookup command" +#define CMT_USE_DICTCOMMAND  N_("Enable dictionary lookup through CGI") +#define CMT_DICTCOMMAND  N_("URL of dictionary lookup command")  #endif				/* USE_DICT */ -#define CMT_IGNORE_NULL_IMG_ALT	"Display link name for images lacking ALT" -#define CMT_IFILE        "Index file for directories" -#define CMT_RETRY_HTTP   "Prepend http:// to URL automatically" -#define CMT_DEFAULT_URL  "Default value for open-URL command" -#define CMT_DECODE_CTE   "Decode Content-Transfer-Encoding when saving" -#define CMT_PRESERVE_TIMESTAMP "Preserve timestamp when saving" +#define CMT_IGNORE_NULL_IMG_ALT	N_("Display link name for images lacking ALT") +#define CMT_IFILE        N_("Index file for directories") +#define CMT_RETRY_HTTP   N_("Prepend http:// to URL automatically") +#define CMT_DEFAULT_URL  N_("Default value for open-URL command") +#define CMT_DECODE_CTE   N_("Decode Content-Transfer-Encoding when saving") +#define CMT_PRESERVE_TIMESTAMP N_("Preserve timestamp when saving")  #ifdef USE_MOUSE -#define CMT_MOUSE         "Enable mouse" -#define CMT_REVERSE_MOUSE "Scroll in reverse direction of mouse drag" -#define CMT_RELATIVE_WHEEL_SCROLL "Behavior of wheel scroll speed" -#define CMT_RELATIVE_WHEEL_SCROLL_RATIO "(A only)Scroll by # % of screen" -#define CMT_FIXED_WHEEL_SCROLL_COUNT "(B only)Scroll by # lines" +#define CMT_MOUSE         N_("Enable mouse") +#define CMT_REVERSE_MOUSE N_("Scroll in reverse direction of mouse drag") +#define CMT_RELATIVE_WHEEL_SCROLL N_("Behavior of wheel scroll speed") +#define CMT_RELATIVE_WHEEL_SCROLL_RATIO N_("(A only)Scroll by # % of screen") +#define CMT_FIXED_WHEEL_SCROLL_COUNT N_("(B only)Scroll by # lines")  #endif				/* USE_MOUSE */ -#define CMT_CLEAR_BUF     "Free memory of undisplayed buffers" -#define CMT_NOSENDREFERER "Suppress `Referer:' header" -#define CMT_IGNORE_CASE "Search case-insensitively" -#define CMT_USE_LESSOPEN "Use LESSOPEN" +#define CMT_CLEAR_BUF     N_("Free memory of undisplayed buffers") +#define CMT_NOSENDREFERER N_("Suppress `Referer:' header") +#define CMT_IGNORE_CASE N_("Search case-insensitively") +#define CMT_USE_LESSOPEN N_("Use LESSOPEN")  #ifdef USE_SSL  #ifdef USE_SSL_VERIFY -#define CMT_SSL_VERIFY_SERVER "Perform SSL server verification" -#define CMT_SSL_CERT_FILE "PEM encoded certificate file of client" -#define CMT_SSL_KEY_FILE "PEM encoded private key file of client" -#define CMT_SSL_CA_PATH "Path to directory for PEM encoded certificates of CAs" -#define CMT_SSL_CA_FILE "File consisting of PEM encoded certificates of CAs" +#define CMT_SSL_VERIFY_SERVER N_("Perform SSL server verification") +#define CMT_SSL_CERT_FILE N_("PEM encoded certificate file of client") +#define CMT_SSL_KEY_FILE N_("PEM encoded private key file of client") +#define CMT_SSL_CA_PATH N_("Path to directory for PEM encoded certificates of CAs") +#define CMT_SSL_CA_FILE N_("File consisting of PEM encoded certificates of CAs")  #endif				/* USE_SSL_VERIFY */ -#define CMT_SSL_FORBID_METHOD "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)" +#define CMT_SSL_FORBID_METHOD N_("List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)")  #endif				/* USE_SSL */  #ifdef USE_COOKIE -#define CMT_USECOOKIE   "Enable cookie processing" -#define CMT_ACCEPTCOOKIE "Accept cookies" -#define CMT_ACCEPTBADCOOKIE "Action to be taken on invalid cookie" -#define CMT_COOKIE_REJECT_DOMAINS "Domains to reject cookies from" -#define CMT_COOKIE_ACCEPT_DOMAINS "Domains to accept cookies from" +#define CMT_USECOOKIE   N_("Enable cookie processing") +#define CMT_ACCEPTCOOKIE N_("Accept cookies") +#define CMT_ACCEPTBADCOOKIE N_("Action to be taken on invalid cookie") +#define CMT_COOKIE_REJECT_DOMAINS N_("Domains to reject cookies from") +#define CMT_COOKIE_ACCEPT_DOMAINS N_("Domains to accept cookies from")  #endif -#define CMT_FOLLOW_REDIRECTION "Number of redirections to follow" -#define CMT_META_REFRESH "Enable processing of meta-refresh tag" +#define CMT_FOLLOW_REDIRECTION N_("Number of redirections to follow") +#define CMT_META_REFRESH N_("Enable processing of meta-refresh tag")  #ifdef USE_MIGEMO -#define CMT_USE_MIGEMO "Enable Migemo (Roma-ji search)" -#define CMT_MIGEMO_COMMAND "Migemo command" +#define CMT_USE_MIGEMO N_("Enable Migemo (Roma-ji search)") +#define CMT_MIGEMO_COMMAND N_("Migemo command")  #endif				/* USE_MIGEMO */  #ifdef USE_M17N -#define CMT_DISPLAY_CHARSET  "Display charset" -#define CMT_DOCUMENT_CHARSET "Default document charset" -#define CMT_AUTO_DETECT      "Automatic charset detect when loading" -#define CMT_SYSTEM_CHARSET   "System charset" -#define CMT_FOLLOW_LOCALE    "System charset follows locale(LC_CTYPE)" -#define CMT_EXT_HALFDUMP     "Output halfdump with display charset" -#define CMT_USE_WIDE         "Use multi column characters" -#define CMT_USE_COMBINING    "Use combining characters" -#define CMT_USE_LANGUAGE_TAG "Use Unicode language tags" -#define CMT_UCS_CONV         "Charset conversion using Unicode map" -#define CMT_PRE_CONV         "Charset conversion when loading" -#define CMT_SEARCH_CONV      "Adjust search string for document charset" -#define CMT_FIX_WIDTH_CONV   "Fix character width when conversion" -#define CMT_USE_GB12345_MAP  "Use GB 12345 Unicode map instead of GB 2312's" -#define CMT_USE_JISX0201     "Use JIS X 0201 Roman for ISO-2022-JP" -#define CMT_USE_JISC6226     "Use JIS C 6226:1978 for ISO-2022-JP" -#define CMT_USE_JISX0201K    "Use JIS X 0201 Katakana" -#define CMT_USE_JISX0212     "Use JIS X 0212:1990 (Supplemental Kanji)" -#define CMT_USE_JISX0213     "Use JIS X 0213:2000 (2000JIS)" -#define CMT_STRICT_ISO2022   "Strict ISO-2022-JP/KR/CN" -#define CMT_GB18030_AS_UCS   "Treat 4 bytes char. of GB18030 as Unicode" -#endif - -#define CMT_KEYMAP_FILE "keymap file" +#define CMT_DISPLAY_CHARSET  N_("Display charset") +#define CMT_DOCUMENT_CHARSET N_("Default document charset") +#define CMT_AUTO_DETECT      N_("Automatic charset detect when loading") +#define CMT_SYSTEM_CHARSET   N_("System charset") +#define CMT_FOLLOW_LOCALE    N_("System charset follows locale(LC_CTYPE)") +#define CMT_EXT_HALFDUMP     N_("Output halfdump with display charset") +#define CMT_USE_WIDE         N_("Use multi column characters") +#define CMT_USE_COMBINING    N_("Use combining characters") +#define CMT_USE_LANGUAGE_TAG N_("Use Unicode language tags") +#define CMT_UCS_CONV         N_("Charset conversion using Unicode map") +#define CMT_PRE_CONV         N_("Charset conversion when loading") +#define CMT_SEARCH_CONV      N_("Adjust search string for document charset") +#define CMT_FIX_WIDTH_CONV   N_("Fix character width when conversion") +#define CMT_USE_GB12345_MAP  N_("Use GB 12345 Unicode map instead of GB 2312's") +#define CMT_USE_JISX0201     N_("Use JIS X 0201 Roman for ISO-2022-JP") +#define CMT_USE_JISC6226     N_("Use JIS C 6226:1978 for ISO-2022-JP") +#define CMT_USE_JISX0201K    N_("Use JIS X 0201 Katakana") +#define CMT_USE_JISX0212     N_("Use JIS X 0212:1990 (Supplemental Kanji)") +#define CMT_USE_JISX0213     N_("Use JIS X 0213:2000 (2000JIS)") +#define CMT_STRICT_ISO2022   N_("Strict ISO-2022-JP/KR/CN") +#define CMT_GB18030_AS_UCS   N_("Treat 4 bytes char. of GB18030 as Unicode") +#endif + +#define CMT_KEYMAP_FILE N_("keymap file")  #endif				/* LANG != JA */ @@ -426,7 +429,6 @@ struct sel_c {  #ifdef USE_COLOR  static struct sel_c colorstr[] = {  #if LANG == JA -    /* FIXME: gettextize here */      {0, "black", "黒"},      {1, "red", "赤"},      {2, "green", "緑"}, @@ -438,15 +440,16 @@ static struct sel_c colorstr[] = {      {8, "terminal", "端末"},      {0, NULL, NULL}  #else				/* LANG != JA */ -    {0, "black", "black"}, -    {1, "red", "red"}, -    {2, "green", "green"}, -    {3, "yellow", "yellow"}, -    {4, "blue", "blue"}, -    {5, "magenta", "magenta"}, -    {6, "cyan", "cyan"}, -    {7, "white", "white"}, -    {8, "terminal", "terminal"}, +    /* FIXME: gettextize here */ +    {0, "black", N_("black")}, +    {1, "red", N_("red")}, +    {2, "green", N_("green")}, +    {3, "yellow", N_("yellow")}, +    {4, "blue", N_("blue")}, +    {5, "magenta", N_("magenta")}, +    {6, "cyan", N_("cyan")}, +    {7, "white", N_("white")}, +    {8, "terminal", N_("terminal")},      {0, NULL, NULL}  #endif				/* LANG != JA */  }; @@ -467,14 +470,14 @@ static char n_s[][2] = {  static struct sel_c defaulturls[] = {  #if LANG == JA -    /* FIXME: gettextize here */      {N_S(DEFAULT_URL_EMPTY), "無し"},      {N_S(DEFAULT_URL_CURRENT), "現在のURL"},      {N_S(DEFAULT_URL_LINK), "リンク先のURL"},  #else -    {N_S(DEFAULT_URL_EMPTY), "none"}, -    {N_S(DEFAULT_URL_CURRENT), "current URL"}, -    {N_S(DEFAULT_URL_LINK), "link URL"}, +    /* FIXME: gettextize here */ +    {N_S(DEFAULT_URL_EMPTY), N_("none")}, +    {N_S(DEFAULT_URL_CURRENT), N_("current URL")}, +    {N_S(DEFAULT_URL_LINK), N_("link URL")},  #endif      {0, NULL, NULL}  }; @@ -482,13 +485,13 @@ static struct sel_c defaulturls[] = {  #ifdef USE_MOUSE  static struct sel_c wheelmode[] = {  #if LANG == JA -    /* FIXME: gettextize here */      {TRUE, "1", "A:画面サイズに比例"},      {FALSE, "0", "B:一定の行数"},      {0, NULL, NULL}  #else				/* LANG != JA */ -    {TRUE, "1", "A:relative to screen height"}, -    {FALSE, "0", "B:fixed speed"}, +    /* FIXME: gettextize here */ +    {TRUE, "1", N_("A:relative to screen height")}, +    {FALSE, "0", N_("B:fixed speed")},      {0, NULL, NULL}  #endif				/* LANG != JA */  }; @@ -871,7 +874,6 @@ struct param_ptr params10[] = {  struct param_section sections[] = {  #if LANG == JA -    /* FIXME: gettextize here */      {"表示関係", params1},  #ifdef USE_COLOR      {"表示色", params2}, @@ -892,23 +894,25 @@ struct param_section sections[] = {  #endif  #else				/* LANG != JA */ -    {"Display Settings", params1}, +    /* FIXME: gettextize here */ + +    {N_("Display Settings"), params1},  #ifdef USE_COLOR -    {"Color Settings", params2}, +    {N_("Color Settings"), params2},  #endif				/* USE_COLOR */ -    {"Miscellaneous Settings", params3}, -    {"Directory Settings", params5}, -    {"External Program Settings", params6}, -    {"Network Settings", params9}, -    {"Proxy Settings", params4}, +    {N_("Miscellaneous Settings"), params3}, +    {N_("Directory Settings"), params5}, +    {N_("External Program Settings"), params6}, +    {N_("Network Settings"), params9}, +    {N_("Proxy Settings"), params4},  #ifdef USE_SSL -    {"SSL Settings", params7}, +    {N_("SSL Settings"), params7},  #endif  #ifdef USE_COOKIE -    {"Cookie Settings", params8}, +    {N_("Cookie Settings"), params8},  #endif  #ifdef USE_M17N -    {"Charset Settings", params10}, +    {N_("Charset Settings"), params10},  #endif  #endif				/* LANG != JA */      {NULL, NULL} @@ -1006,6 +1010,7 @@ search_param(char *name)      return NULL;  } +/* show parameter with bad options invokation */  void  show_params(FILE * fp)  { @@ -1013,11 +1018,15 @@ show_params(FILE * fp)      char *t = NULL;      char *cmt; +#if ENABLE_NLS +    OptionCharset = SystemCharset; /* FIXME */ +#endif	 +      fputs("\nconfiguration parameters\n", fp);      for (j = 0; sections[j].name != NULL; j++) { -#if LANG == JA +#if LANG == JA || ENABLE_NLS  	if (!OptionEncode) -	    cmt = wc_conv(sections[j].name, OptionCharset, InnerCharset)->ptr; +	    cmt = wc_conv(gettext(sections[j].name), OptionCharset, InnerCharset)->ptr;  	else  #endif  	    cmt = sections[j].name; @@ -1060,9 +1069,9 @@ show_params(FILE * fp)  		t = "percent";  		break;  	    } -#if LANG == JA +#if LANG == JA || ENABLE_NLS  	    if (!OptionEncode) -		cmt = wc_conv(sections[j].params[i].comment, +		cmt = wc_conv(gettext(sections[j].params[i].comment),  			      OptionCharset, InnerCharset)->ptr;  	    else  #endif @@ -1366,10 +1375,15 @@ sync_with_option(void)      if (AcceptLang == NULL || *AcceptLang == '\0') {  #if LANG == JA -	/* FIXME: gettextize here? */ +	/* FIXME: gettextize here */  	AcceptLang = "ja;q=1.0, en;q=0.5";  #else				/* LANG != JA (must be EN) */ -	AcceptLang = "en;q=1.0"; +	/* TRANSLATORS:  +	   AcceptLang default: this is used in Accept-Language: HTTP request  +	   header. For example, ja.po should translate it as +	   "ja;q=1.0, en;q=0.5" like that. +	 */ +	AcceptLang = _("en;q=1.0");  #endif      }      if (AcceptEncoding == NULL || *AcceptEncoding == '\0') @@ -1527,19 +1541,25 @@ load_option_panel(void)      if (optionpanel_str == NULL)  	optionpanel_str = Sprintf(optionpanel_src1, w3m_version,  				  html_quote(localCookie()->ptr), CMT_HELPER); -#if LANG == JA +#if ENABLE_NLS +    OptionCharset = SystemCharset; /* FIXME */ +#endif +#if LANG == JA || ENABLE_NLS      if (!OptionEncode) {  	optionpanel_str =  	    wc_Str_conv(optionpanel_str, OptionCharset, InnerCharset);  	for (i = 0; sections[i].name != NULL; i++) {  	    sections[i].name = -		wc_conv(sections[i].name, OptionCharset, InnerCharset)->ptr; +		wc_conv(gettext(sections[i].name), OptionCharset,  +			InnerCharset)->ptr;  	    for (p = sections[i].params; p->name; p++)  		p->comment = -		    wc_conv(p->comment, OptionCharset, InnerCharset)->ptr; +		    wc_conv(gettext(p->comment), OptionCharset,  +			    InnerCharset)->ptr;  	}  	for (s = colorstr; s->text; s++) -	    s->text = wc_conv(s->text, OptionCharset, InnerCharset)->ptr; +	    s->text = wc_conv(gettext(s->text), OptionCharset,  +			      InnerCharset)->ptr;  	OptionEncode = TRUE;      }  #endif @@ -1612,9 +1632,9 @@ load_option_panel(void)      buf = loadHTMLString(src);  #ifdef USE_M17N      if (buf) -#if LANG == JA 	/* XXX: why? */ +#if LANG == JA  	buf->document_charset = OptionCharset; -#else +#else   /* XXX: ENABLE_NLS is ok for SystemCharset */  	buf->document_charset = SystemCharset;  #endif  #endif | 
