From 8d5d2d1d3788c5ae57923bda580f7b881233affc Mon Sep 17 00:00:00 2001 From: Sepiolina Date: Fri, 10 Jan 2025 15:21:51 +0700 Subject: [PATCH] fix(richtext-lexical): update Thai translations for blockquote and horizontal rule (#10469) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description:** - [x] Replaces the [SKIPPED] entry with the correct translation for "Blockquote". - [x] I have read and understand the CONTRIBUTING.md document in this repository. **Type of Change:** - [x] Bug fix (non-breaking change which fixes an issue). **Fixes:** 1. fix the translation issue by replacing the [SKIPPED] entry with the correct Thai translation for "Blockquote". Which I choose "ข้อความอ้างอิง" However one might prefer other form of translation like "คำอ้างอิง" or "กล่องข้อความอ้างอิง" which represent the 'block' with in the 'Blockquote' 2. corrects the Thai translation for "Horizontal Rule." The translation has been changed from "กฎแนวนอน," which was a mistranslation, to "เส้นขอบแนวนอน" to better reflect the meaning of "Horizontal Rule" as a visual divider or border. --- .../richtext-lexical/src/features/blockquote/server/i18n.ts | 2 +- .../richtext-lexical/src/features/horizontalRule/server/i18n.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/richtext-lexical/src/features/blockquote/server/i18n.ts b/packages/richtext-lexical/src/features/blockquote/server/i18n.ts index 60318e4f3ae..72ebb3abec7 100644 --- a/packages/richtext-lexical/src/features/blockquote/server/i18n.ts +++ b/packages/richtext-lexical/src/features/blockquote/server/i18n.ts @@ -89,7 +89,7 @@ export const i18n: Partial = { label: 'Blockcitat', }, th: { - label: '[SKIPPED]', + label: 'ข้อความอ้างอิง', }, tr: { label: 'Alıntı', diff --git a/packages/richtext-lexical/src/features/horizontalRule/server/i18n.ts b/packages/richtext-lexical/src/features/horizontalRule/server/i18n.ts index a812c3f4d4e..7e1b68a3f9b 100644 --- a/packages/richtext-lexical/src/features/horizontalRule/server/i18n.ts +++ b/packages/richtext-lexical/src/features/horizontalRule/server/i18n.ts @@ -89,7 +89,7 @@ export const i18n: Partial = { label: 'Horisontell linje', }, th: { - label: 'กฎขีดตรง', + label: 'เส้นขอบแนวนอน', }, tr: { label: 'Yatay Çizgi',