/*********************************************************************

  ui_text.c

  Functions used to retrieve text used by MAME, to aid in
  translation.

*********************************************************************/

#include "driver.h"
#include "ui_text.h"

char portname[PORT_last_entry + 1][MAX_PORT_LEN + 1];

/* All entries in this table must match the enum ordering in "ui_text.h" */
#ifdef BUILD_ENGLISH
const char * default_text[] =
{
	"CANAME",

	/* copyright stuff */
	"Usage of emulators in conjunction with ROMs you don't own is forbidden by copyright law.",
	"IF YOU ARE NOT LEGALLY ENTITLED TO PLAY \"%s\" ON THIS EMULATOR, PRESS ESC.",
	"Otherwise, type OK to continue",

	/* misc stuff */
	"Return to Main Menu",
	"Return to Prior Menu",
	"Press Any Key",
	"Press Select Key/Button",
	"On",
	"Off",
	"NA",
	"OK",
	"INVALID",
	"(none)",
	"CPU",
	"Address",
	"Value",
	"Sound",
	"sound",
	"stereo",
	"Vector Game",
	"Screen Resolution",
	"Text",
	"Volume",
	"Relative",
	"ALL CHANNELS",
	"Brightness",
	"Gamma",
	"Vector Flicker",
	"Vector Intensity",
	"Overclock",
	"ALL CPUS",
	"Press F2 and go to Test Menu",
	"History not available",
	"Command List not available",
	"End of playback",
	"Config Menu",
	"About Copyright",

	/* special characters */
	"\x11",
	"\x10",
	"\x18",
	"\x19",
	"\x1a",
	"\x1b",

	/* known problems */
	"There are known problems with this game:",
	"The colors aren't 100% accurate.",
	"The colors are completely wrong.",
	"The video emulation isn't 100% accurate.",
	"The sound emulation isn't 100% accurate.",
	"The game lacks sound.",
	"Screen flipping in cocktail mode is not supported.",
	"THIS GAME DOESN'T WORK PROPERLY",
	"The game has protection which isn't fully emulated.",
	"There are working clones of this game. They are:",
	"Type OK to continue",

	/* main menu */
	"Input (general)",
	"Dip Switches",
	"Analog Controls",
	"Bookkeeping Info",
	"Input (this game)",
	"Game Information",
	"Game History",
	"Show Command List",
	"Custom Buttons",
	"Autofire Setting",
	"Reset Game",
	"Return to Game",
	"Cheat",
	"Memory Card",

	/* input */
	"Key/Joy Speed",
	"Reverse",
	"Sensitivity",

	/* stats */
	"Tickets dispensed",
	"Coin",
	"(locked)",

	/* memory card */
	"Load Memory Card",
	"Eject Memory Card",
	"Create Memory Card",
	"Call Memory Card Manager (RESET)",
	"Failed To Load Memory Card!",
	"Load OK!",
	"Memory Card Ejected!",
	"Memory Card Created OK!",
	"Failed To Create Memory Card!",
	"(It already exists ?)",
	"DAMN!! Internal Error!",

	/* cheats */
	"Enable/Disable a Cheat",
	"Add/Edit a Cheat",
	"Start a New Cheat Search",
	"Continue Search",
	"View Last Results",
	"Restore Previous Results",
	"Configure Watchpoints",
	"General Help",
	"Options",
	"Reload Database",
	"Watchpoint",
	"Disabled",
	"Cheats",
	"Watchpoints",
	"Code",
	"Max",
	"Set",
	"there are no cheats for this game",
	"cheat database not found",
	"unzip it and place it in the MAME directory",
	"\tPlease Go To\n\thttp://cheat.retrogames.com/faq.htm\n\tFor Documentation\n",
	"Auto Save Cheats",
	"cheat database reloaded",
	"values restored",
	"there are no old values",
	"Cheat Search",

	/* watchpoints */
	"Number of bytes",
	"Display Type",
	"Label Type",
	"Label",
	"X Position",
	"Y Position",
	"Watch",

	"Hex",
	"Decimal",
	"Binary",

	/* searching */
	"Lives (or another value)",
	"Timers (+/- some value)",
	"Energy (greater or less)",
	"Status (bits or flags)",
	"Slow But Sure (changed or not)",
	"Default Search Speed",
	"Fast",
	"Medium",
	"Slow",
	"Very Slow",
	"All Memory",
	"Select Memory Areas",
	"Matches found",
	"Search not initialized",
	"No previous values saved",
	"Previous values already restored",
	"Restoration successful",
	"Select a value",
	"%d results found",
	"saved all memory regions",
	"1 result found, added to list",
	"Select Search",
	"Search Dialog Style",
	"Classic",
	"Advanced",
	"Show Search Labels",

	/* Load & Save */
	"Select position to save to",
	"Select position to load from",
	"Save to position %c",
	"Load from position %c",
	"Save cancelled",
	"Load cancelled",

	/* custom button */
	"Custom Button ",
	"Not Use",

	/* autofire */
	"   OFF",
	"    ON",
	"TOGGLE",
	"Autofire Delay",
	"Autofire %s",
	
	/* Wave recording */
	"WAVE Recording...",

	/* Juke Box */
	"JUKE BOX",
	"SOUND LIST",
	"RANDOM PLAY",
	"REMIX PLAY",
	"Bank",
	"Code 1",
	"Code 2",
	"COMMAND",
	"PLAY",
	"STOP",
	"RECORD",
	"STOP  : S",
	"RECORD: R",
	"CODE  : C",
	"NOTES : N",
	"FF(\x10\x10): F",
	"STOP  : S",
	"NEXT  : X",
	"BACK :\x81\xd8",
	"NEXT :\x81\xd2",
	"STOP : S",
	"TIMER: T",
	"Fast-Forwarding",
	"Random Play",
	"Go to Play List Menu",
	"Go to Manual Code Menu",
	"BGM",
	"SE1",
	"SE2",
	"SE3",
	"SE4",
	"SE5",
	"SE6",
	"SE7",

	/* object operation */
	"Object Operation",
	"Object Number",
	"Object Output",
	"Background Number",
	"Background Output",
	"Front Layer",
	"Alt Backcolor",
	"All Output Clear",
	"Set Default",
	"OFF",
	" ON",

	/* input.c */
	"None",
	"not",
	"or",
	"n/a",

	/* window.c */
	"Full Screen\tAlt+Enter",

	/* neogeo.c */
	"raster effects %s",
	"Enabled",

	NULL
};

