Skip to content

Commit

Permalink
Merge pull request #3 from SublimePotato/master
Browse files Browse the repository at this point in the history
added localization options
  • Loading branch information
Gluwc authored Nov 26, 2019
2 parents 9af834f + d314262 commit a6918fc
Show file tree
Hide file tree
Showing 3 changed files with 500 additions and 278 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,21 @@ return msg;
| 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 a6918fc

Please sign in to comment.