comparison mainwindow.cpp @ 304:031dddcd967f status_outside_tabs

Merge from the default branch
author Chris Cannam
date Tue, 22 Feb 2011 15:57:09 +0000
parents 3bb6b63420ad bb4702918ba6
children b280a2dc0512
comparison
equal deleted inserted replaced
301:3bb6b63420ad 304:031dddcd967f
1617 QString head; 1617 QString head;
1618 QString report; 1618 QString report;
1619 int n = extractChangeCount(output); 1619 int n = extractChangeCount(output);
1620 if (n > 0) { 1620 if (n > 0) {
1621 head = tr("Pulled %n changeset(s)", "", n); 1621 head = tr("Pulled %n changeset(s)", "", n);
1622 report = tr("New changes will be highlighted in the history. Update to bring these changes into your working copy."); 1622 report = tr("The new changes will be highlighted in the history.<br>Use Update to bring these changes into your working copy.");
1623 } else if (n == 0) { 1623 } else if (n == 0) {
1624 head = tr("No changes to pull"); 1624 head = tr("No changes to pull");
1625 report = tr("Your local repository already contains all changes found in the remote repository."); 1625 report = tr("Your local repository already contains all changes found in the remote repository.");
1626 } else { 1626 } else {
1627 head = tr("Pull complete"); 1627 head = tr("Pull complete");
1985 break; 1985 break;
1986 1986
1987 case ACT_MERGE: 1987 case ACT_MERGE:
1988 MoreInformationDialog::information 1988 MoreInformationDialog::information
1989 (this, tr("Merge"), tr("Merge successful"), 1989 (this, tr("Merge"), tr("Merge successful"),
1990 tr("The merge succeeded. Remember to commit the result!"), 1990 tr("Remember to test and commit the result before making any further changes."),
1991 output); 1991 output);
1992 m_shouldHgStat = true; 1992 m_shouldHgStat = true;
1993 m_justMerged = true; 1993 m_justMerged = true;
1994 break; 1994 break;
1995 1995
1996 case ACT_RETRY_MERGE: 1996 case ACT_RETRY_MERGE:
1997 QMessageBox::information(this, tr("Resolved"), 1997 QMessageBox::information(this, tr("Resolved"),
1998 tr("<qt><h3>Merge resolved</h3><p>Merge resolved successfully.</p>")); 1998 tr("<qt><h3>Merge resolved</h3><p>Merge resolved successfully.<br>Remember to test and commit the result before making any further changes.</p>"));
1999 m_shouldHgStat = true; 1999 m_shouldHgStat = true;
2000 m_justMerged = true; 2000 m_justMerged = true;
2001 break; 2001 break;
2002 2002
2003 default: 2003 default: