Messages.js 2.53 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

define(['require'], function(require) {
    'use strict';

    var Messages = {
23
        defaultErrorMessage: "Something went wrong",
24 25
        addSuccessMessage: " has been created successfully",
        addErrorMessage: " could not be Created",
26
        removeTag: "Remove Classification Assignment",
27 28
        deleteSuccessMessage: " has been deleted successfully",
        deleteErrorMessage: " could not be deleted",
29 30
        removeSuccessMessage: " has been removed successfully",
        removeErrorMessage: " could not be removed",
31
        editSuccessMessage: " has been updated successfully",
32
        assignDeletedEntity: " is deleted, Classification cannot be assigned",
33
        assignTermDeletedEntity: " is deleted, Term cannot be assigned",
34 35 36
        conformation: {
            deleteMessage: "Are you sure you want to delete "
        },
37 38
        search: {
            noRecordForPage: "No record found at ",
39
            onSamePage: "You are on the same page!",
40
            notExists: "Invalid Expression or Classification/Type has been deleted.",
41 42 43
            favoriteSearch: {
                save: "Do you want to overwrite ",
                notSelectedFavoriteElement: "Please select any one favorite search",
44
                notSelectedSearchFilter: "Please select at least one filter"
45
            }
46 47
        },
        tag: {
48 49
            addAttributeSuccessMessage: "Classification attribute is added successfully",
            updateTagDescriptionMessage: "Classification description is updated successfully"
50 51 52 53 54
        },
        glossary: {
            removeTermfromCategory: "Remove Term Assignment",
            removeTermfromEntity: "Remove Term Assignment",
            removeCategoryfromTerm: "Remove Category Assignment"
55
        }
56

57 58
    };
    return Messages;
59
});