Author: aschnell
Date: Tue Sep 2 16:22:56 2008
New Revision: 50578
URL: http://svn.opensuse.org/viewcvs/yast?rev=50578&view=rev
Log:
- work on messages
Modified:
trunk/storage/storage/src/include/ep-lvm-dialogs.ycp
Modified: trunk/storage/storage/src/include/ep-lvm-dialogs.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-lvm-dialogs.ycp?rev=50578&r1=50577&r2=50578&view=diff
==============================================================================
--- trunk/storage/storage/src/include/ep-lvm-dialogs.ycp (original)
+++ trunk/storage/storage/src/include/ep-lvm-dialogs.ycp Tue Sep 2 16:22:56 2008
@@ -145,6 +145,18 @@
}
+ string MiniWorkflowStepVgHelptext()
+ {
+ // helptext
+ string helptext = _("<p>Enter the name and physical extent size of the new volume group.</p>");
+
+ // helptext
+ helptext = helptext + _("<p>Select the physical volumes the volume group should contain.</p>");
+
+ return helptext;
+ }
+
+
symbol MiniWorkflowStepVg(map &data)
{
y2milestone("MiniWorkflowStepVg data:%1", data);
@@ -179,7 +191,7 @@
// label for selection box
_("Selected Physical Volumes:")));
- MiniWorkflow::SetContents(Greasemonkey::Transform(contents), "TODO help");
+ MiniWorkflow::SetContents(Greasemonkey::Transform(contents), MiniWorkflowStepVgHelptext());
MiniWorkflow::SetLastStep(true);
symbol widget = nil;
@@ -229,6 +241,15 @@
}
+ string MiniWorkflowStepResizeVgHelptext()
+ {
+ // helptext
+ string helptext = _("TODO");
+
+ return helptext;
+ }
+
+
symbol MiniWorkflowStepResizeVg(map &data)
{
y2milestone("MiniWorkflowStepResizeVg data:%1", data);
@@ -248,7 +269,7 @@
_("Available Physical Volumes:"),
_("Selected Physical Volumes:")));
- MiniWorkflow::SetContents(Greasemonkey::Transform(contents), "TODO help");
+ MiniWorkflow::SetContents(Greasemonkey::Transform(contents), MiniWorkflowStepResizeVgHelptext());
MiniWorkflow::SetLastStep(true);
symbol widget = nil;
@@ -308,6 +329,15 @@
}
+ string MiniWorkflowStepLvSizeHelptext()
+ {
+ // helptext
+ string helptext = _("<p>Enter the size of the new logical volume.</p>");
+
+ return helptext;
+ }
+
+
symbol MiniWorkflowStepLvSize(map &data)
{
y2milestone("MiniWorkflowStepLvSize data:%1", data);
@@ -358,7 +388,7 @@
term contents = `HVSquash(frames);
- MiniWorkflow::SetContents(Greasemonkey::Transform(contents), "TODO help");
+ MiniWorkflow::SetContents(Greasemonkey::Transform(contents), MiniWorkflowStepLvSizeHelptext());
MiniWorkflow::SetLastStep(false);
UI::ChangeWidget(`id(`size), `Value, what);
@@ -459,6 +489,15 @@
}
+ string MiniWorkflowStepLvNameHelptext()
+ {
+ // helptext
+ string helptext = _("<p>Enter the name of the new logical volume.</p>");
+
+ return helptext;
+ }
+
+
symbol MiniWorkflowStepLvName(map &data)
{
y2milestone("MiniWorkflowStepLvName data:%1", data);
@@ -477,7 +516,7 @@
)
);
- MiniWorkflow::SetContents(Greasemonkey::Transform(contents), "TODO help");
+ MiniWorkflow::SetContents(Greasemonkey::Transform(contents), MiniWorkflowStepLvNameHelptext());
MiniWorkflow::SetLastStep(false);
symbol widget = nil;
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org