Commit Graph

25 Commits

Author SHA1 Message Date
sub-hub
ec364271bd Fixed existing Chinese translation (translated by HionaKotka) 2024-05-08 22:08:07 +09:00
kwaroran
7707e55c87 GlobalFetch 리팩토링, Elevenlabs 다국어모델 정보 body에 삽입, DeepLX 로직구현(미작동) (#328)
# PR Checklist
- [x] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ ] Did you added a type def?

# Description
1. DeepLX 를 번역 옵션에 넣고 URL, Token을 넣을 수 있게 하였습니다.
2. DeepLX 를 호출하는 로직을 넣었는데, DeepLX의 Body 중 Text는 완전한 텍스트로만 이루어져야 해서 번역
실행시 에러가 발생하는 중입니다. (DeepLX에 globalFetech로 호출은 정상적으로 가는중, body의 text타입만
해결하면 작동,)
3. TTS -> 일레븐랩스 호출시 body에 model을 다국어모델로 지정하였습니다. (정상작동)
4. globalFetch 함수를 리팩토링 하였습니다.

DeepLX 쪽만 해결방법을 찾으면 좋을 것 같은데 로직이 제가 생각한 것과 달라서 파악하는데 시간이 오래걸리고 있습니다.

DeepLX 부분 저도 더 로직 분석해볼 예정이지만, 
Body 부분에서 특수문자 제거 및 본문 텍스트만 파싱해서 번역 후 재조립하는 게 구현 가능하시다면 
해당 부분만 업데이트 해주시면 좋을 것 같습니다.
2024-03-25 18:53:26 +09:00
testman
1d2d71db48 deeplX function added 2024-03-24 19:44:55 +09:00
ModMapper
580cd3e1a7 Add CodeMirror based Highlighted editor 2024-03-23 18:41:36 +09:00
kwaroran
5bede2b90a Change Reverse proxy name to Custom and add additionalParams 2024-03-20 21:02:34 +09:00
kwaroran
15bcd41ed7 Add module translations for Chinese, Korean, and Vietnamese languages 2024-02-26 14:47:56 +09:00
kwaroran
ccc39ba9c9 [fix] consistancy 2023-11-23 02:57:37 +09:00
kwaroran
8defd6e38d [fix] removed old help info on translations 2023-11-14 22:19:43 +09:00
Decikingship
e9fc881c85 update Chinese trans 2023-09-12 09:20:34 +08:00
kwaroran
eaed2d7178 [feat] update cn 2023-08-30 20:13:23 +09:00
LL
84a9508fe7 [fix] added AdditionalAssets Preview toggle option 2023-06-22 17:30:30 +09:00
LL
d8a5ee5b4e [feat] Add support for chat stickers
This commit adds support for chat stickers by allowing users to use stickers in chat message window.
The users can toggle show additional asset list using a button.
Added Additional assets file extension data.
Additional assets list shows preview.
Optimized render when use streaming api. (prevent markdown again when message not changed)
Added controls to Video/Audio Assets
2023-06-22 07:17:59 +09:00
ASDF9999
da7ab19c8e Merge branch 'main' into screenreader 2023-06-12 18:29:08 +09:00
LL
c829a539fc Accessibility settings to the app
Screen reader readable "Show Help" button.
Also added a new checkbox for accessibility settings.
2023-06-12 07:20:42 +09:00
kwaroran
49a01a0950 [fix] image compression 2023-06-11 11:04:11 +09:00
Decikingship
6dd36a382d Update cn.ts 2023-06-09 11:34:46 +08:00
kwaroran
e0e139e4ed Update to 1.24.2 (#166)
# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ ] Did you added a type def?

# Description
2023-06-08 09:03:02 +09:00
Decikingship
dbebc58362 Update cn.ts
Update cn.ts
2023-06-07 14:44:23 +08:00
LL
89dc9c8c80 [feat][experimental] Add auto-translate input message functionality and language support in chat panel and settings
This commit adds new entries in the language files and UI support for auto-translate messages.

The new feature uses a textarea input field to translate messages as they are typed, and the translated text is shown in a new field. Also, the language settings now provide an option to enable/disable auto message translation.

The code changes include adding a new function to update the input sizes for both input fields and some minor code refactoring to support new functionality.
2023-06-06 18:37:19 +09:00
LL
54c6a9ef9c Add copy chat message feature in Chat panel and enable usage in 'use chat copy' setting.
- Added 'copied' string to language translation in multiple translations file.
- Added 'CopyIcon' to svelte import.
- Defined a new status message variable in Chat.svelte.
- Created a new function 'setStatusMessage' to display the current panel's state after certain action.
- Added a new setting 'useChatCopy' in 'DisplaySettings.svelte'.
- Created a checkbox with label 'useChatCopy' to toggle the Chat message copy.
- Integrated Clipboard API in Chat code to handle chat message copy via button click.
2023-06-06 12:36:37 +09:00
kwaroran
0ff767e454 [feat] added background embedding 2023-06-06 07:17:19 +09:00
Decikingship
12d6cc4b2b update Chinese translation to make it more precise 2023-06-05 12:39:13 +08:00
Decikingship
1341f2c61e update Chinese translation to make it more precise 2023-06-05 11:43:17 +08:00
Decikingship
303d8fa6f1 update Chinese translation to make it more precise 2023-06-05 11:37:27 +08:00
John He
329de5d860 add support for zh-CN 2023-06-04 16:23:15 +08:00