const char *default_port[] =
{
	"Config Menu",
	"On Screen Display",
	"Pause",
	"Single Step",
	"Reset Game",
	"Show Gfx",
	"Frameskip Dec",
	"Frameskip Inc",
	"Throttle",
	"Show FPS",
	"Show Profiler",
	"Save Snapshot",
	"Toggle Cheat",
	"Save State",
	"Load State",
	"Add Cheat",
	"Delete Cheat",
	"Save Cheat",
	"Watch Value",
	"Edit Cheat",
	"Change Screen Mode",
	"Toggle Autofire",
	"Toggle Wave Recording",
	"Show Input Log",
	"Object Operation",
	"Show Command List",
	"Show Cheat List",
	"Show the Time",
	"UI Direction\x81\xd8",
	"UI Direction\x81\xd2",
	"UI Direction\x81\xd4",
	"UI Direction\x81\xd6",
	"UI Select",
	"UI Cancel",
	"Emulation Close",
	"Coin 1",
	"Coin 2",
	"Coin 3",
	"Coin 4",
	"Service",
	"P1 Start",
	"P1 Select",
	"P1 Direction\x81\xd8",
	"P1 Direction\x81\xd2",
	"P1 Direction\x81\xd4",
	"P1 Direction\x81\xd6",
	"P1 Button\x81\xc0",
	"P1 Button\x81\xc1",
	"P1 Button\x81\xc2",
	"P1 Button\x81\xc3",
	"P1 Button\x81\xe9",
	"P1 Button\x81\xea",
	"P1 Button\x81\xeb",
	"P1 Button\x81\xec",
	"P1 Button\x81\xed",
	"P1 Button\x81\xee",
	"P1 Custom Button 1",
	"P1 Custom Button 2",
	"P1 Custom Button 3",
	"P1 Custom Button 4",
	"P1 Track Y - (\x81\xd8)",
	"P1 Track Y + (\x81\xd2)",
	"P1 Track X - (\x81\xd4)",
	"P1 Track X + (\x81\xd6)",
	"P1 Dial -",
	"P1 Dial +",
	"P2 Start",
	"P2 Select",
	"P2 Direction\x81\xd8",
	"P2 Direction\x81\xd2",
	"P2 Direction\x81\xd4",
	"P2 Direction\x81\xd6",
	"P2 Button\x81\xc0",
	"P2 Button\x81\xc1",
	"P2 Button\x81\xc2",
	"P2 Button\x81\xc3",
	"P2 Button\x81\xe9",
	"P2 Button\x81\xea",
	"P2 Button\x81\xeb",
	"P2 Button\x81\xec",
	"P2 Button\x81\xed",
	"P2 Button\x81\xee",
	"P2 Custom Button 1",
	"P2 Custom Button 2",
	"P2 Custom Button 3",
	"P2 Custom Button 4",
	"P2 Track Y - (\x81\xd8)",
	"P2 Track Y + (\x81\xd2)",
	"P2 Track X - (\x81\xd4)",
	"P2 Track X + (\x81\xd6)",
	"P2 Dial -",
	"P2 Dial +",
	"P3 Start",
	"P3 Direction\x81\xd8",
	"P3 Direction\x81\xd2",
	"P3 Direction\x81\xd4",
	"P3 Direction\x81\xd6",
	"P3 Button\x81\xe9",
	"P3 Button\x81\xea",
	"P3 Button\x81\xeb",
	"P3 Button\x81\xec",
	"P4 Start",
	"P4 Direction\x81\xd8",
	"P4 Direction\x81\xd2",
	"P4 Direction\x81\xd4",
	"P4 Direction\x81\xd6",
	"P4 Button\x81\xe9",
	"P4 Button\x81\xea",
	"P4 Button\x81\xeb",
	"P4 Button\x81\xec",
	"UnKnown",

	NULL
};

