Archived
1
0
Fork 0

update locale

This commit is contained in:
多羅狼 2023-12-17 12:45:16 +08:00 committed by GitHub
parent d9d1934686
commit 1acdec57b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 5 deletions

View file

@ -2,7 +2,7 @@ from core.builtins import Bot
from core.component import module
from modules.github import repo, user, search
github = module('github', alias='gh', developers=['Dianliang233'])
github = module('github', alias='gh', developers=['Dianliang233'], desc='{github.help.desc}')
@github.handle('<name> {{github.help}}')

View file

@ -1,11 +1,12 @@
{
"github.help.desc": "Github query tool.",
"github.help": "Trying to automatically identifying and distinguishing repo/user.",
"github.help.repo": "Getting GitHub repository information.",
"github.help.search": "Searching repositories on GitHub.",
"github.help.user": "Getting GitHub user or organization information.",
"github.message.repo.not_found": "The repository does not exist, please check your input.",
"github.message.search": "Successfully to search for ${result} results:",
"github.message.search.none": "搜索成功,未找到结果。",
"github.message.search.none": "No results found.",
"github.message.search.more_information": "Truncated due to chat limits; ${more_result} more results may not be shown.",
"github.message.search.not_found": "The repository cannot be found; please check your input.",
"github.message.user.not_found": "The user cannot be found; please check your input."

View file

@ -1,12 +1,13 @@
{
"github.help": "尝试自动识别并区分 repo/user。",
"github.help.desc": "GitHub 查询工具。",
"github.help.repo": "获取 GitHub 存储库信息。",
"github.help.search": "搜索 GitHub 上的存储库。",
"github.help.user": "获取 GitHub 用户或组织信息。",
"github.message.repo.not_found": "此存储库不存在,请检查输入。",
"github.message.search": "搜索成功,共 ${result} 条结果:",
"github.message.search.none": "搜索成功,未找到结果。",
"github.message.search.more_information": "另有 ${more_result} 条结果未显示。",
"github.message.search.none": "搜索成功,未找到结果。",
"github.message.search.not_found": "未找到存储库,请检查输入。",
"github.message.user.not_found": "查无此人,请检查输入。"
}

View file

@ -1,4 +1,5 @@
{
"github.help.desc": "GitHub 查詢工具。",
"github.help": "嘗試自動辨識並區分 repo/user。",
"github.help.repo": "取得 Github 儲存庫資訊。",
"github.help.search": "搜尋 Github 上的儲存庫。",

View file

@ -1,5 +1,3 @@
traceback
from core.builtins import Bot, Image, Plain, Url
from core.dirty_check import rickroll
from core.utils.http import get_url, download_to_cache