Skip to content

Commit 0f628cd

Browse files
authored
Make Unbootable & Successful text translatable
1 parent 80171e5 commit 0f628cd

File tree

1 file changed

+2
-2
lines changed
  • app/src/main/java/com/github/capntrips/kernelflasher/ui/components

1 file changed

+2
-2
lines changed

app/src/main/java/com/github/capntrips/kernelflasher/ui/components/SlotCard.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ fun SlotCard(
8282
if(isSlotScreen && viewModel.slotSuffix != "")
8383
{
8484
DataRow(
85-
label = "Unbootable",
85+
label = stringResource(R.string.unbootable),
8686
value = viewModel.slotInfo.bootSlotInfo.unbootable ?: stringResource(R.string.not_found),
8787
mutableMaxWidth = cardWidth,
8888
valueColor = if (viewModel.slotInfo.bootSlotInfo.unbootable == "Yes") Color.Red else Color.Unspecified
8989
)
9090
DataRow(
91-
label = "Successful",
91+
label = stringResource(R.string.successful),
9292
value = viewModel.slotInfo.bootSlotInfo.successful ?: stringResource(R.string.not_found),
9393
mutableMaxWidth = cardWidth,
9494
valueColor = if (viewModel.slotInfo.bootSlotInfo.successful == "No") Color.Red else Color.Unspecified

0 commit comments

Comments
 (0)