Skip to content

Commit dbc5064

Browse files
ra3orbladeclaude
andcommitted
JS-8690: add translation key to correct file
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8fc197a commit dbc5064

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ Anytype is an Electron-based desktop application with TypeScript/React frontend
129129

130130
### Important Patterns
131131
- All UI text should use `translate()` function for i18n
132+
- Translation keys are defined in `src/json/text.json`
132133
- Block operations should go through the command system
133134
- Use existing utility functions in `lib/util/` before creating new ones
134135
- Follow existing component patterns in `component/` directory

src/json/text.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,7 @@
752752
"blockEmbedEmpty": "%s embed block is empty. Click to edit.",
753753
"blockEmbedSource": "Source",
754754
"blockEmbedOffline": "You are not connected to the Internet",
755+
"blockEmbedUnsupported": "Unsupported embed. Please update the app.",
755756
"blockEmbedExternalImage": "External image",
756757

757758
"blockTableOfContentsAdd": "Add headings to create a table of contents",

0 commit comments

Comments
 (0)