
44
Packaging Extensions with Extension Manager CS5
platform
Specifies that the shortcut works only on the indicated platform. Valid values are
"win"
and
"mac"
.
Contents
None.
Container
This tag must be contained in a
shortcut-insert
tag.
Example
<shortcut key = "Shift+F5" command = "dw.newDocument()" id = "ShortCutTest"
platform = "win" />
taglibrary-changes
Description:
Describes changes to be made to the
TagLibraries.vtm
file.
Attributes
None.
Contents
This tag may contain
taglibrary-insert
and
taglibrary-remove
tags.
Container
This tag must be contained in a
configuration-changes
tag.
taglibrary-insert
Description
Inserts the specified tag library at the end of file. Order is not important.
Attributes
{xml:lang}
xml:lang
Specifies the language for the listed file. Extension Manager compares this language
with the user language, which is determined by the process outlined in
defaultLanguage
on
page
12
. If the languages match, configuration changes are applied; if not, they are ignored. If
Extension Manager can't determine the user language, it applies all configuration changes
regardless of their specified language.
For more information, see
Creating multilingual extension packages (version 2.1 and
later)
on
page
54
.
Contents
This tag may contain
taglibrary
tags that describe a tag library to be inserted. The Extension
Manager verifies only that the XML structure is valid.
Container
This tag must be contained in a
taglibrary-changes
tag.