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

This commit is contained in:
2023-03-15 15:34:33 +08:00
parent d72216de8b
commit 93fa2f2d7e
3 changed files with 114 additions and 8 deletions

View File

@@ -42,15 +42,26 @@ 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.string.default": "string",
"input.type.chart": "chart",
"input.type.default": "element",
"input.type.group": "track group",
"input.type.note": "note",
"input.type.track": "track",
"list.category.exp.any": "Any",
"list.category.exp.array": "Array",
"list.category.exp.const": "Constants",
"list.category.exp.func": "Functions",
"list.category.exp.func.anim": "Animation Functions",
"list.category.exp.func.ctx": "Contextual Functions",
"list.category.exp.func.judge": "Judge Functions",
"list.category.exp.identifier": "Identifier",
"list.category.exp.number": "Number",
"list.category.exp.op": "Operators",
"list.category.exp.string": "String",
"list.category.exp.vector": "Vector",
"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",
@@ -60,22 +71,30 @@ messages["en_US"] = {
"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.attack_timing": "Attack in timing",
"list.statement.exp.func.clamp": "Clamp",
"list.statement.exp.func.contact_timing": "Contact timing",
"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.enter_timing": "Enter timing",
"list.statement.exp.func.frame_seq": "Frame sequence",
"list.statement.exp.func.int": "Round down",
"list.statement.exp.func.interval": "Interval",
"list.statement.exp.func.is": "Is equivalent",
"list.statement.exp.func.leave_timing": "Leave timing",
"list.statement.exp.func.max": "Maximum",
"list.statement.exp.func.min": "Minimum",
"list.statement.exp.func.release_timing": "Release in timing",
"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.number": "Add element",
"list.statement.exp.string": "Add element",
"list.statement.exp.op.add": "a + b",
"list.statement.exp.op.add1": "+n",
"list.statement.exp.op.and": "p and q",
@@ -88,6 +107,8 @@ messages["en_US"] = {
"list.statement.exp.op.mul": "a × b",
"list.statement.exp.op.not": "Not",
"list.statement.exp.op.or": "p or q",
"list.statement.exp.op.sep.arr": "Array",
"list.statement.exp.op.sep.vec": "Vector",
"list.statement.exp.op.sub": "a - b",
"list.statement.exp.op.sub1": "-n",
"list.statement.obj": "Create container",
@@ -99,7 +120,6 @@ 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",
@@ -109,22 +129,31 @@ messages["en_US"] = {
"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.attack_timing": "attack in timing ({0}, {1})",
"statement.exp.func.clamp": "clamp {1} between {0} and {2}",
"statement.exp.func.contact_timing": "contact timing ({0}, {1})",
"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.enter_timing": "enter timing ({0}, +∞)",
"statement.exp.func.frame_seq": "frame sequence with prefix {0} from {1} to {2}",
"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.leave_timing": "leave timing (-∞, {0})",
"statement.exp.func.max": "maximum of {0} and {1}",
"statement.exp.func.min": "minimum of {0} and {1}",
"statement.exp.func.release_timing": "release in timing ({0}, {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.number": "{0}",
"statement.exp.number_or_vector": "{0}",
"statement.exp.string": "{0}",
"statement.exp.op.add": "{0} + {1}",
"statement.exp.op.add1": "+{0}",
"statement.exp.op.and": "{0} and {1}",
@@ -137,6 +166,8 @@ messages["en_US"] = {
"statement.exp.op.mul": "{0} × {1}",
"statement.exp.op.not": "not {0}",
"statement.exp.op.or": "{0} or {1}",
"statement.exp.op.sep.arr": "Array {0}",
"statement.exp.op.sep.vec": "Vector {0}",
"statement.exp.op.sub": "{0} - {1}",
"statement.exp.op.sub1": "-{0}",
"statement.obj": "Create a container {0}",