зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1561362 - Implement slow label on JSON viewer expand all button r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D67766 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
99ba796141
Коммит
14bde58748
|
@ -73,12 +73,12 @@ define(function(require, exports, module) {
|
|||
{ className: "btn collapse", onClick: this.onCollapse },
|
||||
JSONView.Locale["jsonViewer.CollapseAll"]
|
||||
),
|
||||
this.props.dataSize > EXPAND_THRESHOLD
|
||||
? undefined
|
||||
: ToolbarButton(
|
||||
{ className: "btn expand", onClick: this.onExpand },
|
||||
JSONView.Locale["jsonViewer.ExpandAll"]
|
||||
),
|
||||
ToolbarButton(
|
||||
{ className: "btn expand", onClick: this.onExpand },
|
||||
this.props.dataSize > EXPAND_THRESHOLD
|
||||
? JSONView.Locale["jsonViewer.ExpandAllSlow"]
|
||||
: JSONView.Locale["jsonViewer.ExpandAll"]
|
||||
),
|
||||
div({ className: "devtools-separator" }),
|
||||
SearchBox({
|
||||
actions: this.props.actions,
|
||||
|
|
|
@ -31,6 +31,7 @@ jsonViewer.Copy=Copy
|
|||
|
||||
# LOCALIZATION NOTE (jsonViewer.ExpandAll): Label for expanding all nodes
|
||||
jsonViewer.ExpandAll=Expand All
|
||||
jsonViewer.ExpandAllSlow=Expand All (slow)
|
||||
|
||||
# LOCALIZATION NOTE (jsonViewer.CollapseAll): Label for collapsing all nodes
|
||||
jsonViewer.CollapseAll=Collapse All
|
||||
|
|
Загрузка…
Ссылка в новой задаче