define([ "require" ], function(require) { "use strict"; var Messages = { defaultErrorMessage: "发生了错误", addSuccessMessage: " 创建成功", addErrorMessage: " 不能被创建", removeTag: "删除与分类的关联", deleteSuccessMessage: " 删除成功", deleteErrorMessage: " 不能被移除", removeSuccessMessage: " 已成功删除", removeErrorMessage: " 不能被移除", editSuccessMessage: " 已成功更新", assignDeletedEntity: "已被删除,分类无法进行关联", assignTermDeletedEntity: "已被删除,术语无法进行关联", conformation: { deleteMessage: "是否确认删除 " }, search: { noRecordForPage: "没有找到对应数据于第", onSamePage: "你已在同一页了!", notExists: "无效的表达式或者原有的分类/类型被删除了", favoriteSearch: { save: "你希望覆盖原有条件吗 ", notSelectedFavoriteElement: "请选择任意一个收藏的搜索条件", notSelectedSearchFilter: "请至少选择一个条件" } }, tag: { addAttributeSuccessMessage: "分类属性添加成功", updateTagDescriptionMessage: "分类描述更新成功" }, glossary: { removeTermfromCategory: "移除术语分配", removeTermfromEntity: "移除术语分配", removeCategoryfromTerm: "移除类别分配" }, getAbbreviationMsg: function(abbrev, type) { var msg = ''; return msg + this[type]; } }; return Messages; });