diff --git a/gui/devices/common/res/languages/en.xml b/gui/devices/common/res/languages/en.xml index 28b5ec5d..84b8c1e7 100644 --- a/gui/devices/common/res/languages/en.xml +++ b/gui/devices/common/res/languages/en.xml @@ -118,6 +118,7 @@ IMAGE FLASH COMPLETED] Wiping {1} {1} does not exist! Cannot repair! + Repairing {1} using {2}... Unable to repair {1}. Could not mount /data and unable to find crypto footer. diff --git a/gui/theme/common/languages/en.xml b/gui/theme/common/languages/en.xml index cb5c7926..4b76c0ed 100755 --- a/gui/theme/common/languages/en.xml +++ b/gui/theme/common/languages/en.xml @@ -558,6 +558,7 @@ [IMAGE FLASH COMPLETED] Wiping {1} {1} does not exist! Cannot repair! + Repairing {1} using {2}... Unable to repair {1}. Could not mount /data and unable to find crypto footer. diff --git a/partition.cpp b/partition.cpp index f575dcc3..2f37d6f8 100644 --- a/partition.cpp +++ b/partition.cpp @@ -1273,7 +1273,7 @@ bool TWPartition::Repair() { } if (!UnMount(true)) return false; - gui_msg(Msg("reparing=Repairing {1} using {2}...")(Display_Name)("fsck.fat")); + gui_msg(Msg("repairing_using=Repairing {1} using {2}...")(Display_Name)("fsck.fat")); Find_Actual_Block_Device(); command = "/sbin/fsck.fat -y " + Actual_Block_Device; LOGINFO("Repair command: %s\n", command.c_str()); @@ -1292,7 +1292,7 @@ bool TWPartition::Repair() { } if (!UnMount(true)) return false; - gui_msg(Msg("reparing=Repairing {1} using {2}...")(Display_Name)("e2fsck")); + gui_msg(Msg("repairing_using=Repairing {1} using {2}...")(Display_Name)("e2fsck")); Find_Actual_Block_Device(); command = "/sbin/e2fsck -fp " + Actual_Block_Device; LOGINFO("Repair command: %s\n", command.c_str()); @@ -1311,7 +1311,7 @@ bool TWPartition::Repair() { } if (!UnMount(true)) return false; - gui_msg(Msg("reparing=Repairing {1} using {2}...")(Display_Name)("fsck.exfat")); + gui_msg(Msg("repairing_using=Repairing {1} using {2}...")(Display_Name)("fsck.exfat")); Find_Actual_Block_Device(); command = "/sbin/fsck.exfat " + Actual_Block_Device; LOGINFO("Repair command: %s\n", command.c_str()); @@ -1330,7 +1330,7 @@ bool TWPartition::Repair() { } if (!UnMount(true)) return false; - gui_msg(Msg("reparing=Repairing {1} using {2}...")(Display_Name)("fsck.f2fs")); + gui_msg(Msg("repairing_using=Repairing {1} using {2}...")(Display_Name)("fsck.f2fs")); Find_Actual_Block_Device(); command = "/sbin/fsck.f2fs " + Actual_Block_Device; LOGINFO("Repair command: %s\n", command.c_str()); @@ -1354,7 +1354,7 @@ bool TWPartition::Repair() { } if (!UnMount(true)) return false; - gui_msg(Msg("reparing=Repairing {1} using {2}...")(Display_Name)(Ntfsfix_Binary)); + gui_msg(Msg("repairing_using=Repairing {1} using {2}...")(Display_Name)(Ntfsfix_Binary)); Find_Actual_Block_Device(); command = "/sbin/" + Ntfsfix_Binary + " " + Actual_Block_Device; LOGINFO("Repair command: %s\n", command.c_str());