mirror of
https://github.com/directus/directus.git
synced 2026-02-16 23:21:51 -05:00
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:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user