From f4bc398a0ffc75c10d520ae62d2ee2a85991c4bf Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 12 Apr 2011 00:32:45 +0000 Subject: [PATCH] Fix translation glitch caught by Georg. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38345 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/theorems-named.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/layouts/theorems-named.module b/lib/layouts/theorems-named.module index 6dbdc89910..5f7e8cab7c 100644 --- a/lib/layouts/theorems-named.module +++ b/lib/layouts/theorems-named.module @@ -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}