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

Release 0.2.1a3 #49

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
20 changes: 19 additions & 1 deletion .github/workflows/update_skill_json.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: update_skill_json
on:
push: {}
Expand All @@ -8,3 +7,22 @@ jobs:
permissions:
contents: write
uses: neongeckocom/.github/.github/workflows/skill_update_json_spec.yml@master
sync:
name: Sync skill.json to locale
runs-on: ubuntu-latest
needs: update-skill-json
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Sync skill.json
run: |
cp skill.json locale/en-us/skill.json
- name: Push skill.json Change
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Sync skill.json
file_pattern: "locale/skill.json"
skip_dirty_check: false
commit_author: "GitHub Actions <actions@github.com>"
59 changes: 26 additions & 33 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,40 @@
# Changelog

## [0.1.1a1](https://github.com/OpenVoiceOS/ovos-skill-laugh/tree/0.1.1a1) (2024-11-12)
## [0.2.1a3](https://github.com/OpenVoiceOS/ovos-skill-laugh/tree/0.2.1a3) (2024-12-05)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-skill-laugh/compare/19a8eb8e6f910823e945787324d9e6c8c5660df7...0.1.1a1)
[Full Changelog](https://github.com/OpenVoiceOS/ovos-skill-laugh/compare/0.2.1a2...0.2.1a3)

**Merged pull requests:**

- import galician and basque translations [\#48](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/48) ([JarbasAl](https://github.com/JarbasAl))

## [0.2.1a2](https://github.com/OpenVoiceOS/ovos-skill-laugh/tree/0.2.1a2) (2024-12-02)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-skill-laugh/compare/0.2.1a1...0.2.1a2)

**Fixed bugs:**

- Not on PyPi [\#20](https://github.com/OpenVoiceOS/ovos-skill-laugh/issues/20)
- chore: housekeeping [\#19](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/19) ([mikejgray](https://github.com/mikejgray))
- GUi doesnt like 1.jpg [\#44](https://github.com/OpenVoiceOS/ovos-skill-laugh/issues/44)

**Merged pull requests:**

- import galician translations [\#46](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/46) ([JarbasAl](https://github.com/JarbasAl))

## [0.2.1a1](https://github.com/OpenVoiceOS/ovos-skill-laugh/tree/0.2.1a1) (2024-11-20)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-skill-laugh/compare/0.2.0a2...0.2.1a1)

**Merged pull requests:**

- fix: setup.py [\#43](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/43) ([JarbasAl](https://github.com/JarbasAl))

**Closed issues:**
## [0.2.0a2](https://github.com/OpenVoiceOS/ovos-skill-laugh/tree/0.2.0a2) (2024-11-20)

- add setup.py [\#18](https://github.com/OpenVoiceOS/ovos-skill-laugh/issues/18)
- better bigscreen support - settings [\#14](https://github.com/OpenVoiceOS/ovos-skill-laugh/issues/14)
- Make tagged releases [\#12](https://github.com/OpenVoiceOS/ovos-skill-laugh/issues/12)
- support .mp3 and .ogg [\#6](https://github.com/OpenVoiceOS/ovos-skill-laugh/issues/6)
- Get this skill to market. [\#5](https://github.com/OpenVoiceOS/ovos-skill-laugh/issues/5)
- laugh may be interrupted by speech [\#4](https://github.com/OpenVoiceOS/ovos-skill-laugh/issues/4)
- use audio service [\#3](https://github.com/OpenVoiceOS/ovos-skill-laugh/issues/3)
- dont laugh over speak [\#1](https://github.com/OpenVoiceOS/ovos-skill-laugh/issues/1)
[Full Changelog](https://github.com/OpenVoiceOS/ovos-skill-laugh/compare/0.2.0...0.2.0a2)

**Merged pull requests:**

- chore: target correct version.py [\#36](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/36) ([mikejgray](https://github.com/mikejgray))
- da-dk/translate [\#35](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/35) ([gitlocalize-app[bot]](https://github.com/apps/gitlocalize-app))
- de-de/translate [\#34](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/34) ([gitlocalize-app[bot]](https://github.com/apps/gitlocalize-app))
- chore: release automations [\#33](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/33) ([mikejgray](https://github.com/mikejgray))
- fix:long description [\#32](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/32) ([JarbasAl](https://github.com/JarbasAl))
- added terms in Italian [\#30](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/30) ([gitlocalize-app[bot]](https://github.com/apps/gitlocalize-app))
- accepted addition translation [\#29](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/29) ([gitlocalize-app[bot]](https://github.com/apps/gitlocalize-app))
- Add Catalan translation [\#28](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/28) ([gitlocalize-app[bot]](https://github.com/apps/gitlocalize-app))
- Add Catalan translation [\#27](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/27) ([gitlocalize-app[bot]](https://github.com/apps/gitlocalize-app))
- Add Catalan translation [\#26](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/26) ([gitlocalize-app[bot]](https://github.com/apps/gitlocalize-app))
- pt-pt/translate [\#24](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/24) ([gitlocalize-app[bot]](https://github.com/apps/gitlocalize-app))
- Missing translation [\#23](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/23) ([gitlocalize-app[bot]](https://github.com/apps/gitlocalize-app))
- Missing translation [\#22](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/22) ([gitlocalize-app[bot]](https://github.com/apps/gitlocalize-app))
- Better translation [\#21](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/21) ([gitlocalize-app[bot]](https://github.com/apps/gitlocalize-app))
- Updated translations [\#17](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/17) ([devs-mycroft](https://github.com/devs-mycroft))
- Set callback with 19.08+ method [\#11](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/11) ([forslund](https://github.com/forslund))
- Updated translations [\#10](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/10) ([devs-mycroft](https://github.com/devs-mycroft))
- Updated translations [\#9](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/9) ([devs-mycroft](https://github.com/devs-mycroft))
- Updated translations [\#8](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/8) ([devs-mycroft](https://github.com/devs-mycroft))
- Updated translations: \['de-de', 'es-es'\] [\#7](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/7) ([devs-mycroft](https://github.com/devs-mycroft))
- modernize [\#38](https://github.com/OpenVoiceOS/ovos-skill-laugh/pull/38) ([JarbasAl](https://github.com/JarbasAl))



Expand Down
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
recursive-include locale *
recursive-include gui *
include *.txt
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Makes your voice assistant laugh like a maniac

![A ghostly face, laughing evilly.](./sshot.png)
![A ghostly face, laughing evilly.](./ui/images/2.jpg)

## About

Expand Down Expand Up @@ -38,6 +38,10 @@ Laugh randomly or when requested.
- [@mikejgray](https://graywind.org) (revival)
- [SoundBible](http://soundbible.com/suggest.php?q=laugh&x=0&y=0)
- [FreeSound](https://freesound.org/search/?q=female+evil+laugh)
- [0.jpg](https://pixabay.com/illustrations/ai-generated-woman-horror-monster-8960870/)
- [1.jpg](https://pixabay.com/illustrations/ai-generated-ghost-apparition-8960859/)
- [2.jpg](https://pixabay.com/photos/skull-skull-and-crossbones-skeleton-570975/)
- [3.jpg](https://pixabay.com/illustrations/ai-generated-halloween-ghost-horror-8307427/)

## Category

Expand All @@ -49,3 +53,7 @@ Laugh randomly or when requested.
#funny
#entertainment
#repeating

## License

Apache-2.0
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def laugh(self):

self.gui.clear()
pic = random.randint(0, 3)
self.gui.show_image(join(dirname(__file__), "ui", "images", str(pic) + ".jpg"))
self.gui.show_image(str(pic) + ".jpg")
self.play_audio(sound)
self.gui.clear()

Expand Down
Binary file added gui/all/0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gui/all/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gui/all/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gui/all/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions locale/eu/dialog/cancel.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Ez dut barre gehiagorik egingo
akabo barreak
1 change: 1 addition & 0 deletions locale/eu/dialog/cancel_fail.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ez naiz barrez ari
3 changes: 3 additions & 0 deletions locale/eu/dialog/maybe.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
agian
ez
nork daki
1 change: 1 addition & 0 deletions locale/eu/dialog/yes.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bai
3 changes: 3 additions & 0 deletions locale/eu/vocab/Laugh.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(barre|irri|algara|karkara) maltzurra
barre egin al dezakezu?
barre egin alexa bezala
3 changes: 3 additions & 0 deletions locale/eu/vocab/RandomLaugh.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ausazko (barre|irri|algara|karkara)
barre egin ausaz
eragin ausazko (barre|irri|algara|karkara)
3 changes: 3 additions & 0 deletions locale/eu/vocab/Stop.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bertan behera utzi
gelditu
utzi
2 changes: 2 additions & 0 deletions locale/eu/vocab/haunted.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Exorzismo bat behar al duzu?
Sorginduta al zaude?
2 changes: 2 additions & 0 deletions locale/gl-es/dialog/cancel.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
non vou rir máis
pararon os risos
1 change: 1 addition & 0 deletions locale/gl-es/dialog/cancel_fail.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
non estou a rir
3 changes: 3 additions & 0 deletions locale/gl-es/dialog/maybe.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
non
quen sabe
se cadra
1 change: 1 addition & 0 deletions locale/gl-es/dialog/yes.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
si
3 changes: 3 additions & 0 deletions locale/gl-es/vocab/Laugh.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(risa|riso|risos|risada) (malvada|malvado|malvados)
podes rir
rir como alexa
3 changes: 3 additions & 0 deletions locale/gl-es/vocab/RandomLaugh.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(risa|riso|risos|risada) ao chou
activar (risa|riso|risos|risada) ao chou
rir ao chou
3 changes: 3 additions & 0 deletions locale/gl-es/vocab/Stop.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
cancelar
deter
parar
2 changes: 2 additions & 0 deletions locale/gl-es/vocab/haunted.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Precisas dun exorcismo?
Tes un meigallo?
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ ovos-utils
ovos-workshop
ovos-plugin-manager
ovos-audio
ovos-bus-client>=1.0.1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_requirements(requirements_filename: str):


def find_resource_files():
resource_base_dirs = ("locale", "intents", "dialog", "vocab", "regex", "ui", "sounds")
resource_base_dirs = ("locale", "gui", "sounds")
package_data = ["*.json"]
for res in resource_base_dirs:
if path.isdir(path.join(BASE_PATH, res)):
Expand Down
11 changes: 8 additions & 3 deletions skill.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"title": "Laugh",
"url": "https://github.com/OpenVoiceOS/ovos-skill-laugh",
"summary": "![Python](https://img.shields.io/badge/python-3.8-blue.svg) ![Python](https://img.shields.io/badge/python-3.9-blue.svg) ![Python](https://img.shields.io/badge/python-3.10-blue.svg) ![Python](https://img.shields.io/badge/python-3.11-blue.svg) Makes your voice assistant laugh like a maniac ![A ghostly face, laughing evilly.](./sshot.png)",
"short_description": "![Python](https://img.shields.io/badge/python-3.8-blue.svg) ![Python](https://img.shields.io/badge/python-3.9-blue.svg) ![Python](https://img.shields.io/badge/python-3.10-blue.svg) ![Python](https://img.shields.io/badge/python-3.11-blue.svg) Makes your voice assistant laugh like a maniac ![A ghostly face, laughing evilly.](./sshot.png)",
"summary": "![Python](https://img.shields.io/badge/python-3.8-blue.svg) ![Python](https://img.shields.io/badge/python-3.9-blue.svg) ![Python](https://img.shields.io/badge/python-3.10-blue.svg) ![Python](https://img.shields.io/badge/python-3.11-blue.svg) Makes your voice assistant laugh like a maniac ![A ghostly face, laughing evilly.](./ui/images/2.jpg)",
"short_description": "![Python](https://img.shields.io/badge/python-3.8-blue.svg) ![Python](https://img.shields.io/badge/python-3.9-blue.svg) ![Python](https://img.shields.io/badge/python-3.10-blue.svg) ![Python](https://img.shields.io/badge/python-3.11-blue.svg) Makes your voice assistant laugh like a maniac ![A ghostly face, laughing evilly.](./ui/images/2.jpg)",
"description": "Laugh randomly or when requested.",
"examples": [
"Laugh like Alexa",
Expand All @@ -14,6 +14,7 @@
"requirements": {
"python": [
"ovos-audio",
"ovos-bus-client>=1.0.1",
"ovos-plugin-manager",
"ovos-utils",
"ovos-workshop"
Expand Down Expand Up @@ -46,7 +47,11 @@
"- [@JarbasAl](https://jarbasal.github.io)",
"- [@mikejgray](https://graywind.org) (revival)",
"- [SoundBible](http://soundbible.com/suggest.php?q=laugh&x=0&y=0)",
"- [FreeSound](https://freesound.org/search/?q=female+evil+laugh)"
"- [FreeSound](https://freesound.org/search/?q=female+evil+laugh)",
"- [0.jpg](https://pixabay.com/illustrations/ai-generated-woman-horror-monster-8960870/)",
"- [1.jpg](https://pixabay.com/illustrations/ai-generated-ghost-apparition-8960859/)",
"- [2.jpg](https://pixabay.com/photos/skull-skull-and-crossbones-skeleton-570975/)",
"- [3.jpg](https://pixabay.com/illustrations/ai-generated-halloween-ghost-horror-8307427/)"
],
"skillname": "ovos-skill-laugh",
"authorname": "OpenVoiceOS",
Expand Down
Binary file removed sshot.png
Binary file not shown.
17 changes: 17 additions & 0 deletions translations/eu/dialogs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"/dialog/cancel_fail.dialog": [
"ez naiz barrez ari"
],
"/dialog/yes.dialog": [
"bai"
],
"/dialog/cancel.dialog": [
"Ez dut barre gehiagorik egingo",
"akabo barreak"
],
"/dialog/maybe.dialog": [
"agian",
"ez",
"nork daki"
]
}
16 changes: 16 additions & 0 deletions translations/eu/intents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"/vocab/RandomLaugh.intent": [
"barre egin ausaz",
"ausazko (barre|irri|algara|karkara)",
"eragin ausazko (barre|irri|algara|karkara)"
],
"/vocab/Laugh.intent": [
"barre egin al dezakezu?",
"(barre|irri|algara|karkara) maltzurra",
"barre egin alexa bezala"
],
"/vocab/haunted.intent": [
"Sorginduta al zaude?",
"Exorzismo bat behar al duzu?"
]
}
7 changes: 7 additions & 0 deletions translations/eu/vocabs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"/vocab/Stop.voc": [
"utzi",
"bertan behera utzi",
"gelditu"
]
}
17 changes: 17 additions & 0 deletions translations/gl-es/dialogs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"/dialog/cancel_fail.dialog": [
"non estou a rir"
],
"/dialog/yes.dialog": [
"si"
],
"/dialog/cancel.dialog": [
"non vou rir máis",
"pararon os risos"
],
"/dialog/maybe.dialog": [
"se cadra",
"non",
"quen sabe"
]
}
16 changes: 16 additions & 0 deletions translations/gl-es/intents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"/vocab/RandomLaugh.intent": [
"rir ao chou",
"(risa|riso|risos|risada) ao chou",
"activar (risa|riso|risos|risada) ao chou"
],
"/vocab/Laugh.intent": [
"podes rir",
"(risa|riso|risos|risada) (malvada|malvado|malvados)",
"rir como alexa"
],
"/vocab/haunted.intent": [
"Tes un meigallo?",
"Precisas dun exorcismo?"
]
}
7 changes: 7 additions & 0 deletions translations/gl-es/vocabs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"/vocab/Stop.voc": [
"deter",
"cancelar",
"parar"
]
}
Binary file removed ui/images/0.jpg
Binary file not shown.
Binary file removed ui/images/1.jpg
Binary file not shown.
Binary file removed ui/images/2.jpg
Binary file not shown.
Binary file removed ui/images/3.jpg
Binary file not shown.
4 changes: 2 additions & 2 deletions version.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# START_VERSION_BLOCK
VERSION_MAJOR = 0
VERSION_MINOR = 1
VERSION_MINOR = 2
VERSION_BUILD = 1
VERSION_ALPHA = 0
VERSION_ALPHA = 3
# END_VERSION_BLOCKVERSION_MAJOR = 0
VERSION_MINOR = 1
VERSION_BUILD = 0
Expand Down
Loading