From 0f628cdf42df44e4ab49fea6163f5924f0b5d739 Mon Sep 17 00:00:00 2001 From: luigimak Date: Sun, 20 Jul 2025 11:57:11 +0200 Subject: [PATCH 1/3] Make Unbootable & Successful text translatable --- .../github/capntrips/kernelflasher/ui/components/SlotCard.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/github/capntrips/kernelflasher/ui/components/SlotCard.kt b/app/src/main/java/com/github/capntrips/kernelflasher/ui/components/SlotCard.kt index c0c9594..d0f74bb 100644 --- a/app/src/main/java/com/github/capntrips/kernelflasher/ui/components/SlotCard.kt +++ b/app/src/main/java/com/github/capntrips/kernelflasher/ui/components/SlotCard.kt @@ -82,13 +82,13 @@ fun SlotCard( if(isSlotScreen && viewModel.slotSuffix != "") { DataRow( - label = "Unbootable", + label = stringResource(R.string.unbootable), value = viewModel.slotInfo.bootSlotInfo.unbootable ?: stringResource(R.string.not_found), mutableMaxWidth = cardWidth, valueColor = if (viewModel.slotInfo.bootSlotInfo.unbootable == "Yes") Color.Red else Color.Unspecified ) DataRow( - label = "Successful", + label = stringResource(R.string.successful), value = viewModel.slotInfo.bootSlotInfo.successful ?: stringResource(R.string.not_found), mutableMaxWidth = cardWidth, valueColor = if (viewModel.slotInfo.bootSlotInfo.successful == "No") Color.Red else Color.Unspecified From 1f6b8955bf652585ca1f6a4a441ab0da1c271444 Mon Sep 17 00:00:00 2001 From: luigimak Date: Sun, 20 Jul 2025 11:58:03 +0200 Subject: [PATCH 2/3] Update strings.xml --- app/src/main/res/values/strings.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6b6f7f0..f0b3434 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -69,5 +69,7 @@ Backup Selected Partitions vendor_boot.img Format Active + Unbootable + Successful - \ No newline at end of file + From 4cd25ad73ccb78a897f10f1580eea05df1d84d07 Mon Sep 17 00:00:00 2001 From: luigimak Date: Sun, 20 Jul 2025 11:58:40 +0200 Subject: [PATCH 3/3] Update values-it/strings.xml --- app/src/main/res/values-it/strings.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 710de34..5ef77cc 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -69,5 +69,7 @@ Backup Partizioni Selezionate Formato vendor_boot.img Attivo + Non avviabile + Riuscito