🚚 Rename $i to $locale

This commit is contained in:
Iván Ovejero
2021-12-15 13:16:53 +01:00
parent cd1bfe5365
commit 1d991824d1
66 changed files with 711 additions and 711 deletions

View File

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