MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / backupErrorMessage

Function backupErrorMessage

switch/source/MainScreen.cpp:105–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 constexpr int BTN_TRANSFER_Y = 466;
104
105 std::string backupErrorMessage(io::BackupStage stage)
106 {
107 switch (stage) {
108 case io::BackupStage::OpenArchive:
109 return i18n::t("outcome.mount");
110 case io::BackupStage::DeleteDst:
111 return i18n::t("outcome.delete_dst");
112 case io::BackupStage::CreateDst:
113 return i18n::t("outcome.create_dst");
114 default:
115 return i18n::t("outcome.backup_failed");
116 }
117 }
118
119 std::string restoreErrorMessage(io::BackupStage stage)
120 {

Callers 1

updateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected