From 2ea99c5e4f3afaa24ebef61d17ea097557ca36b3 Mon Sep 17 00:00:00 2001 From: mirtlecn Date: Mon, 16 Sep 2024 09:29:02 +0800 Subject: [PATCH] fix(lua): https://github.com/iDvel/rime-ice/issues/989#issuecomment-2351366747 --- lua/number_translator.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/number_translator.lua b/lua/number_translator.lua index 26c64b6de..d21b89d72 100644 --- a/lua/number_translator.lua +++ b/lua/number_translator.lua @@ -137,8 +137,9 @@ local function number_translatorFunc(num) local number2cnCharInt_var = number2cnCharInt:gsub('^拾', '壹拾') table.insert(result, { number2cnCharInt_var .. number2cnCharDec , "〔金额大写〕"}) -- 会计书写要求 https://github.com/iDvel/rime-ice/issues/989 + else + table.insert(result, { number2cnCharInt .. number2cnCharDec , "〔金额大写〕"}) end - -- table.insert(result, { number2cnCharInt .. number2cnCharDec , "〔金额大写〕"}) return result end