Skip to content

Commit

Permalink
Moved pager and pager control directives to doc_table (elastic#39975)
Browse files Browse the repository at this point in the history
* Moved pager and pager contrlol directives to doc_table

* translation fix
  • Loading branch information
Liza Katz committed Jul 1, 2019
1 parent e801a00 commit b91cd0d
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import './components/table_header';
import './components/table_row';
import { dispatchRenderComplete } from 'ui/render_complete';
import { uiModules } from 'ui/modules';
import 'ui/pager_control';
import 'ui/pager';
import './pager_control';
import './pager';
import { getRequestInspectorStats, getResponseInspectorStats } from 'ui/courier/utils/courier_inspector_utils';
import { toastNotifications } from 'ui/notify';

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

import { uiModules } from '../modules';
import { uiModules } from 'ui/modules';
import { Pager } from './pager';

const app = uiModules.get('kibana');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

import { uiModules } from '../../../modules';
import { uiModules } from 'ui/modules';
import template from './tool_bar_pager_buttons.html';

const app = uiModules.get('kibana');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="kuiToolBarText" data-test-subj="toolBarPagerText">
<span
i18n-id="common.ui.pagerControl.pagesCountLabel"
i18n-id="kbn.docTable.pagerControl.pagesCountLabel"
i18n-default-message="{startItem}&ndash;{endItem} of {totalItems}"
i18n-values="{
startItem: (toolBarPagerText.startItem | number),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

import { uiModules } from '../../../modules';
import { uiModules } from 'ui/modules';
import template from './tool_bar_pager_text.html';

const app = uiModules.get('kibana');
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,6 @@
"common.ui.notify.toaster.stopCountdownButtonTooltip": "停止",
"common.ui.notify.toaster.timeRemainingInSecondsLabel": "{timeRemaining}s",
"common.ui.notify.toaster.unavailableServerErrorMessage": "HTTP リクエストが接続に失敗しました。Kibana サーバーが実行されていて、ご使用のブラウザの接続が正常に動作していることを確認するか、システム管理者にお問い合わせください。",
"common.ui.pagerControl.pagesCountLabel": "{startItem} – {endItem} / {totalItems}",
"common.ui.paginateControls.pageSizeLabel": "ページサイズ",
"common.ui.paginateControls.scrollTopButtonLabel": "最上部に移動",
"common.ui.paginateSelectableList.noMatchesFoundDescription": "位置する結果がありません。",
Expand Down Expand Up @@ -1479,6 +1478,7 @@
"kbn.docTable.inspectorRequestDescription": "このリクエストは Elasticsearch にクエリをかけ、検索データを取得します。",
"kbn.docTable.limitedSearchResultLabel": "{resultCount} 件の結果に制限。検索結果の絞り込み。",
"kbn.docTable.noResultsTitle": "結果が見つかりませんでした",
"kbn.docTable.pagerControl.pagesCountLabel": "{startItem} – {endItem} / {totalItems}",
"kbn.docTable.tableHeader.moveColumnLeftButtonAriaLabel": "{columnName} 列を左に移動",
"kbn.docTable.tableHeader.moveColumnLeftButtonTooltip": "列を左に移動",
"kbn.docTable.tableHeader.moveColumnRightButtonAriaLabel": "{columnName} 列を右に移動",
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -9714,4 +9714,4 @@
"xpack.watcher.watchActions.logging.logTextIsRequiredValidationMessage": "“日志文本”必填。",
"xpack.watcher.watcherDescription": "通过创建、管理和监测警报来检测数据中的更改。"
}
}
}

0 comments on commit b91cd0d

Please sign in to comment.