//	Zinc Application Framework - LANG_JA.CPP
//	COPYRIGHT (C) 1990-1999.  All Rights Reserved.
//	Zinc Software Incorporated.  Pleasant Grove, Utah  USA

// In error statements, the %1%s is the data, the %2%s is the range.

#if defined(ZAF_LANGUAGE_INFO) || defined(ZAF_LANGUAGE_MANAGER_INFO)
#	define langCodeset	CP_OTHER
#	define langCodesetName	"IBM_932"
	// Language definitions for JAPANESE (JA).
	static ZafIChar ZAF_FARDATA defaultLanguageName[] = { 'j','a',0 };
#endif

#if defined(ZAF_LANGUAGE_MANAGER_INFO)
ZafIChar ZAF_FARDATA ZafLanguageManager::blankString[] = ZAF_ITEXT("");
ZafIChar ZAF_FARDATA ZafLanguageManager::errorString[] = ZAF_ITEXT("エラー");
#endif

#if defined(ZAF_UTIME_DATA_INFO)
static ZafMessageStruct ZAF_FARDATA defaultDayStrings[] =
{
	{ "", (ZafNumberID)-1, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "日曜日",	ZAF_DAY_1, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "月曜日",	ZAF_DAY_2, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "火曜日",	ZAF_DAY_3, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "水曜日",	ZAF_DAY_4, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "木曜日",	ZAF_DAY_5, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "金曜日",	ZAF_DAY_6, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "土曜日",	ZAF_DAY_7, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "日", ZAF_SHDAY_1, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "月", ZAF_SHDAY_2, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "火", ZAF_SHDAY_3, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "水", ZAF_SHDAY_4, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "木", ZAF_SHDAY_5, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "金", ZAF_SHDAY_6, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "土", ZAF_SHDAY_7, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "日", ZAF_ABDAY_1, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "月", ZAF_ABDAY_2, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "火", ZAF_ABDAY_3, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "水", ZAF_ABDAY_4, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "木", ZAF_ABDAY_5, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "金", ZAF_ABDAY_6, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "土", ZAF_ABDAY_7, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ ZAF_NULLP(ZafIChar), ZAF_NUMID_NULL, ZAF_NULLP(ZafStringIDChar), 0, -1 }
};
static ZafMessageStruct ZAF_FARDATA defaultMonthStrings[] =
{
	{ "", (ZafNumberID)-1, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "１月",	ZAF_MON_1, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "２月",	ZAF_MON_2, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "３月",	ZAF_MON_3, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "４月",	ZAF_MON_4, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "５月",	ZAF_MON_5, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "６月",	ZAF_MON_6, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "７月",	ZAF_MON_7, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "８月",	ZAF_MON_8, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "９月",	ZAF_MON_9, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "１０月",	ZAF_MON_10, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "１１月",	ZAF_MON_11, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "１２月",	ZAF_MON_12, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "1月",	ZAF_SHMON_1, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "2月",	ZAF_SHMON_2, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "3月",	ZAF_SHMON_3, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "4月",	ZAF_SHMON_4, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "5月",	ZAF_SHMON_5, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "6月",	ZAF_SHMON_6, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "7月",	ZAF_SHMON_7, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "8月",	ZAF_SHMON_8, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "9月",	ZAF_SHMON_9, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "10月",	ZAF_SHMON_10, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "11月",	ZAF_SHMON_11, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "12月",	ZAF_SHMON_12, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "1月",	ZAF_ABMON_1, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "2月",	ZAF_ABMON_2, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "3月",	ZAF_ABMON_3, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "4月",	ZAF_ABMON_4, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "5月",	ZAF_ABMON_5, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "6月",	ZAF_ABMON_6, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "7月",	ZAF_ABMON_7, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "8月",	ZAF_ABMON_8, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "9月",	ZAF_ABMON_9, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "10月",	ZAF_ABMON_10, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "11月",	ZAF_ABMON_11, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "12月",	ZAF_ABMON_12, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ ZAF_NULLP(ZafIChar), ZAF_NUMID_NULL, ZAF_NULLP(ZafStringIDChar), 0, -1 }
};
static ZafMessageStruct ZAF_FARDATA defaultTimeStrings[] =
{
	{ "", (ZafNumberID)-1, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "A.M.", ZAF_AM, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "P.M.", ZAF_PM, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "xxxx", ZAF_TZ, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ ZAF_NULLP(ZafIChar), ZAF_NUMID_NULL, ZAF_NULLP(ZafStringIDChar), 0, -1 }
};
#endif

