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 Franck Nijhof
parent 35717e8216
commit 049aaa7e8b
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

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