mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 23:22:02 +01:00
[openhabcloud] Added default i18n properties file (#11547)
* Added default i18n properties file * Added translation property for service label Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
parent
a1f67aadc4
commit
dfe577aec5
@ -67,9 +67,11 @@ import org.slf4j.LoggerFactory;
|
||||
@Component(service = { CloudService.class, EventSubscriber.class,
|
||||
ActionService.class }, configurationPid = "org.openhab.openhabcloud", property = Constants.SERVICE_PID
|
||||
+ "=org.openhab.openhabcloud")
|
||||
@ConfigurableService(category = "io", label = "openHAB Cloud", description_uri = "io:openhabcloud")
|
||||
@ConfigurableService(category = "io", label = "openHAB Cloud", description_uri = CloudService.CONFIG_URI)
|
||||
public class CloudService implements ActionService, CloudClientListener, EventSubscriber {
|
||||
|
||||
protected static final String CONFIG_URI = "io:openhabcloud";
|
||||
|
||||
private static final String CFG_EXPOSE = "expose";
|
||||
private static final String CFG_BASE_URL = "baseURL";
|
||||
private static final String CFG_MODE = "mode";
|
||||
|
@ -21,7 +21,7 @@
|
||||
</parameter>
|
||||
<parameter name="baseURL" type="text" required="false">
|
||||
<label>Base URL</label>
|
||||
<description>Base URL for the openHAB Cloud server</description>
|
||||
<description>Base URL for the openHAB Cloud server.</description>
|
||||
<default>https://myopenhab.org/</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
@ -0,0 +1,14 @@
|
||||
# service
|
||||
|
||||
service.io.openhabcloud.label = openHAB Cloud
|
||||
|
||||
# bundle config
|
||||
|
||||
io.config.openhabcloud.baseURL.label = Base URL
|
||||
io.config.openhabcloud.baseURL.description = Base URL for the openHAB Cloud server.
|
||||
io.config.openhabcloud.expose.label = Items to Expose
|
||||
io.config.openhabcloud.expose.description = List of items that are made accessible to IFTTT and similar services.
|
||||
io.config.openhabcloud.mode.label = Mode
|
||||
io.config.openhabcloud.mode.description = What features of the openHAB Cloud service should be used.
|
||||
io.config.openhabcloud.mode.option.notification = Notifications
|
||||
io.config.openhabcloud.mode.option.remote = Notifications & Remote Access
|
Loading…
Reference in New Issue
Block a user