Messages.js 2.19 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 Tag 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, tag cannot be assigned",
33 34 35
        conformation: {
            deleteMessage: "Are you sure you want to delete "
        },
36 37
        search: {
            noRecordForPage: "No record found at ",
38
            onSamePage: "You are on the same page!",
39
            notExists: "Invalid Expression or Tag/Type has been deleted.",
40 41 42
            favoriteSearch: {
                save: "Do you want to overwrite ",
                notSelectedFavoriteElement: "Please select any one favorite search",
43
                notSelectedSearchFilter: "Please select at least one filter"
44
            }
45 46 47
        },
        tag: {
            addAttributeSuccessMessage: "Tag attribute is added successfully",
48
            updateTagDescriptionMessage: "Tag description is updated successfully"
49
        }
50 51
    };
    return Messages;
52
});