Skip to content

Commit

Permalink
Merge pull request #100 from cyb3rpsych0s1s/feat/chinese
Browse files Browse the repository at this point in the history
Support Chinese
  • Loading branch information
Roms1383 authored Feb 20, 2024
2 parents 4ec7034 + a6d974d commit f788a14
Show file tree
Hide file tree
Showing 56 changed files with 248 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
- en-us
- fr-fr
- es-es
- zh-cn
permissions:
contents: write
steps:
Expand Down Expand Up @@ -116,6 +117,11 @@ jobs:
with:
name: translation-es-es-${{ github.ref_name }}
path: release
- name: Download Chinese translations
uses: actions/download-artifact@v4
with:
name: translation-zh-cn-${{ github.ref_name }}
path: release
- name: Create release ${{ github.ref_name }}
uses: ncipollo/release-action@v1
with:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ To all people who helped along the way:
[mana](https://github.com/manavortex)
[jekky](https://github.com/jac3km4)
[JosephFerano](https://github.com/JosephFerano)
♦ Vanman Zhang
[tobozo](https://github.com/tobozo)
[IslandDancer](https://github.com/IslandDancer)
♦ Auska
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ localization:
en-us: addicted\localization\en-us.json
fr-fr: addicted\localization\fr-fr.json
es-es: addicted\localization\es-es.json
zh-cn: addicted\localization\zh-cn.json
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
218 changes: 218 additions & 0 deletions audioware/voices.zh-cn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,218 @@
version: 1.0.0
voices:
ono_hhuh:
fem:
zh-cn:
file: vanilla/zh-cn/v_q113_f_1956c7fde04e1000.Wav
subtitle: 哼?
male:
zh-cn:
file: vanilla/zh-cn/v_q113_m_1956c7fde04e1000.Wav
subtitle: 哼?
ono_huh:
fem:
zh-cn:
file: vanilla/zh-cn/v_q004_f_168ac1406f29f000.Wav
subtitle: 什么?
male:
zh-cn:
file: vanilla/zh-cn/v_q004_m_168ac1406f29f000.Wav
subtitle: 什么?
ono_huhuh:
fem:
zh-cn:
file: vanilla/zh-cn/v_q003_f_178d53e0694b6000.Wav
subtitle: 嗯哼……
male:
zh-cn:
file: vanilla/zh-cn/v_q003_m_178d53e0694b6000.Wav
subtitle: 嗯哼……
biomon:
fem:
zh-cn:
file: zh-cn/surprised/fem_v_b.wav
subtitle: Biomon……
male:
zh-cn:
file: zh-cn/surprised/male_v_b.wav
subtitle: Biomon……
as_if_I_didnt_know_already:
fem:
zh-cn:
file: zh-cn/disheartened/fem_v_aiidka.wav
subtitle: 好像我不知道似的……
male:
zh-cn:
file: zh-cn/disheartened/male_v_aiidka.wav
subtitle: 好像我不知道似的……
come_on_again:
fem:
zh-cn:
file: zh-cn/surprised/fem_v_coa.wav
subtitle: 拜托……还来?
male:
zh-cn:
file: zh-cn/surprised/male_v_coa.wav
subtitle: 拜托……还来?
come_on_biomon_cant_you_give_me_a_break:
fem:
zh-cn:
file: zh-cn/disheartened/fem_v_cobcygmab.wav
subtitle: 拜托biomon,就不能放过我?
male:
zh-cn:
file: zh-cn/disheartened/male_v_cobcygmab.wav
subtitle: 拜托biomon,就不能放过我?
damn_cant_you_just_leave_me_alone:
fem:
zh-cn:
file: zh-cn/disheartened/fem_v_dcyjlma.wav
subtitle: 该死,能别打扰我吗?
male:
zh-cn:
file: zh-cn/disheartened/male_v_dcyjlma.wav
subtitle: 该死,能别打扰我吗?
damn_thats_fucked_up:
fem:
zh-cn:
file: zh-cn/surprised/fem_v_dtfu.wav
subtitle: 见鬼,太操蛋了!
male:
zh-cn:
file: zh-cn/surprised/male_v_dtfu.wav
subtitle: 见鬼,太操蛋了!
dont_you_see_Im_in_trouble:
fem:
zh-cn:
file: zh-cn/pestered/fem_v_dysiit.wav
subtitle: 看不出来我忙着呢吗
male:
zh-cn:
file: zh-cn/pestered/male_v_dysiit.wav
subtitle: 看不出来我忙着呢吗
fuck:
fem:
zh-cn:
file: vanilla/zh-cn/v_q115_f_1752ea11b74e1000.wav
subtitle: 操……
male:
zh-cn:
file: vanilla/zh-cn/v_q115_m_1752ea11b74e1000.wav
subtitle: 操……
fuck_this_biomon_just_not_right_now:
fem:
zh-cn:
file: zh-cn/pestered/fem_v_ftbnrn.wav
subtitle: 去他妈Biomon!别添乱!
male:
zh-cn:
file: zh-cn/pestered/male_v_ftbnrn.wav
subtitle: 去他妈Biomon!别添乱!
get_this_damn_UI_out_of_my_face:
fem:
zh-cn:
file: zh-cn/pestered/fem_v_gtduioomf.wav
subtitle: 让这界面从我面前消失!
male:
zh-cn:
file: zh-cn/pestered/male_v_gtduioomf.wav
subtitle: 让这界面从我面前消失!
nah_everything_is_all_good:
fem:
zh-cn:
file: vanilla/zh-cn/v_scene_dex_default_f_182ad40c364ea000.Wav
subtitle: 不用,都很好。
male:
zh-cn:
file: vanilla/zh-cn/v_scene_dex_default_m_182ad40c364ea000.Wav
subtitle: 不用,都很好。
nah_Im_cool:
fem:
zh-cn:
file: zh-cn/offhanded/fem_v_nic.wav
subtitle: 不用,我没事。
male:
zh-cn:
file: zh-cn/offhanded/male_v_nic.wav
subtitle: 不用,我没事。
noo:
fem:
zh-cn:
file: vanilla/zh-cn/v_scene_mitch_default_f_1b1a38325729f000.Wav
subtitle: 哦,我操!
male:
zh-cn:
file: vanilla/zh-cn/v_scene_mitch_default_m_1b1a38325729f000.Wav
subtitle: 哦,我操!
oh_shit:
fem:
zh-cn:
file: vanilla/zh-cn/v_q000_f_1927fae1772ef000.Wav
subtitle: 妈的……
male:
zh-cn:
file: vanilla/zh-cn/v_q000_m_1927fae1772ef000.Wav
subtitle: 妈的……
shit:
fem:
zh-cn:
file: vanilla/zh-cn/v_q104_f_18545e4c6a4e6000.Wav
subtitle: 操!
male:
zh-cn:
file: vanilla/zh-cn/v_q104_m_18545e4c6a4e6000.Wav
subtitle: 操!
so_frustrating:
fem:
zh-cn:
file: zh-cn/pestered/fem_v_sf.wav
subtitle: 太烦了!
male:
zh-cn:
file: zh-cn/pestered/male_v_sf.wav
subtitle: 太烦了!
what:
fem:
zh-cn:
file: vanilla/zh-cn/v_q104_f_18980f710d29f000.Wav
subtitle: 怎么……
male:
zh-cn:
file: vanilla/zh-cn/v_q104_m_18980f710d29f000.Wav
subtitle: 怎么……
yeah_I_know:
fem:
zh-cn:
file: zh-cn/disheartened/fem_v_yik.wav
subtitle: 对,我明白。
male:
zh-cn:
file: zh-cn/disheartened/male_v_yik.wav
subtitle: 对,我明白。
yeah_yeah_yeah_alright:
fem:
zh-cn:
file: zh-cn/offhanded/fem_v_yyya.wav
subtitle: 对对对……好吧。
male:
zh-cn:
file: zh-cn/offhanded/male_v_yyya.wav
subtitle: 对对对……好吧。
yeah_yeah_yeah_who_cares:
fem:
zh-cn:
file: zh-cn/offhanded/fem_v_yyywc.wav
subtitle: 好好好……谁在乎呢?
male:
zh-cn:
file: zh-cn/offhanded/male_v_yyywc.wav
subtitle: 好好好……谁在乎呢?
you_tell_me_biomon:
fem:
zh-cn:
file: zh-cn/offhanded/fem_v_ytmb.wav
subtitle: 你说呢?Biomon。
male:
zh-cn:
file: zh-cn/offhanded/male_v_ytmb.wav
subtitle: 你说呢?Biomon。
Binary file added audioware/zh-cn/disheartened/fem_v_aiidka.wav
Binary file not shown.
Binary file added audioware/zh-cn/disheartened/fem_v_cobcygmab.wav
Binary file not shown.
Binary file added audioware/zh-cn/disheartened/fem_v_dcyjlma.wav
Binary file not shown.
Binary file added audioware/zh-cn/disheartened/fem_v_yik.wav
Binary file not shown.
Binary file added audioware/zh-cn/disheartened/male_v_aiidka.wav
Binary file not shown.
Binary file not shown.
Binary file added audioware/zh-cn/disheartened/male_v_dcyjlma.wav
Binary file not shown.
Binary file added audioware/zh-cn/disheartened/male_v_yik.wav
Binary file not shown.
Binary file added audioware/zh-cn/offhanded/fem_v_nic.wav
Binary file not shown.
Binary file added audioware/zh-cn/offhanded/fem_v_ytmb.wav
Binary file not shown.
Binary file added audioware/zh-cn/offhanded/fem_v_yyya.wav
Binary file not shown.
Binary file added audioware/zh-cn/offhanded/fem_v_yyywc.wav
Binary file not shown.
Binary file added audioware/zh-cn/offhanded/male_v_nic.wav
Binary file not shown.
Binary file added audioware/zh-cn/offhanded/male_v_ytmb.wav
Binary file not shown.
Binary file added audioware/zh-cn/offhanded/male_v_yyya.wav
Binary file not shown.
Binary file added audioware/zh-cn/offhanded/male_v_yyywc.wav
Binary file not shown.
Binary file added audioware/zh-cn/pestered/fem_v_dysiit.wav
Binary file not shown.
Binary file added audioware/zh-cn/pestered/fem_v_ftbnrn.wav
Binary file not shown.
Binary file added audioware/zh-cn/pestered/fem_v_gtduioomf.wav
Binary file not shown.
Binary file added audioware/zh-cn/pestered/fem_v_sf.wav
Binary file not shown.
Binary file added audioware/zh-cn/pestered/male_v_dysiit.wav
Binary file not shown.
Binary file added audioware/zh-cn/pestered/male_v_ftbnrn.wav
Binary file not shown.
Binary file added audioware/zh-cn/pestered/male_v_gtduioomf.wav
Binary file not shown.
Binary file added audioware/zh-cn/pestered/male_v_sf.wav
Binary file not shown.
Binary file added audioware/zh-cn/surprised/fem_v_b.wav
Binary file not shown.
Binary file added audioware/zh-cn/surprised/fem_v_coa.wav
Binary file not shown.
Binary file added audioware/zh-cn/surprised/fem_v_dtfu.wav
Binary file not shown.
Binary file added audioware/zh-cn/surprised/male_v_b.wav
Binary file not shown.
Binary file added audioware/zh-cn/surprised/male_v_coa.wav
Binary file not shown.
Binary file added audioware/zh-cn/surprised/male_v_dtfu.wav
Binary file not shown.
3 changes: 3 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,6 @@ default:

@cr2w LOCALE='en-us':
just recipes/archive/cr2w '{{LOCALE}}'

@encode LOCALE='en-us' OVERWRITE='false':
just recipes/audioware/encode '{{LOCALE}}' '{{OVERWRITE}}'
18 changes: 17 additions & 1 deletion recipes/audioware/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,20 @@ tree := 'mods'
just copy '{{ join(source, "voices." + LOCALE + ".yml") }}' '{{ join(TO, tree, mod, "voices.yml") }}'

@uninstall FROM:
just trash '{{ join(FROM, tree, mod) }}'
just trash '{{ join(FROM, tree, mod) }}'

# encode .mp3 back into .wav
[macos]
@encode LOCALE='en-us' OVERWRITE='false':
folders=('{{ join(source, "vanilla", LOCALE) }}' '{{ join(source, LOCALE, "disheartened") }}' '{{ join(source, LOCALE, "offhanded") }}' '{{ join(source, LOCALE, "pestered") }}' '{{ join(source, LOCALE, "surprised") }}'); \
for folder in ${folders[@]}; do \
just encode-folder $folder OVERWRITE='{{OVERWRITE}}'; \
done

[macos]
@encode-folder FOLDER OVERWRITE='false':
for file in `ls {{FOLDER}}`; do \
if [[ ('{{OVERWRITE}}' != 'false' || ! -f '{{ FOLDER }}'/${file%.mp3}.wav) && $file == *.mp3 ]]; then \
ffmpeg -i '{{ FOLDER }}'/$file -ar 44100 -sample_fmt s16 -y '{{ FOLDER }}'/${file%.mp3}.wav; \
fi \
done
3 changes: 2 additions & 1 deletion scripts/Addicted/helpers/Feeling.reds
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ public class Feeling {
if StrLen(language) == 0 { language = "en-us"; }
if NotEquals(language, "en-us")
&& NotEquals(language, "fr-fr")
&& NotEquals(language, "es-es") { return n""; }
&& NotEquals(language, "es-es")
&& NotEquals(language, "zh-cn") { return n""; }
let output: CName;
let choices: array<String>;
Expand Down

0 comments on commit f788a14

Please sign in to comment.