Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
audio alert error
Browse files Browse the repository at this point in the history
KalliSfak committed Oct 17, 2023
1 parent 24a07f8 commit a6b43d4
Showing 6 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -4,6 +4,10 @@
{{ t("components.cardElement.fileElement.videoFormatError") }}
</InfoAlert>

<InfoAlert v-if="alerts.includes(FileAlert.AUDIO_FORMAT_ERROR)">
{{ t("components.cardElement.fileElement.audioFormatError") }}
</InfoAlert>

<InfoAlert v-if="alerts.includes(FileAlert.AWAITING_SCAN_STATUS)">
<div>
{{ t("components.cardElement.fileElement.awaitingScan") }}
@@ -28,10 +32,10 @@
</template>

<script lang="ts">
import { useI18n } from "@/composables/i18n.composable";
import { ErrorAlert, InfoAlert, WarningAlert } from "@ui-alert";
import { defineComponent, PropType } from "vue";
import { FileAlert } from "../../shared/types/FileAlert.enum";
import { InfoAlert, ErrorAlert, WarningAlert } from "@ui-alert";
import { useI18n } from "@/composables/i18n.composable";
export default defineComponent({
name: "FileAlerts",
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export enum FileAlert {
VIDEO_FORMAT_ERROR,
AUDIO_FORMAT_ERROR,
AWAITING_SCAN_STATUS,
SCAN_STATUS_WONT_CHECK,
SCAN_STATUS_BLOCKED,
1 change: 1 addition & 0 deletions src/locales/de.json
Original file line number Diff line number Diff line change
@@ -817,6 +817,7 @@
"components.cardElement.fileElement.reloadStatus": "Status aktualisieren",
"components.cardElement.fileElement.caption": "Beschreibung",
"components.cardElement.fileElement.videoFormatError": "Das Videoformat wird von diesem Browser / Betriebssystem nicht unterstützt.",
"components.cardElement.fileElement.audioFormatError": "Das Audioformat wird von diesem Browser / Betriebssystem nicht unterstützt.",
"components.cardElement.richTextElement": "Textelement",
"components.cardElement.richTextElement.placeholder": "Text hinzufügen",
"components.cardElement.submissionElement": "Abgabe",
1 change: 1 addition & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
@@ -815,6 +815,7 @@
"components.cardElement.fileElement.scanWontCheck": "Due to the size, no preview can be generated.",
"components.cardElement.fileElement.caption": "Caption",
"components.cardElement.fileElement.videoFormatError": "The video format is not supported by this browser/operating system.",
"components.cardElement.fileElement.audioFormatError": "The audio format is not supported by this browser/operating system.",
"components.cardElement.richTextElement": "Text element",
"components.cardElement.richTextElement.placeholder": "Add text",
"components.cardElement.submissionElement": "Submission",
1 change: 1 addition & 0 deletions src/locales/es.json
Original file line number Diff line number Diff line change
@@ -825,6 +825,7 @@
"components.cardElement.fileElement.reloadStatus": "Estado de actualización",
"components.cardElement.fileElement.caption": "Descripción",
"components.cardElement.fileElement.videoFormatError": "El formato de vídeo no es compatible con este navegador / sistema operativo.",
"components.cardElement.fileElement.audioFormatError": "El formato de audio no es compatible con este navegador / sistema operativo.",
"components.cardElement.richTextElement": "Elemento texto",
"components.cardElement.richTextElement.placeholder": "Añadir texto",
"components.cardElement.submissionElement": "Envío",
1 change: 1 addition & 0 deletions src/locales/uk.json
Original file line number Diff line number Diff line change
@@ -328,6 +328,7 @@
"components.cardElement.fileElement.reloadStatus": "Статус оновлення",
"components.cardElement.fileElement.caption": "опис",
"components.cardElement.fileElement.videoFormatError": "Формат відео не підтримується цим браузером / операційною системою.",
"components.cardElement.fileElement.audioFormatError": "Формат аудіо не підтримується цим браузером / операційною системою.",
"components.cardElement.richTextElement": "Текстовий елемент",
"components.cardElement.richTextElement.placeholder": "додати текст",
"components.cardElement.submissionElement": "Подання",

0 comments on commit a6b43d4

Please sign in to comment.