[Libreoffice-commits] core.git: bin/count-todo-dialogs

Michael Meeks michael.meeks at collabora.com
Mon Jan 20 08:21:07 PST 2014


 bin/count-todo-dialogs |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 88ca84d56113fa5228a1fd9297d7c16fdafa7c47
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Mon Jan 20 16:20:32 2014 +0000

    Add a %age completion.
    
    Change-Id: I6066d42abddcefc9d7fe4bd19477a11294b138b2

diff --git a/bin/count-todo-dialogs b/bin/count-todo-dialogs
index fdb6fbb..27f5f3c 100755
--- a/bin/count-todo-dialogs
+++ b/bin/count-todo-dialogs
@@ -22,3 +22,7 @@ echo There are $tabpages unconverted tabpages
 
 num=$(($dialogs + $tabpages))
 echo An estimated additional $num .ui are required
+
+percent=$(($converted * 100 / ($num + $converted)))
+echo We are $percent% of the way through.
+


More information about the Libreoffice-commits mailing list