-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(i18n): use i18n primitives for inspect dialog, document pane men…
…u items
- Loading branch information
Showing
6 changed files
with
90 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/sanity/src/desk/panes/document/inspectDialog/constants.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export const VIEW_MODE_PARSED = {id: 'parsed', title: 'Parsed'} | ||
export const VIEW_MODE_RAW = {id: 'raw', title: 'Raw JSON'} | ||
export const VIEW_MODE_PARSED = {id: 'parsed', title: 'document-inspector.view-mode.parsed'} | ||
export const VIEW_MODE_RAW = {id: 'raw', title: 'document-inspector.view-mode.raw-json'} | ||
export const VIEW_MODES = [VIEW_MODE_PARSED, VIEW_MODE_RAW] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters