diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-15 16:54:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-15 17:03:00 +0100 |
commit | ab2b2971c161f46a89f5481bf6092c4ea82be61c (patch) | |
tree | 66778c08a31b02767a20b211acfa1000159e94ab /bin/count-todo-dialogs | |
parent | 748ed65ffba9d69ed333fd1347c30dd7a3a944b8 (diff) |
display amount of *Box elements remaining in .src format
Change-Id: I33614c44cbe58ec0945406691bc38bafafc24923
Diffstat (limited to 'bin/count-todo-dialogs')
-rwxr-xr-x | bin/count-todo-dialogs | 10 |
1 files changed, 9 insertions, 1 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 |