🚚 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

@@ -4,7 +4,7 @@
<div>
<div :class="$style.details">
<span :class="$style.name">
{{ $i18n2.headerText({
{{ $i.headerText({
key: `headers.${shortNodeType}.displayName`,
fallback: nodeType.displayName,
})
@@ -15,7 +15,7 @@
</span>
</div>
<div :class="$style.description">
{{ $i18n2.headerText({
{{ $i.headerText({
key: `headers.${shortNodeType}.description`,
fallback: nodeType.description,
})
@@ -46,7 +46,7 @@ export default Vue.extend({
],
computed: {
shortNodeType() {
return this.$i18n2.shortNodeType(this.nodeType.name);
return this.$i.shortNodeType(this.nodeType.name);
},
},
// @ts-ignore