comparison mainwindow.cpp @ 300:5e4a10af7945

Minor layout & text changes
author Chris Cannam
date Tue, 22 Feb 2011 15:51:47 +0000
parents fd6abd505f31
children 3bb6b63420ad 6dc0a4dc6cf5
comparison
equal deleted inserted replaced
299:fd6abd505f31 300:5e4a10af7945
1592 QString head; 1592 QString head;
1593 QString report; 1593 QString report;
1594 int n = extractChangeCount(output); 1594 int n = extractChangeCount(output);
1595 if (n > 0) { 1595 if (n > 0) {
1596 head = tr("Pushed %n changeset(s)", "", n); 1596 head = tr("Pushed %n changeset(s)", "", n);
1597 report = tr("<qt>Successfully pushed to the remote repository at <code>%1</code>.</qt>").arg(xmlEncode(m_remoteRepoPath));
1597 } else if (n == 0) { 1598 } else if (n == 0) {
1598 head = tr("No changes to push"); 1599 head = tr("No changes to push");
1599 report = tr("The remote repository already contains all changes that have been committed locally."); 1600 report = tr("The remote repository already contains all changes that have been committed locally.");
1600 if (m_hgTabs->canCommit()) { 1601 if (m_hgTabs->canCommit()) {
1601 report = tr("%1<p>You do have some uncommitted changes. If you wish to push those to the remote repository, commit them locally first.").arg(report); 1602 report = tr("%1<p>You do have some uncommitted changes. If you wish to push those to the remote repository, commit them locally first.").arg(report);