AppMessages.js revision eab81b0e06f3d98b67096d29cb726d674771b99f
/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2015 ForgeRock AS.
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* http://forgerock.org/license/CDDLv1.0.html
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at http://forgerock.org/license/CDDLv1.0.html
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*/
/*global define*/
define("config/AppMessages", [
], function () {
return {
/**
* Common Messages.
*/
"invalidRealm": {
msg: "config.messages.AppMessages.invalidRealm",
type: "error"
},
"duplicateRealm": {
msg: "config.messages.AppMessages.duplicateRealm",
type: "error"
},
"deleteFail": {
msg: "config.messages.AppMessages.deleteFail",
type: "error"
},
"changesSaved": {
msg: "config.messages.AppMessages.changesSaved",
type: "info"
},
/**
* UMA Messages.
*/
"policyCreatedSuccess": {
msg: "uma.share.messages.success",
type: "info"
},
"policyCreatedFail": {
msg: "uma.share.messages.fail",
type: "error"
},
"revokeAllResourcesSuccess": {
msg: "uma.resources.list.revokeAllResourcesSuccess",
type: "info"
},
"revokeAllResourcesFail": {
msg: "uma.resources.list.revokeAllResourcesFail",
type: "error"
},
"revokeAllPoliciesSuccess": {
msg: "uma.resources.show.revokeAllPoliciesSuccess",
type: "info"
},
"revokeAllPoliciesFail": {
msg: "uma.resources.show.revokeAllPoliciesFail",
type: "error"
},
"revokePolicySuccess": {
msg: "uma.resources.show.revokePolicySuccess",
type: "info"
},
"revokePolicyFail": {
msg: "uma.resources.show.revokePolicyFail",
type: "error"
},
/**
* Scripts messages.
*/
"scriptErrorNoName": {
msg: "config.messages.AdminMessages.scripts.error.noName",
type: "error"
},
"scriptErrorNoLanguage": {
msg: "config.messages.AdminMessages.scripts.error.noLanguage",
type: "error"
}
/**
* Policies messages.
*/
// TODO policy messages will go here
};
});