Skip to content

Commit

Permalink
Fixed the body for newly created score
Browse files Browse the repository at this point in the history
  • Loading branch information
Eism committed Feb 14, 2023
1 parent 98f9b51 commit 9cb2d53
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/project/internal/projectactionscontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -993,9 +993,11 @@ void ProjectActionsController::warnCorruptedScoreCannotBeSavedLocally(const Save
bool newlyCreated)
{
std::string title = trc("project", "This score has become corrupted and contains errors");
std::string body = trc("project", "You can continue saving it locally, although the file may become unusable. "
"To preserve your score, revert to the last saved version, or fix the errors manually. "
"You can also get help for this issue on musescore.org.");
std::string body = newlyCreated ? trc("project", "You can continue saving it locally, although the file may become unusable. "
"You can try to fix the errors manually, or get help for this issue on musescore.org.")
: trc("project", "You can continue saving it locally, although the file may become unusable. "
"To preserve your score, revert to the last saved version, or fix the errors manually. "
"You can also get help for this issue on musescore.org.");

IInteractive::ButtonDatas buttons;
buttons.push_back(interactive()->buttonData(IInteractive::Button::Cancel));
Expand Down

0 comments on commit 9cb2d53

Please sign in to comment.