#if defined(ZAF_UTIME_INFO)
static ZafMessageStruct ZAF_FARDATA defaultMessages[] =
{
	{ "時刻 %s は、不正なフォーマットです．", ZAF_ERROR_INVALID, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "時刻を入力してください．", ZAF_ERROR_VALUE_MISSING, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "時刻 %s は、 %s の範囲外です．", ZAF_ERROR_OUT_OF_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "時刻 %s は、%s より前です．", ZAF_ERROR_LESS_THAN_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "時刻 %s は、%s より後です．", ZAF_ERROR_GREATER_THAN_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ ZAF_NULLP(ZafIChar), ZAF_NUMID_NULL, ZAF_NULLP(ZafStringIDChar), 0, -1 }
};
#endif

#if defined(ZAF_BIGNUM_INFO)
static ZafMessageStruct ZAF_FARDATA defaultMessages[] =
{
	{ "数値 %s は不正な値です．", ZAF_ERROR_INVALID, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "数値 %s は、%s の範囲外です．", ZAF_ERROR_OUT_OF_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "数値 %s は、%s より小さ過ぎます．", ZAF_ERROR_LESS_THAN_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "数値 %s は、%s より大き過ぎます．", ZAF_ERROR_GREATER_THAN_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ ZAF_NULLP(ZafIChar), ZAF_NUMID_NULL, ZAF_NULLP(ZafStringIDChar), 0, -1 }
};
#endif

#if defined(ZAF_INTEGER_INFO)
static ZafMessageStruct ZAF_FARDATA defaultMessages[] =
{
	{ "数値 %s は不正な値です．", ZAF_ERROR_INVALID, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "数値 %s は、%s の範囲外です．", ZAF_ERROR_OUT_OF_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "数値 %s は、%s より小さ過ぎます．", ZAF_ERROR_LESS_THAN_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "数値 %s は、%s より大き過ぎます．", ZAF_ERROR_GREATER_THAN_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ ZAF_NULLP(ZafIChar), ZAF_NUMID_NULL, ZAF_NULLP(ZafStringIDChar), 0, -1 }
};
#endif

#if defined(ZAF_REAL_INFO)
static ZafMessageStruct ZAF_FARDATA defaultMessages[] =
{
	{ "数値 %s は不正な値です．", ZAF_ERROR_INVALID, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "数値 %s は、%s の範囲外です．", ZAF_ERROR_OUT_OF_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "数値 %s は、%s より小さ過ぎます．", ZAF_ERROR_LESS_THAN_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "数値 %s は、%s より大き過ぎます．", ZAF_ERROR_GREATER_THAN_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ ZAF_NULLP(ZafIChar), ZAF_NUMID_NULL, ZAF_NULLP(ZafStringIDChar), 0, -1 }
};
#endif

#if defined(ZAF_DATE_INFO)
static ZafMessageStruct ZAF_FARDATA defaultMessages[] =
{
	{ "日付 %s は、不正なフォーマットです．", ZAF_ERROR_INVALID, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "日付 %s の月が正しくありません．", ZAF_ERROR_INVALID_NAME, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "日付を入力してください．", ZAF_ERROR_VALUE_MISSING, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "日付 %s は、%s の範囲外です．", ZAF_ERROR_OUT_OF_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "日付 %s は、%s より前です．", ZAF_ERROR_LESS_THAN_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "日付 %s は、%s より後です．", ZAF_ERROR_GREATER_THAN_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ ZAF_NULLP(ZafIChar), ZAF_NUMID_NULL, ZAF_NULLP(ZafStringIDChar), 0, -1 }
};
#endif

