Update confirm disable auto timer message

This commit is contained in:
advplyr 2025-01-26 12:40:39 -06:00
parent b6ab7dc8a7
commit 0509d7105e
2 changed files with 6 additions and 15 deletions

View file

@ -107,19 +107,11 @@ export default {
}, },
async cancelSleepTimer() { async cancelSleepTimer() {
if (this.isAuto) { if (this.isAuto) {
if (this.$platform === 'ios') { const { value } = await Dialog.confirm({
const { value } = await Dialog.confirm({ title: 'Confirm',
title: 'Confirm', message: this.$strings.MessageConfirmDisableAutoTimer
message: this.$strings.MessageConfirmDisableAutoTimerIos })
}) if (!value) return
if (!value) return
} else {
const { value } = await Dialog.confirm({
title: 'Confirm',
message: this.$strings.MessageConfirmDisableAutoTimerAndroid
})
if (!value) return
}
} }
await this.$hapticsImpact() await this.$hapticsImpact()

View file

@ -278,8 +278,7 @@
"MessageBookshelfEmpty": "Bookshelf empty", "MessageBookshelfEmpty": "Bookshelf empty",
"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.",
"MessageConfirmDisableAutoTimerAndroid": "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.",
"MessageConfirmDisableAutoTimerIos": "Are you sure you want to disable the auto sleep timer? You will need to enable this again in settings.",
"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?",