Explorar o código

Added localization for point nodes and color evaluator

CPKreuz hai 1 ano
pai
achega
4192067609

+ 1 - 1
src/PixiEditor.ChangeableDocument/Changeables/Graph/Nodes/Evaluator/ColorEvaluatorLeftNode.cs

@@ -15,7 +15,7 @@ public class ColorEvaluatorLeftNode : Node
 
     public ColorEvaluatorLeftNode()
     {
-        Position = CreateFuncOutput("Position", "POSITION", c => c.Position);
+        Position = CreateFuncOutput("Position", "UV", c => c.Position);
     }
     
     protected override Surface? OnExecute(RenderingContext context)

+ 10 - 1
src/PixiEditor/Data/Localization/Languages/en.json

@@ -694,5 +694,14 @@
   "FINISHED": "Finished",
   "GENERATING_SPRITE_SHEET": "Generating Sprite Sheet",
   "RENDERING_IMAGE": "Rendering Image",
-  "PROGRESS_POPUP_TITLE": "Progress"
+  "PROGRESS_POPUP_TITLE": "Progress",
+  "POINTS": "Points",
+  "MIN_DISTANCE": "Min. Distance",
+  "MAX_POINTS": "Max. Points",
+  "PROBABILITY": "Probability",
+  "DISTRIBUTE_POINTS": "Distribute points",
+  "REMOVE_CLOSE_POINTS": "Remove close points",
+  "RASTERIZE_POINTS": "Rasterize Points",
+  "BEGIN_COLOR_EVALUATOR": "Begin evaluating color",
+  "FINISH_COLOR_EVALUATOR": "Finish evaluating color"
 }