mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-27 13:54:01 +02:00
Localized various strings.
Confirm title, corresponding messages, welcome, and media type dropdown.
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<div class="absolute top-0 right-0 w-64 h-full bg-bg transform transition-transform py-6 pointer-events-auto" :class="show ? '' : 'translate-x-64'" @click.stop>
|
<div class="absolute top-0 right-0 w-64 h-full bg-bg transform transition-transform py-6 pointer-events-auto" :class="show ? '' : 'translate-x-64'" @click.stop>
|
||||||
<div class="px-6 mb-4">
|
<div class="px-6 mb-4">
|
||||||
<p v-if="user" class="text-base">
|
<p v-if="user" class="text-base">
|
||||||
Welcome,
|
{{ $strings.HeaderWelcome }}
|
||||||
<strong>{{ username }}</strong>
|
<strong>{{ username }}</strong>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -483,8 +483,8 @@ export default {
|
|||||||
await this.$hapticsImpact()
|
await this.$hapticsImpact()
|
||||||
|
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: `Remove this server config?`
|
message: this.$strings.MessageConfirmDeleteServerConfig,
|
||||||
})
|
})
|
||||||
if (value) {
|
if (value) {
|
||||||
this.processing = true
|
this.processing = true
|
||||||
|
|||||||
@@ -303,7 +303,7 @@ export default {
|
|||||||
// Show confirm if item has progress since it will reset
|
// Show confirm if item has progress since it will reset
|
||||||
if (this.userItemProgress && this.userItemProgress.progress > 0 && !this.userIsFinished) {
|
if (this.userItemProgress && this.userItemProgress.progress > 0 && !this.userIsFinished) {
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: this.$strings.MessageConfirmMarkAsFinished
|
message: this.$strings.MessageConfirmMarkAsFinished
|
||||||
})
|
})
|
||||||
if (!value) return
|
if (!value) return
|
||||||
@@ -369,7 +369,7 @@ export default {
|
|||||||
await this.$hapticsImpact()
|
await this.$hapticsImpact()
|
||||||
|
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: this.$strings.MessageConfirmDiscardProgress
|
message: this.$strings.MessageConfirmDiscardProgress
|
||||||
})
|
})
|
||||||
if (value) {
|
if (value) {
|
||||||
@@ -407,7 +407,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: this.$getString('MessageConfirmDeleteLocalEpisode', [localFile.basePath])
|
message: this.$getString('MessageConfirmDeleteLocalEpisode', [localFile.basePath])
|
||||||
})
|
})
|
||||||
if (value) {
|
if (value) {
|
||||||
@@ -432,7 +432,7 @@ export default {
|
|||||||
await this.$hapticsImpact()
|
await this.$hapticsImpact()
|
||||||
|
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: this.$strings.MessageConfirmDeleteLocalFiles
|
message: this.$strings.MessageConfirmDeleteLocalFiles
|
||||||
})
|
})
|
||||||
if (value) {
|
if (value) {
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ export default {
|
|||||||
async cancelSleepTimer() {
|
async cancelSleepTimer() {
|
||||||
if (this.isAuto) {
|
if (this.isAuto) {
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: this.$strings.MessageConfirmDisableAutoTimer
|
message: this.$strings.MessageConfirmDisableAutoTimer
|
||||||
})
|
})
|
||||||
if (!value) return
|
if (!value) return
|
||||||
|
|||||||
@@ -228,8 +228,8 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
async clearDownloadQueue() {
|
async clearDownloadQueue() {
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: `Are you sure you want to clear episode download queue?`
|
message: this.$strings.MessageConfirmDeleteEpisodeDownloadQueue
|
||||||
})
|
})
|
||||||
|
|
||||||
if (value) {
|
if (value) {
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ export default {
|
|||||||
this.$strings.MessageConfirmStreamingUsingCellular
|
this.$strings.MessageConfirmStreamingUsingCellular
|
||||||
|
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message
|
message
|
||||||
})
|
})
|
||||||
return value
|
return value
|
||||||
|
|||||||
@@ -148,7 +148,7 @@ export default {
|
|||||||
|
|
||||||
// Show confirmation dialog and start downloading if user chooses so
|
// Show confirmation dialog and start downloading if user chooses so
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: startDownloadMessage
|
message: startDownloadMessage
|
||||||
})
|
})
|
||||||
if (value) {
|
if (value) {
|
||||||
|
|||||||
@@ -346,7 +346,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: this.$getString('MessageConfirmDeleteLocalEpisode', [localFile.basePath])
|
message: this.$getString('MessageConfirmDeleteLocalEpisode', [localFile.basePath])
|
||||||
})
|
})
|
||||||
if (value) {
|
if (value) {
|
||||||
@@ -514,7 +514,7 @@ export default {
|
|||||||
await this.$hapticsImpact()
|
await this.$hapticsImpact()
|
||||||
|
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: this.$strings.MessageConfirmDiscardProgress
|
message: this.$strings.MessageConfirmDiscardProgress
|
||||||
})
|
})
|
||||||
if (value) {
|
if (value) {
|
||||||
@@ -575,8 +575,8 @@ export default {
|
|||||||
await this.$hapticsImpact()
|
await this.$hapticsImpact()
|
||||||
|
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: `Are you sure you want to delete episode "${this.title}" from the server?\nWarning: This will delete the audio file.`
|
message: $this.$getString('MessageConfirmDeleteServerEpisode', [this.title])
|
||||||
})
|
})
|
||||||
|
|
||||||
if (value) {
|
if (value) {
|
||||||
|
|||||||
@@ -584,8 +584,8 @@ export default {
|
|||||||
// If start time and is not already streaming then ask for confirmation
|
// If start time and is not already streaming then ask for confirmation
|
||||||
if (startTime !== null && startTime !== undefined && !this.$store.getters['getIsMediaStreaming'](libraryItemId, null)) {
|
if (startTime !== null && startTime !== undefined && !this.$store.getters['getIsMediaStreaming'](libraryItemId, null)) {
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: `Start playback for "${this.title}" at ${this.$secondsToTimestamp(startTime)}?`
|
message: this.$getString('MessageConfirmPlaybackTime', [this.title, this.$secondsToTimestamp(startTime)])
|
||||||
})
|
})
|
||||||
if (!value) return
|
if (!value) return
|
||||||
}
|
}
|
||||||
@@ -673,7 +673,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: startDownloadMessage
|
message: startDownloadMessage
|
||||||
})
|
})
|
||||||
if (value) {
|
if (value) {
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ export default {
|
|||||||
deleteMessage = `Are you sure you want to remove this folder and ${this.localLibraryItems.length} items? (does not delete anything in your file system)`
|
deleteMessage = `Are you sure you want to remove this folder and ${this.localLibraryItems.length} items? (does not delete anything in your file system)`
|
||||||
}
|
}
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: deleteMessage
|
message: deleteMessage
|
||||||
})
|
})
|
||||||
if (value) {
|
if (value) {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-if="!isAndroid10OrBelow || overrideFolderRestriction" class="flex border-t border-fg/10 my-4 py-4">
|
<div v-if="!isAndroid10OrBelow || overrideFolderRestriction" class="flex border-t border-fg/10 my-4 py-4">
|
||||||
<div class="flex-grow pr-1">
|
<div class="flex-grow pr-1">
|
||||||
<ui-dropdown v-model="newFolderMediaType" placeholder="Select media type" :items="mediaTypeItems" />
|
<ui-dropdown v-model="newFolderMediaType" :placeholder="$strings.LabelSelectMediaType" :items="mediaTypeItems" />
|
||||||
</div>
|
</div>
|
||||||
<ui-btn small class="w-28" color="success" @click="selectFolder">{{ $strings.ButtonNewFolder }}</ui-btn>
|
<ui-btn small class="w-28" color="success" @click="selectFolder">{{ $strings.ButtonNewFolder }}</ui-btn>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -369,7 +369,7 @@ export default {
|
|||||||
confirmMessage += ' The file on the server will be unaffected.'
|
confirmMessage += ' The file on the server will be unaffected.'
|
||||||
}
|
}
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: confirmMessage
|
message: confirmMessage
|
||||||
})
|
})
|
||||||
if (value) {
|
if (value) {
|
||||||
@@ -395,7 +395,7 @@ export default {
|
|||||||
confirmMessage += ' The file on the server will be unaffected.'
|
confirmMessage += ' The file on the server will be unaffected.'
|
||||||
}
|
}
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: confirmMessage
|
message: confirmMessage
|
||||||
})
|
})
|
||||||
if (value) {
|
if (value) {
|
||||||
@@ -412,7 +412,7 @@ export default {
|
|||||||
confirmMessage += ' The files on the server and your progress will be unaffected.'
|
confirmMessage += ' The files on the server and your progress will be unaffected.'
|
||||||
}
|
}
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: confirmMessage
|
message: confirmMessage
|
||||||
})
|
})
|
||||||
if (value) {
|
if (value) {
|
||||||
|
|||||||
@@ -314,8 +314,8 @@ export default ({ store, app }, inject) => {
|
|||||||
}
|
}
|
||||||
if (!canGoBack) {
|
if (!canGoBack) {
|
||||||
const { value } = await Dialog.confirm({
|
const { value } = await Dialog.confirm({
|
||||||
title: 'Confirm',
|
title: this.$strings.HeaderConfirm,
|
||||||
message: `Did you want to exit the app?`
|
message: this.$strings.MessageConfirmAppExit
|
||||||
})
|
})
|
||||||
if (value) {
|
if (value) {
|
||||||
App.exitApp()
|
App.exitApp()
|
||||||
|
|||||||
@@ -63,6 +63,7 @@
|
|||||||
"HeaderChapters": "Chapters",
|
"HeaderChapters": "Chapters",
|
||||||
"HeaderCollection": "Collection",
|
"HeaderCollection": "Collection",
|
||||||
"HeaderCollectionItems": "Collection Items",
|
"HeaderCollectionItems": "Collection Items",
|
||||||
|
"HeaderConfirm": "Confirm",
|
||||||
"HeaderConnectionStatus": "Connection Status",
|
"HeaderConnectionStatus": "Connection Status",
|
||||||
"HeaderDataSettings": "Data Settings",
|
"HeaderDataSettings": "Data Settings",
|
||||||
"HeaderDetails": "Details",
|
"HeaderDetails": "Details",
|
||||||
@@ -91,6 +92,7 @@
|
|||||||
"HeaderStatsRecentSessions": "Recent Sessions",
|
"HeaderStatsRecentSessions": "Recent Sessions",
|
||||||
"HeaderTableOfContents": "Table of Contents",
|
"HeaderTableOfContents": "Table of Contents",
|
||||||
"HeaderUserInterfaceSettings": "User Interface Settings",
|
"HeaderUserInterfaceSettings": "User Interface Settings",
|
||||||
|
"HeaderWelcome": "Welcome,",
|
||||||
"HeaderYourStats": "Your Stats",
|
"HeaderYourStats": "Your Stats",
|
||||||
"LabelAddToPlaylist": "Add to Playlist",
|
"LabelAddToPlaylist": "Add to Playlist",
|
||||||
"LabelAddedAt": "Added At",
|
"LabelAddedAt": "Added At",
|
||||||
@@ -237,6 +239,7 @@
|
|||||||
"LabelScaleElapsedTimeBySpeed": "Scale Elapsed Time by Speed",
|
"LabelScaleElapsedTimeBySpeed": "Scale Elapsed Time by Speed",
|
||||||
"LabelSeason": "Season",
|
"LabelSeason": "Season",
|
||||||
"LabelSelectADevice": "Select a device",
|
"LabelSelectADevice": "Select a device",
|
||||||
|
"LabelSelectMediaType": "Select media type",
|
||||||
"LabelSequenceAscending": "Sequence Ascending",
|
"LabelSequenceAscending": "Sequence Ascending",
|
||||||
"LabelSequenceDescending": "Sequence Descending",
|
"LabelSequenceDescending": "Sequence Descending",
|
||||||
"LabelSeries": "Series",
|
"LabelSeries": "Series",
|
||||||
@@ -289,12 +292,17 @@
|
|||||||
"MessageAudiobookshelfServerNotConnected": "Audiobookshelf server not connected",
|
"MessageAudiobookshelfServerNotConnected": "Audiobookshelf server not connected",
|
||||||
"MessageAudiobookshelfServerRequired": "<strong>Important!</strong> This app is designed to work with an Audiobookshelf server that you or someone you know is hosting. This app does not provide any content.",
|
"MessageAudiobookshelfServerRequired": "<strong>Important!</strong> This app is designed to work with an Audiobookshelf server that you or someone you know is hosting. This app does not provide any content.",
|
||||||
"MessageBookshelfEmpty": "Bookshelf empty",
|
"MessageBookshelfEmpty": "Bookshelf empty",
|
||||||
|
"MessageConfirmAppExit":"Did you want to exit the app?",
|
||||||
|
"MessageConfirmDeleteEpisodeDownloadQueue": "Are you sure you want to clear episode download queue?",
|
||||||
"MessageConfirmDeleteLocalEpisode": "Remove local episode \"{0}\" from your device? The file on the server will be unaffected.",
|
"MessageConfirmDeleteLocalEpisode": "Remove local episode \"{0}\" from your device? The file on the server will be unaffected.",
|
||||||
"MessageConfirmDeleteLocalFiles": "Remove local files of this item from your device? The files on the server and your progress will be unaffected.",
|
"MessageConfirmDeleteLocalFiles": "Remove local files of this item from your device? The files on the server and your progress will be unaffected.",
|
||||||
|
"MessageConfirmDeleteServerConfig": "Remove this server config?",
|
||||||
|
"MessageConfirmDeleteServerEpisode": "Are you sure you want to delete episode \"{0}\" from the server?\nWarning: This will delete the audio file.",
|
||||||
"MessageConfirmDisableAutoTimer": "Are you sure you want to disable the auto timer for the rest of today? The timer will be re-enabled at the end of this auto-sleep timer period, or if you restart the app.",
|
"MessageConfirmDisableAutoTimer": "Are you sure you want to disable the auto timer for the rest of today? The timer will be re-enabled at the end of this auto-sleep timer period, or if you restart the app.",
|
||||||
"MessageConfirmDiscardProgress": "Are you sure you want to reset your progress?",
|
"MessageConfirmDiscardProgress": "Are you sure you want to reset your progress?",
|
||||||
"MessageConfirmDownloadUsingCellular": "You are about to download using cellular data. This may include carrier data charges. Do you wish to continue?",
|
"MessageConfirmDownloadUsingCellular": "You are about to download using cellular data. This may include carrier data charges. Do you wish to continue?",
|
||||||
"MessageConfirmMarkAsFinished": "Are you sure you want to mark this item as finished?",
|
"MessageConfirmMarkAsFinished": "Are you sure you want to mark this item as finished?",
|
||||||
|
"MessageConfirmPlaybackTime":"Start playback for \"{0}\" at {1}?",
|
||||||
"MessageConfirmRemoveBookmark": "Are you sure you want to remove bookmark?",
|
"MessageConfirmRemoveBookmark": "Are you sure you want to remove bookmark?",
|
||||||
"MessageConfirmStreamingUsingCellular": "You are about to stream using cellular data. This may include carrier data charges. Do you wish to continue?",
|
"MessageConfirmStreamingUsingCellular": "You are about to stream using cellular data. This may include carrier data charges. Do you wish to continue?",
|
||||||
"MessageDiscardProgress": "Discard Progress",
|
"MessageDiscardProgress": "Discard Progress",
|
||||||
|
|||||||
Reference in New Issue
Block a user