31 lines
No EOL
2 KiB
JSON
31 lines
No EOL
2 KiB
JSON
{
|
||
"calc.help.desc": "安全地计算 Python ast 表达式。",
|
||
"calc.help.option.bin": "转换为二进制:bin(268) -> 0b100001100",
|
||
"calc.help.option.bool": "转换为布尔值:bool(1) -> True",
|
||
"calc.help.option.complex": "转换为复数:complex(1) -> (1 + 0j)",
|
||
"calc.help.option.divide": "商:6 / 3 -> 2",
|
||
"calc.help.option.equal": "等于:1 == 1 -> True",
|
||
"calc.help.option.float": "转换为浮点数:float(1) -> 1.0",
|
||
"calc.help.option.greater_equal": "大于等于:1 >= 2 -> False",
|
||
"calc.help.option.hex": "转换为十六进制:hex(268) -> 0x10c",
|
||
"calc.help.option.int": "转换为整数:int(1.5) -> 1",
|
||
"calc.help.option.is": "x 与 y 是同一个对象:1 is 1 -> True",
|
||
"calc.help.option.less_equal": "小于等于:1 <= 2 -> True",
|
||
"calc.help.option.minus": "差/负数:3 - 1 -> 2",
|
||
"calc.help.option.modulo": "取模:5 % 2 -> 1",
|
||
"calc.help.option.more": "更多可用运算符和函数",
|
||
"calc.help.option.move_left": "x 左移 y 位(相当于 x * (2 ** y),y < 10000):1 << 5 -> 32",
|
||
"calc.help.option.move_right": "x 右移 y 位(相当于 x / (2 ** y),y < 10000):32 >> 5 -> 1",
|
||
"calc.help.option.multiply": "积:2 * 3 -> 6",
|
||
"calc.help.option.not": "非:not True -> False",
|
||
"calc.help.option.oct": "转换为八进制:oct(268) -> 0o414",
|
||
"calc.help.option.plus": "和/正数:1 + 2 -> 3",
|
||
"calc.help.option.power": "x 的 y 次幂(由于性能问题,指数不得超过 4e+6):2 ** 3 -> 8",
|
||
"calc.help.option.rand": "0 与 1 之间的随机浮点数:rand() -> 0.5789015836448923",
|
||
"calc.help.option.randint": "小于 x 的随机整数:randint(6) -> 5",
|
||
"calc.help.option.str": "转换为字符串:str(1) -> \"1\"",
|
||
"calc.help.option.xor": "按位异或:1 ^ 1 -> 0",
|
||
"calc.message.invalid": "表达式无效:${expr}",
|
||
"calc.message.running_time": "计算花费时间:${time} ms / 10000 ms。",
|
||
"calc.message.time_out": "计算超时。"
|
||
} |