#if defined(ZAF_TIME_INFO)
static ZafMessageStruct ZAF_FARDATA defaultMessages[] =
{
	{ "時刻 %s は、不正なフォーマットです．", ZAF_ERROR_INVALID, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "時刻を入力してください．", ZAF_ERROR_VALUE_MISSING, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "時刻 %s は、 %s の範囲外です．", ZAF_ERROR_OUT_OF_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "時刻 %s は、%s より前です．", ZAF_ERROR_LESS_THAN_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "時刻 %s は、%s より後です．", ZAF_ERROR_GREATER_THAN_RANGE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ ZAF_NULLP(ZafIChar), ZAF_NUMID_NULL, ZAF_NULLP(ZafStringIDChar), 0, -1 }
};
#endif

#if defined(ZAF_ERROR_SYSTEM_INFO)
static ZafMessageStruct ZAF_FARDATA defaultMessages[] =
{
	{ "エラー", ZAF_MSG_TITLE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "OK", ZAF_MSG_OK, ZAF_NULLP(ZafStringIDChar), 'O', 0 },
	{ "取消(C)", ZAF_MSG_CANCEL, ZAF_NULLP(ZafStringIDChar), 'C', 3 },
	{ "Help", ZAF_MSG_HELP, ZAF_NULLP(ZafStringIDChar), 'H', 0 },
	{ "ASTERISK", ZAF_MSG_ICONNAME, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "移動(M)", ZAF_MSG_MOVE, ZAF_NULLP(ZafStringIDChar), 'M', 3 },
	{ "閉じる(C)\tAlt+F4", ZAF_MSG_CLOSE, ZAF_NULLP(ZafStringIDChar), 'C', 4 },
	{ ZAF_NULLP(ZafIChar), ZAF_NUMID_NULL, ZAF_NULLP(ZafStringIDChar), 0, -1 }
};
#endif

#if defined(ZAF_FILE_DIALOG_INFO)
static ZafMessageStruct ZAF_FARDATA defaultMessages[] =
{
	{ "File New", ZAF_MSG_NEW, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "File Open", ZAF_MSG_OPEN, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "File Save", ZAF_MSG_SAVEAS, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ ZAF_NULLP(ZafIChar), ZAF_NUMID_NULL, ZAF_NULLP(ZafStringIDChar), 0, -1 }
};
#endif

#if defined(ZAF_HELP_SYSTEM_INFO)
static ZafMessageStruct ZAF_FARDATA defaultMessages[] =
{
	{ "Help Topic", ZAF_MSG_HELP_TOPIC, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "Help Index", ZAF_MSG_HELP_INDEX, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "Show Topic", ZAF_MSG_SHOW_TOPIC, ZAF_NULLP(ZafStringIDChar), 'T', 5 },
	{ "Show Index", ZAF_MSG_SHOW_INDEX, ZAF_NULLP(ZafStringIDChar), 'I', 5 },
	{ "Select A Topic", ZAF_MSG_MESSAGE1, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "Type a word, or select one from the list.", ZAF_MSG_MESSAGE2, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "Close", ZAF_MSG_CLOSE, ZAF_NULLP(ZafStringIDChar), 'C', 0 },
	{ "ヘルプ情報", ZAF_MSG_ICONTITLE, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "QUESTION", ZAF_MSG_ICONNAME, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ ZAF_NULLP(ZafIChar), ZAF_NUMID_NULL, ZAF_NULLP(ZafStringIDChar), 0, -1 }
};
#endif

#if defined(ZAF_SYSTEM_BUTTON_INFO)
static ZafMessageStruct ZAF_FARDATA defaultMessages[] =
{
	{ "元の大きさに戻す(R)", ZAF_RESTORE_OPTION, ZAF_NULLP(ZafStringIDChar), 'R', 9 },	// S_RESTORE
	{ "移動(M)", ZAF_MOVE_OPTION, ZAF_NULLP(ZafStringIDChar), 'M', 3 },					// S_MOVE_MODE
	{ "サイズ変更(S)", ZAF_SIZE_OPTION, ZAF_NULLP(ZafStringIDChar), 'S', 6 },			// S_SIZE_MODE
	{ "アイコン化(N)", ZAF_MINIMIZE_OPTION, ZAF_NULLP(ZafStringIDChar), 'N', 6 },		// S_MINIMIZE
	{ "最大表\示(X)", ZAF_MAXIMIZE_OPTION, ZAF_NULLP(ZafStringIDChar), 'X', 5 },			// S_MAXIMIZE
	{ "", ZAF_SEPARATOR, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "閉じる(C)", ZAF_CLOSE_OPTION, ZAF_NULLP(ZafStringIDChar), 'C', 4 },				// S_CLOSE
	{ ZAF_NULLP(ZafIChar), ZAF_NUMID_NULL, ZAF_NULLP(ZafStringIDChar), 0, -1 }
};
#endif

