Mercurial > hg > easyhg
diff filestatuswidget.cpp @ 202:3d4291d4226c
* Treat command failure on hg heads as a success, so that following actions happen properly (hg heads fails on empty repo)
* Hide no-modifications-yet label when widget is first created, show it only if it would actually be true
* Set directory name to window title
* Various textual fixes
author | Chris Cannam |
---|---|
date | Tue, 04 Jan 2011 14:31:22 +0000 |
parents | f16fe0db11f3 |
children | c77c4d00a4fe |
line wrap: on
line diff
--- a/filestatuswidget.cpp Tue Jan 04 12:42:28 2011 +0000 +++ b/filestatuswidget.cpp Tue Jan 04 14:31:22 2011 +0000 @@ -70,8 +70,17 @@ ++row; m_noModificationsLabel = new QLabel - (tr("You have no uncommitted changes.")); + (tr("<qt>This area will list files in your working folder that you have changed.<br>At the moment you have no uncommitted changes.<br><br>To see changes made to the repository previously,<br>switch to the History tab.<br><br>%1</qt>") +#if defined Q_OS_MAC + .arg(tr("To open the working folder in Finder,<br>click on the “Local” folder path shown above.")) +#elif defined Q_OS_WIN32 + .arg(tr("To open the working folder in Windows Explorer,<br>click on the “Local” folder path shown above.")) +#else + .arg(tr("To open the working folder in your system file manager,<br>click the “Local” folder path shown above.")) +#endif + ); layout->addWidget(m_noModificationsLabel, row, 1, 1, 2); + m_noModificationsLabel->hide(); m_simpleLabels[FileStates::Clean] = tr("Unmodified:"); m_simpleLabels[FileStates::Modified] = tr("Modified:");