mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-10 19:31:39 +00:00
Change: slug strings
This commit is contained in:
parent
95143a7816
commit
10c93ed9c6
3 changed files with 5 additions and 3 deletions
|
|
@ -165,7 +165,7 @@ export default {
|
|||
},
|
||||
openShare() {
|
||||
if (!this.newShareSlug) {
|
||||
this.$toast.error('Slug is required')
|
||||
this.$toast.error(this.$strings.ToastSlugRequired)
|
||||
return
|
||||
}
|
||||
const payload = {
|
||||
|
|
|
|||
|
|
@ -121,14 +121,14 @@ export default {
|
|||
methods: {
|
||||
openFeed() {
|
||||
if (!this.newFeedSlug) {
|
||||
this.$toast.error('Must set a feed slug')
|
||||
this.$toast.error(this.$strings.ToastSlugRequired)
|
||||
return
|
||||
}
|
||||
|
||||
const sanitized = this.$sanitizeSlug(this.newFeedSlug)
|
||||
if (this.newFeedSlug !== sanitized) {
|
||||
this.newFeedSlug = sanitized
|
||||
this.$toast.warning('Slug had to be modified - Run again')
|
||||
this.$toast.warning(this.$strings.ToastSlugMustChange)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -921,6 +921,8 @@
|
|||
"ToastServerSettingsUpdateSuccess": "Server settings updated",
|
||||
"ToastSessionDeleteFailed": "Failed to delete session",
|
||||
"ToastSessionDeleteSuccess": "Session deleted",
|
||||
"ToastSlugMustChange": "Slug contains invalid characters",
|
||||
"ToastSlugRequired": "Slug is required",
|
||||
"ToastSocketConnected": "Socket connected",
|
||||
"ToastSocketDisconnected": "Socket disconnected",
|
||||
"ToastSocketFailedToConnect": "Socket failed to connect",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue