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

Function backupErrorMessage

switch/source/MainScreen.cpp:112–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110 constexpr int BTN_TRANSFER_Y = 466;
111
112 std::string backupErrorMessage(io::BackupStage stage)
113 {
114 switch (stage) {
115 case io::BackupStage::OpenArchive:
116 return i18n::t("outcome.mount");
117 case io::BackupStage::DeleteDst:
118 return i18n::t("outcome.delete_dst");
119 case io::BackupStage::CreateDst:
120 return i18n::t("outcome.create_dst");
121 default:
122 return i18n::t("outcome.backup_failed");
123 }
124 }
125
126 std::string restoreErrorMessage(io::BackupStage stage)
127 {

Callers 1

updateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected