English Chinese (Traditional) (zh_TW)
When the message should be displayed.
`maximum_version`
Only if `type` is `upgrade`. Display if upgrading from a version strictly lower than the version specified.
`minimum_version`
Only if `type` is `upgrade`. Display if upgrading from a version stictly greater than the version specified.
The `maximum_version` and `minimum_version` keywords can be combined.
The `type` keyword can have three values:
`install`
The message should only be displayed when the package is installed.
`remove`
The message should only be displayed when the package is removed.
`upgrade`
the message should only be displayed during an upgrade of the package..
To preserve the compatibility with non UCL [.filename]#pkg-message# files, the first line of a UCL [.filename]#pkg-message# _MUST be_ a single "`[`", and the last line _MUST be_ a single "`]`".
UCL Short Strings
The message is delimited by double quotes `"`, this is used for simple single line strings:
[
{ type: install
message: "Simple message"
}
]
UCL Multiline Strings
Multiline strings use the standard here document notation. The multiline delimiter _must_ start just after `<<` symbols without any whitespace and it _must_ consist of capital letters only. To finish a multiline string, add the delimiter string on a line of its own without any whitespace. The message from <<porting-message-ucl-short-ex>> can be written as:
[
{ type: install
message: <<EOM
Simple message
EOM
}
]