https://bugs.documentfoundation.org/show_bug.cgi?id=147054

            Bug ID: 147054
           Summary: Native Numbering: Natnum4 for Chinese is wrong for
                    numbers between 10 and 20
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 177898
  --> https://bugs.documentfoundation.org/attachment.cgi?id=177898&action=edit
Chinese_Natnum4_and_Natnum5.ods

Steps to Reproduce:

1. Change locale to Simplified Chinese. Type in the following numbers in column
A:

1
2
3
...
10
11
12
13
14
15
16
17
18
19
20
...

2. Set cell format code to "[Natnum4]0"

Current Result:
the ones from 10 to 19 is prefixed with "ONE-TEN".
e.g.:
10      一十      ONE-TEN
11      一十一     ONE-TEN AND ONE
12      一十二     ONE-TEN AND TWO
13      一十三     ONE-TEN AND THREE
...
17      一十七     ONE-TEN AND SEVEN
18      一十八     ONE-TEN AND EIGHT
19      一十九     ONE-TEN AND NINE


Expected Result:
the ones from 10 to 19 is should be prefixed with "TEN" only,
E.g.:
e.g.:
10      十       TEN
11      十一      TEN AND ONE
12      十二      TEN AND TWO
13      十三      TEN AND THREE
...
17      十七      TEN AND SEVEN
18      十八      TEN AND EIGHT
19      十九      TEN AND NINE

See the attached spreadsheet for the comparison.

Note that for all other num ranges the current result is correct and thus
should not be changed in a fix.

Also note that, the above is for NatNum4 (i.e. Chinese Lower Case numbering).
The current result for NatNum5 is correct (i.e. is prefixed with "ONE-TEN"
correctly), and thus should not be changed in a fix.

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: b9039e511ed103814dd3c2987c2e408aebb58058
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN
Build Platform: Fedora34@X64, Branch:master, bibisect-linux-64-7.4-CN
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to