Improve binding archetype for Crowdin usage (#3089)

With these changes the proper translations file will be created.
The updated comments should prevent review comments and rework.

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born 2022-09-23 18:15:50 +02:00 committed by GitHub
parent 149a9e9ee1
commit 7b0b70ca4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 21 deletions

View File

@ -0,0 +1,3 @@
# FIXME: please add all English translations to this file so the texts can be translated using Crowdin
# FIXME: to generate the content of this file run: mvn i18n:generate-default-translations
# FIXME: see also: https://www.openhab.org/docs/developer/utils/i18n.html

View File

@ -1,21 +0,0 @@
# FIXME: please substitute the xx with a proper locale, ie. de
# FIXME: please do not add the file to the repo if you add or change no content
# binding
binding.${bindingId}.name = <Your localized Binding name>
binding.${bindingId}.description = <Your localized Binding description>
# thing types
thing-type.${bindingId}.sample.label = <Your localized Thing label>
thing-type.${bindingId}.sample.description = <Your localized Thing description>
# thing type config description
thing-type.config.${bindingId}.sample.hostname.label = <Your localized config parameter label>
thing-type.config.${bindingId}.sample.hostname.description = <Your localized config parameter description>
thing-type.config.${bindingId}.sample.password.label = <Your localized config parameter label>
thing-type.config.${bindingId}.sample.password.description = <Your localized config parameter description>
thing-type.config.${bindingId}.sample.refreshInterval.label = <Your localized config parameter label>
thing-type.config.${bindingId}.sample.refreshInterval.description = <Your localized config parameter description>
# channel types
channel-type.${bindingId}.sample-channel.label = <Your localized Channel label>
channel-type.${bindingId}.sample-channel.description = <Your localized Channel description>