[yast-commit] r53000 - /trunk/storage/storage/src/include/ep-dialogs.ycp
Author: aschnell Date: Thu Nov 6 16:08:06 2008 New Revision: 53000 URL: http://svn.opensuse.org/viewcvs/yast?rev=53000&view=rev Log: - added some translator comments Modified: trunk/storage/storage/src/include/ep-dialogs.ycp Modified: trunk/storage/storage/src/include/ep-dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-dialogs.ycp?rev=53000&r1=52999&r2=53000&view=diff ============================================================================== --- trunk/storage/storage/src/include/ep-dialogs.ycp (original) +++ trunk/storage/storage/src/include/ep-dialogs.ycp Thu Nov 6 16:08:06 2008 @@ -523,6 +523,7 @@ integer size_k = data["size_k"]:0; + // minimal and maximal size for volume integer min_size_k = Integer::Min([ used_k + min_free_k, size_k ]); integer max_size_k = 0; @@ -557,34 +558,32 @@ { case `primary: case `logical: - - //FIXME: add special case for Windows part. + // Labels for bar graph. "%1" will be replace with a size value. used = sformat(_("Used\nSpace\n%1 "), Storage::KByteToHumanString(values_k[0]:0)); - if (used_fs == `swap) + // Labels for bar graph. "%1" will be replace with a size value. free = sformat(_("Swap\nSpace\n%1 "), Storage::KByteToHumanString(values_k[1]:0)); else + // Labels for bar graph. "%1" will be replace with a size value. free = sformat(_("Free\nSpace\n%1 "), Storage::KByteToHumanString(values_k[1]:0)); - + // Labels for bar graph. "%1" will be replace with a size value. available = sformat(_("Unused\nDisk\n%1 "), Storage::KByteToHumanString(values_k[2]:0)); - break; case `lvm: - - // Labels for bar graph. "%1" will be replace with a numeric value. + // Labels for bar graph. "%1" will be replace with a size value. used = sformat(_("LV\nUsed\n%1"), Storage::KByteToHumanString(values_k[0]:0)); - // Labels for bar graph. "%1" will be replace with a numeric value. + // Labels for bar graph. "%1" will be replace with a size value. free = sformat(_("LV\nFree\n%1"), Storage::KByteToHumanString(values_k[1]:0)); - // Labels for bar graph. "%1" will be replace with a numeric value. + // Labels for bar graph. "%1" will be replace with a size value. available = sformat(_("VG\nFree\n%1"), Storage::KByteToHumanString(values_k[2]:0)); - break; } return [ used, free, available ]; } + string FreeSpaceLabel() { if (used_fs == `swap) -- 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