Skip to content

Commit

Permalink
Add descriptions for translators (#29089)
Browse files Browse the repository at this point in the history
  • Loading branch information
timroes authored Jan 22, 2019
1 parent b0e08dc commit 0d6d59e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ class DashboardListingUi extends React.Component {
aria-label={intl.formatMessage({
id: 'kbn.dashboard.listing.searchBar.searchFieldAriaLabel',
defaultMessage: 'Filter dashboards',
description: '"Filter" is used as a verb here, similar to "search through dashboards".',
})}
placeholder={intl.formatMessage({
id: 'kbn.dashboard.listing.searchBar.searchFieldPlaceholder',
Expand Down
1 change: 1 addition & 0 deletions src/legacy/core_plugins/kibana/ui_setting_defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -845,6 +845,7 @@ export function getUiSettingDefaults() {
'filterEditor:suggestValues': {
name: i18n.translate('kbn.advancedSettings.suggestFilterValuesTitle', {
defaultMessage: 'Filter editor suggest values',
description: '"Filter editor" refers to the UI you create filters in.',
}),
value: true,
description: i18n.translate('kbn.advancedSettings.suggestFilterValuesText', {
Expand Down
1 change: 1 addition & 0 deletions src/ui/public/agg_types/buckets/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const filtersBucketAgg = new BucketAggType({
name: 'filters',
title: i18n.translate('common.ui.aggTypes.buckets.filtersTitle', {
defaultMessage: 'Filters',
description: 'The name of an aggregation, that allows to specify multiple individual filters to group data by.'
}),
createFilter: createFilterFilters,
customLabels: false,
Expand Down
1 change: 1 addition & 0 deletions src/ui/public/agg_types/controls/filters.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
i18n-id="common.ui.aggTypes.filters.definiteFilterLabel"
i18n-default-message="Filter {index} label"
i18n-values="{ index: $index + 1 }"
i18n-description="'Filter {index}' represents the name of the filter as a noun, similar to 'label for filter 1'."
></label>
<input
id="visEditorFilterLabelInput{{agg.id}}"
Expand Down

0 comments on commit 0d6d59e

Please sign in to comment.