mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
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:
5
.changeset/gentle-kangaroos-appear.md
Normal file
5
.changeset/gentle-kangaroos-appear.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@directus/app": patch
|
||||
---
|
||||
|
||||
Added missing translation in presentation-notice interface
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user