Render base strings

This commit is contained in:
Iván Ovejero
2021-11-10 19:41:40 +01:00
parent 61bb8de352
commit 2d8e158012
57 changed files with 2203 additions and 1456 deletions

View File

@@ -3,12 +3,10 @@
<div class="push-connection-lost primary-color" v-if="!pushConnectionActive">
<n8n-tooltip placement="bottom-end" >
<div slot="content">
Cannot connect to server.<br />
It is either down or you have a connection issue. <br />
It should reconnect automatically once the issue is resolved.
{{ $baseText('pushConnectionTracker.cannotConnectToServer') }}
</div>
<span>
<font-awesome-icon icon="exclamation-triangle" />&nbsp; Connection lost
<font-awesome-icon icon="exclamation-triangle" />&nbsp; {{ $baseText('pushConnectionTracker.connectionLost') }}
</span>
</n8n-tooltip>
</div>
@@ -20,7 +18,10 @@
import Vue from "vue";
import { mapGetters } from "vuex";
export default Vue.extend({
import mixins from 'vue-typed-mixins';
import { renderText } from "./mixins/renderText";
export default mixins(renderText).extend({
name: "PushConnectionTracker",
computed: {
...mapGetters(["pushConnectionActive"]),