[yast-commit] r52713 - /trunk/storage/storage/src/include/custom_part_lib.ycp
Author: aschnell Date: Wed Oct 29 23:16:26 2008 New Revision: 52713 URL: http://svn.opensuse.org/viewcvs/yast?rev=52713&view=rev Log: - use Storage::ByteToHumanString Modified: trunk/storage/storage/src/include/custom_part_lib.ycp Modified: trunk/storage/storage/src/include/custom_part_lib.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/custom_part_lib.ycp?rev=52713&r1=52712&r2=52713&view=diff ============================================================================== --- trunk/storage/storage/src/include/custom_part_lib.ycp (original) +++ trunk/storage/storage/src/include/custom_part_lib.ycp Wed Oct 29 23:16:26 2008 @@ -502,7 +502,7 @@ // %2 is prelaced by a size (e.g. 10 MB) Popup::Warning(sformat(_("Your partition is too small to use %1. The minimum size for this file system is %2. -"), FileSystems::GetName(fs,""), ByteToHumanStringWithZero(min_size) )); +"), FileSystems::GetName(fs,""), Storage::ByteToHumanString(min_size) )); ret = false; } } @@ -1171,7 +1171,7 @@ // error popup text Popup::Error(sformat(_("The size entered is invalid. Enter a size from 1M to %1. For example, 40M or 1G."), - ByteToHumanStringWithZero(max_size)) ); + Storage::ByteToHumanString(max_size)) ); else // error popup text Popup::Error(_("The size entered is invalid. @@ -1185,7 +1185,7 @@ // error popup text Popup::Error(sformat(_("The size entered is too large. Enter a size from 1M to %1."), - ByteToHumanStringWithZero(max_size)) ); + Storage::ByteToHumanString(max_size)) ); return( false ); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn.opensuse.org