]> git.lyx.org Git - lyx.git/commitdiff
Fix translation glitch caught by Georg.
authorRichard Heck <rgheck@comcast.net>
Tue, 12 Apr 2011 00:32:45 +0000 (00:32 +0000)
committerRichard Heck <rgheck@comcast.net>
Tue, 12 Apr 2011 00:32:45 +0000 (00:32 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38345 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouts/theorems-named.module

index 6dbdc899104c8386bd01e6d96493548b7ff5211a..5f7e8cab7c07a50603c356a0bfc1742bde60c8a6 100644 (file)
@@ -14,10 +14,10 @@ Style "Named Theorem"
   LabelString "Named Theorem."
   LatexName namedthm
   Preamble
-    \newcommand\thmsname{Theorem}
+    \newcommand\thmsname{\protect\theoremname}
     \newcommand\nm@thmtype{theorem}
     \theoremstyle{plain}
-    \newtheorem*{namedtheorem}{\protect\theoremname}
+    \newtheorem*{namedtheorem}{\thmsname}
     \newenvironment{namedthm}[1][Undefined Theorem Name]{
       \ifx{#1}{Undefined Theorem Name}\renewcommand\nm@thmtype{theorem*}
       \else\renewcommand\thmsname{#1}\renewcommand\nm@thmtype{namedtheorem}