i18n.setKeys({
//	"General.Elasticsearch": "Elasticsearch",
	"General.LoadingAggs": "Aggregations ロード中...",
	"General.Searching": "検索中...",
	"General.Search": "Search",
	"General.Help": "ヘルプ",
//	"General.HelpGlyph": "?",
//	"General.CloseGlyph": "X",
	"General.RefreshResults": "リフレッシュ",
	"General.ManualRefresh": "マニュアルモード",
	"General.RefreshQuickly": "クイックモード",
	"General.Refresh5seconds": "5秒毎にリフレッシュ",
	"General.Refresh1minute": "1分毎にリフレッシュ",
	"AliasForm.AliasName": "エイリアス名",
	"AliasForm.NewAliasForIndex": "{0} の新しいエイリアス",
	"AliasForm.DeleteAliasMessage": "インデックス ''{1}'' を削除するために ''{0}'' とタイプして下さい. この操作は undo できません.",
	"AnyRequest.DisplayOptions" : "表示オプション",
	"AnyRequest.AsGraph" : "グラフの表示",
	"AnyRequest.AsJson" : "生の JSON を表示",
	"AnyRequest.AsTable" : "テーブルの表示",
	"AnyRequest.History" : "履歴",
	"AnyRequest.RepeatRequest" : "繰り返しリクエストを投げる",
	"AnyRequest.RepeatRequestSelect" : "次の間隔でリクエストを繰り返す",
	"AnyRequest.Transformer" : "Result Transformer",
//	"AnyRequest.Pretty": "Pretty",
	"AnyRequest.Query" : "Query",
	"AnyRequest.Request": "Request",
	"AnyRequest.Requesting": "検索中...",
	"AnyRequest.ValidateJSON": "Validate JSON",
	"Browser.Title": "Browser",
	"Browser.ResultSourcePanelTitle": "Result Source",
	"Command.DELETE": "DELETE",
	"Command.SHUTDOWN": "SHUTDOWN",
	"Command.DeleteAliasMessage": "エイリアスを削除しますか?",
	"ClusterOverView.IndexName": "Index名",
	"ClusterOverview.NumShards": "Number of Shards",
	"ClusterOverview.NumReplicas": "Number of Replicas",
	"ClusterOverview.NewIndex": "インデックスの作成",
//	"IndexActionsMenu.Title": "Actions",
	"IndexActionsMenu.NewAlias": "新しいエイリアス...",
	"IndexActionsMenu.Refresh": "Refresh",
	"IndexActionsMenu.Flush": "Flush",
	"IndexActionsMenu.Optimize": "Optimize...",
	"IndexActionsMenu.ForceMerge": "ForceMerge...",
	"IndexActionsMenu.Snapshot": "Gateway Snapshot",
	"IndexActionsMenu.Analyser": "Analyserテスト",
//	"IndexActionsMenu.Open": "Open",
//	"IndexActionsMenu.Close": "Close",
//	"IndexActionsMenu.Delete": "Delete...",
//	"IndexInfoMenu.Title": "Info",
//	"IndexInfoMenu.Status": "Index Status",
//	"IndexInfoMenu.Metadata": "Index Metadata",
	"IndexCommand.TextToAnalyze": "Analyse するテキストを入力",
	"IndexCommand.ShutdownMessage": " {1} をシャットダウンするために ''{0}'' と入力して下さい. このインターフェースからはリスタートはできません.",
	"IndexOverview.PageTitle": "インデックスのOverview",
//	"IndexSelector.NameWithDocs": "{0} ({1} docs)",
	"IndexSelector.SearchIndexForDocs": "Search {0} for documents where:",
	"FilterBrowser.OutputType": "結果の出力形式: {0} ",
	"FilterBrowser.OutputSize": "結果の取得サイズ: {0} ",
	"Header.ClusterHealth": "cluster health: {0} ({1} of {2})",
	"Header.ClusterNotConnected": "cluster health: not connected",
	"Header.Connect": "接続",
	"Nav.AnyRequest": "Any Request",
	"Nav.Browser": "Browser",
	"Nav.ClusterHealth": "Cluster Health",
	"Nav.ClusterState": "Cluster State",
	"Nav.ClusterNodes": "Nodes Info",
//	"Nav.Info": "Info",
	"Nav.NodeStats": "Nodes Stats",
	"Nav.Overview": "Overview",
	"Nav.Indices": "Indices",
	"Nav.Plugins": "Plugins",
	"Nav.Status": "Indices Stats",
	"Nav.Templates": "Templates",
	"Nav.StructuredQuery": "Structured Query",
//	"NodeActionsMenu.Title": "Actions",
	"NodeActionsMenu.Shutdown": "シャットダウン...",
//	"NodeInfoMenu.Title": "Info",
	"NodeInfoMenu.ClusterNodeInfo": "Cluster Node Info",
//	"NodeInfoMenu.NodeStats": "Node Stats",
	"NodeType.Client": "Client Node",
	"NodeType.Coord": "Coordinator",
	"NodeType.Master": "Master Node",
	"NodeType.Tribe": "Tribe Node",
	"NodeType.Worker": "Worker Node",
	"NodeType.Unassigned": "Unassigned",
	"OptimizeForm.OptimizeIndex": "Optimize {0}",
	"OptimizeForm.MaxSegments": "Maximum # Of Segments",
	"OptimizeForm.ExpungeDeletes": "Only Expunge Deletes",
	"OptimizeForm.FlushAfter": "Flush After Optimize",
	"OptimizeForm.WaitForMerge": "Wait For Merge",
	"ForceMergeForm.ForceMergeIndex": "ForceMerge {0}",
	"ForceMergeForm.MaxSegments": "Maximum # Of Segments",
	"ForceMergeForm.ExpungeDeletes": "Only Expunge Deletes",
	"ForceMergeForm.FlushAfter": "Flush After ForceMerge",
	"ForceMergeForm.WaitForMerge": "Wait For Merge",
	"Overview.PageTitle" : "クラスタのOverview",
//	"Output.JSON": "JSON",
	"Output.Table": "表",
//	"Output.CSV": "CSV",
	"Output.ShowSource": "Query の source を表示",
	"Preference.SortCluster": "ノードのソート",
	"Sort.ByName": "名前順",
	"Sort.ByAddress": "アドレス順",
	"Sort.ByType": "タイプ順",
	"Preference.SortIndices": "インデックスのソート",
	"SortIndices.Descending": "降順(desc)",
	"SortIndices.Ascending": "昇順(asc)",
	"Preference.ViewAliases": "エイリアスの表示方法",
	"ViewAliases.Grouped": "標準",
	"ViewAliases.List": "リスト形式",
	"ViewAliases.None": "表示しない",
	"Overview.IndexFilter": "インデックスの絞り込み",
	"TableResults.Summary": "検索結果: {0} / {1} シャード. {2} ヒット. {3} 秒",
	"QueryFilter.AllIndices": "全インデックス",
	"QueryFilter.AnyValue": "any",
	"QueryFilter-Header-Indices": "Indices",
//	"QueryFilter-Header-Types": "Types",
	"QueryFilter-Header-Fields": "Fields",
	"QueryFilter.DateRangeHint.from": "From : {0}",
	"QueryFilter.DateRangeHint.to": "  To : {0}",
	"Query.FailAndUndo": "Query Failed. Undoing last changes",
	"StructuredQuery.ShowRawJson": "生の JSON を表示する"
});

