Merge pull request #1556 from nextcloud/Valdnet-patch-2

Correction of descriptions
This commit is contained in:
John Molakvoæ 2020-04-02 13:56:01 +02:00 committed by GitHub
commit 26af617b89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -195,7 +195,7 @@ export default {
} catch (err) {
// error handling
console.error(err)
OC.Notification.showTemporary(t('contacts', 'Toggling of addressbook was not successful'))
OC.Notification.showTemporary(t('contacts', 'Toggling of address book was not successful'))
} finally {
// stop loading status regardless of outcome
this.toggleEnabledLoading = false
@ -204,7 +204,7 @@ export default {
confirmDeletion() {
OC.dialogs.confirm(
t('contacts', 'This will delete the addressbook and every contacts within it'),
t('contacts', 'This will delete the address book and every contacts within it'),
t('contacts', 'Delete {addressbook} ?', { addressbook: this.addressbook.displayName }),
this.deleteAddressbook,
true
@ -220,7 +220,7 @@ export default {
} catch (err) {
// error handling
console.error(err)
OC.Notification.showTemporary(t('contacts', 'Deletion of addressbook was not successful.'))
OC.Notification.showTemporary(t('contacts', 'Deletion of address book was not successful.'))
} finally {
// stop loading status regardless of outcome
this.deleteAddressbookLoading = false
@ -241,7 +241,7 @@ export default {
} catch (err) {
// error handling
console.error(err)
OC.Notification.showTemporary(t('contacts', 'Renaming of addressbook was not successful.'))
OC.Notification.showTemporary(t('contacts', 'Renaming of address book was not successful.'))
} finally {
this.editingName = false
// stop loading status regardless of outcome
@ -260,11 +260,11 @@ export default {
this.copySuccess = true
this.copied = true
// Notify addressbook was copied
OC.Notification.showTemporary(t('contacts', 'Addressbook copied to clipboard'))
OC.Notification.showTemporary(t('contacts', 'Address book copied to clipboard'))
} catch (error) {
this.copySuccess = false
this.copied = true
OC.Notification.showTemporary(t('contacts', 'Addressbook was not copied to clipboard.'))
OC.Notification.showTemporary(t('contacts', 'Address book was not copied to clipboard.'))
} finally {
this.copyLoading = false
setTimeout(() => {