Fix translation glitch caught by Georg.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38345 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-04-12 00:32:45 +00:00
parent 7c63b4f260
commit f4bc398a0f

View 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}