Browse Source

Improve slice text node localization key

CPKreuz 2 weeks ago
parent
commit
c782a0dcf7

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

@@ -1117,7 +1117,7 @@
   "MAX_BILINEAR_CANVAS_SIZE": "Max Bilinear Canvas Size",
   "MAX_BILINEAR_CANVAS_SIZE": "Max Bilinear Canvas Size",
   "MAX_BILINEAR_CANVAS_SIZE_DESC": "Maximum canvas size for bilinear filtering. Set to 0 to disable bilinear filtering. Bilinear filtering improves the quality of the canvas, but can cause performance issues on large canvases.",
   "MAX_BILINEAR_CANVAS_SIZE_DESC": "Maximum canvas size for bilinear filtering. Set to 0 to disable bilinear filtering. Bilinear filtering improves the quality of the canvas, but can cause performance issues on large canvases.",
   "INVERT_MASK": "Invert mask",
   "INVERT_MASK": "Invert mask",
-  "SLICE_TEXT": "Slice text",
+  "SLICE_TEXT_NODE": "Slice text",
   "INDEX_START_AT": "Start at",
   "INDEX_START_AT": "Start at",
   "CHARACTER_POSITION_NODE": "Character Position",
   "CHARACTER_POSITION_NODE": "Character Position",
   "FIRST_POSITION": "First position",
   "FIRST_POSITION": "First position",

+ 1 - 1
src/PixiEditor/ViewModels/Document/Nodes/Text/SliceTextNodeViewModel.cs

@@ -3,5 +3,5 @@ using PixiEditor.ViewModels.Nodes;
 
 
 namespace PixiEditor.ViewModels.Document.Nodes.Text;
 namespace PixiEditor.ViewModels.Document.Nodes.Text;
 
 
-[NodeViewModel("SLICE_TEXT", "SHAPE", null)]
+[NodeViewModel("SLICE_TEXT_NODE", "SHAPE", null)]
 internal class SliceTextNodeViewModel : NodeViewModel<SliceTextNode>;
 internal class SliceTextNodeViewModel : NodeViewModel<SliceTextNode>;