AppMessages.js revision 692a3ba4c94e1b157797c47cb7bd8cb1c5f6004e
0N/A/**
0N/A * The contents of this file are subject to the terms of the Common Development and
0N/A * Distribution License (the License). You may not use this file except in compliance with the
0N/A * License.
0N/A *
0N/A * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
0N/A * specific language governing permission and limitations under the License.
0N/A *
0N/A * When distributing Covered Software, include this CDDL Header Notice in each file and include
0N/A * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
0N/A * Header, with the fields enclosed by brackets [] replaced by your own identifying
0N/A * information: "Portions copyright [year] [name of copyright owner]".
0N/A *
0N/A * Copyright 2015 ForgeRock AS.
0N/A */
0N/A
0N/A
0N/Adefine("config/AppMessages", [
0N/A], function () {
0N/A return {
0N/A /**
0N/A * Common Messages.
0N/A */
0N/A "invalidRealm": {
0N/A msg: "config.messages.AppMessages.invalidRealm",
0N/A type: "error"
0N/A },
0N/A "duplicateRealm": {
0N/A msg: "config.messages.AppMessages.duplicateRealm",
0N/A type: "error"
0N/A },
0N/A "deleteFail": {
0N/A msg: "config.messages.AppMessages.deleteFail",
0N/A type: "error"
0N/A },
0N/A "changesSaved": {
0N/A msg: "config.messages.AppMessages.changesSaved",
0N/A type: "info"
0N/A },
0N/A "invalidItem": {
0N/A msg: "config.messages.AppMessages.invalidItem",
0N/A type: "error"
0N/A },
0N/A "duplicateItem": {
0N/A msg: "config.messages.AppMessages.duplicateItem",
0N/A type: "error"
0N/A },
0N/A "errorNoName": {
0N/A msg: "config.messages.AdminMessages.policies.error.noName",
0N/A type: "error"
0N/A },
0N/A "errorCantStartWithHash": {
0N/A msg: "config.messages.AdminMessages.policies.error.cantStartWithHash",
0N/A type: "error"
0N/A },
0N/A
0N/A /**
0N/A * UMA Messages.
0N/A */
0N/A "policyCreatedSuccess": {
0N/A msg: "uma.share.messages.success",
0N/A type: "info"
0N/A },
0N/A "policyCreatedFail": {
0N/A msg: "uma.share.messages.fail",
0N/A type: "error"
0N/A },
0N/A "unshareAllResourcesSuccess": {
0N/A msg: "uma.resources.myresources.unshareAllResources.messages.success",
0N/A type: "info"
0N/A },
0N/A "unshareAllResourcesFail": {
0N/A msg: "uma.resources.myresources.unshareAllResources.messages.fail",
0N/A type: "error"
0N/A },
0N/A "revokeAllPoliciesSuccess": {
0N/A msg: "uma.resources.show.revokeAllPoliciesSuccess",
0N/A type: "info"
0N/A },
0N/A "revokeAllPoliciesFail": {
0N/A msg: "uma.resources.show.revokeAllPoliciesFail",
0N/A type: "error"
0N/A },
0N/A "revokePolicySuccess": {
0N/A msg: "uma.resources.show.revokePolicySuccess",
0N/A type: "info"
0N/A },
0N/A "revokePolicyFail": {
0N/A msg: "uma.resources.show.revokePolicyFail",
0N/A type: "error"
0N/A },
0N/A "deleteLabelSuccess": {
0N/A msg: "uma.resources.myLabels.deleteLabel.messages.success",
0N/A type: "info"
0N/A },
0N/A "deleteLabelFail": {
0N/A msg: "uma.resources.myLabels.deleteLabel.messages.fail",
0N/A type: "error"
0N/A },
0N/A
0N/A /**
0N/A * Scripts messages.
0N/A */
0N/A "scriptErrorNoName": {
0N/A msg: "config.messages.AdminMessages.scripts.error.noName",
0N/A type: "error"
0N/A },
0N/A "scriptErrorNoLanguage": {
0N/A msg: "config.messages.AdminMessages.scripts.error.noLanguage",
0N/A type: "error"
0N/A },
0N/A
0N/A /**
0N/A * Policies messages.
0N/A */
0N/A "applicationErrorNoResourceTypes": {
0N/A msg: "config.messages.AdminMessages.policies.error.noResourceTypes",
0N/A type: "error"
0N/A },
0N/A "policyErrorNoResources": {
0N/A msg: "config.messages.AdminMessages.policies.error.noResources",
0N/A type: "error"
0N/A },
0N/A "resTypeErrorNoPatterns": {
0N/A msg: "config.messages.AdminMessages.policies.error.noPatterns",
0N/A type: "error"
0N/A },
0N/A "resTypeErrorNoActions": {
0N/A msg: "config.messages.AdminMessages.policies.error.noActions",
0N/A type: "error"
0N/A }
0N/A };
0N/A});
0N/A