Fixed some strings

This commit is contained in:
Imran Remtulla
2022-12-11 11:46:00 -05:00
parent f81f6374bb
commit a00cfa2ba6
3 changed files with 5 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ class UpdateNotification extends ObtainiumNotification {
: updates.length == 1
? tr('xHasAnUpdate', args: [updates[0].name])
: plural('xAndNMoreUpdatesAvailable', updates.length - 1,
args: [updates[0].name]);
args: [updates[0].name, (updates.length - 1).toString()]);
}
}
@@ -48,7 +48,7 @@ class SilentUpdateNotification extends ObtainiumNotification {
? tr('xWasUpdatedToY',
args: [updates[0].name, updates[0].latestVersion])
: plural('xAndNMoreUpdatesInstalled', updates.length - 1,
args: [updates[0].name]);
args: [updates[0].name, (updates.length - 1).toString()]);
}
}