Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update_docu_links.py - add cs as supported language #3850

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

danoh
Copy link
Contributor

@danoh danoh commented Mar 2, 2025

We have new collection system, so the code has to be modified
I made also czech translation for the config flow

@danoh danoh marked this pull request as draft March 2, 2025 16:55
@danoh danoh marked this pull request as ready for review March 2, 2025 16:57
Comment on lines +1 to +111
},
"data_description": {
"country": "Select your country or *Generic* if you want to setup an *ICS* source."
}
},
"source": {
"title": "Select Source",
"description": "Select your service provider from the list.",
"data": {
"name": "Source"
}
},
"flow_type": {
"title": "Select Configuration Details",
"description": "Select How detailed you want to configure this integration. Leave empty if you only want to configure a basic calendar.",
"data": {
"show_customize_config": "Show Collection Event Customize Configurations",
"show_sensor_config": "Show Sensor Configurations"
},
"data_description": {
"show_customize_config": "Select this if you want to customize the collection types.",
"show_sensor_config": "Select this if you want to configure sensors."
}
},
"customize_select": {
"title": "Collection Type Customization: Select (optional)",
"description": "Select the collection types you want to customize in the next step.",
"data": {
"type": "Type (Optional)"
},
"data_description": {
"type": "You will be able to change the name/the icon/weather to use a own calendar/weather to hide in the next step."
}
},
"customize": {
"title": "Collection Type Customization ({index}/{total}): {type}",
"description": "Customize {type}. You can leave all fields empty to use the default values.",
"data": {
"alias": "Alias",
"show": "Show",
"icon": "Icon",
"picture": "Picture",
"use_dedicated_calendar": "Use dedicated calendar",
"dedicated_calendar_title": "Dedicated calendar title"
},
"data_description": {
"alias": "The new name of the collection type. (only if you want to change it)",
"show": "Uncheck to hide the collection type.",
"icon": "The icon of the collection type. (only if you want to change it)",
"picture": "The path to a picture for the collection type.",
"use_dedicated_calendar": "Check if this collection type should have its own calendar entity.",
"dedicated_calendar_title": "The title of the dedicated calendar entity."
}
},
"args": {
"title": "Configure Source",
"description": "Configure your service provider. {howto}More details: {docs_url}.",
"data": {
"calendar_title": "Calendar Title"
},
"data_description": {
"calendar_title": "A more readable, or user-friendly, name for the waste calendar. If nothing is provided, the name returned by the source will be used."
}
},
"sensor": {
"title": "Create Sensor \"{sensor_number}\"",
"description": "Configure one sensor at a time.",
"data": {
"name": "Name of the Sensor",
"details_format": "Details Format",
"count": "Count",
"leadtime": "Leadtime",
"value_template": "Value Template",
"date_template": "Date Template",
"add_days_to": "Add Days To",
"event_index": "Event Index",
"types": "Types",
"skip": "Do not create sensor",
"additional": "Add additional sensors"
},
"data_description": {
"details_format": "Specifies the format used to display info in Home Assistant's more info pop-up. 'upcoming': shows a list of upcoming collections, 'appointment_types': shows a list of waste types and their next collection date, 'generic': provides all attributes as generic Python data types, 'hidden': hide attributes of upcoming collections",
"count": "Limits Home Assistant's more info popup to displaying the next int collections",
"leadtime": "Limits Home Assistant's more info popup to only displaying collections happening within the next leadtime days",
"value_template": "Uses Home Assistant templating to format the state information of an entity. You can use 'value.date', 'value.daysTo', 'value.types",
"date_template": "Uses Home Assistant templating to format the dates appearing within the more info popup information of an entity. e.g. 'value.date.strftime(\"%d.%m.%Y\")'",
"add_days_to": "Adds a 'daysTo' attribute to the source entity state containing the number of days to the next collection",
"event_index": "Used to assign a sensor to a specific pickup date index. The next pickup date has event_index 0. Useful if you want to have dedicated sensors for next collection, second collection, third collection, ...",
"types": "Used to filter waste types. The sensor will only display collections matching these waste types. You need to use the alias if you used alias in the sources configuration.",
"skip": "If checked the sensor will not be created and all your config above will be ignored.",
"additional": "If checked you will be prompted to add another sensor after saving this one."
}
},
"reconfigure": {
"title": "Reconfigure Source",
"description": "Configure your service provider. {howto}More details: {docs_url}.",
"data": {
"calendar_title": "Calendar Title"
}
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs to be translated manually

Comment on lines 4702 to 17777
"version": "Version",
"year_field": "Year Field"
},
"data_description": {}
},
"args_abfall_lippe_de": {
"title": "Configure Source",
"description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/abfall_lippe_de.md.",
"data": {
"calendar_title": "Calendar Title",
"bezirk": "Bezirk",
"gemeinde": "Gemeinde"
},
"data_description": {
"calendar_title": "A more readable, or user-friendly, name for the waste calendar. If nothing is provided, the name returned by the source will be used."
}
},
"reconfigure_abfall_lippe_de": {
"title": "Reconfigure Source",
"description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/abfall_lippe_de.md.",
"data": {
"calendar_title": "Calendar Title",
"bezirk": "Bezirk",
"gemeinde": "Gemeinde"
},
"data_description": {}
},
"args_hausmuell_info": {
"title": "Configure Source",
"description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/hausmuell_info.md.",
"data": {
"calendar_title": "Calendar Title",
"hausnummer": "Hausnummer",
"ort": "Ort",
"ortsteil": "Ortsteil",
"strasse": "Strasse",
"subdomain": "Subdomain"
},
"data_description": {
"calendar_title": "A more readable, or user-friendly, name for the waste calendar. If nothing is provided, the name returned by the source will be used."
}
},
"reconfigure_hausmuell_info": {
"title": "Reconfigure Source",
"description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/hausmuell_info.md.",
"data": {
"calendar_title": "Calendar Title",
"hausnummer": "Hausnummer",
"ort": "Ort",
"ortsteil": "Ortsteil",
"strasse": "Strasse",
"subdomain": "Subdomain"
},
"data_description": {}
},
"args_ics_abfuhrtermine_info": {
"title": "Configure Source",
"description": "Configure your service provider. \n\n- The abfuhrtermine.info website of your region (list below).\n- select your location.\n- Right click -> copy link address on the \"Termine als ICS-Datei zum Import in Terminverwaltungssoftware/MobiltelefonKalender\" button.\n- Replace the `url` in the example configuration with this link.\n\n### List of available regions\n\n- Attendorn: https://attendorn.abfuhrtermine.info/\n- Drolshagen: https://drolshagen.abfuhrtermine.info/\n- Finnentrop: https://finnentrop.abfuhrtermine.info/\n- Kreuztal: https://kreuztal.abfuhrtermine.info/\n- Lennestadt: https://lennestadt.abfuhrtermine.info\n- Olpe: https://olpe.abfuhrtermine.info\n- Wenden: https://wenden.abfuhrtermine.info\n\nand maybe some more.\n\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/abfuhrtermine_info.md.",
"data": {
"calendar_title": "Calendar Title",
"file": "File",
"headers": "Headers",
"method": "Method",
"offset": "Offset",
"params": "Params",
"regex": "Regex",
"split_at": "Split At",
"title_template": "Title Template",
"url": "Url",
"verify_ssl": "Verify Ssl",
"version": "Version",
"year_field": "Year Field"
},
"data_description": {
"calendar_title": "A more readable, or user-friendly, name for the waste calendar. If nothing is provided, the name returned by the source will be used."
}
},
"reconfigure_ics_abfuhrtermine_info": {
"title": "Reconfigure Source",
"description": "Configure your service provider. \n\n- The abfuhrtermine.info website of your region (list below).\n- select your location.\n- Right click -> copy link address on the \"Termine als ICS-Datei zum Import in Terminverwaltungssoftware/MobiltelefonKalender\" button.\n- Replace the `url` in the example configuration with this link.\n\n### List of available regions\n\n- Attendorn: https://attendorn.abfuhrtermine.info/\n- Drolshagen: https://drolshagen.abfuhrtermine.info/\n- Finnentrop: https://finnentrop.abfuhrtermine.info/\n- Kreuztal: https://kreuztal.abfuhrtermine.info/\n- Lennestadt: https://lennestadt.abfuhrtermine.info\n- Olpe: https://olpe.abfuhrtermine.info\n- Wenden: https://wenden.abfuhrtermine.info\n\nand maybe some more.\n\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/abfuhrtermine_info.md.",
"data": {
"calendar_title": "Calendar Title",
"file": "File",
"headers": "Headers",
"method": "Method",
"offset": "Offset",
"params": "Params",
"regex": "Regex",
"split_at": "Split At",
"title_template": "Title Template",
"url": "Url",
"verify_ssl": "Verify Ssl",
"version": "Version",
"year_field": "Year Field"
},
"data_description": {}
},
"args_ahe_de": {
"title": "Configure Source",
"description
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs to be translated manually as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants