From c62368ddadfae66abf9cd8603807e7f1e77ac618 Mon Sep 17 00:00:00 2001 From: louistiti Date: Thu, 25 May 2023 08:34:20 +0800 Subject: [PATCH] chore: comments and French punctuation --- skills/games/guess_the_number/src/actions/setup.py | 2 +- skills/leon/greeting/config/fr.json | 5 ++++- skills/leon/introduction/src/actions/remember.py | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/skills/games/guess_the_number/src/actions/setup.py b/skills/games/guess_the_number/src/actions/setup.py index 588e3ff3..891c430a 100644 --- a/skills/games/guess_the_number/src/actions/setup.py +++ b/skills/games/guess_the_number/src/actions/setup.py @@ -6,7 +6,7 @@ from ..lib import memory def run(params: ActionParams) -> None: - """Init the the number to guess""" + """Init the number to guess""" number_to_guess = randint(1, 100) memory.create_new_game(number_to_guess) leon.answer({'key': 'ready'}) diff --git a/skills/leon/greeting/config/fr.json b/skills/leon/greeting/config/fr.json index 607967de..6980460f 100644 --- a/skills/leon/greeting/config/fr.json +++ b/skills/leon/greeting/config/fr.json @@ -22,7 +22,10 @@ "Hello ! J'espère que vous allez bien !", "Hey ! Quoi de neuf ?!" ], - "default_with_name": ["Salut %owner_name%!", "Salut %owner_name%! Quoi de neuf?!"], + "default_with_name": [ + "Salut %owner_name% !", + "Salut %owner_name%, Quoi de neuf ?!" + ], "morning_good_day": [ "Bonjour, passez une agréable journée !", "Bonjour, je vous souhaite une très belle journée !", diff --git a/skills/leon/introduction/src/actions/remember.py b/skills/leon/introduction/src/actions/remember.py index fa24a776..c441ef1e 100644 --- a/skills/leon/introduction/src/actions/remember.py +++ b/skills/leon/introduction/src/actions/remember.py @@ -4,7 +4,7 @@ from ..lib import memory def run(params: ActionParams) -> None: - """Save name and birth date into Leon's memory""" + """Save name and birthdate into Leon's memory""" slots = params['slots'] owner_name = slots['owner_name']['resolution']['value'] owner_birth_date = slots['owner_birth_date']['resolution']['timex']