Skip to content

Commit

Permalink
added localization options
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Pressburger committed Nov 18, 2019
1 parent 56cd1c7 commit b260c34
Show file tree
Hide file tree
Showing 3 changed files with 501 additions and 282 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,21 @@ The payload should be published to the relevant sensor. If you sensor is named `
| title_style | object | none | A list of CCS styles applied to the title.
| remove | boolean | false | Set to `true` for removal config mode. Used to remove entity from MQTT discovery.
| discovery_prefix | string | homeassistant | Define custom MQTT discovery prefix.
| **Localization** |
| displayTextYear | string | year | Custom Label for "year"
| displayTextYears | string | years | Custom Label for "years"
| displayTextMonth | string | month | Custom Label for "month"
| displayTextMonths | string | months | Custom Label for "months"
| displayTextWeek | string | week | Custom Label for "week"
| displayTextWeeks | string | weeks | Custom Label for "weeks"
| displayTextDay | string | day | Custom Label for "day"
| displayTextDays | string | days | Custom Label for "days"
| displayTextHour | string | hour | Custom Label for "hour"
| displayTextHours | string | hours | Custom Label for "hours"
| displayTextMinute | string | minute | Custom Label for "minute"
| displayTextMinutes | string | minutes | Custom Label for "minutes"
| displayTextLessThan1 | string | less than 1 | Custom Label for "less than 1"
| displayTextTimeAgo | string | ago | Custom Label for "ago"

## Default

Expand Down
Loading

0 comments on commit b260c34

Please sign in to comment.