3679dfbbc5b16f943dcb2c2b1ea233f8725ed432
[ccsdk/features.git] /
1 i18n.setKeys({
2         "General.Elasticsearch": "Elasticsearch",
3         "General.LoadingAggs": "Loading Aggregations...",
4         "General.Searching": "Searching...",
5         "General.Search": "Search",
6         "General.Help": "Help",
7         "General.HelpGlyph": "?",
8         "General.CloseGlyph": "X",
9         "General.RefreshResults": "Refresh",
10         "General.ManualRefresh": "Manual Refresh",
11         "General.RefreshQuickly": "Refresh quickly",
12         "General.Refresh5seconds": "Refresh every 5 seconds",
13         "General.Refresh1minute": "Refresh every minute",
14         "AliasForm.AliasName": "Alias Name",
15         "AliasForm.NewAliasForIndex": "New Alias for {0}",
16         "AliasForm.DeleteAliasMessage": "type ''{0}'' to delete {1}. There is no undo",
17         "AnyRequest.DisplayOptions" : "Display Options",
18         "AnyRequest.AsGraph" : "Graph Results",
19         "AnyRequest.AsJson" : "Show Raw JSON",
20         "AnyRequest.AsTable" : "Show Search Results Table",
21         "AnyRequest.History" : "History",
22         "AnyRequest.RepeatRequest" : "Repeat Request",
23         "AnyRequest.RepeatRequestSelect" : "Repeat request every ",
24         "AnyRequest.Transformer" : "Result Transformer",
25         "AnyRequest.Pretty": "Pretty",
26         "AnyRequest.Query" : "Query",
27         "AnyRequest.Request": "Request",
28         "AnyRequest.Requesting": "Requesting...",
29         "AnyRequest.ValidateJSON": "Validate JSON",
30         "Browser.Title": "Browser",
31         "Browser.ResultSourcePanelTitle": "Result Source",
32         "Command.DELETE": "DELETE",
33         "Command.SHUTDOWN": "SHUTDOWN",
34         "Command.DeleteAliasMessage": "Delete Alias?",
35         "ClusterOverView.IndexName": "Index Name",
36         "ClusterOverview.NumShards": "Number of Shards",
37         "ClusterOverview.NumReplicas": "Number of Replicas",
38         "ClusterOverview.NewIndex": "New Index",
39         "IndexActionsMenu.Title": "Actions",
40         "IndexActionsMenu.NewAlias": "New Alias...",
41         "IndexActionsMenu.Refresh": "Refresh",
42         "IndexActionsMenu.Flush": "Flush",
43         "IndexActionsMenu.Optimize": "Optimize...",
44         "IndexActionsMenu.Snapshot": "Gateway Snapshot",
45         "IndexActionsMenu.Analyser": "Test Analyser",
46         "IndexActionsMenu.Open": "Open",
47         "IndexActionsMenu.Close": "Close",
48         "IndexActionsMenu.Delete": "Delete...",
49         "IndexInfoMenu.Title": "Info",
50         "IndexInfoMenu.Status": "Index Status",
51         "IndexInfoMenu.Metadata": "Index Metadata",
52         "IndexCommand.TextToAnalyze": "Text to Analyse",
53         "IndexCommand.ShutdownMessage": "type ''{0}'' to shutdown {1}. Node can NOT be restarted from this interface",
54         "IndexOverview.PageTitle": "Indices Overview",
55         "IndexSelector.NameWithDocs": "{0} ({1} docs)",
56         "IndexSelector.SearchIndexForDocs": "Search {0} for documents where:",
57         "FilterBrowser.OutputType": "Output Results: {0}",
58         "FilterBrowser.OutputSize": "Number of Results: {0}",
59         "Header.ClusterHealth": "cluster health: {0} ({1} of {2})",
60         "Header.ClusterNotConnected": "cluster health: not connected",
61         "Header.Connect": "Connect",
62         "Nav.AnyRequest": "Any Request",
63         "Nav.Browser": "Browser",
64         "Nav.ClusterHealth": "Cluster Health",
65         "Nav.ClusterState": "Cluster State",
66         "Nav.ClusterNodes": "Nodes Info",
67         "Nav.Info": "Info",
68         "Nav.NodeStats": "Nodes Stats",
69         "Nav.Overview": "Overview",
70         "Nav.Indices": "Indices",
71         "Nav.Plugins": "Plugins",
72         "Nav.Status": "Indices Stats",
73         "Nav.Templates": "Templates",
74         "Nav.StructuredQuery": "Structured Query",
75         "NodeActionsMenu.Title": "Actions",
76         "NodeActionsMenu.Shutdown": "Shutdown...",
77         "NodeInfoMenu.Title": "Info",
78         "NodeInfoMenu.ClusterNodeInfo": "Cluster Node Info",
79         "NodeInfoMenu.NodeStats": "Node Stats",
80         "NodeType.Client": "Client Node",
81         "NodeType.Coord": "Coordinator",
82         "NodeType.Master": "Master Node",
83         "NodeType.Tribe": "Tribe Node",
84         "NodeType.Worker": "Worker Node",
85         "NodeType.Unassigned": "Unassigned",
86         "OptimizeForm.OptimizeIndex": "Optimize {0}",
87         "OptimizeForm.MaxSegments": "Maximum # Of Segments",
88         "OptimizeForm.ExpungeDeletes": "Only Expunge Deletes",
89         "OptimizeForm.FlushAfter": "Flush After Optimize",
90         "OptimizeForm.WaitForMerge": "Wait For Merge",
91         "Overview.PageTitle" : "Cluster Overview",
92         "Output.JSON": "JSON",
93         "Output.Table": "Table",
94         "Output.CSV": "CSV",
95         "Output.ShowSource": "Show query source",
96         "Preference.SortCluster": "Sort Cluster",
97         "Sort.ByName": "By Name",
98         "Sort.ByAddress": "By Address",
99         "Sort.ByType": "By Type",
100         "Preference.SortIndices": "Sort Indices",
101         "SortIndices.Descending": "Descending",
102         "SortIndices.Ascending": "Ascending",
103         "Preference.ViewAliases": "View Aliases",
104         "ViewAliases.Grouped": "Grouped",
105         "ViewAliases.List": "List",
106         "ViewAliases.None": "None",
107         "Overview.IndexFilter": "Index Filter",
108         "TableResults.Summary": "Searched {0} of {1} shards. {2} hits. {3} seconds",
109         "QueryFilter.AllIndices": "All Indices",
110         "QueryFilter.AnyValue": "any",
111         "QueryFilter-Header-Indices": "Indices",
112         "QueryFilter-Header-Types": "Types",
113         "QueryFilter-Header-Fields": "Fields",
114         "QueryFilter.DateRangeHint.from": "From : {0}",
115         "QueryFilter.DateRangeHint.to": "  To : {0}",
116         "Query.FailAndUndo": "Query Failed. Undoing last changes",
117         "StructuredQuery.ShowRawJson": "Show Raw JSON"
118 });
119
120 i18n.setKeys({
121         "AnyRequest.TransformerHelp" : "\
122                 <p>The Result Transformer can be used to post process the raw json results from a request into a more useful format.</p>\
123                 <p>The transformer should contain the body of a javascript function. The return value from the function becomes the new value passed to the json printer</p>\
124                 <p>Example:<br>\
125                   <code>return root.hits.hits[0];</code> would traverse a result set to show just the first match<br>\
126                   <code>return Object.keys(root.nodes).reduce(function(tot, node) { return tot + root.nodes[node].os.mem.used_in_bytes; }, 0);</code> would return the total memory used across an entire cluster<br></p>\
127                 <p>The following functions are available and can be useful processing arrays and objects<br>\
128                 <ul>\
129                         <li><i>Object.keys</i>(object) := array</li>\
130                         <li>array.<i>forEach</i>(function(prop, index))</li>\
131                         <li>array.<i>map</i>(function(prop, index)) := array</li>\
132                         <li>array.<i>reduce</i>(function(accumulator, prop, index), initial_value) := final_value</li>\
133                 </ul>\
134                 <p>When Repeat Request is running, an extra parameter called prev is passed to the transformation function. This allows comparisons, and cumulative graphing</p>\
135                 <p>Example:<br>\
136                 <code>var la = [ root.nodes[Object.keys(root.nodes)[0]].os.load_average[0] ]; return prev ? la.concat(prev) : la;</code> would return the load average on the first cluster node over the last minute\
137                 This could be fed into the Graph to produce a load graph for the node\
138                 "
139 });
140
141 i18n.setKeys({
142         "AnyRequest.DisplayOptionsHelp" : "\
143                 <p>Raw Json: shows complete results of the query and transformation in raw JSON format </p>\
144                 <p>Graph Results: To produce a graph of your results, use the result transformer to produce an array of values</p>\
145                 <p>Search Results Table: If your query is a search, you can display the results of the search in a table.</p>\
146                 "
147 });
148
149 i18n.setKeys({
150         "QueryFilter.DateRangeHelp" : "\
151                 <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>\
152                 <p>The following formats are supported:</p>\
153                 <ul>\
154                         <li><b>Keywords / Key Phrases</b><br>\
155                                 <code>now<br> today<br> tomorrow<br> yesterday<br> last / this / next + week / month / year</code><br>\
156                                 searches for dates matching the keyword. <code>last year</code> would search all of last year.</li>\
157                         <li><b>Ranges</b><br>\
158                                 <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>\
159                                 Create a search range centered on <code>now</code> extending into the past and future by the amount specified.</li>\
160                         <li><b>DateTime and Partial DateTime</b><br>\
161                                 <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>\
162                                 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>\
163                         <li><b>Time and Time Partials</b><br>\
164                                 <code>12<br> 12:32<br> 12:32:45</code><br>\
165                                 these formats search for a particular time during the current day. <code>12:32</code> would search that minute during today</li>\
166                         <li><b>Date Ranges</b><br>\
167                                 <code>2010 -&gt; 2011<br> last week -&gt; next week<br> 2011-05 -&gt;<br> &lt; now</code><br>\
168                                 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>\
169                         <li><b>Date Range using Offset</b><br>\
170                                 <code>2010 -> 1yr<br> 3mins < now</code>\
171                                 Searches the specified date including the range in the direction specified.</li>\
172                         <li><b>Anchored Ranges</b><br>\
173                                 <code>2010-05-13 05:13 <> 10m<br> now <> 1yr<br> lastweek <> 1month</code><br>\
174                                 Similar to above except the range is extend in both directions from the anchor date</li>\
175                 </ul>\
176         "
177 });