i18n.setKeys({
	"AnyRequest.TransformerHelp" : "\
		<p>Result Transformer は、ESから返ってきた JSON をより使いやすい形式に変換することができます.</p>\
		<p>transformer には javascript の function の中身を記述します. 戻り値の新しい JSON が画面出力されます.</p>\
		<p>例:<br>\
		  <code>return root.hits.hits[0];</code> 検索結果の最初のドキュメントだけを表示するように JSON をトラバースする例<br>\
		  <code>return Object.keys(root.nodes).reduce(function(tot, node) { return tot + root.nodes[node].os.mem.used_in_bytes; }, 0);</code> クラスタ全体でのトータル使用メモリを返す例<br></p>\
		<p>以下の関数は、配列やオブジェクトを扱うのに便利です<br>\
		<ul>\
			<li><i>Object.keys</i>(object) := array</li>\
			<li>array.<i>forEach</i>(function(prop, index))</li>\
			<li>array.<i>map</i>(function(prop, index)) := array</li>\
			<li>array.<i>reduce</i>(function(accumulator, prop, index), initial_value) := final_value</li>\
		</ul>\
		<p>繰り返しリクエストを投げた時, prev 引数に前の戻り値が入ります. 比較や、累積グラフの作成などに利用できます.</p>\
		<p>例:<br>\
		<code>var la = [ root.nodes[Object.keys(root.nodes)[0]].os.load_average[0] ]; return prev ? la.concat(prev) : la;</code> 最初のノードの load_average を配列で返します.\
		この配列をグラフの入力値に用いることで load_average の遷移をグラフとして視覚化することができます.\
		"
});

