🚚 Rename $i18n2 to $i

This commit is contained in:
Iván Ovejero
2021-12-07 17:28:10 +01:00
parent 858d0d0160
commit 94d6136661
66 changed files with 717 additions and 719 deletions

View File

@@ -32,7 +32,7 @@ export const workflowRun = mixins(
// Do not start if the connection to server is not active
// because then it can not receive the data as it executes.
throw new Error(
this.$i18n2.baseText('workflowRun.noActiveConnectionToTheServer'),
this.$i.baseText('workflowRun.noActiveConnectionToTheServer'),
);
}
@@ -91,8 +91,8 @@ export const workflowRun = mixins(
}
this.$showMessage({
title: this.$i18n2.baseText('workflowRun.showMessage.title'),
message: this.$i18n2.baseText('workflowRun.showMessage.message') + ':<br />&nbsp;&nbsp;- ' + errorMessages.join('<br />&nbsp;&nbsp;- '),
title: this.$i.baseText('workflowRun.showMessage.title'),
message: this.$i.baseText('workflowRun.showMessage.message') + ':<br />&nbsp;&nbsp;- ' + errorMessages.join('<br />&nbsp;&nbsp;- '),
type: 'error',
duration: 0,
});
@@ -204,8 +204,8 @@ export const workflowRun = mixins(
this.$titleSet(workflow.name as string, 'ERROR');
this.$showError(
error,
this.$i18n2.baseText('workflowRun.showError.title'),
this.$i18n2.baseText('workflowRun.showError.message') + ':',
this.$i.baseText('workflowRun.showError.title'),
this.$i.baseText('workflowRun.showError.message') + ':',
);
return undefined;
}