fixes for i18n

This commit is contained in:
David J Drewelow 2007-01-03 10:45:34 +00:00
parent 8f013b75bd
commit cc8e068485

View file

@ -20,9 +20,9 @@ textdomain "yast2-apparmor";
define any DeleteProfileConfirmation() {
string profilename = Settings["CURRENT_PROFILE"]:"";
if (Popup::YesNoHeadline( _("Delete profile confirmation"), _("Are you
sure you want to delete the profile ")
+ profilename + _(" ?\nAfter this operation the AppArmor module will reload the profile set.") ) ) {
if (Popup::YesNoHeadline( _("Delete profile confirmation"),
_("Are you sure you want to delete the profile ") + profilename +
_(" ?\nAfter this operation the AppArmor module will reload the profile set.") ) ) {
y2milestone("Deleted " + profilename );
boolean result = SCR::Write(.subdomain_profiles.delete, profilename);
any result2 = SCR::Write(.subdomain_profiles.reload, "-");
@ -37,7 +37,9 @@ define any MainSequence() ``{
map profiles = (map) SCR::Read (.subdomain_profiles, "all");
map aliases = $[
"chooseprofile" : ``(SelectProfileForm(profiles, _("Please make a selection from the listed profiles and press Next to delete the profile.<p>"), _("Delete Profile - Choose profile to delete"), "subdomain/delete_profile")),
"chooseprofile" : ``(SelectProfileForm(profiles, _("Please make a
selection from the listed profiles and press Next to delete the profile.<p>"),
_("Delete Profile - Choose profile to delete"), "subdomain/delete_profile")),
"deleteprofile" : ``(DeleteProfileConfirmation()),
];