mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-11 20:01:38 +00:00
Update: audio file data modal strings
This commit is contained in:
parent
039d7b7b7c
commit
43888a5bf7
2 changed files with 3 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="flex items-center justify-between">
|
<div class="flex items-center justify-between">
|
||||||
<p class="text-base text-gray-200 truncate">{{ metadata.filename }}</p>
|
<p class="text-base text-gray-200 truncate">{{ metadata.filename }}</p>
|
||||||
<ui-btn v-if="ffprobeData" small class="ml-2" @click="ffprobeData = null">{{ $strings.ButtonReset }}</ui-btn>
|
<ui-btn v-if="ffprobeData" small class="ml-2" @click="ffprobeData = null">{{ $strings.ButtonReset }}</ui-btn>
|
||||||
<ui-btn v-else-if="userIsAdminOrUp" small :loading="probingFile" class="ml-2" @click="getFFProbeData">Probe Audio File</ui-btn>
|
<ui-btn v-else-if="userIsAdminOrUp" small :loading="probingFile" class="ml-2" @click="getFFProbeData">{{ $strings.ButtonProbeAudioFile }}</ui-btn>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="w-full h-px bg-white bg-opacity-10 my-4" />
|
<div class="w-full h-px bg-white bg-opacity-10 my-4" />
|
||||||
|
|
@ -159,7 +159,7 @@ export default {
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.error('Failed to get ffprobe data', error)
|
console.error('Failed to get ffprobe data', error)
|
||||||
this.$toast.error('FFProbe failed')
|
this.$toast.error(this.$strings.ToastFfprobeFailed)
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
this.probingFile = false
|
this.probingFile = false
|
||||||
|
|
|
||||||
|
|
@ -836,6 +836,7 @@
|
||||||
"ToastEpisodeDownloadQueueClearSuccess": "Episode download queue cleared",
|
"ToastEpisodeDownloadQueueClearSuccess": "Episode download queue cleared",
|
||||||
"ToastFailedToLoadData": "Failed to load data",
|
"ToastFailedToLoadData": "Failed to load data",
|
||||||
"ToastFailedToUpdateAccount": "Failed to update account",
|
"ToastFailedToUpdateAccount": "Failed to update account",
|
||||||
|
"ToastFfprobeFailed": "FFprobe failed",
|
||||||
"ToastItemCoverUpdateFailed": "Failed to update item cover",
|
"ToastItemCoverUpdateFailed": "Failed to update item cover",
|
||||||
"ToastItemCoverUpdateSuccess": "Item cover updated",
|
"ToastItemCoverUpdateSuccess": "Item cover updated",
|
||||||
"ToastItemDeletedFailed": "Failed to delete item",
|
"ToastItemDeletedFailed": "Failed to delete item",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue