Index: releases.py
===================================================================
--- releases.py	(revision 253)
+++ releases.py	(working copy)
@@ -123,6 +123,7 @@
 
                             (ig1, ig2, pot_size, potmsgs) = self.get_stats_for_module(modid, trdomain, branch, None, 'ui')
                             un = pot_size - tr - fz # XXX
+			    if ( un < 0 ) un=0;
                             if pot_size:
                                 perc = { 'translated' : 100*tr/pot_size, 'fuzzy' : 100*fz/pot_size, 'untranslated' : 100*un/pot_size }
                             else:
@@ -149,6 +150,7 @@
                                                                                    }
                         if mypot:
                             myun = mypot - mytr - myfz # XXX
+			    if ( un < 0 ) un=0; 
                             ui_supp = "%.0f" % (100.0*mytr/mypot)
                             ui_percentages = { 'translated': 100*mytr/mypot, 'fuzzy': 100*myfz/mypot, 'untranslated': 100*myun/mypot }
                         else:
@@ -171,7 +173,8 @@
 
                             (ig1, ig2, pot_size, potmsgs) = self.get_stats_for_module(modid, document, branch, None, 'doc')
                             un = pot_size - tr - fz # XXX
-                            if pot_size:
+                            if ( un < 0 ) un=0;
+			    if pot_size:
                                 perc = { 'translated' : 100*tr/pot_size, 'fuzzy' : 100*fz/pot_size, 'untranslated' : 100*un/pot_size }
                             else:
                                 continue
@@ -192,6 +195,7 @@
                                                                          }
                         if mypot:
                             myun = mypot - mytr - myfz # XXX
+			    if ( un < 0 ) un=0;
                             doc_supp = "%.0f" % (100.0*mytr/mypot)
                             doc_percentages = { 'translated': 100*mytr/mypot, 'fuzzy': 100*myfz/mypot, 'untranslated': 100*myun/mypot }
                         else:
@@ -249,6 +253,7 @@
 
                         if pot:
                             un = pot - tr - fz # XXX
+			    if ( un < 0 ) un=0;
                             ui_supp = "%.0f" % (100.0*tr/pot)
                             ui_percentages = { 'translated': 100*tr/pot, 'fuzzy': 100*fz/pot, 'untranslated': 100*un/pot }
                         else:
@@ -257,6 +262,7 @@
 
                         if dpot:
                             dun = dpot - dtr - dfz # XXX
+			    if ( dun < 0 ) dun=0;
                             doc_supp = "%.0f" % (100.0*dtr/dpot)
                             doc_percentages = { 'translated': 100*dtr/dpot, 'fuzzy': 100*dfz/dpot, 'untranslated': 100*dun/dpot }
                         else:
@@ -281,6 +287,7 @@
 
             if ui_size:
                 totalun = ui_size - totaltr - totalfz # XXX
+		if (totalun < 0 ) totalun = 0;
                 ui_supp = "%.0f" % (100.0*totaltr/ui_size)
                 ui_percentages = {
                     'translated': 100*totaltr/ui_size,
@@ -297,6 +304,7 @@
 
             if doc_size:
                 dtotalun = doc_size - dtotaltr - dtotalfz # XXX
+		if (dtotalun < 0 ) dtotalun = 0;
                 doc_supp = "%.0f" % (100.0*dtotaltr/doc_size)
                 doc_percentages = {
                     'translated': 100*dtotaltr/doc_size,
