mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
refactor(editor): Stop using $locale in favor of the i18n composable (#11731)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -703,13 +703,13 @@ onBeforeUnmount(() => {
|
||||
>
|
||||
<template #content>
|
||||
<div :class="$style.triggerWarning">
|
||||
{{ $locale.baseText('ndv.backToCanvas.waitingForTriggerWarning') }}
|
||||
{{ i18n.baseText('ndv.backToCanvas.waitingForTriggerWarning') }}
|
||||
</div>
|
||||
</template>
|
||||
<div :class="$style.backToCanvas" data-test-id="back-to-canvas" @click="close">
|
||||
<n8n-icon icon="arrow-left" color="text-xlight" size="medium" />
|
||||
<n8n-text color="text-xlight" size="medium" :bold="true">
|
||||
{{ $locale.baseText('ndv.backToCanvas') }}
|
||||
{{ i18n.baseText('ndv.backToCanvas') }}
|
||||
</n8n-text>
|
||||
</div>
|
||||
</n8n-tooltip>
|
||||
@@ -816,7 +816,7 @@ onBeforeUnmount(() => {
|
||||
@click="onFeatureRequestClick"
|
||||
>
|
||||
<font-awesome-icon icon="lightbulb" />
|
||||
{{ $locale.baseText('ndv.featureRequest') }}
|
||||
{{ i18n.baseText('ndv.featureRequest') }}
|
||||
</a>
|
||||
</template>
|
||||
</NDVDraggablePanels>
|
||||
|
||||
Reference in New Issue
Block a user