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

Move dialog data translation to build location #197

Open
wants to merge 1 commit into
base: 21.02
Choose a base branch
from

Conversation

forslund
Copy link
Collaborator

@forslund forslund commented Jan 4, 2022

Description

This updates the way the translation of data elements for dialog
rendering is performed and should be considered a suggestion. It moves the translation to where the data is
generated. By keeping translation close to the building it is easy to
see which keys exists in the data reducing the risk of making mistakes.

It also makes the dialog more self-contained.

Resolves #189

Type of PR

  • Bugfix
  • Feature implementation
  • Refactor of code (without functional changes)
  • Documentation improvements
  • Test improvements

Testing

Ensure the correct responses for wind and temperature is generated

Documentation

Does documentation for this already exist? Are there docstrings on all the public methods you added or modified? Have these been updated?

CLA

To protect you, the project, and those who choose to use Mycroft technologies in systems they build, we ask all contributors to sign a Contributor License Agreement.

This agreement clarifies that you are granting a license to the Mycroft Project to freely use your work. Additionally, it establishes that you retain the ownership of your contributed code and intellectual property. As the owner, you are free to use your code in other work, obtain patents, or do anything else you choose with it.

If you haven't already signed the agreement and been added to our public Contributors repo then please head to https://mycroft.ai/cla to initiate the signing process.

This updates the way the translation of data elements for dialog
redering is performed. It moves the translation to where the data is
generated. By keeping translation close to the building it is easy to
see which keys exists in the data reducing the risk of making mistakes.

It also makes the dialog more self-contained.
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.

No translation of the temperature scales
1 participant