Add default translations for io add-ons (#11753)

* Add default translations for io add-ons

This makes the texts used by these add-ons translatable with Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2021-12-12 19:32:51 +01:00
committed by GitHub
parent 69c130e1ba
commit e752b51662
6 changed files with 111 additions and 4 deletions

View File

@@ -28,6 +28,7 @@ import javax.ws.rs.client.ClientBuilder;
import org.eclipse.jdt.annotation.NonNullByDefault;
import org.eclipse.jdt.annotation.Nullable;
import org.openhab.core.binding.BindingInfoRegistry;
import org.openhab.core.config.core.ConfigurableService;
import org.openhab.core.events.Event;
import org.openhab.core.events.EventFilter;
import org.openhab.core.events.EventPublisher;
@@ -70,9 +71,8 @@ import org.slf4j.LoggerFactory;
* @author Tim Roberts - Initial Contribution
*/
@NonNullByDefault
@Component(service = EventSubscriber.class, property = { "service.pid=org.openhab.io.neeo.NeeoService",
"service.config.description.uri=io:neeo", "service.config.label=NEEO Integration",
"service.config.category=io" })
@Component(service = EventSubscriber.class, property = { "service.pid=org.openhab.io.neeo.NeeoService" })
@ConfigurableService(category = "io", label = "NEEO Integration", description_uri = "io:neeo")
public class NeeoService implements EventSubscriber, NetworkAddressChangeListener {
/** The logger */

View File

@@ -0,0 +1,12 @@
io.config.neeo.checkStatusInterval.label = Check Status Interval (seconds)
io.config.neeo.checkStatusInterval.description = The interval (in seconds) to check the status of the brain
io.config.neeo.exposeAll.label = Expose All
io.config.neeo.exposeAll.description = Expose all things
io.config.neeo.exposeNeeoBinding.label = Expose NEEO Binding
io.config.neeo.exposeNeeoBinding.description = Expose things found by the NEEO Binding
io.config.neeo.searchLimit.label = Search Limit
io.config.neeo.searchLimit.description = The maximum number of results to return for a search
# service
service.io.neeo.label = NEEO Integration