profiler
profiler copied to clipboard
Localize `additionalMessage` from `ProfileRootMessage`
We need a clever idea to localize additionalMessage:
Currently this comes from various locations:
- temporary errors: https://github.com/firefox-devtools/profiler/blob/df26770b5416f998e2dc40e0f11da787028272ad/src/reducers/app.js#L27-L34
- fatal errors: https://github.com/firefox-devtools/profiler/blob/df26770b5416f998e2dc40e0f11da787028272ad/src/components/app/AppViewRouter.js#L86-L91
Also ProfileRootMessage is used in different locations (ProfileLoaderAnimation and AppViewRouter), as is ProfileLoaderAnimation (both UrlManager and AppViewRouter). Probably we should simplify this, because currently it's quite difficult to understand which flow is used in which situation.
┆Issue is synchronized with this Jira Task