Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[openhabcloud] Added default i18n properties file #11547

Merged
merged 2 commits into from
Nov 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@
@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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# service

service.io.openhabcloud.label = openHAB Cloud

# bundle config
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ftr: this comment was added by me manually.


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