Skip to content

Commit

Permalink
update labels
Browse files Browse the repository at this point in the history
Former-commit-id: c4cc7a4
  • Loading branch information
kizniche committed Jun 3, 2020
1 parent 8c13473 commit d4c8e74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mycodo/config_translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@
'title': lazy_gettext('Host'),
'phrase': lazy_gettext('Host address or IP')},
'i2c_bus': {
'title': lazy_gettext('I<sup>2</sup>C Bus'),
'title': lazy_gettext('I2C Bus'),
'phrase': lazy_gettext('The I2C bus the device is connected to')},
'i2c_location': {
'title': lazy_gettext('I<sup>2</sup>C Address'),
'title': lazy_gettext('I2C Address'),
'phrase': lazy_gettext('The I2C address of the device')},
'interface': {
'title': lazy_gettext('Interface'),
Expand Down
4 changes: 2 additions & 2 deletions mycodo/mycodo_flask/forms/forms_lcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ class LCDMod(FlaskForm):
)
location = StringField(
"{op} ({unit})".format(op=lazy_gettext('Address'),
unit=lazy_gettext('I<sup>2</sup>C'))
unit=lazy_gettext('I2C'))
)
i2c_bus = IntegerField(
"{op} ({unit})".format(op=lazy_gettext('Bus'),
unit=lazy_gettext('I<sup>2</sup>C')),
unit=lazy_gettext('I2C')),
validators=[DataRequired()],
widget=NumberInput()
)
Expand Down

0 comments on commit d4c8e74

Please sign in to comment.