Replace 'locale' with 'language'

- Update fields translations use 'language' instead of 'locale'
- Replace all translation files from locale to language
- Update the docs with locale to language
This commit is contained in:
maartenvn
2020-10-10 00:59:10 +02:00
parent 97de8af2c8
commit 716784a1c8
81 changed files with 98 additions and 98 deletions

View File

@@ -128,10 +128,10 @@
<div class="label type-label">{{ $t('translations') }}</div>
<interface-repeater
v-model="fieldData.meta.translations"
:template="'{{ translation }} ({{ locale }})'"
:template="'{{ translation }} ({{ language }})'"
:fields="[
{
field: 'locale',
field: 'language',
type: 'string',
name: $t('language'),
meta: {
@@ -252,7 +252,7 @@ export default defineComponent({
},
setup(props, { emit }) {
const typesWithLabels = computed(() => {
return fieldTypes
return fieldTypes;
});
const typeDisabled = computed(() => {