Skip to content

Commit

Permalink
Add the plural
Browse files Browse the repository at this point in the history
  • Loading branch information
Valdnet authored Oct 1, 2020
1 parent fd4b422 commit 00d2fcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export default {
if (this.deletedNotes.length === 1) {
label = this.t('notes', 'Deleted {title}', { title: note.title })
} else {
label = this.t('notes', 'Deleted {number} notes', { number: this.deletedNotes.length })
label = this.n('notes', 'Deleted {number} note', 'Deleted {number} notes', { number: this.deletedNotes.length })
}
if (this.undoNotification === null) {
const action = '<button class="undo">' + this.t('notes', 'Undo Delete') + '</button>'
Expand Down Expand Up @@ -279,7 +279,7 @@ export default {
if (number === 1) {
showSuccess(this.t('notes', 'Note recovered'))
} else {
showSuccess(this.t('notes', 'Recovered {number} notes', { number }))
showSuccess(this.n('notes', 'Recovered {number} note', 'Recovered {number} notes', { number }))
}
},
Expand Down

0 comments on commit 00d2fcf

Please sign in to comment.