diff options
author | Justin Luth <justin.luth@collabora.com> | 2022-12-31 17:52:34 -0500 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2023-01-02 22:53:58 +0000 |
commit | ef3b7b7118c854d8ca67cc2249b6c08ddc1885eb (patch) | |
tree | ee8216ce0586e132d285475f04d6695be1d74154 /svx/source/sidebar | |
parent | 5244e7cab70a3c1f567e2e3cda41bd753e5cb530 (diff) |
NFC tdf#56258 i18npool NumberingLevel: use ref="en_US"
In preparing to see what improvements can be made to
list defaults, it is helpful to see what customizations
have been made to the US defaults. Those that match
identically were changed to simple refs.
Thanks to https://www.linuxtopia.org/online_books/
linux_tool_guides/the_sed_faq/sedfaq4_013.html
The script there helped to generate sed expressions.
sed -f ref.sed *.xml
----- ref.sed -----
\#<LC_NumberingLevel>#,\#</LC_NumberingLevel># {
:ack
N;
\#</LC_NumberingLevel>#! b ack
s#<LC_NumberingLevel>\
<NumberingLevel NumType="4" Prefix=" *" \+Suffix=")" */>\
<NumberingLevel NumType="4" Prefix=" *" \+Suffix="." */>\
<NumberingLevel NumType="4" Prefix="(" \+Suffix=")" */>\
<NumberingLevel NumType="2" Prefix=" *" \+Suffix="." */>\
<NumberingLevel NumType="0" Prefix=" *" \+Suffix=")" */>\
<NumberingLevel NumType="1" Prefix=" *" \+Suffix=")" */>\
<NumberingLevel NumType="1" Prefix="(" \+Suffix=")" */>\
<NumberingLevel NumType="3" Prefix=" *" \+Suffix="." */>\
</LC_NumberingLevel>#<LC_NumberingLevel ref="en_US"/>#;
}
-------------------
----- ref2.sed -----
\#<LC_NumberingLevel>#,\#</LC_NumberingLevel># {
:ack
N;
\#</LC_NumberingLevel>#! b ack
s#<LC_NumberingLevel>\
<NumberingLevel Prefix=" " \+NumType="4" Suffix=")" */>\
<NumberingLevel Prefix=" " \+NumType="4" Suffix="." */>\
<NumberingLevel Prefix="(" \+NumType="4" Suffix=")" */>\
<NumberingLevel Prefix=" " \+NumType="2" Suffix="." */>\
<NumberingLevel Prefix=" " \+NumType="0" Suffix=")" */>\
<NumberingLevel Prefix=" " \+NumType="1" Suffix=")" */>\
<NumberingLevel Prefix="(" \+NumType="1" Suffix=")" */>\
<NumberingLevel Prefix=" " \+NumType="3" Suffix="." */>\
</LC_NumberingLevel>#<LC_NumberingLevel ref="en_US"/>#;
}
--------------------
Change-Id: I85d8a8ed095f19d08b035d7f2c4e2cd94ff08c76
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144890
Tested-by: Justin Luth <jluth@mail.com>
Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'svx/source/sidebar')
0 files changed, 0 insertions, 0 deletions