From 334c8e3522b6c4dd4295fb3b3f150c16a7a62e7d Mon Sep 17 00:00:00 2001 From: knoxHuang Date: Mon, 14 Oct 2024 12:03:10 +0800 Subject: [PATCH] Complete the i18n for label alignment. --- editor/i18n/en/modules/ui.js | 6 ++++++ editor/i18n/zh/modules/ui.js | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/editor/i18n/en/modules/ui.js b/editor/i18n/en/modules/ui.js index 51cfde9954b..3a14a00f68b 100644 --- a/editor/i18n/en/modules/ui.js +++ b/editor/i18n/en/modules/ui.js @@ -25,10 +25,16 @@ module.exports = { 'horizontalAlign': { displayName: 'Horizontal Alignment', tooltip: 'Horizontal alignment mode.', + tooltip_left: 'Align Left', + tooltip_right: 'Align Right', + tooltip_center: 'Align Center', }, 'verticalAlign': { displayName: 'Vertical Alignment', tooltip: 'Vertical alignment mode.', + tooltip_top: 'Align Top', + tooltip_bottom: 'Align Bottom', + tooltip_center: 'Align Center', }, 'fontSize': { displayName: 'Font Size', diff --git a/editor/i18n/zh/modules/ui.js b/editor/i18n/zh/modules/ui.js index fbf429e67fc..ca1306685c0 100644 --- a/editor/i18n/zh/modules/ui.js +++ b/editor/i18n/zh/modules/ui.js @@ -25,10 +25,16 @@ module.exports = { 'horizontalAlign': { displayName: '水平对齐', tooltip: '文字水平对齐模式。', + tooltip_left: '左对齐', + tooltip_right: '右对齐', + tooltip_center: '居中对齐', }, 'verticalAlign': { displayName: '竖直对齐', tooltip: '文字竖直对齐模式。', + tooltip_top: '上对齐', + tooltip_bottom: '下对齐', + tooltip_center: '居中对齐', }, 'fontSize': { displayName: '字体大小',