[yast-commit] r43990 - in /trunk/sudo/src: dialog-spec.ycp dialogs.ycp helps.ycp
Author: kmachalkova Date: Wed Jan 30 10:29:50 2008 New Revision: 43990 URL: http://svn.opensuse.org/viewcvs/yast?rev=43990&view=rev Log: wording Modified: trunk/sudo/src/dialog-spec.ycp trunk/sudo/src/dialogs.ycp trunk/sudo/src/helps.ycp Modified: trunk/sudo/src/dialog-spec.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/dialog-spec.ycp?rev=43990&r1=43989&r2=43990&view=diff ============================================================================== --- trunk/sudo/src/dialog-spec.ycp (original) +++ trunk/sudo/src/dialog-spec.ycp Wed Jan 30 10:29:50 2008 @@ -30,10 +30,10 @@ list <string> run_as = (list <string>) merge(Sudo::all_users, Sudo::GetAliasNames("run_as")); if (what == "Add") { - caption = _("New User Specification"); + caption = _("New Sudo Rule"); //Setting default values } else if (what == "Edit") { - caption = _("Existing User Specification"); + caption = _("Existing Sudo Rule "); spec = Sudo::GetUserSpecMember(current_spec_idx); commands = spec["commands"]:[]; } Modified: trunk/sudo/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/dialogs.ycp?rev=43990&r1=43989&r2=43990&view=diff ============================================================================== --- trunk/sudo/src/dialogs.ycp (original) +++ trunk/sudo/src/dialogs.ycp Wed Jan 30 10:29:50 2008 @@ -99,7 +99,7 @@ boolean confirm_delete = true; if(Sudo::SearchUserSpec("host",current_alias_name)) { - if (!Popup::ContinueCancel (sformat(_("Host alias %1 is being used in one of the user specifications. + if (!Popup::ContinueCancel (sformat(_("Host alias %1 is being used in one of sudo rules. Deleting it may result in an inconsistent sudo configuration file. Really delete it ? "), current_alias_name))) confirm_delete = false; @@ -143,7 +143,7 @@ boolean confirm_delete = true; if(Sudo::SearchUserSpec("user",current_alias_name)) { - if ( !Popup::ContinueCancel (sformat(_("User alias %1 is being used in one of the user specifications. + if ( !Popup::ContinueCancel (sformat(_("User alias %1 is being used in one of sudo rules . Deleting it may result in an inconsistent sudo configuration file. Really delete it ? "), current_alias_name))) confirm_delete = false; @@ -186,7 +186,7 @@ boolean confirm_delete = true; if(Sudo::SearchUserSpec("run_as","(" + current_alias_name + ")")) { - if (!Popup::ContinueCancel (sformat(_("RunAs alias %1 is being used in one of the user specifications. + if (!Popup::ContinueCancel (sformat(_("RunAs alias %1 is being used in one of sudo rules. Deleting it may result in an inconsistent sudo configuration file. Really delete it ? "), current_alias_name))) confirm_delete = false; @@ -231,7 +231,7 @@ boolean confirm_delete = true; if(Sudo::SearchUserSpec("commands",current_alias_name)) { - if (!Popup::ContinueCancel (sformat(_("Command alias %1 is being used in one of the user specifications. + if (!Popup::ContinueCancel (sformat(_("Command alias %1 is being used in one of sudo rules. Deleting it may result in an inconsistent sudo configuration file. Really delete it ? "), current_alias_name))) confirm_delete = false; @@ -322,7 +322,7 @@ ) ), "caption" : sudo_caption + ": " + _("Rules for sudo"), - "tree_item_label" : _("User Specification"), + "tree_item_label" : _("Rules for sudo "), "widget_names" : ["UserSpecifications"], ], "user_aliases" : $[ Modified: trunk/sudo/src/helps.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/sudo/src/helps.ycp?rev=43990&r1=43989&r2=43990&view=diff ============================================================================== --- trunk/sudo/src/helps.ycp (original) +++ trunk/sudo/src/helps.ycp Wed Jan 30 10:29:50 2008 @@ -58,9 +58,9 @@ </p> "), /* User Specification help 1/6 */ - "spec" : _("<p><b><big>User Specification</big></b><br> - User specification basically determines which commands an user may run - on specified hosts (optionally also as what user). Each user specification + "spec" : _("<p><b><big>Rules for sudo</big></b><br> + Rules for sudo basically determine which commands an user may run + on specified hosts (optionally also as what user). Each rule is a tuple consisting of user, host and list of commands, with optional RunAs specification and additional tags. These are summarized in the following table. @@ -85,12 +85,12 @@ </p> ") + /* User Specification help 5/6 */ - _("<p> To add a new specification, click on <b>Add</b> button and fill in appropriate + _("<p> To add a new rule, click on <b>Add</b> button and fill in appropriate entries. User name, hostname and command list must not be empty. </p> ") + /* User Specification help 5/6 */ - _("<p>To edit existing specification, select an entry from the table and click on + _("<p>To edit existing rule, select an entry from the table and click on <b>Edit</b> button. To delete selected entry, click on <b>Delete</b> button. </p> "), -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kmachalkova@svn.opensuse.org