+2000-08-31 Allan Rae <rae@lyx.org>
+
+ * src/lyx_gui.C (create_forms): build combo_language2 which is part of
+ character dialog separately from old document dialogs combo_language.
+ Stops a segfault.
+
2000-08-30 Dekel Tsur <dekel@math.tau.ac.il>
* src/converter.[Ch]: New file for converting between different
_("Revert to saved|R");
_("View dvi|d");
_("View Postscript|w");
+_("View");
_("Update dvi|v");
_("Update Postscript|U");
+_("Update");
_("Build program|B");
_("Print...|P");
_("Fax...|F");
_("Version...|V");
_("");
_("A&A");
-_("ACT");
-_("AT_RISE:");
_("Abstract");
_("Accepted");
_("Acknowledgement");
-_("Acknowledgement(s)");
_("Acknowledgement*");
_("Acknowledgement-numbered");
-_("Acknowledgement-unnumbered");
+_("Acknowledgement(s)");
_("Acknowledgements");
+_("Acknowledgement-unnumbered");
_("Acknowledgments");
_("Acnowledgement");
+_("ACT");
_("Addchap");
_("Addchap*");
_("Addition");
_("Anrede");
_("Appendices");
_("Appendix");
+_("AT_RISE:");
_("Author");
-_("AuthorRunning");
_("Author_Email");
_("Author_Running");
+_("AuthorRunning");
_("Author_URL");
_("Axiom");
_("Axiom-numbered");
_("Axiom-plain");
-_("BLZ");
_("Backaddress");
_("Bank");
_("BankAccount");
_("Betreff");
_("Bibliography");
_("Biography");
+_("BLZ");
_("Brieftext");
-_("CC");
-_("CURTAIN");
_("Caption");
_("Case");
_("Case-numbered");
+_("CC");
+_("cc");
_("CenteredCaption");
_("Chapter");
_("Chapter*");
_("CrossList");
_("Current");
_("Current_Address");
+_("CURTAIN");
_("Customer");
_("Data");
_("Date");
_("Description");
_("Dialogue");
_("EMail");
-_("EXT.");
_("Email");
_("Encl");
_("Encl.");
+_("encl");
_("End_All_Slides");
_("Enumerate");
_("Example");
_("Exercise");
_("Exercise-numbered");
_("Exercise-plain");
+_("EXT.");
_("Extratitle");
-_("FADE_IN:");
-_("FADE_OUT:");
_("Fact");
_("Fact*");
_("Fact-numbered");
_("Fact-plain");
_("Fact-unnumbered");
+_("FADE_IN:");
+_("FADE_OUT:");
_("FigCaption");
+_("first");
_("FirstAuthor");
_("FirstName");
_("FitBitmap");
_("FitFigure");
_("Foilhead");
+_("foilhead");
_("Footernote");
_("FourAffiliations");
_("FourAuthors");
_("Gruss");
-_("HTTP");
_("Headnote");
-_("INT.");
+_("HTTP");
_("Idea");
_("IhrSchreiben");
_("IhrZeichen");
_("Institute");
_("Institution");
+_("INT.");
_("InvisibleText");
_("Invoice");
_("Itemize");
_("Journal");
+_("journal");
_("Keywords");
_("Konto");
-_("LaTeX");
-_("LaTeX_Title");
_("Labeling");
_("Land");
+_("landscape");
_("LandscapeSlide");
+_("LaTeX");
+_("LaTeX_Title");
_("Lemma");
_("Lemma*");
_("Lemma-numbered");
_("MathLetters");
_("MeinZeichen");
_("Minisec");
-_("MyRef");
+_("modying");
+_("msnumber");
_("My_Address");
+_("MyRef");
_("Myref");
_("Name");
_("Narrative");
_("Note*");
_("Note-numbered");
_("Note-plain");
-_("Note-unnumbered");
_("NoteToEditor");
_("Notetoeditor");
+_("Note-unnumbered");
_("Offprint");
_("Offprints");
_("Offsets");
+_("offsets");
_("Oggetto");
_("Opening");
_("Ort");
_("Overlay");
_("PACS");
-_("PS");
_("Paragraph");
_("Paragraph*");
_("Paragraph-numbered");
_("Phone");
_("Place");
_("PlaceFigure");
-_("PlaceTable");
_("Placefigure");
+_("PlaceTable");
_("Placetable");
_("PortraitSlide");
_("PostalCommend");
_("Proposition-numbered");
_("Proposition-plain");
_("Proposition-unnumbered");
+_("PS");
+_("ps");
_("Publishers");
_("Question");
_("Quotation");
_("Quote");
-_("REVTEX_Title");
_("Received");
_("Recieved");
_("Recieved/Accepted");
_("Remark*");
_("Remark-numbered");
_("Remark-plain");
-_("Remark-unnumbered");
_("Remarks");
+_("Remark-unnumbered");
_("RetourAdresse");
_("ReturnAddress");
-_("RightHeader");
+_("REVTEX_Title");
_("Right_Address");
+_("RightHeader");
_("Rotatefoilhead");
_("Running_LaTeX_Title");
_("SCENE");
_("SCENE*");
-_("SGML");
_("Scrap");
_("Section");
_("Section*");
_("Send");
_("Send_To_Address");
_("Seriate");
+_("SGML");
_("ShortFoilhead");
+_("Shortfoilhead");
_("ShortRotatefoilhead");
_("ShortTitle");
-_("Shortfoilhead");
_("Signature");
_("Slide");
_("Slide*");
_("Strasse");
_("Street");
_("Style");
-_("SubSection");
-_("SubTitle");
+_("style");
_("Subitle");
_("Subject");
_("Subjectclass");
_("Subparagraph");
_("Subparagraph*");
+_("SubSection");
_("Subsection");
_("Subsection*");
_("Subsection-numbered");
_("Subsubsection");
_("Subsubsection*");
_("Subsubsection-numbered");
+_("SubTitle");
_("Subtitle");
_("Suggested");
_("Summary");
_("Summary-numbered");
_("Surname");
-_("TOC_Author");
-_("TOC_Title");
+_("surname");
_("TableComments");
_("TableRefs");
_("Telefax");
_("Theorem*");
_("Theorem-numbered");
_("Theorem-plain");
-_("Theorem-unnumbered");
_("TheoremTemplate");
+_("Theorem-unnumbered");
_("Thesaurus");
_("ThickLine");
_("This");
_("ThreeAuthors");
_("TickList");
_("Title");
-_("Title_Running");
_("Titlehead");
+_("Title_Running");
+_("TOC_Author");
+_("TOC_Title");
_("Town");
-_("Trans_Keywords");
_("Transition");
+_("Trans_Keywords");
_("Translated");
_("TranslatedAbstract");
_("Translated_Title");
_("Translator");
_("TwoAffiliations");
_("TwoAuthors");
-_("URL");
_("Unterschrift");
_("Uppertitleback");
+_("URL");
_("Use");
_("Verbatim");
_("Verse");
_("Verteiler");
_("VisibleText");
_("YourMail");
-_("YourRef");
_("Yourmail");
+_("YourRef");
_("Yourref");
_("Zusatz");
-_("cc");
-_("encl");
-_("first");
-_("foilhead");
-_("journal");
-_("landscape");
-_("modying");
-_("msnumber");
-_("offsets");
-_("ps");
-_("style");
-_("surname");
fl_end_form();
lyxerr[Debug::INIT] << "Initializing form_character...done" << endl;
+ // build up the combox entries
+ combo_language2->addto(_("No change"));
+ combo_language2->addto(_("Reset"));
+ for(Languages::const_iterator cit = languages.begin();
+ cit != languages.end(); ++cit) {
+ combo_language2->addto((*cit).second.lang().c_str());
+ }
+ combo_language2->select_text(_("No change"));
+
#ifdef USE_OLD_DOCUMENT_LAYOUT
// the document form
fd_form_document = create_form_form_document();
// "default" is not part of the languages array any more.
combo_language->addto("default");
- combo_language2->addto(_("No change"));
- combo_language2->addto(_("Reset"));
for(Languages::const_iterator cit = languages.begin();
cit != languages.end(); ++cit) {
combo_language->addto((*cit).second.lang().c_str());
- combo_language2->addto((*cit).second.lang().c_str());
}
- combo_language2->select_text(_("No change"));
// not really necessary, but we can do it anyway.
fl_addto_choice(fd_form_document->choice_fontsize, "default|10|11|12");