diff options
author | Greg Wallace <greg@gregtwallace.com> | 2015-12-29 20:19:21 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2016-01-04 14:29:15 +0100 |
commit | 2d65340c0f5e72b21384f4aa8c19ae2715bcb4ab (patch) | |
tree | 1f8a70a6ba822961573b955be60f711fede28a41 | |
parent | gui: Fix typo of formatting_using message (diff) | |
download | android_bootable_recovery-2d65340c0f5e72b21384f4aa8c19ae2715bcb4ab.tar android_bootable_recovery-2d65340c0f5e72b21384f4aa8c19ae2715bcb4ab.tar.gz android_bootable_recovery-2d65340c0f5e72b21384f4aa8c19ae2715bcb4ab.tar.bz2 android_bootable_recovery-2d65340c0f5e72b21384f4aa8c19ae2715bcb4ab.tar.lz android_bootable_recovery-2d65340c0f5e72b21384f4aa8c19ae2715bcb4ab.tar.xz android_bootable_recovery-2d65340c0f5e72b21384f4aa8c19ae2715bcb4ab.tar.zst android_bootable_recovery-2d65340c0f5e72b21384f4aa8c19ae2715bcb4ab.zip |
-rw-r--r-- | gui/devices/common/res/languages/en.xml | 1 | ||||
-rwxr-xr-x | gui/theme/common/languages/en.xml | 1 | ||||
-rw-r--r-- | partition.cpp | 10 |
3 files changed, 7 insertions, 5 deletions
diff --git a/gui/devices/common/res/languages/en.xml b/gui/devices/common/res/languages/en.xml index 28b5ec5dd..84b8c1e7f 100644 --- a/gui/devices/common/res/languages/en.xml +++ b/gui/devices/common/res/languages/en.xml @@ -118,6 +118,7 @@ <string name="flash_done">IMAGE FLASH COMPLETED]</string> <string name="wiping">Wiping {1}</string> <string name="repair_not_exist">{1} does not exist! Cannot repair!</string> + <string name="repairing_using">Repairing {1} using {2}...</string> <string name="unable_repair">Unable to repair {1}.</string> <string name="mount_data_footer">Could not mount /data and unable to find crypto footer.</string> <!-- {1} is the folder name that we could not create, {2} is strerror output --> diff --git a/gui/theme/common/languages/en.xml b/gui/theme/common/languages/en.xml index cb5c79265..4b76c0ed4 100755 --- a/gui/theme/common/languages/en.xml +++ b/gui/theme/common/languages/en.xml @@ -558,6 +558,7 @@ <string name="flash_done">[IMAGE FLASH COMPLETED]</string> <string name="wiping">Wiping {1}</string> <string name="repair_not_exist">{1} does not exist! Cannot repair!</string> + <string name="repairing_using">Repairing {1} using {2}...</string> <string name="unable_repair">Unable to repair {1}.</string> <string name="mount_data_footer">Could not mount /data and unable to find crypto footer.</string> <!-- {1} is the folder name that we could not create, {2} is strerror output --> diff --git a/partition.cpp b/partition.cpp index f575dcc34..2f37d6f89 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()); |