officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu | 8 +-- sw/inc/strings.hrc | 12 ++--- sw/qa/extras/odfimport/odfimport.cxx | 2 sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 2 sw/uiconfig/swriter/ui/bibliographyentry.ui | 4 - sw/uiconfig/swriter/ui/tocentriespage.ui | 24 +++++----- 6 files changed, 26 insertions(+), 26 deletions(-)
New commits: commit 7668d76e7a7d10a94c6122d7ff7932ab4cb1710a Author: bruh <randomfores...@gmail.com> AuthorDate: Fri Feb 7 01:10:04 2025 +0530 Commit: Heiko Tietze <heiko.tie...@documentfoundation.org> CommitDate: Mon Mar 3 14:11:05 2025 +0100 tdf#155050 Replaces the Bibliography entries with Citation The patch replaces Bibliography entries in Tables Of Contents and Index and bibliography dialog box with Citation. Left some of the entries in sw/uiconfig/swriter/ui/bibliographyentry.ui and sw/uiconfig/swriter/ui/createauthorentry.ui unchanged as per the discussion on the bug page, where it was mentioned not to modify them. Change-Id: I34c0051806a799b50d546841960c5d5a04b60196 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181224 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org> diff --git a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu index f8dd394dfa5c..9b2cefcc3ba6 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu @@ -149,10 +149,10 @@ <value xml:lang="en-US">Table of Contents</value> </prop> <prop oor:name="TooltipLabel" oor:type="xs:string"> - <value xml:lang="en-US">Insert Table of Contents, Index or Bibliography</value> + <value xml:lang="en-US">Insert Table of Contents, Index or Citation</value> </prop> <prop oor:name="ContextLabel" oor:type="xs:string"> - <value xml:lang="en-US">Table of Contents, Index or Bibliography...</value> + <value xml:lang="en-US">Table of Contents, Index or Citation...</value> </prop> <prop oor:name="Properties" oor:type="xs:int"> <value>1</value> @@ -160,7 +160,7 @@ </node> <node oor:name=".uno:InsertAuthoritiesEntry" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> - <value xml:lang="en-US">~Bibliography Entry...</value> + <value xml:lang="en-US">~Citation...</value> </prop> <prop oor:name="Properties" oor:type="xs:int"> <value>9</value> @@ -525,7 +525,7 @@ </node> <node oor:name=".uno:AuthoritiesEntryDialog" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> - <value xml:lang="en-US">~Bibliography Entry...</value> + <value xml:lang="en-US">~Citation...</value> </prop> <prop oor:name="Properties" oor:type="xs:int"> <value>1</value> diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc index 8a2ec4027aa2..18a66de7b251 100644 --- a/sw/inc/strings.hrc +++ b/sw/inc/strings.hrc @@ -337,8 +337,8 @@ #define STR_NUMERIC NC_("STR_NUMERIC", "Numeric") #define STR_ROW NC_("STR_ROW", "Rows") #define STR_COL NC_("STR_COL", "Column") -#define STR_AUTHMRK_EDIT NC_("STR_AUTHMRK_EDIT", "Edit Bibliography Entry") -#define STR_AUTHMRK_INSERT NC_("STR_AUTHMRK_INSERT", "Insert Bibliography Entry") +#define STR_AUTHMRK_EDIT NC_("STR_AUTHMRK_EDIT", "Edit Citation") +#define STR_AUTHMRK_INSERT NC_("STR_AUTHMRK_INSERT", "Insert Citation") #define STR_ACCESS_PAGESETUP_SPACING NC_("STR_ACCESS_PAGESETUP_SPACING", "Spacing between %1 and %2") #define STR_ACCESS_COLUMN_WIDTH NC_("STR_ACCESS_COLUMN_WIDTH", "Column %1 Width") #define STR_CAPTION_TABLE NC_("STR_CAPTION_TABLE", "%PRODUCTNAME Writer Table") @@ -588,7 +588,7 @@ #define STR_NOTE NC_("STR_NOTE", "comment") #define STR_REFERENCE NC_("STR_REFERENCE", "cross-reference") #define STR_SCRIPT NC_("STR_SCRIPT", "script") -#define STR_AUTHORITY_ENTRY NC_("STR_AUTHORITY_ENTRY", "bibliography entry") +#define STR_AUTHORITY_ENTRY NC_("STR_AUTHORITY_ENTRY", "citation") #define STR_SPECIALCHAR NC_("STR_SPECIALCHAR", "special character") #define STR_FOOTNOTE NC_("STR_FOOTNOTE", "footnote") #define STR_GRAPHIC NC_("STR_GRAPHIC", "image") @@ -865,7 +865,7 @@ #define STR_IDXMRK_EDIT NC_("STR_IDXMRK_EDIT", "Edit Index Entry") #define STR_IDXMRK_INSERT NC_("STR_IDXMRK_INSERT", "Insert Index Entry") -#define STR_QUERY_CHANGE_AUTH_ENTRY NC_("STR_QUERY_CHANGE_AUTH_ENTRY", "The document already contains the bibliography entry but with different data. Do you want to adjust the existing entries?") +#define STR_QUERY_CHANGE_AUTH_ENTRY NC_("STR_QUERY_CHANGE_AUTH_ENTRY", "The document already contains the citation but with different data. Do you want to adjust the existing entries?") #define STR_COMMENTS_LABEL NC_("STR_COMMENTS_LABEL", "Comments") #define STR_SHOW_COMMENTS NC_("STR_SHOW_COMMENTS", "Show comments") @@ -993,7 +993,7 @@ #define STR_USERFLD NC_("STR_USERFLD", "User Field") #define STR_POSTITFLD NC_("STR_POSTITFLD", "Note") #define STR_SCRIPTFLD NC_("STR_SCRIPTFLD", "Script") -#define STR_AUTHORITY NC_("STR_AUTHORITY", "Bibliography entry") +#define STR_AUTHORITY NC_("STR_AUTHORITY", "Citation") #define STR_HIDDENPARAFLD NC_("STR_HIDDENPARAFLD", "Hidden Paragraph") // range DocumentInfo #define STR_DOCINFOFLD NC_("STR_DOCINFOFLD", "DocInformation") @@ -1383,7 +1383,7 @@ #define STR_TOKEN_HELP_CHAPTER_INFO NC_("STR_TOKEN_HELP_CHAPTER_INFO", "Heading info") #define STR_TOKEN_HELP_LINK_START NC_("STR_TOKEN_HELP_LINK_START", "Hyperlink start") #define STR_TOKEN_HELP_LINK_END NC_("STR_TOKEN_HELP_LINK_END", "Hyperlink end") -#define STR_TOKEN_HELP_AUTHORITY NC_("STR_TOKEN_HELP_AUTHORITY", "Bibliography entry: ") +#define STR_TOKEN_HELP_AUTHORITY NC_("STR_TOKEN_HELP_AUTHORITY", "Citation: ") #define STR_CHARSTYLE NC_("STR_CHARSTYLE", "Character Style: ") #define STR_STRUCTURE NC_("STR_STRUCTURE", "Structure text") #define STR_ADDITIONAL_ACCNAME_STRING1 NC_("STR_ADDITIONAL_ACCNAME_STRING1", "Press Ctrl+Alt+A to move focus for more operations") diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx index 6cf97a2a9628..7927d4edb46b 100644 --- a/sw/qa/extras/odfimport/odfimport.cxx +++ b/sw/qa/extras/odfimport/odfimport.cxx @@ -588,7 +588,7 @@ CPPUNIT_TEST_FIXTURE(Test, testBibliographyEntryField) } uno::Reference<text::XTextField> xEnumerationAccess(xFields->nextElement(), uno::UNO_QUERY); - CPPUNIT_ASSERT_EQUAL(u"Bibliography entry"_ustr, xEnumerationAccess->getPresentation(true).trim()); + CPPUNIT_ASSERT_EQUAL(u"Citation"_ustr, xEnumerationAccess->getPresentation(true).trim()); CPPUNIT_ASSERT_EQUAL(u"[ABC]"_ustr, xEnumerationAccess->getPresentation(false).trim()); } diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index 4ce5edb38557..b1376f29c104 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -1015,7 +1015,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf107784) } uno::Reference<text::XTextField> xEnumerationAccess(xFields->nextElement(), uno::UNO_QUERY); - CPPUNIT_ASSERT_EQUAL(u"Bibliography entry"_ustr, xEnumerationAccess->getPresentation(true).trim()); + CPPUNIT_ASSERT_EQUAL(u"Citation"_ustr, xEnumerationAccess->getPresentation(true).trim()); CPPUNIT_ASSERT_EQUAL(u"(Smith, 1950)"_ustr, xEnumerationAccess->getPresentation(false).trim()); } diff --git a/sw/uiconfig/swriter/ui/bibliographyentry.ui b/sw/uiconfig/swriter/ui/bibliographyentry.ui index a19fea27a160..8686c0c4d1a3 100644 --- a/sw/uiconfig/swriter/ui/bibliographyentry.ui +++ b/sw/uiconfig/swriter/ui/bibliographyentry.ui @@ -5,7 +5,7 @@ <object class="GtkDialog" id="BibliographyEntryDialog"> <property name="can-focus">False</property> <property name="border-width">6</property> - <property name="title" translatable="yes" context="bibliographyentry|BibliographyEntryDialog">Insert Bibliography Entry</property> + <property name="title" translatable="yes" context="bibliographyentry|BibliographyEntryDialog">Insert Citation</property> <property name="type-hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -321,7 +321,7 @@ <object class="GtkLabel" id="label4"> <property name="visible">True</property> <property name="can-focus">False</property> - <property name="label" translatable="yes" context="bibliographyentry|label4">Entry</property> + <property name="label" translatable="yes" context="bibliographyentry|label4">Citation</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/sw/uiconfig/swriter/ui/tocentriespage.ui b/sw/uiconfig/swriter/ui/tocentriespage.ui index b400cb00a168..0997b908d4c1 100644 --- a/sw/uiconfig/swriter/ui/tocentriespage.ui +++ b/sw/uiconfig/swriter/ui/tocentriespage.ui @@ -568,7 +568,7 @@ <property name="use-underline">True</property> <child internal-child="accessible"> <object class="AtkObject" id="insert-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|insert">Adds the reference code for the selected bibliography entry to the Structure line. Select an entry in the list, click in an empty box, and then click this button.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|insert">Adds the reference code for the selected citation to the Structure line. Select an entry in the list, click in an empty box, and then click this button.</property> </object> </child> </object> @@ -898,7 +898,7 @@ <property name="draw-indicator">True</property> <child internal-child="accessible"> <object class="AtkObject" id="sortpos-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|sortpos">Sorts the bibliography entries according to the position of their references in the document.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|sortpos">Sorts the citations according to the position of their references in the document.</property> </object> </child> </object> @@ -918,7 +918,7 @@ <property name="group">sortpos</property> <child internal-child="accessible"> <object class="AtkObject" id="sortcontents-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|sortcontents">Sorts the bibliography entries by the Sort keys that you specify, for example, by author or by year of publication.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|sortcontents">Sorts the citations by the Sort keys that you specify, for example, by author or by year of publication.</property> </object> </child> </object> @@ -983,7 +983,7 @@ <property name="hexpand">True</property> <child internal-child="accessible"> <object class="AtkObject" id="key1lb-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|key1lb">Select the entry by which to sort the bibliography entries. This option is only available if you select the Content radio button in the Sort by area.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|key1lb">Select the entry by which to sort the citations. This option is only available if you select the Content radio button in the Sort by area.</property> </object> </child> </object> @@ -1024,7 +1024,7 @@ <property name="hexpand">True</property> <child internal-child="accessible"> <object class="AtkObject" id="key2lb-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|key2lb">Select the entry by which to sort the bibliography entries. This option is only available if you select the Content radio button in the Sort by area.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|key2lb">Select the entry by which to sort the citations. This option is only available if you select the Content radio button in the Sort by area.</property> </object> </child> </object> @@ -1041,7 +1041,7 @@ <property name="hexpand">True</property> <child internal-child="accessible"> <object class="AtkObject" id="key3lb-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|key3lb">Select the entry by which to sort the bibliography entries. This option is only available if you select the Content radio button in the Sort by area.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|key3lb">Select the entry by which to sort the citations. This option is only available if you select the Content radio button in the Sort by area.</property> </object> </child> </object> @@ -1062,7 +1062,7 @@ <property name="active">True</property> <child internal-child="accessible"> <object class="AtkObject" id="up1cb-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|up1cb">Sorts the bibliography entries in ascending alphanumerical order.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|up1cb">Sorts the citations in ascending alphanumerical order.</property> </object> </child> </object> @@ -1082,7 +1082,7 @@ <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="down1cb-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|down1cb">Sorts the bibliography entries in a descending alphanumerical order.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|down1cb">Sorts the citations in a descending alphanumerical order.</property> </object> </child> </object> @@ -1103,7 +1103,7 @@ <property name="active">True</property> <child internal-child="accessible"> <object class="AtkObject" id="up2cb-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|up2cb">Sorts the bibliography entries in ascending alphanumerical order.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|up2cb">Sorts the citations in ascending alphanumerical order.</property> </object> </child> </object> @@ -1124,7 +1124,7 @@ <property name="active">True</property> <child internal-child="accessible"> <object class="AtkObject" id="up3cb-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|up3cb">Sorts the bibliography entries in ascending alphanumerical order.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|up3cb">Sorts the citations in ascending alphanumerical order.</property> </object> </child> </object> @@ -1144,7 +1144,7 @@ <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="down2cb-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|down2cb">Sorts the bibliography entries in a descending alphanumerical order.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|down2cb">Sorts the citations in a descending alphanumerical order.</property> </object> </child> </object> @@ -1164,7 +1164,7 @@ <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="down3cb-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|down3cb">Sorts the bibliography entries in a descending alphanumerical order.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="tocentriespage|extended_tip|down3cb">Sorts the citations in a descending alphanumerical order.</property> </object> </child> </object>