Add contextual plural to delete confirmation - 2.28 🚀

This commit is contained in:
Brandon Presley 2024-02-21 18:01:55 +13:00
parent 7abcea5710
commit fd15d10028
3 changed files with 4 additions and 4 deletions

View File

@ -96,7 +96,7 @@ export default function ListMenu({
{ids?.length === 0 ? (
<>This irreversibly deletes records from the app. Are you sure?</>
) : (
<>This will delete {ids?.length} record(s). Are you sure?</>
<>This will delete {ids.length} {ids?.length > 1 ? "records" : "record"}. Are you sure?</>
)}
</ConfirmDialog>
</>

View File

@ -87,8 +87,8 @@ android {
applicationId "com.massive"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 36242
versionName "2.27"
versionCode 36243
versionName "2.28"
}
signingConfigs {
release {

View File

@ -1,6 +1,6 @@
{
"name": "massive",
"version": "2.27",
"version": "2.28",
"private": true,
"license": "GPL-3.0-only",
"scripts": {