help3xsl/xap_templ_query.xsl            |    2 +-
 source/text/shared/help/browserhelp.xhp |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 408530b25e361410a1a39d07733baa2ee3c0b937
Author:     Andras Timar <andras.ti...@collabora.com>
AuthorDate: Sat Mar 15 17:04:42 2025 +0100
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Mon Mar 17 18:41:38 2025 +0100

    make the word 'and' localizable in Xapian search result template
    
    Change-Id: I57f29701c9080f59ee676c422efbcf180f417757
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/182964
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>
    Tested-by: Jenkins

diff --git a/help3xsl/xap_templ_query.xsl b/help3xsl/xap_templ_query.xsl
index aac3daf284..7b8c313703 100644
--- a/help3xsl/xap_templ_query.xsl
+++ b/help3xsl/xap_templ_query.xsl
@@ -188,7 +188,7 @@ $if{$field{size},<span title="$html{$field{size}} 
bytes">]]><xsl:apply-templates
 <a href="$html{$field{url}}">$html{$prettyurl{$field{url}}}</a><br>
 <small>
 ]]><xsl:apply-templates select="//variable[@id='xap_matching']"/><![CDATA[
-<i>$list{$map{$terms,$html{$prettyterm{$_}}},</i>$. <i>,</i> and 
<i>}</i></small>${for lynx:}<p></td></tr>}
+<i>$list{$map{$terms,$html{$prettyterm{$_}}},</i>$. <i>,</i> 
]]><xsl:apply-templates select="//variable[@id='xap_and']"/><![CDATA[ 
<i>}</i></small>${for lynx:}<p></td></tr>}
 </table>
 
 <br><center>
diff --git a/source/text/shared/help/browserhelp.xhp 
b/source/text/shared/help/browserhelp.xhp
index 1eb1b0c0f9..711edf0a90 100644
--- a/source/text/shared/help/browserhelp.xhp
+++ b/source/text/shared/help/browserhelp.xhp
@@ -116,6 +116,7 @@
     <paragraph role="paragraph" id="par_id901568266092266"><variable 
id="xap_matching">matching:</variable></paragraph>
     <paragraph role="paragraph" id="par_id511568266279483"><variable 
id="xap_relevant">Mark this document as relevant</variable></paragraph>
     <paragraph role="paragraph" id="par_id841569449577334"><variable 
id="xap_didyoumean">Did you mean:</variable></paragraph>
+    <paragraph role="paragraph" id="par_id841569449577335"><variable 
id="xap_and">and</variable></paragraph>
     <h2 id="hd_id471652287598699"><variable id="externalvideo">External 
video</variable></h2>
     <paragraph role="youtube_consent" id="par_id311644338760624"><variable 
id="ytaccept">Please accept this video. By accepting you will be accessing 
content from YouTube, a service provided by an external third 
party.</variable></paragraph>
 

Reply via email to