Skip to content

Commit a8eee58

Browse files
author
linyuan.yang
committed
清理无用数据
1 parent 9e942b3 commit a8eee58

12 files changed

Lines changed: 101 additions & 295 deletions

File tree

packages/admin/src/i18n/en.ts

Lines changed: 4 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ export default {
5757
type: 'Type',
5858
ops: 'Operations',
5959
loading: 'Loading...',
60-
no_match: 'No matching results',
6160
saved: 'Saved',
6261
deleted: 'Deleted',
6362
created: 'Created',
@@ -72,8 +71,6 @@ export default {
7271
storage: 'Storage',
7372
memory: 'Knowledge (Snippets)',
7473
wiki: 'Knowledge (Docs)',
75-
workpath: 'Work Path',
76-
workpath_placeholder: 'Not set (click … to browse)',
7774
model: 'Model',
7875
name_required: 'Name is required',
7976
base_url_required: 'Base URL is required',
@@ -86,25 +83,6 @@ export default {
8683
id: 'ID',
8784
},
8885
chat: {
89-
new_session: '+ New Session',
90-
clear_history: 'Clear History',
91-
not_in_use: '(Not in use)',
92-
execute_tool: 'Execute tool:',
93-
allow: 'Allow',
94-
always_allow_args: 'Always Allow (Same Args)',
95-
always_allow_all: 'Always Allow (All Args)',
96-
deny: 'Deny',
97-
no_session: 'Please select or create a session first',
98-
no_saver: 'Chat storage not configured',
99-
select_or_create: 'Select or create a session',
100-
empty: 'No sessions',
101-
create_hint: 'Click above to create',
102-
session_deleted: 'Session deleted',
103-
history_cleared: 'History cleared',
104-
ws_reconnecting: 'WebSocket disconnected, reconnecting…',
105-
confirm_delete_session: 'Delete session "{name}"?',
106-
confirm_clear_history: 'Clear all history for the current session?',
107-
to_send: 'To send ({count})',
10886
add_attachment: 'Add attachment',
10987
input_placeholder: 'Type a message, Enter to send, Shift+Enter for newline…',
11088
send: 'Send',
@@ -115,11 +93,6 @@ export default {
11593
role_user: 'User',
11694
role_ai: 'AI',
11795
tool_calls: 'Tool Calls ({count})',
118-
tool_call: 'Tool Call',
119-
ask_submit: 'Submit',
120-
ask_other: 'Other',
121-
ask_other_placeholder: 'Type here...',
122-
ask_timeout: 'Timed out',
12396
stop: 'Stop',
12497
no_history: 'No history',
12598
think: 'Think',
@@ -158,7 +131,6 @@ export default {
158131
session_name: 'Session Name',
159132
confirm_delete_session: 'Delete session "{name}"?',
160133
confirm_delete: 'Delete channel "{name}"?',
161-
use_channel_agent: 'Use channel agent',
162134
use_channel_memories: 'Use channel snippets',
163135
use_channel_memories_hint: 'When enabled, merge the snippet knowledge configured on the channel',
164136
use_channel_wikis: 'Use channel docs',
@@ -188,18 +160,12 @@ export default {
188160
http_port: 'HTTP Port',
189161
http_url: 'HTTP URL',
190162
port_changed: 'Port changed. Restart the service for the change to take effect.',
191-
language: 'Language',
192-
lang_zh: '中文',
193-
lang_en: 'English',
194163
service: 'Service',
195164
max_image_size: 'Max Image Size (px)',
196165
max_image_size_hint: 'Images exceeding this size will be proportionally resized. Leave empty to disable.',
197166
tool_approval: 'Tool Approval',
198167
auto_approve_all: 'Auto-approve all tools',
199168
auto_approve_all_hint: 'When enabled, all tool calls are approved without user confirmation',
200-
auto_approve_tools: 'Auto-approved tools',
201-
auto_approve_tools_placeholder: 'e.g. read_file, run_code',
202-
auto_approve_tools_hint: 'Comma-separated tool names that are always approved without prompting',
203169
startup_commands: 'Startup Commands',
204170
startup_commands_add: '+ Add Command',
205171
startup_commands_placeholder: '#!/bin/sh\necho "hello"',
@@ -265,6 +231,7 @@ export default {
265231
edit_title: 'Edit Snippet Knowledge',
266232
embedding_col: 'Embedding',
267233
embedding_model: 'Embedding Model',
234+
embedding_placeholder: 'Please select an embedding model',
268235
count_col: 'Entries',
269236
items: 'items',
270237
name_placeholder: 'e.g. default',
@@ -303,7 +270,6 @@ export default {
303270
no_pages: 'No pages',
304271
page_title: 'Title',
305272
page_tags: 'Tags',
306-
page_source: 'Source',
307273
page_updated: 'Updated',
308274
add_page: '+ Add Page',
309275
add_page_title: 'Add Page',
@@ -319,6 +285,9 @@ export default {
319285
confirm_delete_page: 'Delete page "{name}"?',
320286
confirm_clear: 'Clear all pages for {name}?',
321287
clear_all: 'Clear All',
288+
embedding_col: 'Embedding',
289+
embedding_model: 'Embedding Model',
290+
embedding_none: 'None (keyword search only)',
322291
},
323292
mcp: {
324293
add: '+ Add MCP',
@@ -356,7 +325,6 @@ export default {
356325
approve_all: 'Approve All',
357326
revoke_all: 'Revoke All',
358327
confirm_delete: 'Delete MCP service "{name}"?',
359-
exclusive_tab: 'Exclusive',
360328
},
361329
skills: {
362330
add: '+ Add Skill',
@@ -373,23 +341,17 @@ export default {
373341
support_formats: 'Supported formats:',
374342
searching: 'Searching...',
375343
no_search_result: 'No skills found',
376-
version_col: 'Version',
377344
source_col: 'Source',
378345
link_col: 'Link',
379346
popularity_col: 'Popularity',
380-
installed_badge: 'Installed',
381347
install_title: 'Install Skill',
382348
install_to: 'Install to:',
383349
confirm_install: 'Confirm Install',
384350
confirm_delete: 'Delete skill "{name}"? This will delete the entire skill directory!',
385351
no_global: 'No global skills',
386352
no_exclusive: 'No exclusive skills',
387353
select_file: 'Select a file to view',
388-
exclusive_tab: 'Exclusive Skills',
389354
skills_dir: 'Skills directory:',
390-
agent_skills: 'This agent has the following skills enabled',
391-
no_skills_configured: 'No skills configured',
392-
configure: 'Configure',
393355
},
394356
prompts: {
395357
header: 'Prompts',
@@ -417,46 +379,14 @@ export default {
417379
user_only: 'User Created',
418380
},
419381
scheduler: {
420-
title: 'Scheduler',
421-
add: '+ Add Timer',
422382
empty: 'No timers',
423383
not_run: 'Not run',
424-
add_title: 'Add Timer',
425-
edit_title: 'Edit Timer',
426384
schedule_col: 'Schedule',
427385
message_col: 'Message',
428-
type_col: 'Type',
429386
target_col: 'Target',
430387
run_count_col: 'Run Count',
431388
last_run_col: 'Last Run',
432389
next_run_col: 'Next Run',
433-
frequency: 'Frequency',
434-
freq_daily: 'Daily',
435-
freq_weekly: 'Weekly',
436-
freq_monthly: 'Monthly',
437-
freq_interval: 'Interval (1–59 min)',
438-
freq_hourly: 'Hourly',
439-
freq_custom: 'Custom Cron',
440-
hour_label: 'Hour (0–23)',
441-
minute_label: 'Minute (0–59)',
442-
weekday_label: 'Weekday',
443-
day_label: 'Day (1–31)',
444-
interval_label: 'Interval minutes (1–59)',
445-
trigger_minute_label: 'Trigger minute (0–59)',
446-
cron_label: 'Cron Expression',
447-
cron_placeholder: 'e.g. 0 9 * * 1-5',
448-
message_label: 'Message',
449-
message_placeholder: 'Message to send to Agent when triggered',
450-
route_type: 'Route Type',
451-
route_channel: 'Lark Channel',
452-
route_session: 'HTTP Session',
453-
route_directory: 'Directory Mode',
454-
channel_session: 'Channel Session',
455-
select_session: 'Select session',
456-
session_id: 'Session ID',
457-
work_dir: 'Working Directory',
458-
work_dir_placeholder: '/path/to/directory',
459-
max_runs: 'Max Runs (0 = unlimited)',
460390
weekday_0: 'Sun',
461391
weekday_1: 'Mon',
462392
weekday_2: 'Tue',
@@ -469,28 +399,19 @@ export default {
469399
cron_daily: 'Daily at {hour}:{minute}',
470400
cron_weekly: 'Weekly on {day} at {hour}:{minute}',
471401
confirm_delete: 'Delete timer #{id}?',
472-
error_session: 'Please select a channel session',
473-
error_session_id: 'Please select a session',
474-
error_work_dir: 'Please enter a working directory path',
475-
error_cron: 'Cron expression is required',
476402
},
477403
todo: {
478404
title: 'Todo',
479405
empty: 'No pending todos',
480406
content_col: 'Content',
481407
priority_col: 'Priority',
482-
status_col: 'Status',
483408
deadline_col: 'Deadline',
484409
created_col: 'Created',
485410
no_deadline: '-',
486411
confirm_delete: 'Delete todo #{id}?',
487412
confirm_done: 'Mark todo #{id} as done?',
488413
},
489414
users: {
490-
empty: 'No user data',
491-
user_id_col: 'User ID',
492-
username_col: 'Username',
493-
channel_col: 'Channel',
494415
detail_title: 'User Details — {name}',
495416
user_id: 'User ID',
496417
username: 'Username',
@@ -533,7 +454,6 @@ export default {
533454
name_col: 'Name',
534455
type_col: 'Type',
535456
model_col: 'Model',
536-
memory_label: 'Knowledge (Snippets)',
537457
storage_label: 'Storage',
538458
basic_info: 'Basic Info',
539459
system_prompt: 'System Prompt',
@@ -562,7 +482,6 @@ export default {
562482
agent_mcps: 'This agent has the following MCP tool servers enabled',
563483
manage_skills: 'Manage Skills',
564484
manage_tools: 'Manage Tools',
565-
copy: 'Copy',
566485
edit_title: 'Edit Agent',
567486
add_title: 'Add Agent',
568487
id_hint: 'Unique identifier, only lowercase letters, numbers, hyphens and dots',
@@ -573,7 +492,6 @@ export default {
573492
type_generative: 'Generative',
574493
type_acp: 'ACP (External Agent)',
575494
system_prompt_placeholder: 'Optional',
576-
node_config: 'Node Config',
577495
add_sub: '+ Add',
578496
no_sub: 'No sub-agents',
579497
add_sub_title: 'Add Sub Agent',
@@ -608,7 +526,6 @@ export default {
608526
skills_exclusive_tab: 'Exclusive Skills',
609527
},
610528
agentStore: {
611-
title: 'Agent Store',
612529
add_source: 'Add Source',
613530
source_all: 'All',
614531
search_placeholder: 'Search agents...',
@@ -619,10 +536,6 @@ export default {
619536
install: 'Install',
620537
no_deps: 'No dependencies',
621538
requires: 'Requires',
622-
version: 'Version',
623-
author: 'Author',
624-
tags: 'Tags',
625-
confirm_install: 'Install this agent?',
626539
confirm_overwrite: 'Agent "{id}" already exists locally. Overwrite?',
627540
install_success: 'Agent installed',
628541
source_url: 'Source URL',
@@ -636,9 +549,6 @@ export default {
636549
export_btn: 'Export',
637550
export_success: 'Agent exported',
638551
},
639-
new_session: {
640-
title: 'New Session',
641-
},
642552
usage: {
643553
date: 'Date',
644554
input_tokens: 'Input Tokens',
@@ -657,7 +567,6 @@ export default {
657567
chart_table: 'Table',
658568
},
659569
heartbeats: {
660-
title: 'Heartbeats',
661570
add: '+ Add Heartbeat',
662571
empty: 'No heartbeat configurations',
663572
add_title: 'Add Heartbeat',
@@ -690,7 +599,6 @@ export default {
690599
prompt_content: 'Content',
691600
},
692601
processes: {
693-
title: 'ACP Processes',
694602
empty: 'No active processes',
695603
agent: 'Agent',
696604
session: 'Session',

0 commit comments

Comments
 (0)