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
3 changes: 3 additions & 0 deletions dashboard/src/lib/i18n.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ const zh: Dict = {
"write.contentJsonPlaceholder": '{"key": "value"}',
"write.contentTextPlaceholder": "要写入的文本…",
"write.tags": "tags (逗号分隔)",
"write.tagsPlaceholder": "笔记, 草稿",
"write.jsonInvalid": "content 不是合法 JSON",
"write.action": "写入 scope「{scope}」",
"write.written": "已写入:",
Expand Down Expand Up @@ -354,6 +355,7 @@ const en: Dict = {
"write.contentJsonPlaceholder": '{"key": "value"}',
"write.contentTextPlaceholder": "Text to write…",
"write.tags": "tags (comma-separated)",
"write.tagsPlaceholder": "note, draft",
"write.jsonInvalid": "content is not valid JSON",
"write.action": "Write to scope \"{scope}\"",
"write.written": "Written:",
Expand Down Expand Up @@ -590,6 +592,7 @@ const ja: Dict = {
"write.contentJsonPlaceholder": '{"key": "value"}',
"write.contentTextPlaceholder": "書き込むテキスト…",
"write.tags": "tags (カンマ区切り)",
"write.tagsPlaceholder": "メモ, 下書き",
"write.jsonInvalid": "content は有効な JSON ではありません",
"write.action": "scope「{scope}」に書き込み",
"write.written": "書き込み完了:",
Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/panels/WritePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export function WritePanel() {
id="tags"
value={tags}
onChange={(e) => setTags(e.target.value)}
placeholder="note, draft"
placeholder={t("write.tagsPlaceholder")}
/>
</div>
</div>
Expand Down
Loading