🐛 Fix some i18n line break issues

This commit is contained in:
Jan Oberhauser 2022-03-05 20:11:34 +01:00
parent cb5b98afbc
commit f04e6ac43e
4 changed files with 7 additions and 9 deletions

View file

@ -2,9 +2,7 @@
<span> <span>
<div class="push-connection-lost primary-color" v-if="!pushConnectionActive"> <div class="push-connection-lost primary-color" v-if="!pushConnectionActive">
<n8n-tooltip placement="bottom-end" > <n8n-tooltip placement="bottom-end" >
<div slot="content"> <div slot="content" v-html="$locale.baseText('pushConnectionTracker.cannotConnectToServer')"></div>
{{ $locale.baseText('pushConnectionTracker.cannotConnectToServer') }}
</div>
<span> <span>
<font-awesome-icon icon="exclamation-triangle" />&nbsp; {{ $locale.baseText('pushConnectionTracker.connectionLost') }} <font-awesome-icon icon="exclamation-triangle" />&nbsp; {{ $locale.baseText('pushConnectionTracker.connectionLost') }}
</span> </span>

View file

@ -98,14 +98,14 @@
</h3> </h3>
<div class="text"> <div class="text">
{{ $locale.baseText( <span v-html="$locale.baseText(
'runData.theNodeContains', 'runData.theNodeContains',
{ {
interpolate: { interpolate: {
numberOfKb: parseInt(dataSize/1024).toLocaleString() numberOfKb: parseInt(dataSize/1024).toLocaleString()
} }
} }
)}} )"></span>
</div> </div>
<n8n-button <n8n-button

View file

@ -8,7 +8,7 @@
</div> </div>
<WarningTooltip v-if="version.hasSecurityIssue"> <WarningTooltip v-if="version.hasSecurityIssue">
<template> <template>
{{ $locale.baseText('versionCard.thisVersionHasASecurityIssue') }} <span v-html="$locale.baseText('versionCard.thisVersionHasASecurityIssue')"></span>
</template> </template>
</WarningTooltip> </WarningTooltip>
<Badge <Badge

View file

@ -243,7 +243,7 @@
"theWorkflowExecutionFailed": "The workflow execution failed.", "theWorkflowExecutionFailed": "The workflow execution failed.",
"theWorkflowExecutionFailedButTheRetryWasSuccessful": "The workflow execution failed but the retry {entryRetrySuccessId} was successful.", "theWorkflowExecutionFailedButTheRetryWasSuccessful": "The workflow execution failed but the retry {entryRetrySuccessId} was successful.",
"theWorkflowExecutionIsProbablyStillRunning": "The workflow execution is probably still running but it may have crashed and n8n cannot safely tell. ", "theWorkflowExecutionIsProbablyStillRunning": "The workflow execution is probably still running but it may have crashed and n8n cannot safely tell. ",
"theWorkflowExecutionWasARetryOfAndFailed": "The workflow execution was a retry of {entryRetryOf} and failed.<br />New retries have to be,started from the original execution.", "theWorkflowExecutionWasARetryOfAndFailed": "The workflow execution was a retry of {entryRetryOf} and failed.<br />New retries have to be started from the original execution.",
"theWorkflowExecutionWasARetryOfAndItWasSuccessful": "The workflow execution was a retry of {entryRetryOf} and it was successful.", "theWorkflowExecutionWasARetryOfAndItWasSuccessful": "The workflow execution was a retry of {entryRetryOf} and it was successful.",
"theWorkflowExecutionWasSuccessful": "The worklow execution was successful.", "theWorkflowExecutionWasSuccessful": "The worklow execution was successful.",
"theWorkflowIsCurrentlyExecuting": "The worklow is currently executing.", "theWorkflowIsCurrentlyExecuting": "The worklow is currently executing.",
@ -444,7 +444,7 @@
"time": "Time" "time": "Time"
}, },
"nodeBase": { "nodeBase": {
"clickToAddNodeOrDragToConnect": "Click to add node<br>or drag to connect" "clickToAddNodeOrDragToConnect": "Click to add node<br />or drag to connect"
}, },
"nodeSettings": { "nodeSettings": {
"alwaysOutputData": { "alwaysOutputData": {
@ -894,7 +894,7 @@
"breakingChanges": "Breaking changes", "breakingChanges": "Breaking changes",
"released": "Released", "released": "Released",
"securityUpdate": "Security update", "securityUpdate": "Security update",
"thisVersionHasASecurityIssue": "This version has a security issue.<br/>It is listed here for completeness.", "thisVersionHasASecurityIssue": "This version has a security issue.<br />It is listed here for completeness.",
"unknown": "unknown", "unknown": "unknown",
"version": "Version" "version": "Version"
}, },