Index: Languages/Tortoise.pot
===================================================================
--- Languages/Tortoise.pot (revision 5467)
+++ Languages/Tortoise.pot (working copy)
@@ -879,7 +879,8 @@
msgstr ""
#: ID:79,
-msgid "Are you sure you want to revert? You will lose all changes since the last update!"
+#, c-format
+msgid "Are you sure you want to revert %d item(s)? You will lose all changes since the last update!"
msgstr ""
#: ID:77,
Index: src/Resources/TortoiseProcENG.rc
===================================================================
--- src/Resources/TortoiseProcENG.rc (revision 5467)
+++ src/Resources/TortoiseProcENG.rc (working copy)
@@ -1470,7 +1470,7 @@
IDS_UTILS_SELECTTEXTVIEWER "Select text editor application"
IDS_SETTINGS_CONVERTBASE_TT
"If checked, TortoiseSVN creates a temporary file of the BASE to do the diff with the keywords expanded and the lineendings adjusted."
- IDS_PROC_WARNREVERT "Are you sure you want to revert? You will lose all changes since the last update!"
+ IDS_PROC_WARNREVERT "Are you sure you want to revert %d item(s)? You will lose all changes since the last update!"
IDS_PROC_CLEANUPFINISHED "Cleanup has finished"
IDS_PROC_REPOCREATEERR "Subversion reported an error while creating a repository!\nMake sure the folder is empty and not write protected."
IDS_PROC_EXPORT_1 "Select folder to export to.\nYou might need to create a new folder before performing this export."
Index: src/SVN/SVNStatusListCtrl.cpp
===================================================================
--- src/SVN/SVNStatusListCtrl.cpp (revision 5467)
+++ src/SVN/SVNStatusListCtrl.cpp (working copy)
@@ -1734,7 +1734,10 @@
{
case IDSVNLC_REVERT:
{
- if (CMessageBox::Show(this->m_hWnd, IDS_PROC_WARNREVERT, IDS_APPNAME, MB_YESNO | MB_ICONQUESTION)==IDYES)
+ CString str;
+ str.Format(IDS_PROC_WARNREVERT,GetSelectedCount());
+
+ if (CMessageBox::Show(this->m_hWnd, str, _T("TortoiseSVN"), MB_YESNO | MB_ICONQUESTION)==IDYES)
{
CTSVNPathList targetList;
FillListOfSelectedItemPaths(targetList);