From 8dde04abc738009764d89a911681468a6afeaf20 Mon Sep 17 00:00:00 2001 From: PatrykGodlewski Date: Wed, 12 Apr 2023 15:25:24 +0200 Subject: [PATCH] Optional property translation --- src/controls/Image/Component/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controls/Image/Component/index.js b/src/controls/Image/Component/index.js index 63732c7ca..3ab618043 100644 --- a/src/controls/Image/Component/index.js +++ b/src/controls/Image/Component/index.js @@ -290,7 +290,7 @@ class LayoutComponent extends Component { value={height} name="height" className="rdw-image-modal-size-input" - placeholder="Height" + placeholder={translations["components.controls.image.height"] || "Height"} /> *  ↔  @@ -300,7 +300,7 @@ class LayoutComponent extends Component { value={width} name="width" className="rdw-image-modal-size-input" - placeholder="Width" + placeholder={translations["components.controls.image.width"] || "Width"} /> *