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." LabelString "Named Theorem."
LatexName namedthm LatexName namedthm
Preamble Preamble
\newcommand\thmsname{Theorem} \newcommand\thmsname{\protect\theoremname}
\newcommand\nm@thmtype{theorem} \newcommand\nm@thmtype{theorem}
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem*{namedtheorem}{\protect\theoremname} \newtheorem*{namedtheorem}{\thmsname}
\newenvironment{namedthm}[1][Undefined Theorem Name]{ \newenvironment{namedthm}[1][Undefined Theorem Name]{
\ifx{#1}{Undefined Theorem Name}\renewcommand\nm@thmtype{theorem*} \ifx{#1}{Undefined Theorem Name}\renewcommand\nm@thmtype{theorem*}
\else\renewcommand\thmsname{#1}\renewcommand\nm@thmtype{namedtheorem} \else\renewcommand\thmsname{#1}\renewcommand\nm@thmtype{namedtheorem}