Add missing translation in presentation-notice interface (#18591)

* Add missing translation for presentation-notice interface

* Create gentle-kangaroos-appear.md

* Update gentle-kangaroos-appear.md
This commit is contained in:
Pascal Jufer
2023-05-15 09:53:13 +02:00
committed by GitHub
parent 33368287f6
commit 098dd359af
3 changed files with 11 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
"@directus/app": patch
---
Added missing translation in presentation-notice interface

View File

@@ -1,12 +1,16 @@
<template>
<div class="presentation-notice">
<v-notice :icon="icon" :type="color">
<div v-md="text" />
<div v-md="text ?? t('interfaces.presentation-notice.no_text')" />
</v-notice>
</div>
</template>
<script setup lang="ts">
import { useI18n } from 'vue-i18n';
const { t } = useI18n();
withDefaults(
defineProps<{
color?: string;
@@ -16,7 +20,6 @@ withDefaults(
{
color: 'normal',
icon: 'info',
text: 'No text configured...',
}
);
</script>

View File

@@ -1664,6 +1664,7 @@ interfaces:
notice: Notice
description: Display a short notice
text: Enter notice content here...
no_text: No text configured...
list-o2m:
one-to-many: One to Many
description: Select multiple related items