diff options
author | Jonathan Clark <jonathan@libreoffice.org> | 2024-07-16 16:50:10 -0600 |
---|---|---|
committer | Jonathan Clark <jonathan@libreoffice.org> | 2024-07-17 15:45:41 +0200 |
commit | aa938fe03cfb968f7f4ed9760dcbe579a74bdc02 (patch) | |
tree | b7e6085e5612b816a3a3cb29419534863dcc3154 /sw/uiconfig | |
parent | c9a96f272430a8ba5a29207d3365354c82d08e60 (diff) |
tdf#150621 Changed Korean word counting to use words
Previously, Writer counted characters for all CJK languages, rather than
words. This is the correct behavior for Chinese and Japanese, which make
extensive use of ideographs. However, it is not correct for Korean.
This change adjusts the Writer word count algorithm to count Korean
words, rather than Korean characters.
Change-Id: I6e77136867baca1a7b51248886ee5fd7073ad364
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170621
Tested-by: Jenkins
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
Diffstat (limited to 'sw/uiconfig')
-rw-r--r-- | sw/uiconfig/swriter/ui/wordcount-mobile.ui | 4 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/wordcount.ui | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/uiconfig/swriter/ui/wordcount-mobile.ui b/sw/uiconfig/swriter/ui/wordcount-mobile.ui index a1bb1dfdf70b..de6ef6f5e9cd 100644 --- a/sw/uiconfig/swriter/ui/wordcount-mobile.ui +++ b/sw/uiconfig/swriter/ui/wordcount-mobile.ui @@ -202,7 +202,7 @@ <object class="GtkLabel" id="cjkcharsft"> <property name="can-focus">False</property> <property name="no-show-all">True</property> - <property name="label" translatable="yes" context="wordcount-mobile|cjkcharsft">Asian characters and Korean syllables</property> + <property name="label" translatable="yes" context="wordcount-mobile|cjkcharsft">Asian characters and Korean words</property> <property name="xalign">1</property> </object> <packing> @@ -274,7 +274,7 @@ <object class="GtkLabel" id="cjkcharsft2"> <property name="can-focus">False</property> <property name="no-show-all">True</property> - <property name="label" translatable="yes" context="wordcount-mobile|cjkcharsft">Asian characters and Korean syllables</property> + <property name="label" translatable="yes" context="wordcount-mobile|cjkcharsft">Asian characters and Korean words</property> <property name="xalign">1</property> </object> <packing> diff --git a/sw/uiconfig/swriter/ui/wordcount.ui b/sw/uiconfig/swriter/ui/wordcount.ui index c42d8fbb30ad..5f11d31e0b7b 100644 --- a/sw/uiconfig/swriter/ui/wordcount.ui +++ b/sw/uiconfig/swriter/ui/wordcount.ui @@ -229,7 +229,7 @@ <object class="GtkLabel" id="cjkcharsft"> <property name="can-focus">False</property> <property name="no-show-all">True</property> - <property name="label" translatable="yes" context="wordcount|cjkcharsft">Asian characters and Korean syllables</property> + <property name="label" translatable="yes" context="wordcount|cjkcharsft">Asian characters and Korean words</property> <property name="xalign">1</property> </object> <packing> |