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:
@@ -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 */
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user