char ipdn_defaultstrings[][MAX_DEFSTR_LEN] =
{
	"Off",
	"On",
	"No",
	"Yes",
	"Lives",
	"Action Lives",
	"Shooting Lives",
	"Puzzle Lives",
	"Bonus Life",
	"Difficulty",
	"Difficulty Level 1",
	"Difficulty Level 2",
	"Difficulty Level (Enemy Strength)",
	"Difficulty Level (Player Strength)",
	"Action Difficulty",
	"Shooting Difficulty",
	"Puzzle Difficulty",
	"Demo Sounds",
	"Coinage",
	"Coin A",
	"Coin B",
	"9 Coins/1 Credit",
	"8 Coins/1 Credit",
	"7 Coins/1 Credit",
	"6 Coins/1 Credit",
	"5 Coins/1 Credit",
	"4 Coins/1 Credit",
	"3 Coins/1 Credit",
	"8 Coins/3 Credits",
	"4 Coins/2 Credits",
	"2 Coins/1 Credit",
	"5 Coins/3 Credits",
	"3 Coins/2 Credits",
	"4 Coins/3 Credits",
	"4 Coins/4 Credits",
	"3 Coins/3 Credits",
	"2 Coins/2 Credits",
	"1 Coin/1 Credit",
	"4 Coins/5 Credits",
	"3 Coins/4 Credits",
	"2 Coins/3 Credits",
	"4 Coins/7 Credits",
	"2 Coins/4 Credits",
	"1 Coin/2 Credits",
	"2 Coins/5 Credits",
	"2 Coins/6 Credits",
	"1 Coin/3 Credits",
	"2 Coins/7 Credits",
	"2 Coins/8 Credits",
	"1 Coin/4 Credits",
	"1 Coin/5 Credits",
	"1 Coin/6 Credits",
	"1 Coin/7 Credits",
	"1 Coin/8 Credits",
	"1 Coin/9 Credits",
	"2 Coins/1 Credit (1 to continue)",
	"2 Coins to Start, 1 to Continue",
	"10K, 30K and every 30K",
	"20K, 50K and every 70K",
	"30K, 60K and every 70K",
	"40K, 70K and every 80K",
	"100k and every 200k",
	"80k and every 400k",
	"100k and every 450k",
	"160k and every 450k",
	"600k and every 1400k",
	"600k, 2000k and 4500k",
	"1200k, 3500k",
	"2000k only",
	"Continue Coinage ?",
	"1 Coin",
	"2 Coins",
	"Free Play",
	"Extend",
	"Cabinet",
	"Upright",
	"Upright 1 Player",
	"Upright 2 Players",
	"Cocktail",
	"Flip Screen",
	"Service Mode",
	"Test Switch",
	"Coin Chutes?",
	"Autofire (in some games)",
	"COMM Setting",
	"Freeze",
	"Territory",
	"Machine Mode",
	"Japan",
	"USA",
	"Europe",
	"Home",
	"Arcade",
	"Vitality",
	"Allow Continue",
	"Turbo Mode",
	"Max Players",
	"Voice",
	"Coin Slots",
	"Stage Select",
	"Stage Magic Continue (power up?)",
	"Life Bar",
	"Initial Vitality",
	"Bullet's Speed",
	"2 Players Game",
	"1 Credit/No Continue",
	"2 Credits/Winner Continue",
	"Vs Play Mode",
	"Test Mode (Use with Service Mode)",
	"None",
	"Unused",
	"Unknown"
};
#else
const char * default_text[] =
{
	"CANAME",

	/* copyright stuff */
	"所有していないROMをエミュレータで使用することは、著作権法によって禁じられています",
	"\"%s\" を合法的に遊ぶ権利がなければESCを押してください",
	"OKと入力すると続けます",

	/* misc stuff */
	"メインメニューに戻る",
	"一つ前のメニューに戻る",
	"何かキーを押してください",
	"決定キー/ボタンを押してください",
	"ON",
	"OFF",
	"なし",
	"OK",
	"無効",
	"(なし)",
	"CPU",
	"アドレス",
	"値",
	"音源",
	"サウンド用",
	"ステレオ",
	"ベクタゲーム",
	"画面解像度",
	"テキスト",
	"音量",
	"相対",
	"全チャネル",
	"明るさ",
	"ガンマ値",
	"ベクタフリッカー",
	"ベクタ明度",
	"オーバークロック",
	"全CPU",
	"F2キーを押してテストメニューに入ってください",
	"ヒストリーが見つかりません",
	"コマンドリストが見つかりません",
	"再現が終了しました",
	"設定メニュー",
	"著作権について",

	/* special characters */
	"\x11",
	"\x10",
	"\x18",
	"\x19",
	"\x1a",
	"\x1b",

	/* known problems */
	"このゲームには以下の問題があります:",
	"色の再現が不完全です",
	"色が完全に間違っています",
	"ビデオエミュレーションが不完全です",
	"サウンドエミュレーションが不完全です",
	"サウンドが再生されません",
	"カクテルモードの画面反転に対応していません",
	"※このゲームは全く動作しません※",
	"このゲームはプロテクトのためエミュレーションが不完全です",
	"このゲームには以下の動作可能なクローンが存在します:",
	"OKと入力すると続けます",

	/* main menu */
	"入力設定 (標準)",
	"ディップスイッチ",
	"アナログコントロール",
	"インカム情報",
	"入力設定 (このゲーム)",
	"ゲーム情報",
	"ゲームの歴史",
	"コマンド一覧/操作説明",
	"カスタムボタン設定",
	"連射設定",
	"ゲームをリセットする",
	"ゲームに戻る",
	"チート (ゲームの改造)",
	"メモリカード",

	/* input */
	"Key/Joy 速度",
	"反転",
	"感度",

	/* stats */
	"チケット発券数",
	"コイン",
	"(固定)",

	/* memory card */
	"メモリカードの読みこみ",
	"メモリカードの取り出し",
	"メモリカードの作成",
	"メモリカードマネージャ呼び出し (リセット)",
	"メモリカードの読みこみ失敗!",
	"読みこみ完了!",
	"メモリカードを取り出しました!",
	"メモリカードを作成しました!",
	"メモリカードの作成失敗!",
	"(すでに作成済み?)",
	"内部エラーです!!",

	/* cheats */
	"チート切り替え",
	"チート追加/編集",
	"新規チートのサーチ開始",
	"サーチを継続する",
	"最終結果の表示",
	"前回の結果に戻す",
	"ウォッチポイントの設定",
	"全般のヘルプ",
	"オプション",
	"データベース再読み込み",
	"ウォッチポイント",
	"無効",
	"チート",
	"ウォッチポイント",
	"コード",
	"最大",
	"セット",
	"このゲームのチートはありません",
	"チートデータが見つかりません",
	"CANAMEと同じフォルダに展開したチートデータを置いてください",
	"\thttp://cheat.retrogames.com/faq.htm\n\tを参照してください\n",
	"チートの自動セーブ",
	"データベースを再読み込みしました",
	"前回の結果に戻しました",
	"前回の結果が見つかりません",
	"チートサーチ",

	/* watchpoints */
	"バイト数",
	"表示形式",
	"ラベルタイプ",
	"ラベル",
	"X座標",
	"Y座標",
	"ウォッチ",

	"16進",
	"10進",
	"2進",

	/* searching */
	"ライフ (決まった値)",
	"タイマー (+/- の値)",
	"エネルギー (値の大小)",
	"状態 (ビットかフラグ)",
	"遅いけど確実 (変化したかしないか)",
	"標準のサーチ速度",
	"速い",
	"普通",
	"遅い",
	"とても遅い",
	"全てのメモリ",
	"メモリ領域を選択",
	"一致する値が見つかりました",
	"サーチが初期化されていません",
	"前回の値が保存されていません",
	"前回の値は既に復帰済みです",
	"値の復帰に成功しました",
	"値の選択",
	"%d個見つかりました",
	"すべてのメモリ領域を保存しました",
	"一致する値が見つかりました - リストに追加します",
	"サーチ領域を選択",
	"サーチダイアログ形式",
	"クラシック",
	"アドバンスド",
	"ラベルの表示",

	/* Load & Save */
	"セーブする位置を選んでください",
	"ロードする位置を選んでください",
	"位置%c にセーブしました",
	"位置%c からロードしました",
	"セーブを中断しました",
	"ロードを中断しました",

	/* custom button */
	"カスタムボタン",
	"使用しない",

	/* autofire */
	"    オフ",
	"常時オン",
	"切り替え",
	"連射間隔",
	"連射切り替え %s",
	
	/* Wave recording */
	"録音中♪",

	/* Juke Box */
	"ジュークボックス",
	"サウンドリスト",
	"ランダム再生",
	"リミックス再生",
	"バンク",
	"コード1",
	"コード2",
	"コマンド",
	"演奏開始",
	"演奏停止",
	"録音開始",
	"演奏停止  : S",
	"録音開始  : R",
	"コード表示: C",
	"注釈表示  : N",
	"早送り(\x10\x10): F",
	"再生終了  : S",
	"次の曲へ  : X",
	"前に戻る:\x81\xd8",
	"次に進む:\x81\xd2",
	"演奏停止: S",
	"タイマー: T",
	"早送り中",
	"ランダム再生",
	"サウンドリスト画面へ行く",
	"コード入力画面へ行く",
	"バックサウンド",
	"音声・効果音 1",
	"音声・効果音 2",
	"音声・効果音 3",
	"音声・効果音 4",
	"音声・効果音 5",
	"音声・効果音 6",
	"音声・効果音 7",

	/* object operation */
	"オブジェクト操作",
	"オブジェクト番号",
	"オブジェクト出力",
	"バックグラウンド番号",
	"バックグラウンド出力",
	"フロントレイアー",
	"背景色の変更",
	"全出力をクリアする",
	"デフォルトに戻す",
	"オフ",
	"オン",

	/* input.c */
	"未使用",
	"除く",
	"か",
	"使用不可",

	/* window.c */
	"フルスクリーン\tAlt+Enter",

	/* neogeo.c */
	"ラスタエフェクト %s",
	"有効",

	NULL
};

