Difference between revisions of "UI Editor/Definition"

From Virtual World Web Wiki
Jump to: navigation, search
Line 9: Line 9:
 
The configuration area at the bottom of the definition panel shows the translation prefix and the templates tree.
 
The configuration area at the bottom of the definition panel shows the translation prefix and the templates tree.
  
The translation prefix is used when generating translations for UI elements. If no translation prefix is supplied, then none of the text will have translation tables generated for them. Generally, you will need to add the same translation prefix to the [[UI Editor/Admin Website|Admin page]] for the package you're configuring.
+
The translation group is used when generating translations for UI elements. If no translation group is supplied, then none of the text will have translation tables generated for them. Generally, you will need to add the same value to the translation prefix on the [[UI Editor/Admin Website|Admin page]] for the package you're configuring.
  
 
The templates tree shows all local and global [[UI Editor/Templates|templates]] defined in the current .ui file. Templates can be removed by clicking on them and then clicking the delete button which appears beside them.
 
The templates tree shows all local and global [[UI Editor/Templates|templates]] defined in the current .ui file. Templates can be removed by clicking on them and then clicking the delete button which appears beside them.

Revision as of 17:54, 27 November 2017

The Definition Panel in the UI Editor is a tool for the loading and saving of the UI file, as well as overlay and template manipulation.

Definition.PNG

Definition List

The definition list shows what definitions are currently loaded for editing and any overlays that are active on them. Clicking between different definitions updates the Hierarchy panel to show the hierarchy of the active definition.

Configuration

The configuration area at the bottom of the definition panel shows the translation prefix and the templates tree.

The translation group is used when generating translations for UI elements. If no translation group is supplied, then none of the text will have translation tables generated for them. Generally, you will need to add the same value to the translation prefix on the Admin page for the package you're configuring.

The templates tree shows all local and global templates defined in the current .ui file. Templates can be removed by clicking on them and then clicking the delete button which appears beside them.