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

"what time is it" in French returns an error #23

Closed
goldyfruit opened this issue May 14, 2023 · 2 comments
Closed

"what time is it" in French returns an error #23

goldyfruit opened this issue May 14, 2023 · 2 comments

Comments

@goldyfruit
Copy link
Member

When asking quelle heure est-il in French, it returns this trace:

2023-05-14 17:42:43.636 - skill-ovos-date-time.openvoiceos - ERROR - 'temps'
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/ovos_utils/messagebus.py", line 554, in wrapper
    handler(message)
  File "/home/ovos/.local/lib/python3.11/site-packages/skill_ovos_date_time/__init__.py", line 424, in handle_current_time_simple
    self.handle_query_time(message)
  File "/home/ovos/.local/lib/python3.11/site-packages/skill_ovos_date_time/__init__.py", line 409, in handle_query_time
    self.speak_dialog("time.current", {"time": current_time})
  File "/usr/lib/python3.11/site-packages/ovos_workshop/skills/base.py", line 1730, in speak_dialog
    self.dialog_renderer.render(key, data),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/ovos_utils/dialog.py", line 94, in render
    line = line.format(**context)
           ^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'temps'
@emphasize
Copy link
Member

All translations were updated a should work as intended

@goldyfruit
Copy link
Member Author

Indeed no more issue but translation need some work.

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

No branches or pull requests

2 participants