mirror of
https://github.com/langgenius/dify.git
synced 2026-03-31 18:00:55 -04:00
fix(web): internationalize DSL export modal labels (#34323)
This commit is contained in:
@@ -45,8 +45,8 @@ const DSLExportConfirmModal = ({
|
||||
<table className="radius-md w-full border-separate border-spacing-0 border border-divider-regular shadow-xs">
|
||||
<thead className="system-xs-medium-uppercase text-text-tertiary">
|
||||
<tr>
|
||||
<td width={220} className="h-7 border-b border-r border-divider-regular pl-3">NAME</td>
|
||||
<td className="h-7 border-b border-divider-regular pl-3">VALUE</td>
|
||||
<td width={220} className="h-7 border-b border-r border-divider-regular pl-3">{t('env.export.name', { ns: 'workflow' })}</td>
|
||||
<td className="h-7 border-b border-divider-regular pl-3">{t('env.export.value', { ns: 'workflow' })}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -56,7 +56,7 @@ const DSLExportConfirmModal = ({
|
||||
<div className="flex w-[200px] items-center gap-1">
|
||||
<Env className="h-4 w-4 shrink-0 text-util-colors-violet-violet-600" />
|
||||
<div className="truncate text-text-primary">{env.name}</div>
|
||||
<div className="shrink-0 text-text-tertiary">Secret</div>
|
||||
<div className="shrink-0 text-text-tertiary">{t('env.export.secret', { ns: 'workflow' })}</div>
|
||||
<RiLock2Line className="h-3 w-3 shrink-0 text-text-tertiary" />
|
||||
</div>
|
||||
</td>
|
||||
|
||||
@@ -287,7 +287,10 @@
|
||||
"env.export.checkbox": "Export secret values",
|
||||
"env.export.export": "Export DSL with secret values ",
|
||||
"env.export.ignore": "Export DSL",
|
||||
"env.export.name": "Name",
|
||||
"env.export.secret": "Secret",
|
||||
"env.export.title": "Export Secret environment variables?",
|
||||
"env.export.value": "Value",
|
||||
"env.modal.description": "Description",
|
||||
"env.modal.descriptionPlaceholder": "Describe the variable",
|
||||
"env.modal.editTitle": "Edit Environment Variable",
|
||||
|
||||
Reference in New Issue
Block a user