#if defined(ZAF_POPUP_INFO)
static ZafMessageStruct ZAF_FARDATA defaultMessages[] =
{
#	if defined(ZAF_MACINTOSH)
	{ "Quit", ZAF_EXIT_OPTION, ZAF_NULLP(ZafStringIDChar), 'Q', -1 },
	{ "閉じる", ZAF_CLOSE_OPTION, ZAF_NULLP(ZafStringIDChar), 'W', -1 },
	{ "Cut", ZAF_CUT_OPTION, ZAF_NULLP(ZafStringIDChar), 'X', -1 },
	{ "Copy", ZAF_COPY_OPTION, ZAF_NULLP(ZafStringIDChar), 'C', -1 },
	{ "Paste", ZAF_PASTE_OPTION, ZAF_NULLP(ZafStringIDChar), 'V', -1 },
#	else
	{ "Exit", ZAF_EXIT_OPTION, ZAF_NULLP(ZafStringIDChar), 'X', 1 },
	{ "閉じる(C)", ZAF_CLOSE_OPTION, ZAF_NULLP(ZafStringIDChar), 'C', 4 },
	{ "Cut", ZAF_CUT_OPTION, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "Copy", ZAF_COPY_OPTION, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ "Paste", ZAF_PASTE_OPTION, ZAF_NULLP(ZafStringIDChar), 0, -1 },
#	endif
	{ ZAF_NULLP(ZafIChar), ZAF_NUMID_NULL, ZAF_NULLP(ZafStringIDChar), 0, -1 }
};
#endif

#if defined(ZAF_WINDOW_INFO)
static ZafMessageStruct ZAF_FARDATA defaultMessages[] =
{
	{ "ERROR", (ZafNumberID)-1, ZAF_NULLP(ZafStringIDChar), 0, -1 },
	{ ZAF_NULLP(ZafIChar), ZAF_NUMID_NULL, ZAF_NULLP(ZafStringIDChar), 0, -1 }
};
#endif

#if defined(ZAF_MESSAGE_WINDOW_INFO)
static ZafMessageStruct ZAF_FARDATA defaultMessages[] =
{
	{ "了解(O)", ZAF_DIALOG_OK, ZAF_NULLP(ZafStringIDChar), 'O', 3 },
	{ "はい(Y)", ZAF_DIALOG_YES, ZAF_NULLP(ZafStringIDChar), 'Y', 3 },
	{ "いいえ(N)", ZAF_DIALOG_NO, ZAF_NULLP(ZafStringIDChar), 'N', 4 },
	{ "中止する(A)", ZAF_DIALOG_ABORT, ZAF_NULLP(ZafStringIDChar), 'A', 5 },
	{ "もう一度(R)", ZAF_DIALOG_RETRY, ZAF_NULLP(ZafStringIDChar), 'R', 5 },
	{ "無視する(I)", ZAF_DIALOG_IGNORE, ZAF_NULLP(ZafStringIDChar), 'I', 5 },
	{ "取り消し(C)", ZAF_DIALOG_CANCEL, ZAF_NULLP(ZafStringIDChar), 'C', 5 },
	{ "ヘルプ(H)", ZAF_DIALOG_HELP, ZAF_NULLP(ZafStringIDChar), 'H', 4 },
	{ ZAF_NULLP(ZafIChar), ZAF_NUMID_NULL, ZAF_NULLP(ZafStringIDChar), 0, -1 }
};
#endif

