diff options
author | Seth Chaiklin <sdc.blanco@youmail.dk> | 2023-03-02 22:14:58 +0000 |
---|---|---|
committer | Seth Chaiklin <sdc.blanco@youmail.dk> | 2023-03-06 07:51:29 +0000 |
commit | 09aca4a8bff06a719fa85d7287969e484fcb5e3f (patch) | |
tree | b10b185a500718d598a46e3fd5709e9c37dd5c91 | |
parent | 3203cf9df2f295771515e5a38b597bbb9a17e6a4 (diff) |
tdf#153561 rename Heading No. and widget, update tool/extended tips
"Chapter No." was changed to "Heading No." in
e5a744851cb58da1ceeef623799274d73b60b030 to indicate the broader
scope of the option in the entry structure. But the option is even
broader, because it can also include list numbers of entry
texts. This patch updates the "Heading No." widget to "Numbering"
and changes its abbreviation from "E#" to "N#" to reflect this
broader function. The associated tooltips and extended tips for
these widgets are also updated to indicate this fact.
Change-Id: I5505b09998cd3cccf61002213c1938a2afc2c607
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148104
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
-rw-r--r-- | sw/inc/strings.hrc | 4 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/tocentriespage.ui | 15 |
2 files changed, 10 insertions, 9 deletions
diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc index 8b8b1df2731c..96e58d395164 100644 --- a/sw/inc/strings.hrc +++ b/sw/inc/strings.hrc @@ -1331,7 +1331,7 @@ #define STR_NOSORTKEY NC_("STR_NOSORTKEY", "<None>") #define STR_NO_CHAR_STYLE NC_("STR_NO_CHAR_STYLE", "<None>") #define STR_DELIM NC_("STR_DELIM", "S") -#define STR_TOKEN_ENTRY_NO NC_("STR_TOKEN_ENTRY_NO", "E#") +#define STR_TOKEN_ENTRY_NO NC_("STR_TOKEN_ENTRY_NO", "N#") #define STR_TOKEN_ENTRY NC_("STR_TOKEN_ENTRY", "E") #define STR_TOKEN_TAB_STOP NC_("STR_TOKEN_TAB_STOP", "T") #define STR_TOKEN_PAGE_NUMS NC_("STR_TOKEN_PAGE_NUMS", "#") @@ -1339,7 +1339,7 @@ #define STR_TOKEN_LINK_START NC_("STR_TOKEN_LINK_START", "LS") #define STR_TOKEN_LINK_END NC_("STR_TOKEN_LINK_END", "LE") #define STR_TOKEN_AUTHORITY NC_("STR_TOKEN_AUTHORITY", "A") -#define STR_TOKEN_HELP_ENTRY_NO NC_("STR_TOKEN_HELP_ENTRY_NO", "Heading number") +#define STR_TOKEN_HELP_ENTRY_NO NC_("STR_TOKEN_HELP_ENTRY_NO", "Numbering") #define STR_TOKEN_HELP_ENTRY NC_("STR_TOKEN_HELP_ENTRY", "Entry") #define STR_TOKEN_HELP_TAB_STOP NC_("STR_TOKEN_HELP_TAB_STOP", "Tab stop") #define STR_TOKEN_HELP_TEXT NC_("STR_TOKEN_HELP_TEXT", "Text") diff --git a/sw/uiconfig/swriter/ui/tocentriespage.ui b/sw/uiconfig/swriter/ui/tocentriespage.ui index cb9061cdb008..0336bdd7fae3 100644 --- a/sw/uiconfig/swriter/ui/tocentriespage.ui +++ b/sw/uiconfig/swriter/ui/tocentriespage.ui @@ -448,10 +448,10 @@ <property name="activates-default">True</property> <property name="truncate-multiline">True</property> <property name="adjustment">adjustment2</property> - <property name="tooltip_text" translatable="yes" context="tocentriespage|entryoutlinelevel">Enter the number of levels of the heading number to show in the index. For example, select “2” to show the first two levels of the heading number.</property> + <property name="tooltip_text" translatable="yes" context="tocentriespage|entryoutlinelevel">Enter the number of levels of the heading number or list number to show in the index. For example, select “2” to show the first two levels of the number.</property> <child internal-child="accessible"> <object class="AtkObject" id="entryoutlinelevel-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|entryoutlinelevel">Enter the number of levels of the heading number to show in the index. For example, select “2” to show the first two levels of the heading number. To enable heading numbers for headings, choose Tools - Heading Numbering.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|entryoutlinelevel">Enter the number of levels of the heading number or list number to show in the index. For example, select “2” to show the first two levels of the number. To enable numbers for headings, choose “Tools - Heading Numbering”.</property> </object> </child> </object> @@ -486,7 +486,7 @@ </items> <child internal-child="accessible"> <object class="AtkObject" id="numberformat-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|numberformat">Only visible when you click the E# button in the Structure line. Select to show the chapter number with or without separator.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|numberformat">Select to show number with or without separator.</property> </object> </child> </object> @@ -582,15 +582,15 @@ </child> <child> <object class="GtkButton" id="chapterno"> - <property name="label" translatable="yes" context="tocentriespage|chapterno">Heading No.</property> + <property name="label" translatable="yes" context="tocentriespage|chapterno">Numbering</property> <property name="can-focus">True</property> <property name="receives-default">True</property> <property name="no-show-all">True</property> <property name="use-underline">True</property> - <property name="tooltip-text" translatable="yes" context="tocentriespage|chapterno|tooltip_text">Insert in the entry structure to include heading numbers for the selected level in the generated index.</property> + <property name="tooltip-text" translatable="yes" context="tocentriespage|chapterno|tooltip_text">Insert in the “Structure” to include the heading number or list number of the entry text in the generated index.</property> <child internal-child="accessible"> <object class="AtkObject" id="chapterno-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|chapterno">Insert in the entry structure to include heading numbers for the selected level in the generated index. To enable numbers for headings, choose Tools - Heading Numbering.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|chapterno">Insert in the “Structure” to include the heading number or list number of the entry text in the generated index. To enable numbers for headings, choose “Tools - Heading Numbering“.</property> </object> </child> </object> @@ -606,9 +606,10 @@ <property name="visible">True</property> <property name="can-focus">True</property> <property name="receives-default">True</property> + <property name="tooltip-text" translatable="yes" context="tocentriespage|entrytext|tooltip_text">Insert to include the text of the index entries generated from the settings in the “Type“ tab.</property> <child internal-child="accessible"> <object class="AtkObject" id="entrytext-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|entrytext">Inserts the text of the chapter heading.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|entrytext">Insert in the “Structure” to include the text of the index entries generated from the settings in the “Type“ tab.</property> </object> </child> </object> |