libi2ncommon: (reinhard) just 4 fun :-) (added ZBytes and YBytes to nice_unit_format)
authorReinhard Pfau <reinhard.pfau@intra2net.com>
Fri, 20 Jun 2008 13:50:34 +0000 (13:50 +0000)
committerReinhard Pfau <reinhard.pfau@intra2net.com>
Fri, 20 Jun 2008 13:50:34 +0000 (13:50 +0000)
src/stringfunc.cpp

index 7753d96..bf6567d 100644 (file)
@@ -934,6 +934,12 @@ string nice_unit_format(int input)
       case 6:
          out << size << i18n (" EBytes");
          break;
+      case 7:
+         out << size << i18n (" ZBytes");
+         break;
+      case 8:
+         out << size << i18n (" YBytes");
+         break;
       default:
          out << size << "*10^" << (sizecount*3)<< i18n (" Bytes");
          break;