Replaced hard-coded strings with localizable strings

Added en locale as localization fallback
This commit is contained in:
Alec Ananian
2020-01-14 07:43:41 -08:00
parent 119eb321ec
commit 8690d18695
23 changed files with 452 additions and 298 deletions

View File

@@ -23,7 +23,7 @@
</div>
<div class="field-deprecated" v-if="gqlField.isDeprecated">
DEPRECATED
{{ $t("deprecated") }}
</div>
</div>
</template>

View File

@@ -6,7 +6,7 @@
</div>
<div v-if="gqlType.getFields">
<h5>FIELDS</h5>
<h5>{{ $t("fields") }}</h5>
<div v-for="field in gqlType.getFields()" :key="field.name">
<gql-field :gqlField="field" :jumpTypeCallback="jumpTypeCallback" />
</div>