-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: migrate source language to english
- Loading branch information
Showing
10 changed files
with
13 additions
and
196 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,26 +1,32 @@ | ||
commands: | ||
hitokoto: | ||
description: Random Hitokoto | ||
|
||
usage: | | ||
Get a random sentence from hitokoto.cn. | ||
Get a random Chinese sentence from hitokoto.cn. | ||
example: | | ||
hitokoto Get a random sentence | ||
hitokoto -l 2 Get a random sentence with at least 2 characters | ||
options: | ||
type: Specify the type of Hitokoto sentences. If you want to specify multiple types, you can use comma "," to separate different type names. Enter "hitokoto.types" to check available types. | ||
min-length: Specify the minimum length of Hitokoto sentences. | ||
max-length: Specify the minimum length of Hitokoto sentences. | ||
|
||
messages: | ||
invalid_type: The specified type {0} does not exist. Please enter hitokoto.types to check available types. | ||
min_length_gt_max_length: The minimum length cannot be greater than the maximum length. | ||
service_unavailable: Service is not available at this moment, please try again later | ||
unknown_error: "An unknown error occurred. Please try again.\n{message}" | ||
timeout: Request timed out. Please try again later. | ||
#the format that the bot would generate, {hitokoto} is the sentence that hitokoto API returns, | ||
#more placeholders can be found on: | ||
#https://developer.hitokoto.cn/sentence/#%E8%BF%94%E5%9B%9E%E6%A0%BC%E5%BC%8F | ||
# the format that the bot would generate, {hitokoto} is the sentence that hitokoto API returns, | ||
# more placeholders can be found on: | ||
# https://developer.hitokoto.cn/sentence/#%E8%BF%94%E5%9B%9E%E6%A0%BC%E5%BC%8F | ||
format: "\"{hitokoto}\"\n\\t\\t\\t\\t{from}, {from_who}" | ||
|
||
hitokoto.types: | ||
description: List of types available in Hitokoto | ||
|
||
messages: | ||
list: "You can specify one or more of the following types, using commas \",\" to separate them:\n{0}" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,12 +1,5 @@ | ||
export default { | ||
'de': require('./de/hitokoto.yml'), | ||
'en': require('./en/hitokoto.yml'), | ||
'es': require('./es/hitokoto.yml'), | ||
'fr': require('./fr/hitokoto.yml'), | ||
'ja': require('./ja/hitokoto.yml'), | ||
'ko': require('./ko/hitokoto.yml'), | ||
'ru': require('./ru/hitokoto.yml'), | ||
'zh': require('./zh/hitokoto.yml'), | ||
'zh-cn': require('./zh/hitokoto.yml'), | ||
'zh-tw': require('./zh-tw/hitokoto.yml'), | ||
'en': require('./en-US/hitokoto.yml'), | ||
'zh': require('./zh-CN/hitokoto.yml'), | ||
'zh-cn': require('./zh-CN/hitokoto.yml'), | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.