commit 7da17259f5081f7b7a95dcc0922c24aaa161b2a2
Author: Juergen Spitzmueller <[email protected]>
Date:   Wed Aug 27 08:57:19 2025 +0200

    Fix c/p errors
---
 src/LaTeXFeatures.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp
index 05f4f48362..522d794095 100644
--- a/src/LaTeXFeatures.cpp
+++ b/src/LaTeXFeatures.cpp
@@ -2349,9 +2349,9 @@ docstring const LaTeXFeatures::getXRefI18nDefs(Layout 
const & lay) const
                else if (lay.refprefix == "sec" || lay.refprefix == "subsec" || 
lay.refprefix == "sub")
                        ods << "\\newrefformat{" << lay.refprefix << 
"}{_(Section)~\\ref{#1}}\n";
                else if (lay.refprefix == "par")
-                       ods << 
"\\newrefformat{alg}{_(Paragraph[[Sectioning]])~\\ref{#1}}\n";
+                       ods << 
"\\newrefformat{par}{_(Paragraph[[Sectioning]])~\\ref{#1}}\n";
                else if (lay.refprefix == "fn")
-                       ods << "\\newrefformat{alg}{_(Footnote)~\\ref{#1}}\n";
+                       ods << "\\newrefformat{fn}{_(Footnote)~\\ref{#1}}\n";
                else if (lay.refprefix == "enu")
                        ods << 
"\\newrefformat{enu}{_(Item[[enumerate]])~\\ref{#1}}\n";
                if (!ods.str().empty())
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to