Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Ticket #866: message.properties_delete.patch

File message.properties_delete.patch, 4.1 kB (added by dkayiwa, 7 months ago)

patch for displaying a user friendly messages when data integrity violation exceptions are thrown when deleting data

  • openmrs/trunk/web/WEB-INF/messages.properties

    old new  
    304304Alert.manage=Manage Alerts 
    305305Alert.expired={0} alert(s) have been successfully expired  
    306306Alert.addRole=Add Role 
     307Alert.select=Select Alerts. 
    307308 
    308309Concept=Concept 
    309310Concept.header=Concepts 
     
    378379ConceptClass.delete=Delete Selected Concept Classes 
    379380ConceptClass.saved=Concept Class saved 
    380381ConceptClass.deleted=Concept Class deleted 
     382ConceptClass.cannot.delete=Cannot delete Concept Class. Database constraints will be violated. 
     383ConceptClass.select=Select Concept Classes. 
    381384 
    382385 
    383386ConceptDatatype.manage=Manage Concept Datatypes 
     
    642645EncounterType.delete=Delete Selected Encounter Types 
    643646EncounterType.saved=Encounter Type saved 
    644647EncounterType.deleted=Encounter Type deleted 
     648EncounterType.cannot.delete=Cannot delete encounter type. Database constraints will be violated. 
     649EncounterType.select=Select Encounter Types. 
    645650 
    646651Form.header=Forms 
    647652Form.manage=Manage Forms 
     
    781786Location.ward=Ward 
    782787Location.villageStreet=Village/Street 
    783788Location.region=Region 
     789Location.cannot.delete=Cannot delete Location. Database constraints will be violated. 
     790Location.select=Select Locations. 
    784791 
    785792MimeType.manage=Manage Mime Types 
    786793MimeType.manage.title=Mime Type Management 
     
    792799MimeType.delete=Delete Selected Mime Types 
    793800MimeType.saved=Mime Type saved 
    794801MimeType.deleted=Mime Type deleted 
     802MimeType.cannot.delete=Cannot delete Mime Type. Database constraints will be violated. 
     803MimeType.select=Select Mime Types. 
    795804 
    796805Obs.header=Observations 
    797806Obs.manage=Manage Observations 
     
    849858OrderType.saved=Order Type saved 
    850859OrderType.deleted=Order Type deleted 
    851860OrderType.list.empty=Currently, there are no order types defined 
     861OrderType.cannot.delete=Cannot delete Order Type. Database constraints will be violated. 
     862OrderType.select=Select Order Types. 
    852863 
    853864Order.header=Orders 
    854865Order.manage=Manage Orders 
     
    10051016PatientIdentifierType.required=Is required 
    10061017PatientIdentifierType.formatDescription=Description of format (to help guide user) 
    10071018PatientIdentifierType.validator=Identifier validator 
     1019PatientIdentifierType.cannot.delete=Cannot delete Patient Identifier Type. Database constraints will be violated. 
     1020PatientIdentifierType.select=Select Patient Identifier Types. 
    10081021 
    10091022PatientSearch.title=Patient Search 
    10101023PatientSearch.manage=Manage Patient Searches 
     
    11291142PersonAttributeType.user.listing.help=Attributes shown when users are displayed in a list 
    11301143PersonAttributeType.user.viewing=User Viewing Attributes 
    11311144PersonAttributeType.user.viewing.help=Attributes shown when viewing a user's metadata 
     1145PersonAttributeType.select=Select Person Attribute Types. 
    11321146 
    11331147 
    11341148 
     
    11511165Privilege.delete=Delete Selected Privileges 
    11521166Privilege.saved=Privilege saved 
    11531167Privilege.deleted=Privilege deleted 
     1168Privilege.cannot.delete=Cannot delete Privilege. Database constraints will be violated. 
     1169Privilege.select=Select Privileges. 
    11541170 
    11551171Relationship.portlet.title=Relationships 
    11561172Relationship.manage=Manage Relationships 
     
    12011217RelationshipType.views.preferred=Preferred 
    12021218RelationshipType.views.preferred.help=Preferred types are the ones that will be shown by default when a user is filling in a person's relationships 
    12031219RelationshipType.views.saved=Views saved for Relationship Types 
     1220RelationshipType.cannot.delete=Cannot delete Relationship Type. Database constraints will be violated. 
     1221RelationshipType.select=Select Relationship Types. 
    12041222 
    12051223#temporary: 
    12061224RelationshipType.mother=Mother 
     
    12221240Role.deleted=Role deleted 
    12231241Role.superuser.hasAllRolesAndPrivileges=[Has all roles and privileges] 
    12241242Role.leaveForm=Changes to this role will not be saved if you leave this form 
     1243Role.cannot.delete=Cannot delete Role. Database constraints will be violated. 
     1244Role.select=Select Roles. 
    12251245 
    12261246Tribe.manage=Manage Tribes 
    12271247Tribe.manage.title=Tribe Management