Skip to content

Commit

Permalink
Add max length for labels (#1299)
Browse files Browse the repository at this point in the history
Source is @kaikreuzer openhab/openhab-addons#8576 (comment)

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
  • Loading branch information
fwolter authored Dec 10, 2020
1 parent 0d5a9ef commit 0cd3f91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions developers/bindings/thing-xml.md
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ If a configuration parameter will be used, then its respective `parameter` shall

The label and descriptions for things, channels and config descriptions should follow the following format.
The label should be short so that for most UIs it does not spread across multiple lines.
Guideline is 2-3 words with up to 25 chars.
Labels should be capitalized using the following rules:
* Always capitalize the first and the last word.
* Lowercase articles, coordinating conjunctions, and prepositions (`a, an, the, and, as, but, by, for, from, in, into, like, near, nor, of, onto, or, out, over, past, so, till, to, up, upon, with, yet`).
Expand Down

0 comments on commit 0cd3f91

Please sign in to comment.