i18n.setKeys({
	"AnyRequest.DisplayOptionsHelp" : "\
		<p>生の JSON の表示: 検索結果を生の JSON で表示します </p>\
		<p>グラフの表示: 検索結果をグラフで表示します. Result Transformer を使って、配列の値に変換する必要があります</p>\
		<p>表の表示: 検索クエリの場合には、結果を表形式で表示できます</p>\
		"
});

//i18n.setKeys({
//	"QueryFilter.DateRangeHelp" : "\
//		<p>Date fields accept a natural language query to produce a From and To date that form a range that the results are queried over.</p>\
//		<p>The following formats are supported:</p>\
//		<ul>\
//			<li><b>Keywords / Key Phrases</b><br>\
//				<code>now<br> today<br> tomorrow<br> yesterday<br> last / this / next + week / month / year</code><br>\
//				searches for dates matching the keyword. <code>last year</code> would search all of last year.</li>\
//			<li><b>Ranges</b><br>\
//				<code>1000 secs<br> 5mins<br> 1day<br> 2days<br> 80d<br> 9 months<br> 2yrs</code> (spaces optional, many synonyms for range qualifiers)<br>\
//				Create a search range centered on <code>now</code> extending into the past and future by the amount specified.</li>\
//			<li><b>DateTime and Partial DateTime</b><br>\
//				<code>2011<br> 2011-01<br> 2011-01-18<br> 2011-01-18 12<br> 2011-01-18 12:32<br> 2011-01-18 12:32:45</code><br>\
//				these formats specify a specific date range. <code>2011</code> would search the whole of 2011, while <code>2011-01-18 12:32:45</code> would only search for results in that 1 second range</li>\
//			<li><b>Time and Time Partials</b><br>\
//				<code>12<br> 12:32<br> 12:32:45</code><br>\
//				these formats search for a particular time during the current day. <code>12:32</code> would search that minute during today</li>\
//			<li><b>Date Ranges</b><br>\
//				<code>2010 -&gt; 2011<br> last week -&gt; next week<br> 2011-05 -&gt;<br> &lt; now</code><br>\
//				A Date Range is created by specifying two dates in any format (Keyword / DateTime / Time) separated by &lt; or -&gt; (both do the same thing). If either end of the date range is missing, it is the same as having no constraint in that direction.</li>\
//			<li><b>Date Range using Offset</b><br>\
//				<code>2010 -> 1yr<br> 3mins < now</code>\
//				Searches the specified date including the range in the direction specified.</li>\
//			<li><b>Anchored Ranges</b><br>\
//				<code>2010-05-13 05:13 <> 10m<br> now <> 1yr<br> lastweek <> 1month</code><br>\
//				Similar to above except the range is extend in both directions from the anchor date</li>\
//		</ul>\
//	"
//});