const char *default_port[] =
{
	"設定メニュー",
	"オンスクリーンディスプレイ",
	"ポーズ",
	"コマ送り",
	"ゲームのリセット",
	"グラフィックデータ表示",
	"フレームスキップ減少",
	"フレームスキップ増加",
	"スロットル",
	"FPS表示",
	"プロファイラ表示",
	"スナップショット保存",
	"チート切り替え",
	"プレイ状態の保存",
	"プレイ状態の復帰",
	"チート追加",
	"チート削除",
	"チート保存",
	"ウォッチの値表示",
	"チート編集",
	"ディスプレイモード切り替え",
	"連射切り替え",
	"WAV録音開始/終了",
	"入力コマンドの表示",
	"オブジェクト操作",
	"コマンド/操作方法の表示",
	"チートリストの表示",
	"時刻の表示",
	"UI \x81\xd8移動",
	"UI \x81\xd2移動",
	"UI \x81\xd4移動",
	"UI \x81\xd6移動",
	"UI 選択",
	"UI キャンセル",
	"エミュレーション終了",
	"コイン1",
	"コイン2",
	"コイン3",
	"コイン4",
	"サービス",
	"P1 スタート",
	"P1 セレクト",
	"P1 \x81\xd8入力",
	"P1 \x81\xd2入力",
	"P1 \x81\xd4入力",
	"P1 \x81\xd6入力",
	"P1 ボタン\x81\xc0",
	"P1 ボタン\x81\xc1",
	"P1 ボタン\x81\xc2",
	"P1 ボタン\x81\xc3",
	"P1 ボタン\x81\xe9",
	"P1 ボタン\x81\xea",
	"P1 ボタン\x81\xeb",
	"P1 ボタン\x81\xec",
	"P1 ボタン\x81\xed",
	"P1 ボタン\x81\xee",
	"P1 カスタムボタン1",
	"P1 カスタムボタン2",
	"P1 カスタムボタン3",
	"P1 カスタムボタン4",
	"P1 トラックボール \x81\xd8移動",
	"P1 トラックボール \x81\xd2移動",
	"P1 トラックボール \x81\xd4移動",
	"P1 トラックボール \x81\xd6移動",
	"P1 ダイヤル−",
	"P1 ダイヤル＋",
	"P2 スタート",
	"P2 セレクト",
	"P2 \x81\xd8入力",
	"P2 \x81\xd2入力",
	"P2 \x81\xd4入力",
	"P2 \x81\xd6入力",
	"P2 ボタン\x81\xc0",
	"P2 ボタン\x81\xc1",
	"P2 ボタン\x81\xc2",
	"P2 ボタン\x81\xc3",
	"P2 ボタン\x81\xe9",
	"P2 ボタン\x81\xea",
	"P2 ボタン\x81\xeb",
	"P2 ボタン\x81\xec",
	"P2 ボタン\x81\xed",
	"P2 ボタン\x81\xee",
	"P2 カスタムボタン1",
	"P2 カスタムボタン2",
	"P2 カスタムボタン3",
	"P2 カスタムボタン4",
	"P2 トラックボール \x81\xd8移動",
	"P2 トラックボール \x81\xd2移動",
	"P2 トラックボール \x81\xd4移動",
	"P2 トラックボール \x81\xd6移動",
	"P2 ダイヤル−",
	"P2 ダイヤル＋",
	"P3 スタート",
	"P3 \x81\xd8入力",
	"P3 \x81\xd2入力",
	"P3 \x81\xd4入力",
	"P3 \x81\xd6入力",
	"P3 ボタン\x81\xe9",
	"P3 ボタン\x81\xea",
	"P3 ボタン\x81\xeb",
	"P3 ボタン\x81\xec",
	"P4 スタート",
	"P4 \x81\xd8入力",
	"P4 \x81\xd2入力",
	"P4 \x81\xd4入力",
	"P4 \x81\xd6入力",
	"P4 ボタン\x81\xe9",
	"P4 ボタン\x81\xea",
	"P4 ボタン\x81\xeb",
	"P4 ボタン\x81\xec",
	"不明",

	NULL
};

