diff --git a/locales/en-US/app.ftl b/locales/en-US/app.ftl index 0b1ebdaed5..748963e31f 100644 --- a/locales/en-US/app.ftl +++ b/locales/en-US/app.ftl @@ -786,8 +786,8 @@ ServiceWorkerManager--hide-notice-button = StackSettings--implementation-all-frames = All frames .title = Do not filter the stack frames -StackSettings--implementation-javascript2 = JavaScript - .title = Show only the stack frames related to JavaScript execution +StackSettings--implementation-script = Script + .title = Show only the stack frames related to script execution StackSettings--implementation-native2 = Native .title = Show only the stack frames for native code diff --git a/src/components/shared/StackImplementationSetting.js b/src/components/shared/StackImplementationSetting.js index b55d9d2b19..5f428f62c8 100644 --- a/src/components/shared/StackImplementationSetting.js +++ b/src/components/shared/StackImplementationSetting.js @@ -85,7 +85,7 @@ class StackImplementationSettingImpl extends PureComponent { 'combined' )} {this._renderImplementationRadioButton( - 'StackSettings--implementation-javascript2', + 'StackSettings--implementation-script', 'js' )} {this._renderImplementationRadioButton( diff --git a/src/test/components/StackSettings.test.js b/src/test/components/StackSettings.test.js index 069dd2a83d..c5d68d1a02 100644 --- a/src/test/components/StackSettings.test.js +++ b/src/test/components/StackSettings.test.js @@ -44,10 +44,10 @@ describe('StackSettings', function () { return (element: any).checked; } - it('can change the implementation filter to JavaScript', async function () { + it('can change the implementation filter to script', async function () { const { getByLabelText, getState } = setup(); expect(getImplementationFilter(getState())).toEqual('combined'); - const radioButton = getByLabelText(/JavaScript/); + const radioButton = getByLabelText(/Script/); fireFullClick(radioButton); diff --git a/src/test/components/__snapshots__/FlameGraph.test.js.snap b/src/test/components/__snapshots__/FlameGraph.test.js.snap index 661d12aac9..7070e5dfa6 100644 --- a/src/test/components/__snapshots__/FlameGraph.test.js.snap +++ b/src/test/components/__snapshots__/FlameGraph.test.js.snap @@ -433,16 +433,16 @@ exports[`FlameGraph matches the snapshot 1`] = ` @@ -29,16 +29,16 @@ exports[`StackSettings matches the snapshot 1`] = `