Sync some constants, operators, and functions for skin editor. (2)

This commit is contained in:
2023-03-15 10:02:09 +08:00
parent df5133a91a
commit d72216de8b
3 changed files with 66 additions and 8 deletions

View File

@@ -42,6 +42,7 @@ messages["en_US"] = {
"input.prop.text.size": "text sprite: font size",
"input.prop.text.spacing": "text sprite: character spacing",
"input.prop.text.value": "text sprite: content",
"input.string.default": "abc",
"input.type.chart": "chart",
"input.type.default": "element",
"input.type.group": "track group",
@@ -49,20 +50,32 @@ messages["en_US"] = {
"input.type.track": "track",
"list.statement.comp": "Attach component",
"list.statement.define": "Define static variable",
"list.statement.exp.cast.number2vector": "From number",
"list.statement.exp.cast.vector2number": "From vector",
"list.statement.exp.const.false": "False",
"list.statement.exp.const.h": "Screen height",
"list.statement.exp.const.inf": "Infinity",
"list.statement.exp.const.null": "Null",
"list.statement.exp.const.true": "True",
"list.statement.exp.const.w": "Screen width",
"list.statement.exp.func.abs": "Absolute value",
"list.statement.exp.func.anim": "Animate value",
"list.statement.exp.func.clamp": "Clamp",
"list.statement.exp.func.cubic_bezier": "Cubic Bézier curve",
"list.statement.exp.func.ease": "Ease",
"list.statement.exp.func.ease_in": "Ease in",
"list.statement.exp.func.ease_in_out": "Ease in out",
"list.statement.exp.func.ease_out": "Ease out",
"list.statement.exp.func.int": "Round down",
"list.statement.exp.func.interval": "Interval",
"list.statement.exp.func.is": "Is equivalent",
"list.statement.exp.func.max": "Maximum",
"list.statement.exp.func.min": "Minimum",
"list.statement.exp.func.screen_edge": "Screen edge",
"list.statement.exp.literal.ident": "Variable",
"list.statement.exp.literal.identforced": "Variable (forced)",
"list.statement.exp.literal.number": "Number",
"list.statement.exp.literal.string": "String",
"list.statement.exp.op.add": "a + b",
"list.statement.exp.op.add1": "+n",
"list.statement.exp.op.and": "p and q",
@@ -86,20 +99,32 @@ messages["en_US"] = {
"list.statement.select.type": "Filter element type",
"statement.comp": "with a {0}",
"statement.define": "Define static {0} = {1}",
"statement.exp.cast.number2vector": "number {0}",
"statement.exp.cast.vector2number": "vector {0}",
"statement.exp.const.false": "false",
"statement.exp.const.h": "screen height",
"statement.exp.const.inf": "infinity",
"statement.exp.const.null": "null",
"statement.exp.const.true": "true",
"statement.exp.const.w": "screen width",
"statement.exp.func.abs": "absolute value of {0}",
"statement.exp.func.anim": "animate value from {0} to {1} with {2}",
"statement.exp.func.clamp": "clamp {1} between {0} and {2}",
"statement.exp.func.cubic_bezier": "cubic Bézier curve defined by the control points ({0}, {1}) and ({2}, {3}) with {4}",
"statement.exp.func.ease": "ease with {0}",
"statement.exp.func.ease_in": "ease in with {0}",
"statement.exp.func.ease_in_out": "ease in out with {0}",
"statement.exp.func.ease_out": "ease out with {0}",
"statement.exp.func.int": "round down {0}",
"statement.exp.func.interval": "interval between {0} and {1}",
"statement.exp.func.is": "{0} is equivalent to {1}",
"statement.exp.func.max": "maximum of {0} and {1}",
"statement.exp.func.min": "minimum of {0} and {1}",
"statement.exp.func.screen_edge": "the screen edge #{0}",
"statement.exp.literal.ident": "{0}",
"statement.exp.literal.identforced": "{0} (forced)",
"statement.exp.literal.number": "{0}",
"statement.exp.literal.string": "{0}",
"statement.exp.op.add": "{0} + {1}",
"statement.exp.op.add1": "+{0}",
"statement.exp.op.and": "{0} and {1}",