UFO-Scripts/msgcategories.ufo

From UFO:AI
Jump to navigation Jump to search

This script file allows you to define categories for notify types. These categories are used to group settings for those types.

Every line in a msgcategory definition contains one notify type (as defined in nt_strings in src/client/menu/m_messages.c)

msgcategory "_install_equipment" {
	installation_installed
	installation_removed
	installation_replaced
}
  • category names should include no whitespace and must be marked translateable (by surrounding them with "_<category_name>")
  • each notify type should occur only in one category
  • definition order in msgcategories.ufo defines order visible in options menu