-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement /translator set_channel_main_language
- Loading branch information
Showing
14 changed files
with
238 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
sorusora/docs/help/translator/set_channel_languages/zh-TW.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
sorusora/docs/help/translator/set_channel_main_language/en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# /translator set_channel_main_language | ||
|
||
Set or remove the main language of the channels. The translator will set the selected language as the source language for all messages in the channels. | ||
|
||
If the main language of a channel is not set, the translator will detect the language of each message and use it as the source language. | ||
|
||
## Usage | ||
|
||
* Use the dropdown menu to select the main language for the channels. | ||
* Select no languages to remove the main language from the channels. | ||
* Set `this_channel` to `False` to apply the same settings to multiple channels. | ||
* Press the `Submit` button to save the settings. | ||
|
||
## Parameters | ||
|
||
* `this_channel` (Optional): If set to `False`, it will send a dropdown menu to select multiple channels. Default value is `True`. | ||
|
||
This command is only available for server admins. |
18 changes: 18 additions & 0 deletions
18
sorusora/docs/help/translator/set_channel_main_language/ko.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# /번역기 채널메인언어설정 | ||
|
||
선택한 채널의 메인 언어를 설정합니다. 번역기는 선택한 언어를 해당 채널의 모든 메세지의 소스 언어로 설정합니다. | ||
|
||
채널의 메인 언어가 설정되지 않은 경우 번역기는 각 메세지의 언어를 감지하여 소스 언어로 사용합니다. | ||
|
||
## 사용법 | ||
|
||
* 드롭다운 메뉴에서 채널의 메인 언어를 선택하십시오. | ||
* 언어를 선택하지 않으면 채널의 메인 언어가 제거됩니다. | ||
* `현재채널`을 `False`로 설정하여 여러 채널에 동일한 설정을 적용할 수 있습니다. | ||
* 설정을 저장하려면 `결정` 버튼을 누르십시오. | ||
|
||
## 변수 | ||
|
||
* `현재채널` (옵션): `False`로 설정하면 여러 채널을 선택할 수 있는 드롭다운 메뉴가 전송됩니다. 기본값은 `True`입니다. | ||
|
||
이 명령어는 서버 관리자만 사용할 수 있습니다. |
18 changes: 18 additions & 0 deletions
18
sorusora/docs/help/translator/set_channel_main_language/zh-TW.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# /翻譯訊息 設定頻道語言 | ||
|
||
設置要翻譯頻道消息的語言。 | ||
|
||
如果將信息發送到所選頻道,SoruSora就會用所選語言翻譯該信息,並將翻譯結果回覆給該信息。 | ||
|
||
## 如何使用 | ||
|
||
* 從下拉菜單中選擇要翻譯消息的語言。 | ||
* 不要選擇任何語言來禁用所選通道的翻譯。 | ||
* 您可以通過將 `當前頻道` 設置爲 `False`, 對多個頻道應用相同的設置。 | ||
* 點擊`結晶`按鈕保存設置。 | ||
|
||
## 參數 | ||
|
||
* `當前頻道` (可選): 設置成`False`會發送下拉菜單,可以選擇多個頻道。 默認值爲 `True`。 | ||
|
||
這個指令只有服務器管理員才能使用。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.