You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bcc1dbd
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/i18n/locales/en-US.ts
+30-2Lines changed: 30 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,36 @@ export default {
58
58
loggedIn: 'Signed in, open admin console',
59
59
loggedOut: 'Sign in to admin console'
60
60
},
61
+
mcp: {
62
+
title: 'MCP Quick Share',
63
+
subtitle: 'Connect FileCodeBox to an AI client to create text and file shares through chat.',
64
+
refresh: 'Refresh settings',
65
+
endpointLabel: 'MCP endpoint',
66
+
transport: 'Transport: Streamable HTTP',
67
+
copyEndpoint: 'Copy endpoint',
68
+
securityTitle: 'Access control',
69
+
securityHelp: 'When enabled, MCP uploads require an admin login token. If guest uploads are disabled, the server always requires a token.',
70
+
requireToken: 'Require admin token',
71
+
tokenRequiredStatus: 'MCP uploads currently require an admin Bearer token.',
72
+
tokenOptionalStatus: 'Tokenless uploads are allowed only while guest uploads are enabled.',
73
+
shareTextTitle: 'Share text',
74
+
shareTextHelp: 'Create a FileCodeBox text share and return its retrieval link.',
75
+
shareFileTitle: 'Share a file',
76
+
shareFileHelp: 'Upload Base64 file content within the site file-type, size, and expiration limits.',
77
+
aiSetupTitle: 'Configure with AI',
78
+
aiSetupHelp: 'Copy setup instructions and paste them into your AI assistant to configure its MCP client.',
79
+
aiSetupButton: 'Copy AI setup instructions',
80
+
aiSetupFallback: 'Clipboard unavailable. Select and copy the setup text below.',
81
+
aiSetupPrivacy: 'Your admin token is never copied. If authentication is required, let the AI ask you for it; do not send it to an untrusted service.',
82
+
aiAuthRequired: 'Authorization: Bearer with an admin login token is required',
83
+
aiAuthOptional: 'No token required unless guest uploads are disabled',
84
+
aiSetupPrompt: 'Please connect FileCodeBox MCP to my current AI client. Use Streamable HTTP and the client format it currently supports.\nEndpoint: {endpoint}\nAuthentication: {authentication}\nTools: share_text (create a text share), share_file (upload a Base64 file and create a share). If a token is needed, ask me for my admin login token and set it only as Authorization: Bearer. Do not guess or reveal the token.',
85
+
loadFailed: 'Failed to load MCP settings',
86
+
saveFailed: 'Failed to save MCP settings',
87
+
saveSuccess: 'MCP settings saved',
88
+
copySuccess: 'Copied to clipboard',
89
+
copyFailed: 'Could not copy; check browser clipboard permissions'
90
+
},
61
91
dashboard: {
62
92
title: 'Dashboard',
63
93
totalFiles: 'Total Files',
@@ -752,8 +782,6 @@ export default {
752
782
allowedFileTypesPlaceholder: '* or .rar, .zip, image/*',
753
783
allowedFileTypesHelp:
754
784
'Separate multiple types with commas. * allows all; extensions and MIME wildcards are supported.',
755
-
mcpRequireToken: 'Require admin token for MCP uploads',
756
-
mcpRequireTokenHelp: 'When enabled, pass your admin login token as Authorization: Bearer when calling /mcp.',
0 commit comments