[Zope3-checkins] CVS: Zope3/src/zope/app - size.py:1.4
Florent Guillaume
fg@nuxeo.com
Thu, 16 Jan 2003 19:02:09 -0500
Update of /cvs-repository/Zope3/src/zope/app
In directory cvs.zope.org:/tmp/cvs-serv13579
Modified Files:
size.py
Log Message:
Added XXX comment about localization.
=== Zope3/src/zope/app/size.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/size.py:1.3 Fri Dec 27 14:19:09 2002
+++ Zope3/src/zope/app/size.py Thu Jan 16 19:02:06 2003
@@ -1,4 +1,3 @@
-
##############################################################################
#
# Copyright (c) 2002 Zope Corporation and Contributors.
@@ -42,9 +41,10 @@
units, size = self._sortingSize
if units == 'byte':
return byteDisplay(size)
- return u'n/a'
+ return u'n/a' # XXX this should be localizable
def byteDisplay(size):
+ # XXX this should be localizable
if size == 0:
return '0 KB'
if size < 1024: