[yast-commit] r64369 - in /trunk/cluster/src: cluster.desktop dialogs.ycp
Author: xwhu Date: Wed Jun 15 05:21:40 2011 New Revision: 64369 URL: http://svn.opensuse.org/viewcvs/yast?rev=64369&view=rev Log: Move the YaST module into High_Availability category With minor UI update Modified: trunk/cluster/src/cluster.desktop trunk/cluster/src/dialogs.ycp Modified: trunk/cluster/src/cluster.desktop URL: http://svn.opensuse.org/viewcvs/yast/trunk/cluster/src/cluster.desktop?rev=64369&r1=64368&r2=64369&view=diff ============================================================================== --- trunk/cluster/src/cluster.desktop (original) +++ trunk/cluster/src/cluster.desktop Wed Jun 15 05:21:40 2011 @@ -1,6 +1,6 @@ [Desktop Entry] Type=Application -Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Misc; +Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-High_Availability; X-KDE-ModuleType=Library X-KDE-RootOnly=true @@ -8,7 +8,7 @@ X-KDE-Library=yast2 X-SuSE-YaST-Call=cluster -X-SuSE-YaST-Group=Misc +X-SuSE-YaST-Group=High_Availability X-SuSE-YaST-Argument= X-SuSE-YaST-RootOnly=true X-SuSE-YaST-AutoInst= Modified: trunk/cluster/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/cluster/src/dialogs.ycp?rev=64369&r1=64368&r2=64369&view=diff ============================================================================== --- trunk/cluster/src/dialogs.ycp (original) +++ trunk/cluster/src/dialogs.ycp Wed Jun 15 05:21:40 2011 @@ -376,8 +376,7 @@ if (result["exit"]:-1 != 0) { Popup::Message("Failed to create /etc/corosync/authkey"); } else { - //Popup::Message(result["stdout"]:"Create /etc/corosync/authkey successed"); - Popup::Message("Create /etc/corosync/authkey successed"); + Popup::Message("Create /etc/corosync/authkey succeeded"); } continue; } @@ -735,7 +734,7 @@ } if (ret == `host_add) { - ret = text_input_dialog(_("Input a new host"), ""); + ret = text_input_dialog(_("Enter a hostname"), ""); if (ret == `cancel) continue; Cluster::csync2_host = add(Cluster::csync2_host, (string)ret); } @@ -745,7 +744,7 @@ string str = ""; current = (integer)UI::QueryWidget(`host_box, `CurrentItem); - ret = text_input_dialog(_("Edit a host"), Cluster::csync2_host[current]:""); + ret = text_input_dialog(_("Edit the hostname"), Cluster::csync2_host[current]:""); if (ret == `cancel) continue; Cluster::csync2_host[current] = (string)ret; } @@ -757,7 +756,7 @@ } if (ret == `include_add) { - ret = text_input_dialog(_("Input a new sync file"), ""); + ret = text_input_dialog(_("Enter a filename to synchronize"), ""); if (ret == `cancel) continue; Cluster::csync2_include = add(Cluster::csync2_include, (string)ret); } @@ -766,7 +765,7 @@ integer current = 0; current = (integer)UI::QueryWidget(`include_box, `CurrentItem); - ret = text_input_dialog(_("Edit a sync file"), Cluster::csync2_include[current]:""); + ret = text_input_dialog(_("Edit the filename"), Cluster::csync2_include[current]:""); if (ret == `cancel) continue; Cluster::csync2_include[current] = (string)ret; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
xwhu@svn2.opensuse.org