char ipdn_defaultstrings[][MAX_DEFSTR_LEN] =
{
	"オフ",
	"オン",
	"いいえ",
	"はい",
	"ライフ",
	"ライフ(アクション)",
	"ライフ(シューティング)",
	"ライフ(パズル)",
	"ボーナスライフ",
	"難易度",
	"難易度 レベル1",
	"難易度 レベル2",
	"難易度(敵)",
	"難易度(プレイヤー)",
	"難易度(アクション)",
	"難易度(シューティング)",
	"難易度(パズル)",
	"デモサウンド",
	"コイン投入数",
	"コインA",
	"コインB",
	"9コイン/1クレジット",
	"8コイン/1クレジット",
	"7コイン/1クレジット",
	"6コイン/1クレジット",
	"5コイン/1クレジット",
	"4コイン/1クレジット",
	"3コイン/1クレジット",
	"8コイン/3クレジット",
	"4コイン/2クレジット",
	"2コイン/1クレジット",
	"5コイン/3クレジット",
	"3コイン/2クレジット",
	"4コイン/3クレジット",
	"4コイン/4クレジット",
	"3コイン/3クレジット",
	"2コイン/2クレジット",
	"1コイン/1クレジット",
	"4コイン/5クレジット",
	"3コイン/4クレジット",
	"2コイン/3クレジット",
	"4コイン/7クレジット",
	"2コイン/4クレジット",
	"1コイン/2クレジット",
	"2コイン/5クレジット",
	"2コイン/6クレジット",
	"1コイン/3クレジット",
	"2コイン/7クレジット",
	"2コイン/8クレジット",
	"1コイン/4クレジット",
	"1コイン/5クレジット",
	"1コイン/6クレジット",
	"1コイン/7クレジット",
	"1コイン/8クレジット",
	"1コイン/9クレジット",
	"2コイン/1クレジット(1コイン継続)",
	"2コインスタート, 1コイン継続",
	"10K, 30K, 30Kごと",
	"20K, 50K, 70Kごと",
	"30K, 60K, 70Kごと",
	"40K, 70K, 80Kごと",
	"100k, 200kごと",
	"80k, 400kごと",
	"100k, 450kごと",
	"160k, 450kごと",
	"600k, 1400kごと",
	"600k, 2000k, 4500k",
	"1200k, 3500k",
	"2000kのみ",
	"コンティニュー?",
	"1コイン",
	"2コイン",
	"フリープレイ",
	"エクステンド",
	"筐体",
	"アップライト",
	"1Pアップライト",
	"2Pアップライト",
	"カクテル",
	"画面反転",
	"サービスモード",
	"テストスイッチ",
	"コイン投入数？",
	"連射 (いくつかのゲームで有効)",
	"通信設定",
	"フリーズ",
	"地域",
	"マシンモード",
	"日本",
	"アメリカ",
	"ヨーロッパ",
	"家庭用",
	"アーケード",
	"生命力",
	"コンティニュー可能",
	"ターボモード",
	"最大プレイヤー数",
	"音声",
	"コインスロット",
	"ステージセレクト",
	"ステージ間の魔力の継続？",
	"ライフバー",
	"初期生命力",
	"弾速",
	"2人対戦モード",
	"1クレジット/コンティニューなし",
	"2クレジット/勝者継続プレイ",
	"対戦モード",
	"テストモード",
	"なし",
	"未使用",
	"不明"
};
#endif

const char * ui_getstring (int string_num)
{
	return default_text[string_num];
}

void portname_init(void)
{
	int i;

	for (i = PORT_first_entry + 1; i < PORT_last_entry; i++)
		strcpy(portname[i], default_port[i]);
}
