Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions locales/en-US/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -1195,9 +1195,12 @@ SourceView--close-button =
## The string IDs here currently all start with SourceView for historical reasons.

# Displayed below SourceView--cannot-obtain-source, if the profiler does not
# know which URL to request source code from.
SourceView--no-known-cors-url =
There is no known cross-origin-accessible URL for this file.
# know which URL to request source code from. This can happen for JavaScript
# files when the "JavaScript Sources" feature is not enabled.
SourceView--no-known-cors-url1 =
There is no known cross-origin-accessible URL for this file. If this is a
JavaScript file, you may need to enable the “JavaScript Sources” feature in
about:profiling.

# Displayed below SourceView--cannot-obtain-source, if there was a network error
# when fetching the source code for a file.
Expand Down
2 changes: 1 addition & 1 deletion src/components/app/CodeErrorOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function CodeErrorOverlay({ errors }: CodeErrorOverlayProps) {
switch (error.type) {
case 'NO_KNOWN_CORS_URL': {
return (
<Localized key={key} id="SourceView--no-known-cors-url">
<Localized key={key} id="SourceView--no-known-cors-url1">
<li>No known cross-origin-accessible URL.</li>
</Localized>
);
Expand Down