Commit graph

118 commits

Author SHA1 Message Date
Matt Bargar 539bc6f3a2
Improve KQL error messages (#34900)
Attempts to make KQL syntax errors more sensical to the average user.

I initially tried to use a similar solution to the one we used for detecting usage of old lucene syntax. In other words, I tried to create rules in the grammar that would match strings containing common mistakes the user might make and throw custom error messages for each situation. This proved to be more difficult for detecting errors in the regular language. While the Lucene rules could be completely separated from the main grammar, the KQL error rules had to be mixed into the main grammar which made it much more complex and had a lot of unintended side effects.

So instead I decided to lean more heavily on PEG's built in error reporting. Giving certain rules human readable names allows the parser to use those names in the error reporting instead of auto generating a long list of possible characters that might be expected based on the matching rules. Since the PEG errors contain location information I was also able to add ascii art that points the user to exactly where the error occurred in their query string. While this approach is not quite as nice as bespoke error messages that tell the user exactly what is wrong in plain English, it's much more maintainable and I think it still results in much better error messages compared to what we have today.

I've also removed the old original kuery grammar (for queries like is(response, 200)). We were only using it to display an error if I user was still using the old syntax. This version of kuery hasn't existed since 6.3 and we've had error messages telling users this since then. I think it's safe to remove the legacy parser at this point, which greatly reduces the complexity of our error reporting.
2019-04-24 16:40:38 -04:00
Frank Hassanabad 9d816aa549
Change feature-secops to look like master (#35246)
Makes feature-secops closely mirror master of kibana
* Puts the ci/cd system back to where it mirrors master
* Removed stylelint
* Fixed accidental linter differences that accumulated along the way
* Fixed accidental package addition of `cherrio`
* Added back the translation file of `zh-CN.json`
* https://github.com/elastic/ingest-dev/issues/397
* https://github.com/elastic/ingest-dev/issues/198
2019-04-17 18:19:18 -06:00
FrankHassanabad f745a9afaa
Added exclude which mirrors master and will make the i18n scripts pass 2019-04-05 09:11:46 -06:00
Xavier Mouligneau 88f9bbaa40 Merge branch 'master' of github.com:elastic/kibana into feature-secops 2019-04-04 18:20:23 -04:00
Xavier Mouligneau 7a7f9e0ef3 rename secops to SIEM 2019-04-02 15:50:10 -04:00
Frank Hassanabad 2d34c283a7
Fix snapshots (#32834)
* Made all existing snapshots into shallow calls
* Added any missing snapshots that looked like would be useful
* Re-enabled the snapshots by removing a line in `.gitattributes`
* Removed the i18n excludes since we upgraded babel we don't need them
* https://github.com/elastic/ingest-dev/issues/314
* https://github.com/elastic/ingest-dev/issues/309
2019-03-11 21:21:22 -06:00
Garrett Spong 36a00c543d
Merge branch 'master' of github.com:elastic/kibana into feature-secops 2019-03-11 18:30:54 -06:00
Frank Hassanabad b8ab72c04e
Added zeek renderer (#32614)
* Implemented zeek.connection, zeek.dns, zeek.http, zeek.notice, zeek.ssl, and zeek.files
  * Added unit tests and snapshot tests
  * Broke out GoogleLink from Suricata
  * SHA1 hashes from files gets linked to total virus for on-clicks
  * Updated GraphQL and ECS to add more fields needed (http, url, module)
  * Swept through with TestProvider cleanup in unit tests
  * Added fix for the width for the timetable to render Suricata/Zeek the same as notes
  * https://github.com/elastic/ingest-dev/issues/298
2019-03-07 23:10:44 -07:00
Andrew Goldstein 7105ed624b
# Field Browser Part1: Infrastructure for the field browser (#32627)
This PR contains most of the infrastructure required for the timeline field browser: https://github.com/elastic/ingest-dev/issues/149

## (Visible) Features
* Hover over a column to view its properties (type, description, etc):
![column-properties-tooltip](https://user-images.githubusercontent.com/4459398/53941771-3b7ee000-4076-11e9-9320-3d6c4fee9ad6.gif)

* Resize a column via its header:
![resize-via-header](https://user-images.githubusercontent.com/4459398/53941788-46d20b80-4076-11e9-8057-9e6f4ebe20a0.gif)

* ...or resize a column via its cell:
![resize-via-cell](https://user-images.githubusercontent.com/4459398/53941794-4d608300-4076-11e9-9840-0d2aa86a23c1.gif)

* Added a spinner to the columns to provide visual feedback when a column is sorted:
![spinner-on-sort](https://user-images.githubusercontent.com/4459398/53941811-55202780-4076-11e9-8030-0091bd3e7987.gif)

* Remove columns via a new hover menu interaction:
![remove-column](https://user-images.githubusercontent.com/4459398/53941825-5fdabc80-4076-11e9-86f4-a34b66d02b2a.gif)

* A markdown formatting hint is displayed when typing a note:
![markdown-hint](https://user-images.githubusercontent.com/4459398/53941867-7e40b800-4076-11e9-87f2-3e18b8c93aaf.gif)

## Other Changes
* When toggling between Filter / Search, the KQL search placeholder text reflects the current selection:
![mode-placeholder-text](https://user-images.githubusercontent.com/4459398/53941884-8ac51080-4076-11e9-9203-4bf334f79dde.gif)
* The border drawn around a timeline row on hover has been replaced with a fill:
![row-hover-day](https://user-images.githubusercontent.com/4459398/53941844-6b2de800-4076-11e9-8adb-da525f4c53c2.gif)
* Added text truncation support
* Timeline columns that previously appeared jagged are now aligned
* The text area for adding a note in the timeline now uses most of the visible width
* Added a min-height to the timeline to prevent the Filter / Search typeahead from getting cut off
* The timeline footer is now always-visible
* The resize cursor is now always-visible when the timeline is resized
* Wrapped timeline tests in a `<TestProviders>` wrapper to reduce nesting
* Replaced most usages of `noop` with `jest.fn` in timeline tests
* The timeline Table / JSON view now appears below the row renderer output
* Added an inactive checkbox for selecting an event
2019-03-07 19:31:11 -07:00
Thomas Neirynck 5e5a49a905
[Maps] Localization (#30881)
Localize Maps-app UX with Kibana's i18n framework.
2019-03-06 18:24:41 -05:00
Aleh Zasypkin b8c9d0afa0
Get rid of Handlebars support in i18n tools. (#32190) 2019-02-28 17:16:59 +02:00
Frank Hassanabad 90fd992c09
Suricata Row Renders Upgrade (#31990)
* Fixed `event.severity` to be operational now that ECS has been updated
* Added a Suricata SID database with references
* Wired in the references
* Created a tagging system for the UI
* Added Suricata SID and made it draggable onto the filters of the timeline
* Changed the hand rolled sushi 🍣 inline flex styles to EuiFlexItem, EuiGroupItem
* Removed older CVE column renderer from the system
* Wrote unit tests
* https://github.com/elastic/ingest-dev/issues/175
* https://github.com/elastic/ingest-dev/issues/299
2019-02-27 22:10:23 -07:00
Aleh Zasypkin 2f62e6f1a5
Upgrade @babel/* dependencies. (#32031)
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2019-02-27 19:27:40 +02:00
Jen Huang 50c7da3360
Fix common license checker issues (#31339)
* Fix hardcoded plugin name and license modes in common license checker

* Fix licensePreRoutingFactory scope issues

* PR feedback adjustments

* Use minimum license string instead of array of valid license
* Pass plugin name instead of ID for UX
* Return license status instead of `showLinks` and other flags
* Adjust factory closure for readability

* Fix test

* Additional PR feedback:

* Move license status constants to `/common`
* Internationalize plugin names that are passed to check license, and its error messages
* Remove `isAvailable` flag, change pre-routing logic to use `LICENSE_STATUS.VALID` instead
* Change constant `INACTIVE` to `EXPIRED`
* Convert check license test from mocha to jest

* Fix test
2019-02-26 08:29:47 -08:00
jinmu03 da7b376a70
i18n_extract function enhancement (#31232)
* removed a file

* formatMessage -> formatErrorMessage

* refer ui in legacy folder
2019-02-15 10:29:29 -08:00
Garrett Spong 44ec857719
Merge branch 'master' of https://github.com/elastic/kibana into feature-secops 2019-02-11 15:23:30 -07:00
Court Ewing 2ce51a5be5 Update paths to ui, server, deprecation, plugin_discovery in src/legacy
This commit accompanies the four that precede it. Rather than squash
them altogether, the four previous commits all do nothing except move
files to help avoid conflicts.
2019-02-11 10:41:37 -05:00
Aleh Zasypkin 088d5f6919
Add zh-CN.json translations and respective compatibility checks via i18n tools (#30378) 2019-02-11 14:39:59 +01:00
Andrew Goldstein f05bf082d9
## Summary (#29938)
## Summary
Adds notes to events and closes Timeline issues

* closes [Add Notes to events](https://github.com/elastic/ingest-dev/issues/241)

![01-add-notes-to-events](https://user-images.githubusercontent.com/4459398/52268463-d316d480-28f8-11e9-94d7-93de52746c13.gif)

* closes [Drag and drop values from columns into data providers](https://github.com/elastic/ingest-dev/issues/153)

![02-drag-drop-from-columns](https://user-images.githubusercontent.com/4459398/52268573-1bce8d80-28f9-11e9-9d4a-0ecf22d3dacb.gif)

* closes [Increase the Information Density in Timeline Rows](https://github.com/elastic/ingest-dev/issues/238)

<img width="1680" alt="final-layout-15-inch-mbp" src="https://user-images.githubusercontent.com/4459398/52267380-1b80c300-28f6-11e9-8535-f8fa32dc74a9.png">

* closes [Make Curated Content in the Suricata Row Renderer Content Draggable to the Query](https://github.com/elastic/ingest-dev/issues/240)

![03-drag-from-suricata](https://user-images.githubusercontent.com/4459398/52206450-83bc9f80-2837-11e9-9307-b6fa5c08bf71.gif)

* closes [Values dragged from the field browser do not appear as "cards" when dragged](https://github.com/elastic/ingest-dev/issues/154)

* closes [Resize handle style](https://github.com/elastic/ingest-dev/issues/170)

<img width="1022" alt="resize-handle" src="https://user-images.githubusercontent.com/4459398/52268818-a8794b80-28f9-11e9-8293-c071fa47c429.png">

* closes [Star icon uses different icons for Favorite / Not a favorite states(https://github.com/elastic/ingest-dev/issues/164)

![star-fix](https://user-images.githubusercontent.com/4459398/52206473-99ca6000-2837-11e9-9d1b-bb7c5e917a85.gif)

* closes [Notes in the Add note modal can overflow the modal](https://github.com/elastic/ingest-dev/issues/159)

* closes [Replace "placeholder" JSON in expandable row / accordion](https://github.com/elastic/ingest-dev/issues/171) (by removing the JSON preview)
  - the inline JSON preview was removed

* closes [Add function call back to the pin column](https://github.com/elastic/ingest-dev/issues/97)

## Other changes
* timeline footer is now a single-line, and responsive

![footer](https://user-images.githubusercontent.com/4459398/52269063-5d136d00-28fa-11e9-84d5-b1d431010e51.png)

* updated the search / filter select to indicate whether it is an AND or OR operation
![styling-of-and-or](https://user-images.githubusercontent.com/4459398/52206631-09404f80-2838-11e9-912c-84c1f658d64e.png)

* tweaked styling of AND / OR badges, and updated the "Drop anything highlighted" message to use an OR badge
* added placeholders for row-selection and the field-browser
* replaced some custom flexbox CSS with EUI
* show humanized @timestamp in tooltip (in column and table views):

<img width="508" alt="timestamp-tooltip" src="https://user-images.githubusercontent.com/4459398/52269219-b7acc900-28fa-11e9-87ef-4ea32b3638eb.png">

* removed hard-coded protocol:TCP in Suricata Row Renderer
* removed the always-visible border from suricata row renderer
* headers is now a prop from mapStateToProps, in preparation for the field browser
* responsive columns widths (in preparation for resizable columns)
2019-02-05 21:59:41 -07:00
Nox911 53307404e6
[i18n] Translate fatal errors (#29410)
* Translate fatal_errors

* Update snapshot

* Update snapshots

* Fix ids

* Add path to translations in scr/core folder
2019-01-31 13:19:50 +03:00
Nox911 905ea526b2
[i18n] Translate kuery_autocomplete (#29162)
* Translate kuery_autocomplete

* Resolve review comments
2019-01-29 18:41:14 +03:00
Nox911 36c7581059
[i18n] Translate kbn_doc_views (#29095)
* Translate kbn_doc_views

* Resolve review comments
2019-01-28 11:23:00 +03:00
Xavier Mouligneau 3b51264eb3 Merge branch 'master' of github.com:elastic/kibana into feature-secops 2019-01-25 11:46:32 -05:00
Nox911 50ec75f800
[i18n] Translate inspector views (#29044)
* Translate inspector_views

* Add I18nProvider

* Replace intl.formatMessage to i18n.translate

* Remove redundant vars

* Update snapshot

* Resolve review comments

* Fix error in  inspector.tsx

* Fix test and update snapshot

* Resolve review comments

* Replace injecti18n to i18n.translate
2019-01-25 16:19:22 +03:00
CJ Cenizal bfa417c7d6
Localize strings in Rollup and ILM apps. (#29034)
* Add ILM to i18nrc.json. Fix validation errors.
* Localize CCR and Rollups checkLicense errors.
* Fix bug in Remote Clusters checkLicense error.
* Use rollupJobs namespace in checkLicense.
2019-01-23 16:36:48 -08:00
Nox911 f131dbbb99
[i18n] Translate dashboard mode (#28921)
* Translate dashboard viewer

* Add dashboardMode path to i18nrc
2019-01-23 13:25:39 +03:00
Frank Hassanabad 873763f320
i18n support for the project (#28889)
* Added support for i18n to our project
* Translated all text I could find within the project
* Added `translations.ts` cascading files to each component folder
* Utilized `i18n.translate` within the files for the majority of translations
* Wired up .i18nrc.json to our project for the builds and added ignores where needed
* Changed unit tests to use <i18nProvider> where needed
* Added `<i18nProvider>` to the root level at start_app.tsx
* Changed `moment(date).fromNow()` to use relative date times of `<FormattedRelative value={new Date(date)} />`
* Added plurals for Rows
* Ran `node scripts/i18n_check --path x-pack/plugins/secops --output /tmp --output-format json5` and then opened the `/tmp/en.json` to ensure the keys are extracted as expected
* https://github.com/elastic/ingest-dev/issues/88
* Followed advice from https://github.com/elastic/kibana/issues/27968 and did _NOT_ inject anything I did not have to.
2019-01-22 15:11:52 -07:00
Nox911 8e664fa5e5
[i18n] Translate xpack_main (#28896)
* Translate x-pack main

* Update snapshot

* Update snapshot

* Resolve review comments

* Update snapshot
2019-01-22 16:38:36 +03:00
Peter Pisljar f1a02d19f9
fixing interpreter translation ids (#29082) 2019-01-22 05:04:37 -08:00
Justin Kambic a7f249dc43
[Uptime] Localization (#28183)
* Add localization tokens.

* Fix import errors.

* Rename a translation key/message. Fix copy/paste mistake.

* Make i18n provider root element of application.

* Add xpack.uptime to .i18nrc.json.

* Remove icon.

* Update x-pack/plugins/uptime/public/components/functional/snapshot_histogram.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/functional/snapshot_histogram.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/empty_state/empty_state.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Replace ... with ….

* Update x-pack/plugins/uptime/public/components/queries/empty_state/empty_state.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/empty_state/empty_state.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/empty_state/empty_state.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Move a link to formatted message value prop.

* Update x-pack/plugins/uptime/public/components/queries/error_list/error_list.tsx

Reformat naming of column localization keys.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update error list table column localization keys.

* Update x-pack/plugins/uptime/public/components/queries/filter_bar/filter_bar.tsx

Update label key.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update label localization keys for filter bar.

* Update x-pack/plugins/uptime/public/components/queries/filter_bar/filter_bar.tsx

Update localization key for filter bar tooltip title.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/filter_bar/filter_bar.tsx

Update localization key for filter bar tooltip text.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/monitor_charts/monitor_charts.tsx

Improve RTT Breakdown title localization key.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Add description and update a localization key.

* Update x-pack/plugins/uptime/public/components/queries/monitor_charts/monitor_charts.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/monitor_list/monitor_list.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update monitor charts localization keys.

* Extract conditional message values into separate translate calls.

* Update x-pack/plugins/uptime/public/components/queries/monitor_list/monitor_list.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update monitor list column header localization keys.

* Update x-pack/plugins/uptime/public/components/queries/monitor_list/monitor_list.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Monitor list update localization key of series label.

* Update x-pack/plugins/uptime/public/components/queries/monitor_list/monitor_list.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/monitor_status_bar/monitor_status_bar.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Improve destructuring in monitor status bar, extract conditional values to separate translations.

* Update x-pack/plugins/uptime/public/components/queries/monitor_status_bar/monitor_status_bar.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/monitor_status_bar/monitor_status_bar.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Apply suggestions from code review

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update localization keys for ping list.

* Apply suggestions from code review

Implement PR suggestions for PingList component.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Apply suggestions from code review

Add PR suggestions for Snapshot component.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update localization keys for Snapshot component.

* Remove unneeded translation.

* Update x-pack/plugins/uptime/public/register_feature.ts

Implement PR suggestion for register_feature.ts

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Apply suggestions from code review

Implement PR suggestions for uptime app.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update localization, add translations for UptimeApp.

* Run prettier to fix style problem.

* Fix duplicate localization keys.

* Update x-pack/plugins/uptime/public/uptime_app.tsx

Implement PR feedback.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/snapshot/snapshot.tsx

Implement a PR suggestion.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/snapshot/snapshot.tsx

Implement a PR change.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Implement PR feedback.
2019-01-16 17:03:16 -05:00
CJ Cenizal 2371e58590
[CCR] Remote Clusters and Cross-cluster Replication apps (#26777) 2018-12-18 17:59:10 -08:00
Josh Dover 4d295c7923
Upgrade assistant - Phase 1 (#25168)
* Get basic scaffolding working

* Wire up cluster checkup data

* Add types for elasticsearch plugin

* Implement basics of checkup tab

* Update style of deprecations

* Add copy and reload button to checkup

* Add filtering by warning level

* Add deprecation logging tab

* Copy updates and cleanup

* Type cleanup

* Move deprecation logging to overview tab

* Make filters togglable

* Move sections into tabs and add support for grouping

* Cleanup and add clearer labels

* Use tables for message grouping

* Cleanup and small fixes

* Allow console to load relative URLs

* Add reindex in console button to reindex tasks

* Merge documentation UI and uiButtons

* Fix tests

* Filter bar tweaks

* Filter out index settings that can't be set

* Fix types

* Add tests for deprecation_logging

* Add tests for reindex templates

* Make KibanaConfig generic

* Simplify integration test

* Finish backend unit tests

* Fixup types

* Fix uiButton updating for reindex items

* Fixed background color stretching

* Pulling tabs out and re-ordering filter buttons

* Making accordions more item-list like

* Turned Healths into Badges

- Couldn’t do the conversion within the cell because it only passed color

* Fix overflow issue

* Optional filter and expand/collapse controls

* Reorganizing

- Added placeholder for moving action button up into accordion header
- Removed repetitive message name outputs
- Slightly better listing of each message when sorting by index
- Only showing number of severity when sorting by index
  - Still need to allow showing all severity levels
- Added indice count when sorting by issue

* Putting `Deprecation logging` in a `EuiDescribedFormGroup`

* Added some stats, empty prompts, and all clear prompt

* Added docs link

* Cleaned up sass files

* Revert changes to fake_deprecations

* Update blacklisted settings

* wip

* Move data fetching and tab control

* Wire up overview summary

* Cleanup docs/uiButtons + move actions to index table

* Add expand/collapse all functionality

* Wire up search box

* Wire up severity indicators

* Fix types

* Round out functional tests

* Fix fake data

* Remove info deprecation level

* Fix extra space on cluster tab control bar

* Cleanup code and localize majority of UI controls

* Change overview tab to steps layout

* Update copy

* Localize overview tab

* Complete localization of checkup tabs

* Make ES version dynamic based on branch

* Add pagination to checkup tabs

* Rename checkup -> assistant

* Cleanup filter and group by bars

* WIP UI unit tests

* Copy tweaks

* Fix i18n formatting issues

* Update tests for copy

* Add tests for remaining UI

* Fix pagination w/ filter changes + table button color

* Small cleanup

* Add reindex button to old index deprecations

* Add shrunken indices setting to copy settings blacklist for #18469

* Add next steps to overview tab + update copy

* Remove usage of migration assistance API

* Use all/critical toggle for filter buttons

* Cloud upgrade copy

* Translate reindex button

* Remove hacked EUI type

* Show incomplete banner on all tabs

* Update copy for waiting for next version

* Review comments

* Update deprecation level type

* Update checkup tab snapshots

* Remove dependencies on types from #25168

* Use types from new global type defs

* Remove 'Reindex in Console' button

* Remove unused variable
2018-12-18 17:08:06 -06:00
Maryia Lapata d555241ca7
[i18n] APM translations (Part 1) (#27384)
* Translation for APM utils, intex.js and register_feature.js

* Fix a typo
2018-12-18 18:30:26 +03:00
Felix Stürmer 2616c452b8
[Infra UI] Fix graphql type generation after package upgrades (#26991)
This fixes the infrastructure UI graphql type generation after relevant packages have been upgraded in #25157.
2018-12-12 15:51:31 +01:00
Nox911 c4afd3200a [i18n] Translate untranslated labels (#26416)
* Translate some missing translations

* Fix issues

* Add topNavMenu translations

* Fix issues

* Fix topNav

* Fix issues

* Fix issues

* Fix kbnTopNav test and parametrs description
2018-12-12 10:26:08 +03:00
Nox911 b3bd950400 Feature/translate ml-jobs-jobs_list(part_1) (#25466)
Translate ml -> jobsList(part_1)
2018-12-07 11:05:01 +03:00
Maryia Lapata ed9512d99d Translations for Reporting plugin (#22757)
* Translate Reporting

* Use i18n core

* Translate Reporting

* Translate Reporting

* Refactoring

* Add reporting to i18n config

* Fix tooltip translation

* Apply formatting for html

* Translate label in TS files.

* Reduce tag number

* Rename ids

* Update snapshot

* Revert changes for removing span

* Add types

* Translate statuses

* update translation of Reporting plugin

* fix variable name

* fix constants names

* update reporting translation

* fix copyright

* Fix types/angular packages incompatibility

* Update yarn.lock

* Fix duplicated import

* Fix CI

* Small adjustments
2018-12-03 14:11:35 -07:00
Aleh Zasypkin db3d727fdb [common] fix paths. 2018-12-03 13:03:14 +01:00
pavel06081991 90a9cd5339
translate logstash (#26169)
translate logstash
2018-12-03 12:44:43 +03:00
Maryia Lapata 64081cdcc7
Beats Management translations (#25228)
* Beats Management translations

* Fix merge issues

* Revert translations for config

* Fix tslint error

* Add map for config translations

* Use Map

* Fix tslint

* Update i18n ids

* Fix tslint

* Remove commented code

* Revert translation of Filebeat and Metricbeat because they should be translated

* Update message id
2018-11-29 11:21:25 +03:00
pavel06081991 e93b1fba1e
translate sample data (#26069)
translate sample data
2018-11-27 18:25:06 +03:00
Nox911 cc7070df84
[i18n] Translate Visual Builder(part_3) (#25923)
* Translate visual builder part_3

* Add two minor translations

* Add two minor translations from server folder

* Fix issues from  comments

* Fix issues
2018-11-26 15:32:23 +03:00
Maryia Lapata 6b897487d9 Translations for Visual Builder (part 1) (#23988)
* Translations for Aggregations in Visual Builder

* Refactoring

* Translate agg_lookup

* Update ids

* Add translation

* Replace namespace metrics to tsvb

* Change order in i18nrc file

* Fix issues

* Fix issues

* Fix label calculating

* Fix minor issue
2018-11-26 13:10:42 +03:00
Nox911 28556bf605
[i18n] Translate Visual Builder(part_2) (#25800)
* Translate visual_builder(part_2)

* Replace namespace metrics to tsvb

* Fix issues
2018-11-26 11:44:47 +03:00
Leanid Shutau 43d4c22add
[I18n] Translate Graph (#23987)
* [I18n] Add Graph translations

* Fix typo

* Use template strings
2018-11-22 13:41:03 +03:00
tibmt 360dd787c8
remove extra line from i18nrc.json 2018-11-21 12:18:43 +03:00
tibmt 8104a028d0
translate InfraOps visualization component (Part 1 - folder pages) (#25194)
* translate InfraOps vizualization component (Part 1 - folder pages)

* update translation of Beats Management vizualization component (Part 1 - folder components)

* Update toolbar.tsx

* update translation of Beats Management vizualization component (Part 1 - folder components)

* update translation of Infra Ops vizualization component (Part 1)

* update translation of Infra Ops vizualization component (Part 1)

* update Infra Ops Part 1 - change some ids, change i18n.translate() to intl.formatMessage() and directly wrap some classes by injectI18n()

* update Infra-I - add static to displayName, update some ids
2018-11-20 17:12:18 +03:00
Maryia Lapata 11cda77d82
[i18n] Translations for Monitoring: Cluster and Alerts (#24736)
* Translations for Cluster and Alerts

* Translations for cluster and alerts

* Translations for cluster and alerts

* Fix typos

* Update id

* Update Notification snapshot

* Translate lastEvent label

* Revert changes for untranslated label.
2018-11-16 15:03:17 +03:00
Maryia Lapata 7a31758061
[i18n] Translations for Monitoring: Logstash (#24897)
* Translate Monitoring logstash

* Fix a typo

* Update unit tests
2018-11-13 17:56:02 +03:00
Leanid Shutau ff8675d1c4
[I18n] Translate Timelion (#23880)
* Add translations for timelion plugin

* Fix bugs

* Fix messages ids, resolve comments

* Update translations

* Refactor links messages

* Fix values bug

* Use template literals to avoid single quote escaping
2018-11-13 17:16:15 +03:00
Nox911 666a1d752c Feature/translate license management (#24341)
Translate license management
2018-11-05 16:22:45 +03:00
Nox911 f8d0604050 Translations for Dev Tools (#23951)
translate dev-tools-console
2018-10-31 17:54:31 +03:00
pavel06081991 5a019cc31c
Vega translations (#23677)
add vega translations
2018-10-31 10:17:53 +03:00
CJ Cenizal 05bf7cd4d4
[Rollups] Fix i18n bugs (#23848)
* Internationalize job details tabs and wrap instances in EuiErrorBoundary to visually localize the error.
* Localize no default index pattern message.
* Localize es interval errors.
* Localize job action menu and confirm delete modal.
* Remove unnecessary use of injectI18n from tabs.
* Localize job status.
* Localize steps.
* Remove template literals from FormattedMessages.
2018-10-30 14:13:08 -07:00
pavel06081991 b3bc86d7b8
Translations for Table Vis plugin (#23679)
add translations for table vis plugin
2018-10-29 16:14:41 +03:00
tibmt cff438faf9 Translate security/users component (#23940)
Translate security/users
2018-10-29 15:59:31 +03:00
pavel06081991 cf34c9a6db
Translations for Region Map (#23875)
add translations for region_map plugin
2018-10-29 12:39:54 +03:00
pavel06081991 1abe09e32b
Translations for Coordinate Map (#23952)
translate Coordinate Map
2018-10-29 12:34:32 +03:00
Maryia Lapata 41eabaa750
Remove unnecessary path in i18n config (#24476) 2018-10-26 09:35:29 +03:00
Nox911 d8d2a1851b Translations for Management -> Objects (#23905)
* fix tests and update snapshots

* fix id names

* fix test and update snapshots

* Update unit test snapshots

* fix issues

* Update snapshots

* Fix issues
2018-10-19 21:02:58 +03:00
Nox911 6247189bb6 Feature/translate watcher(part_1) (#23989)
* translate watcher(pad_1)

* fix test

* fix issues

* fix the same id name

* fix default message

* fix issues
2018-10-19 20:47:05 +03:00
Maryia Lapata 2872bc6218
Translations for Tag Cloud (#24065) 2018-10-17 13:25:41 +03:00
tibmt 1f73ea1776
Translate pie and vaslib_basic_options (#23761)
Translate pie and vaslib_basic_options
2018-10-16 17:28:50 +03:00
Maryia Lapata ecbcbb612a
Translate metric_vis (#23187)
* Translate metric_vis

* Close span tag

* Remove space code

* Update ids

* Translations for color mode list
2018-09-27 11:53:16 +03:00
Maryia Lapata 2e5d3ec18d
Translate markdown_vis (#23186)
* Translate markdown_vis

* Remove space

* Update ids

* Fix a typo
2018-09-19 16:47:33 +03:00
Maryia Lapata 1a2e8970b2
Translate Input Control component (#22400)
* Translate Input Control component

* Remove export from variables that get wrapped by a helper

* Refactoring

* Update message ids

* Fix unit tests
2018-09-10 20:35:03 +03:00
Leanid Shutau 35226b5948
[I18n] Update i18n config (#22799) 2018-09-07 15:35:02 +03:00
Leanid Shutau ceafa483be
Add ability to skip file writing for messages extraction tool (#21588)
* Add ability to skip 'en.json' file writing for default messages extraction tool

* Update default messages extractor

* Add namespace validation

* Update tests

* Fix i18n config file

* Add ability to choose output JSON format

* Update output json properties keys
2018-08-22 14:57:32 +03:00