From c4f8a516bd917acdf305891f46f29138bd92b8c7 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 15 Apr 2008 15:32:02 +0000 Subject: [PATCH] This string cannot be translated here, because it is a layout identifier. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24266 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/TextClass.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/TextClass.cpp b/src/TextClass.cpp index a735710eac..0ed38f34b3 100644 --- a/src/TextClass.cpp +++ b/src/TextClass.cpp @@ -109,7 +109,8 @@ std::string translateRT(TextClass::ReadType rt) } // namespace anon -docstring const TextClass::emptylayout_ = from_ascii(N_("Plain Layout")); +// This string cannot be translated, because it is a layout identifier. +docstring const TextClass::emptylayout_ = from_ascii("Plain Layout"); InsetLayout DocumentClass::empty_insetlayout_; @@ -129,6 +130,7 @@ TextClass::TextClass() titletype_ = TITLE_COMMAND_AFTER; titlename_ = "maketitle"; loaded_ = false; + _("Plain Layout"); // a hack to make this translatable }