Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<p class="line-height-22 mt-4">
{{ $t('common.fileUpload.document') }}
<el-text class="color-secondary"
>{{
>{{
$t(
'views.applicationWorkflow.nodes.baseNode.FileUploadSetting.fileUploadType.documentText'
)
Expand Down Expand Up @@ -86,7 +86,7 @@
<p class="line-height-22 mt-4">
{{ $t('common.fileUpload.image') }}
<el-text class="color-secondary"
>{{
>{{
$t(
'views.applicationWorkflow.nodes.baseNode.FileUploadSetting.fileUploadType.imageText'
)
Expand Down Expand Up @@ -114,7 +114,7 @@
<p class="line-height-22 mt-4">
{{ $t('common.fileUpload.audio') }}
<el-text class="color-secondary"
>{{
>{{
$t(
'views.applicationWorkflow.nodes.baseNode.FileUploadSetting.fileUploadType.audioText'
)
Expand All @@ -141,7 +141,7 @@
<p class="line-height-22 mt-4">
{{ $t('common.fileUpload.other') }}
<el-text class="color-secondary"
>{{
>{{
$t(
'views.applicationWorkflow.nodes.baseNode.FileUploadSetting.fileUploadType.otherText'
)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seem to be two instances where there is an extra > character after $t() calls:

<el-text class="color-secondary">{{

Ensure that these should instead be:

<el-text class="color-secondary">{{ --}}

Additionally, it's a good practice to use single quotes around template literals to avoid syntax errors, especially when mixing inline and multi-line templates. Here’s how you can fix them:

Before:

'{{ $t('someKey', 'arg1 arg2') }}'

After replacing double/single quotes for consistency:

"$t('someKey', 'arg1 args2')"

Or using single quotes if prefered for clarity within the string itself:

'$t(\'someKey\', \'arg1 args2\')'

Expand Down