replace term "Glossary" by "Nomenclature"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18102 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Michael Schmitt 2007-04-29 22:21:00 +00:00
parent 616c819334
commit 295eea310e
10 changed files with 18 additions and 18 deletions

View File

@ -142,7 +142,7 @@ LaTeX. support for the booktabs package was implemented, which
provides beautiful and elegant tabulars.
* Glossaries
* Nomenclatures
Native LyX support for the nomencl package was implemented. With this,
you can treat your document with all sorts of nomenclatures,

2
NEWS
View File

@ -77,7 +77,7 @@ LaTeX. support for the booktabs package was implemented, which
provides beautiful and elegant tabulars.
* Glossaries
* Nomenclatures
Native LyX support for the nomencl package was implemented. With this,
you can treat your document with all sorts of nomenclatures,

View File

@ -40,7 +40,7 @@ Version LyX 1.5svn-09-04-2007
- new layout and template files for the g-brief2 letter class and the
moderncv and europecv curriculum vitae classes
- reworked BibTeX file parser
- reworked graphics, glossary, and math delimiter dialog
- reworked graphics, nomenclature, and math delimiter dialog
- new Spanish translation of the Extended manual
- many other bugfixes

View File

@ -2956,7 +2956,7 @@ Notes: The package
\family sans
nomencl
\family default
is needed by LyX to produce a glossary.
is needed by LyX to produce a nomenclature.
\end_layout
\begin_layout Subsection

View File

@ -221,7 +221,7 @@ Menuset
Item "Marginal Note|M" "marginalnote-insert"
Item "Short Title" "optional-insert"
Item "Index Entry|I" "index-insert"
Item "Glossary Entry" "nomencl-insert"
Item "Nomenclature Entry" "nomencl-insert"
Item "URL...|U" "url-insert"
Item "Note|N" "note-insert"
Submenu "Lists & TOC|O" "insert_toc"
@ -310,7 +310,7 @@ Menuset
Item "Table of Contents|C" "toc-insert"
FloatListInsert
Item "Index List|I" "index-print"
Item "Glossary|G" "nomencl-print"
Item "Nomenclature|N" "nomencl-print"
Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
End

View File

@ -302,7 +302,7 @@ Menuset
Item "Label...|L" "label-insert"
Item "Caption" "caption-insert"
Item "Index Entry|d" "index-insert"
Item "Glossary Entry...|y" "nomencl-insert"
Item "Nomenclature Entry...|y" "nomencl-insert"
Separator
Item "Table...|T" "tabular-insert"
Item "Graphics...|G" "dialog-show-new-inset graphics"
@ -375,7 +375,7 @@ Menuset
Item "Table of Contents|C" "toc-insert"
FloatListInsert
Item "Index List|I" "index-print"
Item "Glossary|G" "nomencl-print"
Item "Nomenclature|N" "nomencl-print"
Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
End

View File

@ -92,7 +92,7 @@ ToolbarSet
Item "Insert cross-reference" "dialog-show-new-inset ref"
Item "Insert citation" "dialog-show-new-inset citation"
Item "Insert index entry" "index-insert"
Item "Insert glossary entry" "nomencl-insert"
Item "Insert nomenclature entry" "nomencl-insert"
Separator
Item "Insert footnote" "footnote-insert"
Item "Insert margin note" "marginalnote-insert"

View File

@ -225,7 +225,7 @@ Dialogs::DialogPtr Dialogs::build(string const & name)
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
} else if (name == "nomenclature") {
dialog->setController(new ControlCommand(*dialog, name, name));
dialog->setView(new QNomencl(*dialog, _("Glossary Entry")));
dialog->setView(new QNomencl(*dialog, _("Nomenclature Entry")));
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
} else if (name == "label") {
dialog->setController(new ControlCommand(*dialog, name, name));

View File

@ -30,20 +30,20 @@ using std::string;
InsetNomencl::InsetNomencl(InsetCommandParams const & p)
: InsetCommand(p, "nomenclature"),
glossary_entry_id(sgml::uniqueID(from_ascii("gloss")))
nomenclature_entry_id(sgml::uniqueID(from_ascii("nomen")))
{}
docstring const InsetNomencl::getScreenLabel(Buffer const &) const
{
return _("Glo");
return _("Nom");
}
int InsetNomencl::docbook(Buffer const &, odocstream & os,
OutputParams const &) const
{
os << "<glossterm linkend=\"" << glossary_entry_id << "\">"
os << "<glossterm linkend=\"" << nomenclature_entry_id << "\">"
<< sgml::escapeString(getParam("symbol"))
<< "</glossterm>";
return 0;
@ -52,7 +52,7 @@ int InsetNomencl::docbook(Buffer const &, odocstream & os,
int InsetNomencl::docbookGlossary(odocstream & os) const
{
os << "<glossentry id=\"" << glossary_entry_id << "\">\n"
os << "<glossentry id=\"" << nomenclature_entry_id << "\">\n"
<< "<glossterm>"
<< sgml::escapeString(getParam("symbol"))
<< "</glossterm>\n"
@ -83,7 +83,7 @@ InsetPrintNomencl::InsetPrintNomencl(InsetCommandParams const & p)
docstring const InsetPrintNomencl::getScreenLabel(Buffer const &) const
{
return _("Glossary");
return _("Nomenclature");
}

View File

@ -21,7 +21,7 @@ namespace lyx {
class LaTeXFeatures;
/** Used to insert glossary labels
/** Used to insert nomenclature entries
*/
class InsetNomencl : public InsetCommand {
public:
@ -44,8 +44,8 @@ private:
virtual std::auto_ptr<Inset> doClone() const {
return std::auto_ptr<Inset>(new InsetNomencl(params()));
}
/// unique id for this glossary entry for docbook export
docstring glossary_entry_id;
/// unique id for this nomenclature entry for docbook export
docstring nomenclature_entry_id;
};