fr_FR/ui/addons.xcu |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

New commits:
commit 38d96a4d54ec3449cf7f28cddae1fce32e2b15a7
Author:     Christian Lohmaier <[email protected]>
AuthorDate: Thu Jul 9 15:21:09 2026 +0200
Commit:     Xisco Fauli <[email protected]>
CommitDate: Thu Jul 9 15:40:39 2026 +0200

    fix make translations / cfgex complaining about misplaced close tags
    
    in dictionaries/fr_FR/ui/addons.xcu:
    
    Error: "Misplaced close tag: </oor:component-data> in file 
/home/cl/vc/git/libo-core/dictionaries/fr_FR/ui/addons.xcu" in line 81, column 
22: "</oor:component-data>"
    Error: Failed to execute 
/home/cl/rpmbuild/BUILD/l10ntools/workdir/LinkTarget/Executable/cfgex -i 
/home/cl/vc/git/libo-core/dictionaries/fr_FR/ui/addons.xcu -o 
/home/cl/rpmbuild/BUILD/l10ntools/workdir/pot/dictionaries/fr_FR/ui.pot
    
    cfgex doesn't like if the opening tag is split across multiple lines,
    at least when the opening tag isn't followed by an attribute or the
    closing tag. But even if it doesn't complain about misplaced closing
    tags, if the line is still split it would create duplicate entries in
    the resulting ui.pot file.
    
    Also remove the empty <value/> tag, while that one doesn't cause parse
    errors, it is superfluous.
    
    Change-Id: I3f36f834301b837a93421057b62e28b28691b28a
    Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/207881
    Tested-by: Xisco Fauli <[email protected]>
    Reviewed-by: Xisco Fauli <[email protected]>

diff --git a/fr_FR/ui/addons.xcu b/fr_FR/ui/addons.xcu
index 0f51cdf..49dc974 100644
--- a/fr_FR/ui/addons.xcu
+++ b/fr_FR/ui/addons.xcu
@@ -1,9 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<oor:component-data
-      xmlns:oor="http://openoffice.org/2001/registry";
-      xmlns:xs="http://www.w3.org/2001/XMLSchema";
-      oor:package="org.openoffice.Office"
-      oor:name="Addons">
+<oor:component-data xmlns:oor="http://openoffice.org/2001/registry"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema"; oor:package="org.openoffice.Office" 
oor:name="Addons">
   <node oor:name="AddonUI">
     <node oor:name="OfficeMenuBarMerging">
       <node oor:name="org.openoffice.Office.addon.FrenchDictionarySwitcher" 
oor:op="replace">
@@ -23,7 +19,6 @@
                 <value>com.sun.star.text.TextDocument</value>
               </prop>
               <prop oor:name="Title" oor:type="xs:string">
-                <value/>
                 <value xml:lang="en-US">French spelling dictionaries…</value>
                 <value xml:lang="fr">Dictionnaires orthographiques 
français…</value>
                 <value xml:lang="ar">قواميس الهجاء الفرنسية</value>
@@ -78,4 +73,4 @@
       </node>
     </node>
   </node>
-</oor:component-data>
\ No newline at end of file
+</oor:component-data>

Reply via email to