Add default translations for binding add-ons (#11760)
* Add default translations for binding add-ons This makes the texts used by these add-ons translatable with Crowdin. To keep the PR simple, it only adds default translations for add-ons which do not yet have any default translations properties file. We can do follow up PRs for adding missing key/values to add-ons that already have these files or to remove duplications. There are several add-ons in this PR that do have non-English translation files, so I'll upload those to Crowdin when the PR is merged. Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
# binding
|
||||
|
||||
binding.mcp23017.name = MCP23017 Binding
|
||||
binding.mcp23017.description = This is the binding for MCP23017 I/O expansion chips.
|
||||
|
||||
# thing types
|
||||
|
||||
thing-type.mcp23017.mcp23017.label = MCP23017
|
||||
thing-type.mcp23017.mcp23017.description = Thing for mcp23017 integrated circuit
|
||||
|
||||
# thing types config
|
||||
|
||||
thing-type.config.mcp23017.mcp23017.address.label = I2C Device Address
|
||||
thing-type.config.mcp23017.mcp23017.address.description = I2C Bus mcp2317 device Address in HEX
|
||||
thing-type.config.mcp23017.mcp23017.bus_number.label = I2C BUS Number
|
||||
thing-type.config.mcp23017.mcp23017.bus_number.description = I2C Bus number (0-6)
|
||||
thing-type.config.mcp23017.mcp23017.bus_number.option.0 = 0
|
||||
thing-type.config.mcp23017.mcp23017.bus_number.option.1 = 1
|
||||
thing-type.config.mcp23017.mcp23017.bus_number.option.2 = 2
|
||||
thing-type.config.mcp23017.mcp23017.bus_number.option.3 = 3
|
||||
thing-type.config.mcp23017.mcp23017.bus_number.option.4 = 4
|
||||
thing-type.config.mcp23017.mcp23017.bus_number.option.5 = 5
|
||||
thing-type.config.mcp23017.mcp23017.bus_number.option.6 = 6
|
||||
|
||||
# channel group types
|
||||
|
||||
channel-group-type.mcp23017.inputgroup.label = Input Pins
|
||||
channel-group-type.mcp23017.inputgroup.description = MCP 23017 pins working in DIGITAL_INPUT mode (contact)
|
||||
channel-group-type.mcp23017.outputgroup.label = Output Pins
|
||||
channel-group-type.mcp23017.outputgroup.description = MCP 23017 pins working in DIGITAL_OUTPUT mode (switch)
|
||||
|
||||
# channel types
|
||||
|
||||
channel-type.mcp23017.input_pin.label = Input Pin
|
||||
channel-type.mcp23017.input_pin.description = channel type for MCP23017 pin in DIGITAL_INPUT mode (contact)
|
||||
channel-type.mcp23017.output_pin.label = Output Pin
|
||||
channel-type.mcp23017.output_pin.description = channel type for MCP23017 pin in DIGITAL_INPUT mode (switch)
|
||||
|
||||
# channel types config
|
||||
|
||||
channel-type.config.mcp23017.input_pin.pull_mode.label = PullResistor Mode
|
||||
channel-type.config.mcp23017.input_pin.pull_mode.description = mcp2317 input pull resistor mode
|
||||
channel-type.config.mcp23017.input_pin.pull_mode.option.OFF = OFF
|
||||
channel-type.config.mcp23017.input_pin.pull_mode.option.PULL_UP = Internal PULL_UP
|
||||
channel-type.config.mcp23017.output_pin.default_state.label = Default State
|
||||
channel-type.config.mcp23017.output_pin.default_state.description = mcp2317 pin default state (LOW, HIGH)
|
||||
channel-type.config.mcp23017.output_pin.default_state.option.LOW = LOW
|
||||
channel-type.config.mcp23017.output_pin.default_state.option.HIGH = HIGH
|
||||
Reference in New Issue
Block a user