Archived
1
0
Fork 0
This repository has been archived on 2024-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
akari-bot/modules/calc/locales/en_us.json

31 lines
1.9 KiB
JSON
Raw Normal View History

2023-05-10 15:26:04 +00:00
{
"calc.calc.help.plus": "Sum / Positive Sign: 1 + 2 -> 3",
"calc.calc.help.minus": "Subtract / Negative Sign: 3 - 1 -> 2",
"calc.calc.help.divide": "Division: 6 / 3 -> 2",
"calc.calc.help.multiply": "Multiplication: 2 * 3 -> 6",
"calc.calc.help.power": "x to the power of y (y must not be over 4e+6 due to performance limits): 2 ** 3 -> 8",
"calc.calc.help.modulo": "Modulo: 5 % 2 ->1",
"calc.calc.help.equal": "Equal to: 1 == 1 -> True",
"calc.calc.help.less_equal": "小于等于1 <= 2 -> True",
"calc.calc.help.greater_equal": "大于等于1 >= 2 -> False",
"calc.calc.help.move_right": "x 右移 y 位(相当于 x / (2 ** y)y < 1000032 >> 5 -> 1",
"calc.calc.help.move_left": "x 左移 y 位(相当于 x * (2 ** y)y < 100001 << 5 -> 32",
"calc.calc.help.xor": "按位异或1 ^ 1 -> 0",
"calc.calc.help.not": "非not True -> False",
"calc.calc.help.is": "x 与 y 是同一个对象1 is 1 -> True",
"calc.calc.help.randint": "小于 x 的随机整数randint(6) -> 5",
"calc.calc.help.rand": "0 与 1 之间的随机浮点数rand() -> 0.5789015836448923",
"calc.calc.help.int": "转换为整数int(1.5) -> 1",
"calc.calc.help.float": "转换为浮点数float(1) -> 1.0",
"calc.calc.help.str": "转换为字符串str(1) -> \"1\"",
"calc.calc.help.complex": "转换为复数complex(1) -> (1 + 0j)",
"calc.calc.help.bool": "转换为布尔值bool(1) -> True",
"calc.calc.help.bin": "转换为二进制bin(268) -> 0b100001100",
"calc.calc.help.oct": "转换为八进制oct(268) -> 0o414",
"calc.calc.help.hex": "转换为十六进制hex(268) -> 0x10c",
"calc.calc.help.more": "More available operators and functions",
"calc.calc.message.invalid": "Invalid expression: ${expr}",
"calc.calc.message.time_out": "Calculation timeout.",
"calc.calc.help.desc": "Safely evaluate Python ast expressions."
}