From d59bf3f055152c0e55eee697bd40bb177602fec7 Mon Sep 17 00:00:00 2001 From: troyeguo <13820674+troyeguo@users.noreply.github.com> Date: Tue, 17 Mar 2026 10:28:11 +0800 Subject: [PATCH] feat: add text orientation option to dropdown list and translation --- src/assets/locales/zh-CN/translation.json | 1 + src/constants/dropdownList.tsx | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/src/assets/locales/zh-CN/translation.json b/src/assets/locales/zh-CN/translation.json index 59008300..90bf2bed 100644 --- a/src/assets/locales/zh-CN/translation.json +++ b/src/assets/locales/zh-CN/translation.json @@ -10,6 +10,7 @@ "Justify": "两端对齐", "Right": "右对齐", "Text alignment": "文字对齐", + "Text orientation": "文字方向", "Synchronisation successful": "同步成功", "Permanently Delete": "永久删除", "Default search engine": "默认搜索引擎", diff --git a/src/constants/dropdownList.tsx b/src/constants/dropdownList.tsx index 8709f91c..afab6834 100644 --- a/src/constants/dropdownList.tsx +++ b/src/constants/dropdownList.tsx @@ -49,6 +49,16 @@ export const dropdownList = [ ], isPDF: false, }, + { + title: "Text orientation", + value: "textOrientation", + option: [ + { label: "Default", value: "" }, + { label: "Horizontal", value: "horizontal" }, + { label: "Vertical", value: "vertical" }, + ], + isPDF: false, + }, { title: "Conversion of Chinese", value: "convertChinese",