Archived
1
0
Fork 0

Traditional Chinese update (#615)

This commit is contained in:
Dorobot 2023-05-25 18:35:11 +08:00 committed by GitHub
parent 5070bab4a1
commit 0e0854a0a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 35 additions and 34 deletions

View file

@ -3,7 +3,7 @@
"color.help.desc": "提供色彩資訊。",
"color.message.css": "CSS 色彩名稱:",
"color.message.css.approximate": "最相似的 CSS 色彩名稱:",
"color.message.invalid": "發生錯誤:無法的色彩格式。",
"color.message.invalid": "發生錯誤:無法識的色彩格式。",
"color.message.md": "Material Design 色彩名稱:",
"color.message.md.approximate": "最相似的 Material Design 色彩名稱:"
}

View file

@ -1,5 +1,5 @@
{
"github.help": "嘗試自動並區分 repo/user。",
"github.help": "嘗試自動識並區分 repo/user。",
"github.help.repo": "取得 Github 儲存庫資訊。",
"github.help.search": "搜尋 Github 上的儲存庫。",
"github.help.user": "取得 Github 使用者或組織資訊。",

View file

@ -1,5 +1,6 @@
{
"tweet.help": "Get tweet image from tweet ID or link. (P.S. We didn't pay the $200 Elon tax)",
"tweet.help.desc": "Get tweet image from tweet ID or link. ",
"tweet.message.error": "发生错误:无法识别推文 ID请检查输入。",
"tweet.message.not_found": "Tweet not found."
}
}

View file

@ -1,5 +1,6 @@
{
"tweet.help": "透過推文 ID 或連結取得推文摘要圖片。P.S. 我們沒有付 $200 月費)",
"tweet.help.desc": "取得推文摘要。",
"tweet.message.error": "發生錯誤:無法辨識推文 ID請檢查輸入。",
"tweet.message.not_found": "找不到推文。"
}
}

View file

@ -27,6 +27,9 @@ async def check_ip(ip: str):
elif info.is_reserved:
ip_property = 'reserved'
skip_geoip = True
elif info.is_private:
ip_property = 'private'
skip_geoip = True
elif isinstance(info, ipaddress.IPv6Address):
if info.is_site_local:
ip_property = 'site_local'
@ -39,10 +42,6 @@ async def check_ip(ip: str):
elif info.teredo:
ip_property = 'teredo'
ip = str(info.teredo)
elif info.is_private:
ip_property = 'private'
elif info.is_private:
ip_property = 'private'
else:
ip_property = 'unknown'
skip_geoip = True

View file

@ -21,5 +21,5 @@
"whois.message.ip.reverse": "Reverse Resolution: ",
"whois.message.ip.type": "Type: ",
"whois.message.ip.utc": "Time Zone:",
"whois.message.unknown": "无法识别类型,请检查输入是否正确。"
"whois.message.unknown": "无法识别类型,请检查输入。"
}

View file

@ -1,25 +1,25 @@
{
"whois.help.desc": "查询 IP 的 WHOIS 信息。",
"whois.message.ip.asn": "ASN",
"whois.message.ip.ip_property": "地址",
"whois.message.ip.ip_property.global": "全局",
"whois.message.ip.ip_property.ipv4_mapped": "IPv4 映射",
"whois.message.ip.ip_property.link_local": "链路本地",
"whois.message.ip.ip_property.loopback": "回环",
"whois.message.ip.ip_property.multicast": "多播",
"whois.message.ip.ip_property.private": "私有",
"whois.message.ip.ip_property.reserved": "保留",
"whois.message.ip.ip_property.site_local": "站点本地",
"whois.message.ip.ip_property.sixtofour": "6to4 ",
"whois.message.ip.ip_property.teredo": "Teredo ",
"whois.message.ip.ip_property.unknown": "未知",
"whois.message.ip.ip_property.unspecified": "未指定",
"whois.message.ip.location": "位置:",
"whois.message.ip.organization": "组织:",
"whois.message.ip.postal_code": "邮编:",
"whois.message.ip.real_ip": "实际 IP",
"whois.message.ip.reverse": "反向解析:",
"whois.message.ip.type": "类型:",
"whois.message.ip.utc": "时区:",
"whois.message.unknown": "无法识别类型,请检查输入是否正确。"
{
"whois.help.desc": "查询 IP 的 WHOIS 信息。",
"whois.message.ip.asn": "ASN",
"whois.message.ip.ip_property": "地址",
"whois.message.ip.ip_property.global": "全局",
"whois.message.ip.ip_property.ipv4_mapped": "IPv4 映射",
"whois.message.ip.ip_property.link_local": "链路本地",
"whois.message.ip.ip_property.loopback": "回环",
"whois.message.ip.ip_property.multicast": "多播",
"whois.message.ip.ip_property.private": "私有",
"whois.message.ip.ip_property.reserved": "保留",
"whois.message.ip.ip_property.site_local": "站点本地",
"whois.message.ip.ip_property.sixtofour": "6to4 ",
"whois.message.ip.ip_property.teredo": "Teredo ",
"whois.message.ip.ip_property.unknown": "未知",
"whois.message.ip.ip_property.unspecified": "未指定",
"whois.message.ip.location": "位置:",
"whois.message.ip.organization": "组织:",
"whois.message.ip.postal_code": "邮编:",
"whois.message.ip.real_ip": "实际 IP",
"whois.message.ip.reverse": "反向解析:",
"whois.message.ip.type": "类型:",
"whois.message.ip.utc": "时区:",
"whois.message.unknown": "无法识别类型,请检查输入。"
}

View file

@ -21,5 +21,5 @@
"whois.message.ip.reverse": "反向解析:",
"whois.message.ip.type": "類型:",
"whois.message.ip.utc": "時區:",
"whois.message.unknown": "無法類型,請檢查輸入是否正確。"
"whois.message.unknown": "無法識類型,請檢查輸入。"
}