UFO-Scripts/msgcategories.ufo

From UFO:AI
< UFO-Scripts
Revision as of 11:48, 28 October 2008 by RudolfoWood (talk | contribs) (New page: 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 ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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