feat(i18n): add key descriptions for various settings in multiple languages
- Introduce detailed descriptions for authentication, SSRF protection, tenant management, and async task worker settings in English, Korean, Russian, and Chinese localization files. - Enhance user understanding of configuration options by providing context-sensitive help directly within the settings interface. - Update the Settings and SystemSettings components to utilize these new descriptions for improved user experience.
This commit is contained in:
@@ -1220,6 +1220,7 @@ export default {
|
||||
addModelsSuccess: 'Successfully added {count} model(s)',
|
||||
addModelsPartial: 'Added {success}, {failed} failed',
|
||||
addModelsFailed: 'Failed to add models',
|
||||
addModelsAllExist: 'All four model types already exist',
|
||||
addModelsEmbeddingFailed: 'Embedding connection test failed; could not detect vector dimension',
|
||||
addModelsDisplayName: {
|
||||
chat: 'WeKnoraCloud Chat',
|
||||
@@ -3385,6 +3386,26 @@ export default {
|
||||
concurrency: 'Async task worker concurrency',
|
||||
},
|
||||
},
|
||||
keyDescriptions: {
|
||||
auth: {
|
||||
registration_mode:
|
||||
'Self-service registration mode. self_serve = anyone can register an account; invite_only = public registration is disabled and only Owners/Admins can invite. Takes effect immediately after saving, but use self_serve with care (the public internet will send spam sign-ups).',
|
||||
},
|
||||
ssrf: {
|
||||
whitelist:
|
||||
'SSRF protection allowlist. Accepts entries such as example.com / *.foo.com / 10.0.0.0/8 / 2001:db8::1. Takes effect immediately after saving. The SSRF_WHITELIST_EXTRA environment variable is still maintained by the deployer and is not overridden here.',
|
||||
},
|
||||
tenant: {
|
||||
max_owned_per_user:
|
||||
'Maximum number of tenants a non-superuser may own via self-service creation. Read on every tenant creation and takes effect immediately after saving. 0 uses the built-in default of 10; a negative value disables the cap entirely (not recommended on public deployments).',
|
||||
default_storage_quota_gb:
|
||||
'Default storage quota (GB) assigned when a new tenant is created, covering vectors, originals, text, indexes, and related data. Read only at creation time — changes apply to newly created tenants only and do not retroactively update existing tenants. 0 or a negative value uses the built-in default of 10 GB.',
|
||||
},
|
||||
asynq: {
|
||||
concurrency:
|
||||
'Async task worker concurrency (asynq thread-pool size). Document parsing, embedding, and similar tasks are mostly I/O-bound, so raising this value can shorten queue time for bulk uploads. Requires a service process restart to take effect.',
|
||||
},
|
||||
},
|
||||
enumLabels: {
|
||||
auth: {
|
||||
registration_mode: {
|
||||
@@ -4830,6 +4851,8 @@ export default {
|
||||
fileTypeWord: 'Word Documents',
|
||||
fileTypePpt: 'Presentations',
|
||||
fileTypeExcel: 'Excel Spreadsheets',
|
||||
fileTypeEbook: 'E-books',
|
||||
fileTypeWebArchive: 'Web Archives',
|
||||
fileTypeCsv: 'CSV Files',
|
||||
fileTypeText: 'Plain Text',
|
||||
fileTypeJson: 'JSON Files',
|
||||
|
||||
Reference in New Issue
Block a user