Fix grammar / sentence-casing in workday (#141682)

* Fix grammar / sentence-casing in `workday`

Also replace "country" with common string.

* Add two more references

* Fix second data description reference

* Add "given" to action description for better translations
This commit is contained in:
Norbert Rittel 2025-03-28 21:22:53 +01:00 committed by GitHub
parent 1ab5bdf85f
commit 8ee014b855
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,13 +2,13 @@
"title": "Workday", "title": "Workday",
"config": { "config": {
"abort": { "abort": {
"already_configured": "Workday has already been setup with chosen configuration" "already_configured": "Workday has already been set up with chosen configuration"
}, },
"step": { "step": {
"user": { "user": {
"data": { "data": {
"name": "[%key:common::config_flow::data::name%]", "name": "[%key:common::config_flow::data::name%]",
"country": "Country" "country": "[%key:common::config_flow::data::country%]"
} }
}, },
"options": { "options": {
@ -18,7 +18,7 @@
"days_offset": "Offset", "days_offset": "Offset",
"workdays": "Days to include", "workdays": "Days to include",
"add_holidays": "Add holidays", "add_holidays": "Add holidays",
"remove_holidays": "Remove Holidays", "remove_holidays": "Remove holidays",
"province": "Subdivision of country", "province": "Subdivision of country",
"language": "Language for named holidays", "language": "Language for named holidays",
"category": "Additional category as holiday" "category": "Additional category as holiday"
@ -116,14 +116,14 @@
}, },
"issues": { "issues": {
"bad_country": { "bad_country": {
"title": "Configured Country for {title} does not exist", "title": "Configured country for {title} does not exist",
"fix_flow": { "fix_flow": {
"step": { "step": {
"country": { "country": {
"title": "Select country for {title}", "title": "Select country for {title}",
"description": "Select a country to use for your Workday sensor.", "description": "Select a country to use for your Workday sensor.",
"data": { "data": {
"country": "[%key:component::workday::config::step::user::data::country%]" "country": "[%key:common::config_flow::data::country%]"
} }
}, },
"province": { "province": {
@ -133,7 +133,7 @@
"province": "[%key:component::workday::config::step::options::data::province%]" "province": "[%key:component::workday::config::step::options::data::province%]"
}, },
"data_description": { "data_description": {
"province": "State, Territory, Province, Region of Country" "province": "[%key:component::workday::config::step::options::data_description::province%]"
} }
} }
} }
@ -150,7 +150,7 @@
"province": "[%key:component::workday::config::step::options::data::province%]" "province": "[%key:component::workday::config::step::options::data::province%]"
}, },
"data_description": { "data_description": {
"province": "[%key:component::workday::issues::bad_country::fix_flow::step::province::data_description::province%]" "province": "[%key:component::workday::config::step::options::data_description::province%]"
} }
} }
} }
@ -217,7 +217,7 @@
"services": { "services": {
"check_date": { "check_date": {
"name": "Check date", "name": "Check date",
"description": "Check if date is workday.", "description": "Checks if a given date is a workday.",
"fields": { "fields": {
"check_date": { "check_date": {
"name": "Date", "name": "Date",