summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/count-todo-dialogs10
-rw-r--r--sfx2/source/view/view.src1
2 files changed, 9 insertions, 2 deletions
diff --git a/bin/count-todo-dialogs b/bin/count-todo-dialogs
index 27f5f3c5f981..c530e3631d8a 100755
--- a/bin/count-todo-dialogs
+++ b/bin/count-todo-dialogs
@@ -24,5 +24,13 @@ num=$(($dialogs + $tabpages))
echo An estimated additional $num .ui are required
percent=$(($converted * 100 / ($num + $converted)))
-echo We are $percent% of the way through.
+echo We are $percent% of the way through the .ui conversion.
+errorboxes=`git grep -h ErrorBox -- *.src|cut -d' ' -f2- |sort|uniq|wc -l`
+infoboxes=`git grep -h InfoBox -- *.src|cut -d' ' -f2- |sort|uniq|wc -l`
+queryboxes=`git grep -h QueryBox -- *.src|cut -d' ' -f2- |sort|uniq|wc -l`
+
+echo
+echo We need to reduce $errorboxes ErrorBox to basic strings as arguments to MessageDialog
+echo We need to reduce $infoboxes InfoBox to basic strings as arguments to MessageDialog
+echo We need to reduce $queryboxes QueryBox to basic strings as arguments to MessageDialog
diff --git a/sfx2/source/view/view.src b/sfx2/source/view/view.src
index eb2de4eb7525..7f0b599ab80b 100644
--- a/sfx2/source/view/view.src
+++ b/sfx2/source/view/view.src
@@ -78,7 +78,6 @@ InfoBox MSG_ERROR_SEND_MAIL
Message [ en-US ] = "An error occurred in sending the message. Possible errors could be a missing user account or a defective setup.\nPlease check the %PRODUCTNAME settings or your e-mail program settings." ;
};
- // QueryBoxen ------------------------------------------------------------
QueryBox MSG_QUERY_OPENASTEMPLATE
{
Buttons = WB_YES_NO ;