Add max length for labels (#1299)

Source is @kaikreuzer https://github.com/openhab/openhab-addons/pull/8576#discussion_r529854343

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
pull/1297/head
Fabian Wolter 2020-12-10 22:03:23 +01:00 committed by GitHub
parent 0d5a9efe9f
commit 0cd3f9136e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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`).