Author: kwin
Date: Tue Dec 6 09:27:47 2016
New Revision: 1772848
URL: http://svn.apache.org/viewvc?rev=1772848&view=rev
Log:
clarify sling:key description
Modified:
sling/site/trunk/content/documentation/bundles/internationalization-support-i18n.mdtext
Modified:
sling/site/trunk/content/documentation/bundles/internationalization-support-i18n.mdtext
URL:
http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/internationalization-support-i18n.mdtext?rev=1772848&r1=1772847&r2=1772848&view=diff
==============================================================================
---
sling/site/trunk/content/documentation/bundles/internationalization-support-i18n.mdtext
(original)
+++
sling/site/trunk/content/documentation/bundles/internationalization-support-i18n.mdtext
Tue Dec 6 09:27:47 2016
@@ -47,7 +47,7 @@ Two different types of storage formats a
The (direct) child nodes of the `mix:language` node must have the
`jcr:primaryType` set to `sling:MessageEntry` and must contain two special
properties naming the key string and the message:
- * `sling:key` -- The `sling:key` property is a string property being the
key for which the node contains the message(s). This property is optional. If
it is not set the key is determined by the resource name of the parent
`sling:messageEntry`.
+ * `sling:key` -- The `sling:key` property is a string property being the
key for which the node contains the message(s). This property is optional. If
it is not set the key is determined by the name of this `sling:messageEntry`
resource.
* `sling:message` -- The `sling:message` property represents the resource
for the key.
It is only required that the message nodes are located below `mix:language`
nodes. Such structures may also be scattered in the repository to allow storing
message resources next to where they are most likely used, such as request
scripts.