From 078b5d12de811e56aa068e34cb436a738ffe3514 Mon Sep 17 00:00:00 2001 From: yousan Date: Thu, 16 Jan 2025 10:31:09 +0900 Subject: [PATCH 01/18] fix: action trigger only PR for develop branch --- .github/workflows/translate_readme.yml | 40 ++++++++++++++------------ 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/.github/workflows/translate_readme.yml b/.github/workflows/translate_readme.yml index f8be5cd2..35f3a364 100644 --- a/.github/workflows/translate_readme.yml +++ b/.github/workflows/translate_readme.yml @@ -2,6 +2,8 @@ name: Translate README on: pull_request: + branches: + - develop paths: - README.md @@ -9,26 +11,26 @@ jobs: translate: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v2 + - name: Checkout repository + uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.x' + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' - - name: Install OpenAI library - run: pip install openai + - name: Install OpenAI library + run: pip install openai - - name: Run translation script - env: - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - run: python .github/scripts/translate_readme.py + - name: Run translation script + env: + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + run: python .github/scripts/translate_readme.py - - name: Commit changes - run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" - git add README_EN.md README_CN.md - git commit -m "Update translations" || echo "No changes to commit" - git push \ No newline at end of file + - name: Commit changes + run: | + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git add README_EN.md README_CN.md + git commit -m "Update translations" || echo "No changes to commit" + git push \ No newline at end of file From 6a74220917d125d09c52d1b41da233d176ce76d8 Mon Sep 17 00:00:00 2001 From: yousan Date: Thu, 16 Jan 2025 10:32:58 +0900 Subject: [PATCH 02/18] docs: update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 77ffb0f6..c6679e0c 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,9 @@ * SteamingAssets/Voice/以下に配置した音声ファイルを読み込んで再生します。複数ある場合は、ランダムで再生します。 * クリック時に再生される音声は、StreamingAssets/Voice/Click/に配置した音声ファイルを読み込んで再生します。 * SteamingAssets/BGM/以下に配置した音楽ファイルを読み込んで再生します。複数ある場合は、ランダムで再生します。 +* キャラクターのデフォルトのボイスの追加 + * デフォルトのボイスは、[COEIROINK:つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan)の音声を使用しています。 + * アプリ起動時、アプリ終了時、クリック時に再生されます。 # requirements * Unity 6000.0.31f1(IL2CPP) From 9b474d12bbcd6b7e05b27ac5f80c8108ac81dee9 Mon Sep 17 00:00:00 2001 From: yousan Date: Thu, 16 Jan 2025 10:35:45 +0900 Subject: [PATCH 03/18] =?UTF-8?q?fix:=20actions=E5=86=85=E9=83=A8=E3=81=AE?= =?UTF-8?q?=E3=83=A9=E3=82=A4=E3=83=96=E3=83=A9=E3=83=AA=E3=81=AE=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/translate_readme.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/translate_readme.yml b/.github/workflows/translate_readme.yml index 35f3a364..8e4ab935 100644 --- a/.github/workflows/translate_readme.yml +++ b/.github/workflows/translate_readme.yml @@ -12,12 +12,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4.2.2 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5.3.0 with: - python-version: '3.x' + python-version: '3.11' - name: Install OpenAI library run: pip install openai From e954eb9881e72500d189f969d29e6d4a814fc039 Mon Sep 17 00:00:00 2001 From: yousan Date: Thu, 16 Jan 2025 10:37:37 +0900 Subject: [PATCH 04/18] =?UTF-8?q?fix:=20pip=20=E4=B8=80=E8=A6=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/translate_readme.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/translate_readme.yml b/.github/workflows/translate_readme.yml index 8e4ab935..4123f814 100644 --- a/.github/workflows/translate_readme.yml +++ b/.github/workflows/translate_readme.yml @@ -21,6 +21,9 @@ jobs: - name: Install OpenAI library run: pip install openai + + - name: confirm library installation + run: pip list - name: Run translation script env: From 8a4cd1fe378203c7c68f6d6557c941b413221231 Mon Sep 17 00:00:00 2001 From: yousan Date: Thu, 16 Jan 2025 10:43:16 +0900 Subject: [PATCH 05/18] =?UTF-8?q?fix:=20=E7=BF=BB=E8=A8=B3=E5=87=A6?= =?UTF-8?q?=E7=90=86=E3=81=AE=E3=82=B3=E3=83=BC=E3=83=89=E3=81=AE=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/scripts/translate_readme.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/scripts/translate_readme.py b/.github/scripts/translate_readme.py index 6e2004f7..0a508536 100644 --- a/.github/scripts/translate_readme.py +++ b/.github/scripts/translate_readme.py @@ -1,10 +1,11 @@ -import openai +from openai import OpenAI import os +client = OpenAI(api_key=os.environ["OPENAI_API_KEY"]) + def translate_text(text, target_language): - openai.api_key = os.environ["OPENAI_API_KEY"] - completion = openai.ChatCompletion.create( - model="gpt-4o-mini", + completion = client.chat.completions.create( + model="gpt-4o", messages=[ {"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": f"Translate the following text to {target_language}: {text}"} From 7f3d7ea56bfef15fa1e5e1b96ecacf6bd3f231f6 Mon Sep 17 00:00:00 2001 From: yousan Date: Thu, 16 Jan 2025 10:46:25 +0900 Subject: [PATCH 06/18] =?UTF-8?q?fix:=20=E7=B5=90=E6=9E=9C=E3=81=AEindex?= =?UTF-8?q?=E3=82=A2=E3=82=AF=E3=82=BB=E3=82=B9=E3=81=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/scripts/translate_readme.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/scripts/translate_readme.py b/.github/scripts/translate_readme.py index 0a508536..2aa294f0 100644 --- a/.github/scripts/translate_readme.py +++ b/.github/scripts/translate_readme.py @@ -5,13 +5,14 @@ def translate_text(text, target_language): completion = client.chat.completions.create( - model="gpt-4o", + model="gpt-4o-mini", # 使用するモデルの指定 messages=[ {"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": f"Translate the following text to {target_language}: {text}"} ] ) - return completion.choices[0].message['content'] + # メッセージのコンテンツに直接アクセスする + return completion.choices[0].message.content def main(): # Read the original README From 3667e345e90b856af0ca0c17b9f9c61f24e741a8 Mon Sep 17 00:00:00 2001 From: yousan Date: Thu, 16 Jan 2025 10:51:48 +0900 Subject: [PATCH 07/18] =?UTF-8?q?fix:=20=E5=B7=AE=E5=88=86=E3=81=AEpush?= =?UTF-8?q?=E5=85=88=E3=82=92PR=E3=81=AE=E3=83=96=E3=83=A9=E3=83=B3?= =?UTF-8?q?=E3=83=81=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/translate_readme.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/translate_readme.yml b/.github/workflows/translate_readme.yml index 4123f814..e78a69b4 100644 --- a/.github/workflows/translate_readme.yml +++ b/.github/workflows/translate_readme.yml @@ -36,4 +36,4 @@ jobs: git config --local user.name "GitHub Action" git add README_EN.md README_CN.md git commit -m "Update translations" || echo "No changes to commit" - git push \ No newline at end of file + git push origin ${{ github.head_ref }} # PRのブランチにプッシュ \ No newline at end of file From bd636a3a2d6749427ff8d95ad721b7ae2ba9a9f5 Mon Sep 17 00:00:00 2001 From: yousan Date: Thu, 16 Jan 2025 10:54:15 +0900 Subject: [PATCH 08/18] =?UTF-8?q?fix:=20push=E5=87=A6=E7=90=86=E3=81=AE?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/translate_readme.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/translate_readme.yml b/.github/workflows/translate_readme.yml index e78a69b4..2c8f20e8 100644 --- a/.github/workflows/translate_readme.yml +++ b/.github/workflows/translate_readme.yml @@ -34,6 +34,11 @@ jobs: run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" + # 変更をステージしてコミット git add README_EN.md README_CN.md - git commit -m "Update translations" || echo "No changes to commit" - git push origin ${{ github.head_ref }} # PRのブランチにプッシュ \ No newline at end of file + if git commit -m "Update translations"; then + echo "Changes committed successfully." + git push origin ${{ github.head_ref }} # 現在のプルリクエストのブランチにプッシュ + else + echo "No changes to commit" + fi \ No newline at end of file From 4616359b9f9d58185abce1af20806eaec56534e4 Mon Sep 17 00:00:00 2001 From: yousan Date: Thu, 16 Jan 2025 10:56:15 +0900 Subject: [PATCH 09/18] =?UTF-8?q?fix:=20push=E5=87=A6=E7=90=86=E3=81=AE?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/translate_readme.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/translate_readme.yml b/.github/workflows/translate_readme.yml index 2c8f20e8..0e1ea946 100644 --- a/.github/workflows/translate_readme.yml +++ b/.github/workflows/translate_readme.yml @@ -38,7 +38,7 @@ jobs: git add README_EN.md README_CN.md if git commit -m "Update translations"; then echo "Changes committed successfully." - git push origin ${{ github.head_ref }} # 現在のプルリクエストのブランチにプッシュ + git push origin HEAD:${{ github.head_ref }} # 現在のHEADをPRブランチ名にプッシュ else echo "No changes to commit" fi \ No newline at end of file From 58470de572330581e3b97bb97b5e2b17e966fd6d Mon Sep 17 00:00:00 2001 From: yousan Date: Thu, 16 Jan 2025 10:59:17 +0900 Subject: [PATCH 10/18] =?UTF-8?q?fix:=20push=E5=87=A6=E7=90=86=E3=81=AE?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/translate_readme.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/translate_readme.yml b/.github/workflows/translate_readme.yml index 0e1ea946..22f1cf9a 100644 --- a/.github/workflows/translate_readme.yml +++ b/.github/workflows/translate_readme.yml @@ -38,7 +38,12 @@ jobs: git add README_EN.md README_CN.md if git commit -m "Update translations"; then echo "Changes committed successfully." - git push origin HEAD:${{ github.head_ref }} # 現在のHEADをPRブランチ名にプッシュ + + # Pullでリモートの最新の変更を取り込み、リベース + git pull --rebase origin ${{ github.head_ref }} + + # 最後にプッシュ + git push origin HEAD:${{ github.head_ref }} else echo "No changes to commit" fi \ No newline at end of file From 9b8f42f0ef7ce09394fd5c70d5450b9eac55606d Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 16 Jan 2025 02:00:28 +0000 Subject: [PATCH 11/18] Update translations --- README_CN.md | 31 +++++++++++++++++-------------- README_EN.md | 23 +++++++++++++---------- 2 files changed, 30 insertions(+), 24 deletions(-) diff --git a/README_CN.md b/README_CN.md index bfc54ee2..4667cfbd 100644 --- a/README_CN.md +++ b/README_CN.md @@ -1,23 +1,26 @@ # uDesktopMascot -[![Unity Version](https://img.shields.io/badge/Unity-6000.0%2B-blueviolet?logo=unity)](https://unity.com/releases/editor/archive) -[![Releases](https://img.shields.io/github/release/MidraLab/uDesktopMascot.svg)](https://github.com/MidraLab/uDesktopMascot/releases) +[![Unity 版本](https://img.shields.io/badge/Unity-6000.0%2B-blueviolet?logo=unity)](https://unity.com/releases/editor/archive) +[![版本发布](https://img.shields.io/github/release/MidraLab/uDesktopMascot.svg)](https://github.com/MidraLab/uDesktopMascot/releases) -[日本語](README.md) | 中文 | [English](README_EN.md) +日本語 | [English](README_EN.md) | [中文](README_CN.md) 这是一个桌面吉祥物的开放项目。 -## 功能 -* 加载并显示放置在 StreamingAssets 文件夹中的任意 VRM 文件。如果有多个文件,将加载第一个找到的文件。 -* 加载并播放放置在 `StreamingAssets/Voice/` 文件夹中的音频文件。如果有多个文件,将随机播放一个。 - * 点击时播放的音频从 `StreamingAssets/Voice/Click/` 中的文件加载。 -* 加载并播放 `StreamingAssets/BGM/` 文件夹中的音乐文件。如果有多个文件,将随机播放一个。 +## 特点 +* 加载并显示放置在 `StreamingAssets` 中的任意 VRM 文件。如果有多个文件,则加载搜索结果中的第一个。 +* 加载并播放放置在 `SteamingAssets/Voice/` 下的音频文件。如果有多个文件,则随机播放。 + * 点击时播放的音频来自于放置在 `StreamingAssets/Voice/Click/` 中的音频文件。 +* 加载并播放放置在 `SteamingAssets/BGM/` 下的音乐文件。如果有多个文件,则随机播放。 +* 添加角色的默认声音 + * 默认声音使用了 [COEIROINK: つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan) 的音频。 + * 应用启动时、应用退出时和点击时会播放。 -# 要求 -* Unity 6000.0.31f1 +# 系统要求 +* Unity 6000.0.31f1 (IL2CPP) # 关于素材 -* 默认角色动画是使用 [Unity Muse Animate](https://muse.unity.com/ja-jp/explore) 创建的。 -* 默认背景音乐 (BGM) 是在 MidraLab 内部创建的素材。 -* 使用的字体是 [Noto Sans Japanese](https://fonts.google.com/noto/specimen/Noto+Sans+JP?lang=ja_Jpan)。根据 [SIL OPEN FONT LICENSE Version 1.1](https://fonts.google.com/noto/specimen/Noto+Sans+JP/license?lang=ja_Jpan) 进行再发行。字体的版权属于原作者(Google)。 -* 默认语音来自 [COEIROINK: 月读酱](https://coeiroink.com/character/audio-character/tsukuyomi-chan)。关于使用的事宜已事先获得 COEIROINK 的确认。 \ No newline at end of file +* 默认的角色动画是使用 [Unity Muse Animate](https://muse.unity.com/ja-jp/explore) 创建的。 +* 默认的背景音乐是 MidraLab 内部制作的资产。 +* 字体为 [Noto Sans Japanese](https://fonts.google.com/noto/specimen/Noto+Sans+JP?lang=ja_Jpan)。根据 [SIL OPEN FONT LICENSE Version 1.1](https://fonts.google.com/noto/specimen/Noto+Sans+JP/license?lang=ja_Jpan) 重新分发 Noto Sans JP 字体。字体的版权归原作者(Google)所有。 +* 默认声音使用了 [COEIROINK: つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan) 的音频。使用方法已提前得到 COEIROINK 的确认。 \ No newline at end of file diff --git a/README_EN.md b/README_EN.md index 6f7060cf..5cbf10c0 100644 --- a/README_EN.md +++ b/README_EN.md @@ -3,21 +3,24 @@ [![Unity Version](https://img.shields.io/badge/Unity-6000.0%2B-blueviolet?logo=unity)](https://unity.com/releases/editor/archive) [![Releases](https://img.shields.io/github/release/MidraLab/uDesktopMascot.svg)](https://github.com/MidraLab/uDesktopMascot/releases) -[日本語](README.md) | English | [中文](README_CN.md) +Japanese | [English](README_EN.md) | [中文](README_CN.md) -This is an open project for a desktop mascot. +This is an Open Project for a desktop mascot. ## Features -* Loads and displays any VRM file placed in the StreamingAssets folder. If there are multiple files, it loads the first one found. -* Loads and plays audio files placed in the `StreamingAssets/Voice/` folder. If there are multiple files, it plays one randomly. - * The audio played upon clicking is loaded from the files placed in `StreamingAssets/Voice/Click/`. -* Loads and plays music files from the `StreamingAssets/BGM/` folder. If there are multiple files, it plays one randomly. +* Loads and displays any VRM files placed in StreamingAssets. If there are multiple, it loads the one that appears first in the search. +* Loads and plays audio files placed in StreamingAssets/Voice/. If there are multiple, they play randomly. + * The audio played upon clicking is loaded from sound files placed in StreamingAssets/Voice/Click/. +* Loads and plays music files placed in StreamingAssets/BGM/. If there are multiple, they play randomly. +* Addition of the character's default voice. + * The default voice is sourced from [COEIROINK: Tsukuyomi-chan](https://coeiroink.com/character/audio-character/tsukuyomi-chan). + * It plays at app startup, app exit, and on clicks. # Requirements -* Unity 6000.0.31f1 +* Unity 6000.0.31f1 (IL2CPP) -# About the Assets +# About the Materials * The default character animations are created using [Unity Muse Animate](https://muse.unity.com/ja-jp/explore). * The default background music (BGM) is an asset created within MidraLab. -* The font used is [Noto Sans Japanese](https://fonts.google.com/noto/specimen/Noto+Sans+JP?lang=ja_Jpan). It is redistributed under the [SIL OPEN FONT LICENSE Version 1.1](https://fonts.google.com/noto/specimen/Noto+Sans+JP/license?lang=ja_Jpan). The copyright of the font belongs to the original author (Google). -* The default voice is from [COEIROINK: Tsukuyomi-chan](https://coeiroink.com/character/audio-character/tsukuyomi-chan). Prior confirmation regarding usage has been obtained from COEIROINK. \ No newline at end of file +* The font used is [Noto Sans Japanese](https://fonts.google.com/noto/specimen/Noto+Sans+JP?lang=ja_Jpan). This is a redistribution of the Noto Sans JP font under the [SIL OPEN FONT LICENSE Version 1.1](https://fonts.google.com/noto/specimen/Noto+Sans+JP/license?lang=ja_Jpan). The copyright of the font belongs to the original author (Google). +* The default voice is sourced from [COEIROINK: Tsukuyomi-chan](https://coeiroink.com/character/audio-character/tsukuyomi-chan). We have confirmed in advance with COEIROINK regarding usage. \ No newline at end of file From ec3dc3b4fe6f88fdd3044794cf1044097cdf03bb Mon Sep 17 00:00:00 2001 From: yousan Date: Thu, 16 Jan 2025 11:09:00 +0900 Subject: [PATCH 12/18] =?UTF-8?q?fix:=20=E3=83=AD=E3=82=B0=E7=94=A8?= =?UTF-8?q?=E3=81=AEjob=E3=81=AE=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/translate_readme.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/translate_readme.yml b/.github/workflows/translate_readme.yml index 22f1cf9a..93e46257 100644 --- a/.github/workflows/translate_readme.yml +++ b/.github/workflows/translate_readme.yml @@ -21,9 +21,6 @@ jobs: - name: Install OpenAI library run: pip install openai - - - name: confirm library installation - run: pip list - name: Run translation script env: From 3c0ed5827f5e1246f9cb31017c58a242e2608b4d Mon Sep 17 00:00:00 2001 From: yousan Date: Thu, 16 Jan 2025 11:09:15 +0900 Subject: [PATCH 13/18] =?UTF-8?q?docs:=20=E3=82=B9=E3=83=9A=E3=82=A4?= =?UTF-8?q?=E3=83=B3=E8=AA=9E=E3=81=A8=E3=83=95=E3=83=A9=E3=83=B3=E3=82=B9?= =?UTF-8?q?=E8=AA=9E=E3=81=AEdocs=E3=81=AE=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/scripts/translate_readme.py | 10 ++++++++++ README.md | 2 +- README_ES.md | 26 ++++++++++++++++++++++++++ README_FR.md | 26 ++++++++++++++++++++++++++ 4 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 README_ES.md create mode 100644 README_FR.md diff --git a/.github/scripts/translate_readme.py b/.github/scripts/translate_readme.py index 2aa294f0..249f4c0f 100644 --- a/.github/scripts/translate_readme.py +++ b/.github/scripts/translate_readme.py @@ -29,5 +29,15 @@ def main(): with open('README_CN.md', 'w', encoding='utf-8') as file: file.write(translated_cn) + # Translate to Spanish + translated_es = translate_text(original_text, 'Spanish') + with open('README_ES.md', 'w', encoding='utf-8') as file: + file.write(translated_es) + + # Translate to French + translated_fr = translate_text(original_text, 'French') + with open('README_FR.md', 'w', encoding='utf-8') as file: + file.write(translated_fr) + if __name__ == "__main__": main() \ No newline at end of file diff --git a/README.md b/README.md index c6679e0c..a2af3ff4 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Unity Version](https://img.shields.io/badge/Unity-6000.0%2B-blueviolet?logo=unity)](https://unity.com/releases/editor/archive) [![Releases](https://img.shields.io/github/release/MidraLab/uDesktopMascot.svg)](https://github.com/MidraLab/uDesktopMascot/releases) -日本語 | [English](README_EN.md) | [中文](README_CN.md) +日本語 | [English](README_EN.md) | [中文](README_CN.md) | [Español](README_ES.md) | [Français](README_FR.md) デスクトップマスコットのOpen Projectです。 diff --git a/README_ES.md b/README_ES.md new file mode 100644 index 00000000..c4931c42 --- /dev/null +++ b/README_ES.md @@ -0,0 +1,26 @@ +# uDesktopMascot + +[![Unity Version](https://img.shields.io/badge/Unity-6000.0%2B-blueviolet?logo=unity)](https://unity.com/releases/editor/archive) +[![Releases](https://img.shields.io/github/release/MidraLab/uDesktopMascot.svg)](https://github.com/MidraLab/uDesktopMascot/releases) + +日本語 | [English](README_EN.md) | [中文](README_CN.md) + +デスクトップマスコットのOpen Projectです。 + +## Features +* StreamingAssetsに配置した任意VRMファイルを読み込んで表示します。複数ある場合は、検索の先頭にあるものを読み込みます。 +* SteamingAssets/Voice/以下に配置した音声ファイルを読み込んで再生します。複数ある場合は、ランダムで再生します。 + * クリック時に再生される音声は、StreamingAssets/Voice/Click/に配置した音声ファイルを読み込んで再生します。 +* SteamingAssets/BGM/以下に配置した音楽ファイルを読み込んで再生します。複数ある場合は、ランダムで再生します。 +* キャラクターのデフォルトのボイスの追加 + * デフォルトのボイスは、[COEIROINK:つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan)の音声を使用しています。 + * アプリ起動時、アプリ終了時、クリック時に再生されます。 + +# requirements +* Unity 6000.0.31f1(IL2CPP) + +# 素材について +* デフォルトのキャラクターアニメーションは、[Unity Muse Animate](https://muse.unity.com/ja-jp/explore)を用いて作成されています。 +* デフォルトのBGMは、MidraLab内で作成したアセットです。 +* フォントは[Noto Sans Japanese](https://fonts.google.com/noto/specimen/Noto+Sans+JP?lang=ja_Jpan)です。[SIL OPEN FONT LICENSE Version 1.1](https://fonts.google.com/noto/specimen/Noto+Sans+JP/license?lang=ja_Jpan)に基づきNoto Sans JPフォントを再配布するものです。フォントの著作権は元の作者(Google)にあります。 +* デフォルトボイスは、[COEIROINK:つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan)の音声を使用しています。使用方法については、COEIROINK側に事前に確認済みです \ No newline at end of file diff --git a/README_FR.md b/README_FR.md new file mode 100644 index 00000000..c4931c42 --- /dev/null +++ b/README_FR.md @@ -0,0 +1,26 @@ +# uDesktopMascot + +[![Unity Version](https://img.shields.io/badge/Unity-6000.0%2B-blueviolet?logo=unity)](https://unity.com/releases/editor/archive) +[![Releases](https://img.shields.io/github/release/MidraLab/uDesktopMascot.svg)](https://github.com/MidraLab/uDesktopMascot/releases) + +日本語 | [English](README_EN.md) | [中文](README_CN.md) + +デスクトップマスコットのOpen Projectです。 + +## Features +* StreamingAssetsに配置した任意VRMファイルを読み込んで表示します。複数ある場合は、検索の先頭にあるものを読み込みます。 +* SteamingAssets/Voice/以下に配置した音声ファイルを読み込んで再生します。複数ある場合は、ランダムで再生します。 + * クリック時に再生される音声は、StreamingAssets/Voice/Click/に配置した音声ファイルを読み込んで再生します。 +* SteamingAssets/BGM/以下に配置した音楽ファイルを読み込んで再生します。複数ある場合は、ランダムで再生します。 +* キャラクターのデフォルトのボイスの追加 + * デフォルトのボイスは、[COEIROINK:つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan)の音声を使用しています。 + * アプリ起動時、アプリ終了時、クリック時に再生されます。 + +# requirements +* Unity 6000.0.31f1(IL2CPP) + +# 素材について +* デフォルトのキャラクターアニメーションは、[Unity Muse Animate](https://muse.unity.com/ja-jp/explore)を用いて作成されています。 +* デフォルトのBGMは、MidraLab内で作成したアセットです。 +* フォントは[Noto Sans Japanese](https://fonts.google.com/noto/specimen/Noto+Sans+JP?lang=ja_Jpan)です。[SIL OPEN FONT LICENSE Version 1.1](https://fonts.google.com/noto/specimen/Noto+Sans+JP/license?lang=ja_Jpan)に基づきNoto Sans JPフォントを再配布するものです。フォントの著作権は元の作者(Google)にあります。 +* デフォルトボイスは、[COEIROINK:つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan)の音声を使用しています。使用方法については、COEIROINK側に事前に確認済みです \ No newline at end of file From 7f93b027d9d412751f9e725fce8eac19c6648ce5 Mon Sep 17 00:00:00 2001 From: yousan Date: Thu, 16 Jan 2025 11:11:50 +0900 Subject: [PATCH 14/18] docs: update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a2af3ff4..61e1487d 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,12 @@ 日本語 | [English](README_EN.md) | [中文](README_CN.md) | [Español](README_ES.md) | [Français](README_FR.md) -デスクトップマスコットのOpen Projectです。 +**注意**: 上記の言語(English、中文、Español、Français)は、GPT-4o-miniによる自動翻訳で生成されています。翻訳の精度やニュアンスに関しては、原文(日本語)をご参照ください。 + +## 概要 + +「uDesktopMascot」は、デスクトップ上にキャラクターを表示し、ユーザーのインタラクションに応じた反応や音声を再生するオープンソースのプロジェクトです。このプロジェクトは、Unityを用いて開発されており、VRM形式のキャラクターをサポートしていますので、自分の好きなキャラクターを簡単にデスクトップ上で楽しむことができます。 + ## Features * StreamingAssetsに配置した任意VRMファイルを読み込んで表示します。複数ある場合は、検索の先頭にあるものを読み込みます。 From fce9d9264b6c6774507adb35ba90d98165c61092 Mon Sep 17 00:00:00 2001 From: yousan Date: Thu, 16 Jan 2025 11:14:41 +0900 Subject: [PATCH 15/18] =?UTF-8?q?fix:=20push=E5=87=A6=E7=90=86=E3=81=AE?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/translate_readme.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/translate_readme.yml b/.github/workflows/translate_readme.yml index 93e46257..a59b3ab4 100644 --- a/.github/workflows/translate_readme.yml +++ b/.github/workflows/translate_readme.yml @@ -31,14 +31,21 @@ jobs: run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" + # 変更をステージしてコミット - git add README_EN.md README_CN.md + git add README_EN.md README_CN.md README_ES.md README_FR.md if git commit -m "Update translations"; then echo "Changes committed successfully." - + + # 未ステージの変更が無いことを確認するためにstashする + git stash push -m "Stashing before pull" + # Pullでリモートの最新の変更を取り込み、リベース git pull --rebase origin ${{ github.head_ref }} - + + # スタッシュをポップして元に戻す + git stash pop + # 最後にプッシュ git push origin HEAD:${{ github.head_ref }} else From fe928bf87e51afef53c2c018f69ff9b542fd6bed Mon Sep 17 00:00:00 2001 From: yousan Date: Thu, 16 Jan 2025 11:18:14 +0900 Subject: [PATCH 16/18] =?UTF-8?q?fix:=20push=E5=87=A6=E7=90=86=E3=81=AE?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/translate_readme.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/translate_readme.yml b/.github/workflows/translate_readme.yml index a59b3ab4..bba4012a 100644 --- a/.github/workflows/translate_readme.yml +++ b/.github/workflows/translate_readme.yml @@ -31,21 +31,26 @@ jobs: run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" - + # 変更をステージしてコミット git add README_EN.md README_CN.md README_ES.md README_FR.md if git commit -m "Update translations"; then echo "Changes committed successfully." - + # 未ステージの変更が無いことを確認するためにstashする git stash push -m "Stashing before pull" # Pullでリモートの最新の変更を取り込み、リベース - git pull --rebase origin ${{ github.head_ref }} + if git pull --rebase origin ${{ github.head_ref }}; then + echo "Successfully rebased." + else + echo "Rebase failed. Please review the errors." + exit 1 # エラーが発生した場合、処理を中止 + fi # スタッシュをポップして元に戻す git stash pop - + # 最後にプッシュ git push origin HEAD:${{ github.head_ref }} else From 2ca1263f24bb1af07cfd07bc4209d8ed0b977b44 Mon Sep 17 00:00:00 2001 From: yousan Date: Thu, 16 Jan 2025 11:38:17 +0900 Subject: [PATCH 17/18] =?UTF-8?q?fix:=20push=E5=87=A6=E7=90=86=E3=81=AE?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/translate_readme.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/translate_readme.yml b/.github/workflows/translate_readme.yml index bba4012a..0c4f8ce8 100644 --- a/.github/workflows/translate_readme.yml +++ b/.github/workflows/translate_readme.yml @@ -37,9 +37,6 @@ jobs: if git commit -m "Update translations"; then echo "Changes committed successfully." - # 未ステージの変更が無いことを確認するためにstashする - git stash push -m "Stashing before pull" - # Pullでリモートの最新の変更を取り込み、リベース if git pull --rebase origin ${{ github.head_ref }}; then echo "Successfully rebased." @@ -48,8 +45,11 @@ jobs: exit 1 # エラーが発生した場合、処理を中止 fi - # スタッシュをポップして元に戻す - git stash pop + # スタッシュが必要かを確認 + if git stash list | grep -q "stash@{0}"; then + # スタッシュが存在する場合はポップする + git stash pop + fi # 最後にプッシュ git push origin HEAD:${{ github.head_ref }} From 32d884e5a3ffff17ab72b449d3a5e271a0f393c3 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 16 Jan 2025 02:39:31 +0000 Subject: [PATCH 18/18] Update translations --- README_CN.md | 36 ++++++++++++++++++++---------------- README_EN.md | 30 +++++++++++++++++------------- README_ES.md | 44 +++++++++++++++++++++++++------------------- README_FR.md | 42 +++++++++++++++++++++++------------------- 4 files changed, 85 insertions(+), 67 deletions(-) diff --git a/README_CN.md b/README_CN.md index 4667cfbd..778349bf 100644 --- a/README_CN.md +++ b/README_CN.md @@ -3,24 +3,28 @@ [![Unity 版本](https://img.shields.io/badge/Unity-6000.0%2B-blueviolet?logo=unity)](https://unity.com/releases/editor/archive) [![版本发布](https://img.shields.io/github/release/MidraLab/uDesktopMascot.svg)](https://github.com/MidraLab/uDesktopMascot/releases) -日本語 | [English](README_EN.md) | [中文](README_CN.md) +日本語 | [English](README_EN.md) | [中文](README_CN.md) | [Español](README_ES.md) | [Français](README_FR.md) -这是一个桌面吉祥物的开放项目。 +**注意**: 上述语言(English、中文、Español、Français)是由GPT-4o-mini自动翻译生成的。关于翻译的准确性和语气,请参阅原文(日本语)。 -## 特点 -* 加载并显示放置在 `StreamingAssets` 中的任意 VRM 文件。如果有多个文件,则加载搜索结果中的第一个。 -* 加载并播放放置在 `SteamingAssets/Voice/` 下的音频文件。如果有多个文件,则随机播放。 - * 点击时播放的音频来自于放置在 `StreamingAssets/Voice/Click/` 中的音频文件。 -* 加载并播放放置在 `SteamingAssets/BGM/` 下的音乐文件。如果有多个文件,则随机播放。 -* 添加角色的默认声音 - * 默认声音使用了 [COEIROINK: つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan) 的音频。 - * 应用启动时、应用退出时和点击时会播放。 +## 概述 -# 系统要求 -* Unity 6000.0.31f1 (IL2CPP) +“uDesktopMascot”是一个开源项目,它可以在桌面上显示角色,根据用户的互动做出反应并播放声音。该项目是使用Unity开发的,支持VRM格式的角色,因此您可以轻松在桌面上享受自己喜欢的角色。 + +## 特性 +* 可以读取并显示放置在StreamingAssets中的任意VRM文件。如果有多个,则读取搜索到的第一个。 +* 可以读取并播放放置在StreamingAssets/Voice/中的音频文件。如果有多个,则随机播放。 + * 在点击时播放的声音,从StreamingAssets/Voice/Click/中读取并播放音频文件。 +* 可以读取并播放放置在StreamingAssets/BGM/中的音乐文件。如果有多个,则随机播放。 +* 角色的默认声音添加 + * 默认声音使用[COEIROINK:つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan)的音频。 + * 在应用程序启动时、退出时和点击时播放。 + +# 需求 +* Unity 6000.0.31f1(IL2CPP) # 关于素材 -* 默认的角色动画是使用 [Unity Muse Animate](https://muse.unity.com/ja-jp/explore) 创建的。 -* 默认的背景音乐是 MidraLab 内部制作的资产。 -* 字体为 [Noto Sans Japanese](https://fonts.google.com/noto/specimen/Noto+Sans+JP?lang=ja_Jpan)。根据 [SIL OPEN FONT LICENSE Version 1.1](https://fonts.google.com/noto/specimen/Noto+Sans+JP/license?lang=ja_Jpan) 重新分发 Noto Sans JP 字体。字体的版权归原作者(Google)所有。 -* 默认声音使用了 [COEIROINK: つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan) 的音频。使用方法已提前得到 COEIROINK 的确认。 \ No newline at end of file +* 默认的角色动画是通过[Unity Muse Animate](https://muse.unity.com/ja-jp/explore)制作的。 +* 默认的背景音乐是MidraLab内创建的资产。 +* 字体使用[Noto Sans Japanese](https://fonts.google.com/noto/specimen/Noto+Sans+JP?lang=ja_Jpan)。根据[SIL OPEN FONT LICENSE Version 1.1](https://fonts.google.com/noto/specimen/Noto+Sans+JP/license?lang=ja_Jpan)重新分发Noto Sans JP字体。字体的版权归原作者(Google)所有。 +* 默认声音使用[COEIROINK:つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan)的音频。使用方法已事先与COEIROINK确认。 \ No newline at end of file diff --git a/README_EN.md b/README_EN.md index 5cbf10c0..7e98d545 100644 --- a/README_EN.md +++ b/README_EN.md @@ -3,24 +3,28 @@ [![Unity Version](https://img.shields.io/badge/Unity-6000.0%2B-blueviolet?logo=unity)](https://unity.com/releases/editor/archive) [![Releases](https://img.shields.io/github/release/MidraLab/uDesktopMascot.svg)](https://github.com/MidraLab/uDesktopMascot/releases) -Japanese | [English](README_EN.md) | [中文](README_CN.md) +Japanese | [English](README_EN.md) | [中文](README_CN.md) | [Español](README_ES.md) | [Français](README_FR.md) -This is an Open Project for a desktop mascot. +**Note**: The above languages (English, 中文, Español, Français) were generated by automatic translation using GPT-4o-mini. Please refer to the original text (Japanese) for accuracy and nuances of the translation. + +## Overview + +"uDesktopMascot" is an open-source project that displays characters on the desktop and plays reactions and sounds based on user interactions. This project is developed using Unity and supports VRM format characters, allowing you to easily enjoy your favorite characters on your desktop. ## Features -* Loads and displays any VRM files placed in StreamingAssets. If there are multiple, it loads the one that appears first in the search. -* Loads and plays audio files placed in StreamingAssets/Voice/. If there are multiple, they play randomly. - * The audio played upon clicking is loaded from sound files placed in StreamingAssets/Voice/Click/. -* Loads and plays music files placed in StreamingAssets/BGM/. If there are multiple, they play randomly. -* Addition of the character's default voice. - * The default voice is sourced from [COEIROINK: Tsukuyomi-chan](https://coeiroink.com/character/audio-character/tsukuyomi-chan). - * It plays at app startup, app exit, and on clicks. +* Loads and displays any VRM files placed in StreamingAssets. If there are multiple files, it loads the one at the top of the search. +* Loads and plays sound files placed under SteamingAssets/Voice/. If there are multiple files, it plays them randomly. + * The sounds played on click are loaded and played from the audio files placed in StreamingAssets/Voice/Click/. +* Loads and plays music files placed under SteamingAssets/BGM/. If there are multiple files, it plays them randomly. +* Addition of a default voice for the character + * The default voice uses sounds from [COEIROINK: Tsukuyomi-chan](https://coeiroink.com/character/audio-character/tsukuyomi-chan). + * Sounds will play when the app starts, ends, and on clicks. # Requirements * Unity 6000.0.31f1 (IL2CPP) -# About the Materials +# Regarding Materials * The default character animations are created using [Unity Muse Animate](https://muse.unity.com/ja-jp/explore). -* The default background music (BGM) is an asset created within MidraLab. -* The font used is [Noto Sans Japanese](https://fonts.google.com/noto/specimen/Noto+Sans+JP?lang=ja_Jpan). This is a redistribution of the Noto Sans JP font under the [SIL OPEN FONT LICENSE Version 1.1](https://fonts.google.com/noto/specimen/Noto+Sans+JP/license?lang=ja_Jpan). The copyright of the font belongs to the original author (Google). -* The default voice is sourced from [COEIROINK: Tsukuyomi-chan](https://coeiroink.com/character/audio-character/tsukuyomi-chan). We have confirmed in advance with COEIROINK regarding usage. \ No newline at end of file +* The default background music is an asset created within MidraLab. +* The font used is [Noto Sans Japanese](https://fonts.google.com/noto/specimen/Noto+Sans+JP?lang=ja_Jpan). It is redistributed based on the [SIL OPEN FONT LICENSE Version 1.1](https://fonts.google.com/noto/specimen/Noto+Sans+JP/license?lang=ja_Jpan). The copyright for the font is owned by the original creator (Google). +* The default voice uses sounds from [COEIROINK: Tsukuyomi-chan](https://coeiroink.com/character/audio-character/tsukuyomi-chan). Usage has been confirmed with COEIROINK in advance. \ No newline at end of file diff --git a/README_ES.md b/README_ES.md index c4931c42..b0fb33e0 100644 --- a/README_ES.md +++ b/README_ES.md @@ -1,26 +1,32 @@ -# uDesktopMascot +Sure! Here is the translation of the provided text into Spanish: -[![Unity Version](https://img.shields.io/badge/Unity-6000.0%2B-blueviolet?logo=unity)](https://unity.com/releases/editor/archive) -[![Releases](https://img.shields.io/github/release/MidraLab/uDesktopMascot.svg)](https://github.com/MidraLab/uDesktopMascot/releases) +# uDesktopMascot -日本語 | [English](README_EN.md) | [中文](README_CN.md) +[![Versión de Unity](https://img.shields.io/badge/Unity-6000.0%2B-blueviolet?logo=unity)](https://unity.com/releases/editor/archive) +[![Publicaciones](https://img.shields.io/github/release/MidraLab/uDesktopMascot.svg)](https://github.com/MidraLab/uDesktopMascot/releases) -デスクトップマスコットのOpen Projectです。 +日本語 | [English](README_EN.md) | [中文](README_CN.md) | [Español](README_ES.md) | [Français](README_FR.md) -## Features -* StreamingAssetsに配置した任意VRMファイルを読み込んで表示します。複数ある場合は、検索の先頭にあるものを読み込みます。 -* SteamingAssets/Voice/以下に配置した音声ファイルを読み込んで再生します。複数ある場合は、ランダムで再生します。 - * クリック時に再生される音声は、StreamingAssets/Voice/Click/に配置した音声ファイルを読み込んで再生します。 -* SteamingAssets/BGM/以下に配置した音楽ファイルを読み込んで再生します。複数ある場合は、ランダムで再生します。 -* キャラクターのデフォルトのボイスの追加 - * デフォルトのボイスは、[COEIROINK:つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan)の音声を使用しています。 - * アプリ起動時、アプリ終了時、クリック時に再生されます。 +**Nota**: Los idiomas mencionados anteriormente (English, 中文, Español, Français) han sido generados mediante traducción automática por GPT-4o-mini. Para la precisión y matices de la traducción, consulte el texto original (日本語). -# requirements +## Resumen + +"uDesktopMascot" es un proyecto de código abierto que muestra un personaje en el escritorio y reproduce reacciones y sonidos en función de la interacción del usuario. Este proyecto se ha desarrollado utilizando Unity y admite personajes en formato VRM, por lo que puedes disfrutar fácilmente de tu personaje favorito en el escritorio. + +## Características +* Lee y muestra cualquier archivo VRM colocado en StreamingAssets. Si hay varios, se carga el que se encuentra primero en la búsqueda. +* Lee y reproduce archivos de audio colocados en StreamingAssets/Voice/. Si hay varios, se reproducen de forma aleatoria. + * Los sonidos que se reproducen al hacer clic se cargan desde los archivos de audio colocados en StreamingAssets/Voice/Click/. +* Lee y reproduce archivos de música colocados en StreamingAssets/BGM/. Si hay varios, se reproducen de forma aleatoria. +* Adición de la voz predeterminada del personaje. + * La voz predeterminada utiliza audio de [COEIROINK: つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan). + * Se reproduce al iniciar la aplicación, al cerrarla y al hacer clic. + +# Requisitos * Unity 6000.0.31f1(IL2CPP) -# 素材について -* デフォルトのキャラクターアニメーションは、[Unity Muse Animate](https://muse.unity.com/ja-jp/explore)を用いて作成されています。 -* デフォルトのBGMは、MidraLab内で作成したアセットです。 -* フォントは[Noto Sans Japanese](https://fonts.google.com/noto/specimen/Noto+Sans+JP?lang=ja_Jpan)です。[SIL OPEN FONT LICENSE Version 1.1](https://fonts.google.com/noto/specimen/Noto+Sans+JP/license?lang=ja_Jpan)に基づきNoto Sans JPフォントを再配布するものです。フォントの著作権は元の作者(Google)にあります。 -* デフォルトボイスは、[COEIROINK:つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan)の音声を使用しています。使用方法については、COEIROINK側に事前に確認済みです \ No newline at end of file +# Sobre los materiales +* La animación predeterminada del personaje se ha creado utilizando [Unity Muse Animate](https://muse.unity.com/ja-jp/explore). +* La BGM predeterminada es un asset creado dentro de MidraLab. +* La fuente es [Noto Sans Japanese](https://fonts.google.com/noto/specimen/Noto+Sans+JP?lang=ja_Jpan). Se redistribuye la fuente Noto Sans JP de acuerdo con la [SIL OPEN FONT LICENSE Version 1.1](https://fonts.google.com/noto/specimen/Noto+Sans+JP/license?lang=ja_Jpan). Los derechos de autor de la fuente pertenecen al autor original (Google). +* La voz predeterminada utiliza audio de [COEIROINK: つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan). El uso ha sido verificado previamente con COEIROINK. \ No newline at end of file diff --git a/README_FR.md b/README_FR.md index c4931c42..bd4a11dc 100644 --- a/README_FR.md +++ b/README_FR.md @@ -1,26 +1,30 @@ -# uDesktopMascot +# uDesktopMascot -[![Unity Version](https://img.shields.io/badge/Unity-6000.0%2B-blueviolet?logo=unity)](https://unity.com/releases/editor/archive) +[![Version de Unity](https://img.shields.io/badge/Unity-6000.0%2B-blueviolet?logo=unity)](https://unity.com/releases/editor/archive) [![Releases](https://img.shields.io/github/release/MidraLab/uDesktopMascot.svg)](https://github.com/MidraLab/uDesktopMascot/releases) -日本語 | [English](README_EN.md) | [中文](README_CN.md) +日本語 | [English](README_EN.md) | [中文](README_CN.md) | [Español](README_ES.md) | [Français](README_FR.md) -デスクトップマスコットのOpen Projectです。 +**Remarque** : Les langues ci-dessus (English, 中文, Español, Français) ont été générées par traduction automatique avec GPT-4o-mini. Pour la précision et les nuances de la traduction, veuillez vous référer au texte original (日本語). -## Features -* StreamingAssetsに配置した任意VRMファイルを読み込んで表示します。複数ある場合は、検索の先頭にあるものを読み込みます。 -* SteamingAssets/Voice/以下に配置した音声ファイルを読み込んで再生します。複数ある場合は、ランダムで再生します。 - * クリック時に再生される音声は、StreamingAssets/Voice/Click/に配置した音声ファイルを読み込んで再生します。 -* SteamingAssets/BGM/以下に配置した音楽ファイルを読み込んで再生します。複数ある場合は、ランダムで再生します。 -* キャラクターのデフォルトのボイスの追加 - * デフォルトのボイスは、[COEIROINK:つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan)の音声を使用しています。 - * アプリ起動時、アプリ終了時、クリック時に再生されます。 +## Aperçu -# requirements -* Unity 6000.0.31f1(IL2CPP) +« uDesktopMascot » est un projet open source qui affiche des personnages sur le bureau et joue des réactions et des voix en fonction des interactions de l'utilisateur. Ce projet est développé en utilisant Unity et prend en charge les personnages au format VRM, ce qui permet de profiter facilement de vos personnages préférés sur votre bureau. -# 素材について -* デフォルトのキャラクターアニメーションは、[Unity Muse Animate](https://muse.unity.com/ja-jp/explore)を用いて作成されています。 -* デフォルトのBGMは、MidraLab内で作成したアセットです。 -* フォントは[Noto Sans Japanese](https://fonts.google.com/noto/specimen/Noto+Sans+JP?lang=ja_Jpan)です。[SIL OPEN FONT LICENSE Version 1.1](https://fonts.google.com/noto/specimen/Noto+Sans+JP/license?lang=ja_Jpan)に基づきNoto Sans JPフォントを再配布するものです。フォントの著作権は元の作者(Google)にあります。 -* デフォルトボイスは、[COEIROINK:つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan)の音声を使用しています。使用方法については、COEIROINK側に事前に確認済みです \ No newline at end of file +## Caractéristiques +* Charge et affiche n'importe quel fichier VRM placé dans le dossier StreamingAssets. En cas de plusieurs fichiers, il charge le premier trouvé. +* Charge et joue des fichiers audio placés dans le dossier SteamingAssets/Voice. En cas de plusieurs fichiers, ils sont joués aléatoirement. + * Les audio jouées au moment des clics proviennent de fichiers audio placés dans StreamingAssets/Voice/Click/. +* Charge et joue des fichiers de musique placés dans le dossier SteamingAssets/BGM. En cas de plusieurs fichiers, ils sont joués aléatoirement. +* Ajout d'une voix par défaut au personnage + * La voix par défaut utilise l'audio de [COEIROINK:つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan). + * Elle est jouée au démarrage de l'application, à la fermeture de l'application et au moment des clics. + +# Exigences +* Unity 6000.0.31f1 (IL2CPP) + +# À propos des ressources +* Les animations par défaut des personnages sont créées à l'aide de [Unity Muse Animate](https://muse.unity.com/ja-jp/explore). +* La musique de fond par défaut a été créée comme un asset au sein de MidraLab. +* La police utilisée est [Noto Sans Japanese](https://fonts.google.com/noto/specimen/Noto+Sans+JP?lang=ja_Jpan). Nous répartissons la police Noto Sans JP selon la [SIL OPEN FONT LICENSE Version 1.1](https://fonts.google.com/noto/specimen/Noto+Sans+JP/license?lang=ja_Jpan). Les droits d'auteur de la police appartiennent à l'auteur original (Google). +* La voix par défaut utilise l'audio de [COEIROINK:つくよみちゃん](https://coeiroink.com/character/audio-character/tsukuyomi-chan). Nous avons préalablement vérifié avec COEIROINK pour les modalités d'utilisation. \ No newline at end of file