mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Michael's dialog title patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9941 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a8a852b4e9
commit
d242843c81
@ -1,3 +1,9 @@
|
||||
2005-05-09 Michael Schmitt <michael.schmitt@teststep.org>
|
||||
|
||||
* *.C: strip "LyX: " prefix from dialog titles; harmonize
|
||||
dialog titles with menu entries and xforms frontend; fix
|
||||
capitalization
|
||||
|
||||
2005-05-07 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* Alert_pimpl.C (prompt_pimpl, warning_pimpl, error_pimpl)
|
||||
|
@ -229,13 +229,13 @@ Dialogs::DialogPtr Dialogs::build(string const & name)
|
||||
} else if (name == "index") {
|
||||
dialog->setController(new ControlCommand(*dialog, name));
|
||||
dialog->setView(new QIndex(*dialog,
|
||||
_("LyX: Index Entry"),
|
||||
_("Index Entry"),
|
||||
qt_("&Keyword")));
|
||||
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
|
||||
} else if (name == "label") {
|
||||
dialog->setController(new ControlCommand(*dialog, name));
|
||||
dialog->setView(new QIndex(*dialog,
|
||||
_("LyX: Label"),
|
||||
_("Label"),
|
||||
qt_("&Label")));
|
||||
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
|
||||
} else if (name == "log") {
|
||||
|
@ -28,7 +28,7 @@ typedef QController<ControlCommand, QView<QBibitemDialog> > base_class;
|
||||
|
||||
|
||||
QBibitem::QBibitem(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Bibliography Item Settings"))
|
||||
: base_class(parent, _("Bibliography Entry Settings"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -44,7 +44,7 @@ namespace frontend {
|
||||
typedef QController<ControlBibtex, QView<QBibtexDialog> > base_class;
|
||||
|
||||
QBibtex::QBibtex(Dialog & parent)
|
||||
: base_class(parent, _("BibTeX"))
|
||||
: base_class(parent, _("BibTeX Bibliography"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,7 @@ namespace frontend {
|
||||
typedef QController<ControlBox, QView<QBoxDialog> > base_class;
|
||||
|
||||
QBox::QBox(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Box Settings"))
|
||||
: base_class(parent, _("Box Settings"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -33,7 +33,7 @@ typedef QController<ControlBranch, QView<QBranchDialog> > base_class;
|
||||
|
||||
|
||||
QBranch::QBranch(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Branch Settings"))
|
||||
: base_class(parent, _("Branch Settings"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -30,7 +30,7 @@ typedef QController<ControlChanges, QView<QChangesDialog> > base_class;
|
||||
|
||||
|
||||
QChanges::QChanges(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Merge Changes"))
|
||||
: base_class(parent, _("Merge Changes"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ typedef QController<ControlCharacter, QView<QCharacterDialog> > base_class;
|
||||
|
||||
|
||||
QCharacter::QCharacter(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Change Text Style"))
|
||||
: base_class(parent, _("Text Style"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ namespace frontend {
|
||||
typedef QController<ControlCitation, QView<QCitationDialog> > base_class;
|
||||
|
||||
QCitation::QCitation(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Citation Reference"))
|
||||
: base_class(parent, _("Citation"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -52,7 +52,7 @@ void QDialogView::show()
|
||||
|
||||
update(); // make sure its up-to-date
|
||||
|
||||
form()->setCaption(toqstr(getTitle()));
|
||||
form()->setCaption(toqstr("LyX: " + getTitle()));
|
||||
|
||||
if (form()->isVisible()) {
|
||||
form()->raise();
|
||||
|
@ -65,7 +65,7 @@ char const * encodings[] = { "LaTeX default", "latin1", "latin2",
|
||||
|
||||
|
||||
QDocument::QDocument(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Document Settings")),
|
||||
: base_class(parent, _("Document Settings")),
|
||||
lang_(getSecond(getLanguageData(false)))
|
||||
{}
|
||||
|
||||
|
@ -80,7 +80,7 @@ QDocumentDialog::QDocumentDialog(QDocument * form)
|
||||
docPS->addPanel(langModule, _("Language"));
|
||||
docPS->addPanel(numberingModule, _("Numbering & TOC"));
|
||||
docPS->addPanel(biblioModule, _("Bibliography"));
|
||||
docPS->addPanel(mathsModule, _("Math options"));
|
||||
docPS->addPanel(mathsModule, _("Math Options"));
|
||||
docPS->addPanel(floatModule, _("Float Placement"));
|
||||
docPS->addPanel(bulletsModule, _("Bullets"));
|
||||
docPS->addPanel(branchesModule, _("Branches"));
|
||||
|
@ -27,7 +27,7 @@ typedef QController<ControlERT, QView<QERTDialog> > base_class;
|
||||
|
||||
|
||||
QERT::QERT(Dialog & parent)
|
||||
: base_class(parent, _("LyX: TeX Code Settings"))
|
||||
: base_class(parent, _("TeX Code Settings"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -276,7 +276,7 @@ void getExtra(external::ExtraData & data,
|
||||
typedef QController<ControlExternal, QView<QExternalDialog> > base_class;
|
||||
|
||||
QExternal::QExternal(Dialog & parent)
|
||||
: base_class(parent, _("LyX: External Material"))
|
||||
: base_class(parent, _("External Material"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ typedef QController<ControlFloat, QView<QFloatDialog> > base_class;
|
||||
|
||||
|
||||
QFloat::QFloat(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Float Settings"))
|
||||
: base_class(parent, _("Float Settings"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,7 @@ namespace frontend {
|
||||
typedef QController<ControlGraphics, QView<QGraphicsDialog> > base_class;
|
||||
|
||||
QGraphics::QGraphics(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Graphics"))
|
||||
: base_class(parent, _("Graphics"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -31,7 +31,7 @@ typedef QController<ControlInclude, QView<QIncludeDialog> > base_class;
|
||||
|
||||
|
||||
QInclude::QInclude(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Child Document"))
|
||||
: base_class(parent, _("Child Document"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -24,7 +24,7 @@ typedef QController<ControlMath, QView<QMathDialog> > math_base;
|
||||
|
||||
|
||||
QMath::QMath(Dialog & parent)
|
||||
: math_base(parent, _("LyX: Math Panel"))
|
||||
: math_base(parent, _("Math Panel"))
|
||||
{}
|
||||
|
||||
|
||||
@ -38,7 +38,7 @@ typedef QController<ControlMath, QView<QMathMatrixDialog> > matrix_base;
|
||||
|
||||
|
||||
QMathMatrix::QMathMatrix(Dialog & parent)
|
||||
: matrix_base(parent, _("LyX: Insert Matrix"))
|
||||
: matrix_base(parent, _("Math Matrix"))
|
||||
{}
|
||||
|
||||
|
||||
@ -52,7 +52,7 @@ typedef QController<ControlMath, QView<QDelimiterDialog> > delimiter_base;
|
||||
|
||||
|
||||
QMathDelimiter::QMathDelimiter(Dialog & parent)
|
||||
: delimiter_base(parent, _("LyX: Insert Delimiter"))
|
||||
: delimiter_base(parent, _("Math Delimiter"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -104,7 +104,7 @@ QMathDialog::QMathDialog(QMath * form)
|
||||
connect(symbolsWS, SIGNAL(aboutToShow(int)), this, SLOT(showingPanel(int)));
|
||||
|
||||
QPopupMenu * m = new QPopupMenu(spacePB);
|
||||
m->setCaption(qt_("LyX: Insert space"));
|
||||
m->setCaption(qt_("LyX: Math Spacing"));
|
||||
m->insertTearOffHandle();
|
||||
m->insertItem(qt_("Thin space \\,"), 1);
|
||||
m->insertItem(qt_("Medium space \\:"), 2);
|
||||
@ -116,7 +116,7 @@ QMathDialog::QMathDialog(QMath * form)
|
||||
spacePB->setPopup(m);
|
||||
|
||||
m = new QPopupMenu(sqrtPB);
|
||||
m->setCaption(qt_("LyX: Insert root"));
|
||||
m->setCaption(qt_("LyX: Math Roots"));
|
||||
m->insertTearOffHandle();
|
||||
m->insertItem(qt_("Square root \\sqrt"), 1);
|
||||
m->insertItem(qt_("Cube root \\root"), 2);
|
||||
@ -125,7 +125,7 @@ QMathDialog::QMathDialog(QMath * form)
|
||||
sqrtPB->setPopup(m);
|
||||
|
||||
m = new QPopupMenu(stylePB);
|
||||
m->setCaption(qt_("LyX: Set math style"));
|
||||
m->setCaption(qt_("LyX: Math Styles"));
|
||||
m->insertTearOffHandle();
|
||||
m->insertItem(qt_("Display style \\displaystyle"), 1);
|
||||
m->insertItem(qt_("Normal text style \\textstyle"), 2);
|
||||
@ -135,7 +135,7 @@ QMathDialog::QMathDialog(QMath * form)
|
||||
stylePB->setPopup(m);
|
||||
|
||||
m = new QPopupMenu(fontPB);
|
||||
m->setCaption(qt_("LyX: Set math font"));
|
||||
m->setCaption(qt_("LyX: Math Fonts"));
|
||||
m->insertTearOffHandle();
|
||||
m->insertItem(qt_("Roman \\mathrm"), 1);
|
||||
m->insertItem(qt_("Bold \\mathbf"), 2);
|
||||
|
@ -31,7 +31,7 @@ typedef QController<ControlNote, QView<QNoteDialog> > base_class;
|
||||
|
||||
|
||||
QNote::QNote(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Note Settings"))
|
||||
: base_class(parent, _("Note Settings"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -37,7 +37,7 @@ typedef QController<ControlParagraph, QView<QParagraphDialog> > base_class;
|
||||
|
||||
|
||||
QParagraph::QParagraph(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Paragraph Settings"))
|
||||
: base_class(parent, _("Paragraph Settings"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -77,7 +77,7 @@ namespace frontend {
|
||||
typedef QController<ControlPrefs, QView<QPrefsDialog> > base_class;
|
||||
|
||||
QPrefs::QPrefs(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Preferences"))
|
||||
: base_class(parent, _("Preferences"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ typedef QController<ControlPrint, QView<QLPrintDialog> > base_class;
|
||||
|
||||
|
||||
QPrint::QPrint(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Print Document"))
|
||||
: base_class(parent, _("Print Document"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ typedef QController<ControlRef, QView<QRefDialog> > base_class;
|
||||
|
||||
|
||||
QRef::QRef(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Cross-reference")),
|
||||
: base_class(parent, _("Cross-reference")),
|
||||
sort_(false), at_ref_(false)
|
||||
{
|
||||
}
|
||||
@ -140,9 +140,9 @@ void QRef::setGoBack()
|
||||
|
||||
void QRef::setGotoRef()
|
||||
{
|
||||
dialog_->gotoPB->setText(qt_("&Go to Reference"));
|
||||
dialog_->gotoPB->setText(qt_("&Go to Label"));
|
||||
QToolTip::remove(dialog_->gotoPB);
|
||||
QToolTip::add(dialog_->gotoPB, qt_("Jump to reference"));
|
||||
QToolTip::add(dialog_->gotoPB, qt_("Jump to label"));
|
||||
}
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ typedef QController<ControlSearch, QView<QSearchDialog> > base_class;
|
||||
|
||||
|
||||
QSearch::QSearch(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Find and Replace"))
|
||||
: base_class(parent, _("Find and Replace"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ typedef QController<ControlSendto, QView<QSendtoDialog> > base_class;
|
||||
|
||||
|
||||
QSendto::QSendto(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Send Document to Command"))
|
||||
: base_class(parent, _("Send Document to Command"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -29,7 +29,7 @@ typedef QController<ControlShowFile, QView<QShowFileDialog> > base_class;
|
||||
|
||||
|
||||
QShowFile::QShowFile(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Show File"))
|
||||
: base_class(parent, _("Show File"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ typedef QController<ControlSpellchecker, QView<QSpellcheckerDialog> > base_class
|
||||
|
||||
|
||||
QSpellchecker::QSpellchecker(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Spell-check Document"))
|
||||
: base_class(parent, _("Spellchecker"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -38,7 +38,7 @@ namespace frontend {
|
||||
typedef QController<ControlTabular, QView<QTabularDialog> > base_class;
|
||||
|
||||
QTabular::QTabular(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Table Settings"))
|
||||
: base_class(parent, _("Table Settings"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -26,7 +26,7 @@ typedef QController<ControlTabularCreate, QView<QTabularCreateDialog> > base_cla
|
||||
|
||||
|
||||
QTabularCreate::QTabularCreate(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Insert Table"))
|
||||
: base_class(parent, _("Insert Table"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -31,7 +31,7 @@ namespace frontend {
|
||||
typedef QController<ControlTexinfo, QView<QTexinfoDialog> > base_class;
|
||||
|
||||
QTexinfo::QTexinfo(Dialog & parent)
|
||||
: base_class(parent, _("LyX: LaTeX Information")),
|
||||
: base_class(parent, _("LaTeX Information")),
|
||||
warningPosted(false), activeStyle(ControlTexinfo::cls)
|
||||
{
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ namespace frontend {
|
||||
typedef QController<ControlThesaurus, QView<QThesaurusDialog> > base_class;
|
||||
|
||||
QThesaurus::QThesaurus(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Thesaurus"))
|
||||
: base_class(parent, _("Thesaurus"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ namespace frontend {
|
||||
typedef QController<ControlToc, QView<QTocDialog> > base_class;
|
||||
|
||||
QToc::QToc(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Table of Contents")), depth_(1)
|
||||
: base_class(parent, _("Table of Contents")), depth_(1)
|
||||
{}
|
||||
|
||||
|
||||
|
@ -30,7 +30,7 @@ namespace frontend {
|
||||
typedef QController<ControlCommand, QView<QURLDialog> > base_class;
|
||||
|
||||
QURL::QURL(Dialog & parent)
|
||||
: base_class(parent, _("LyX: URL"))
|
||||
: base_class(parent, _("URL"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -130,7 +130,7 @@ VSpace setVSpaceFromWidgets(int spacing,
|
||||
typedef QController<ControlVSpace, QView<QVSpaceDialog> > base_class;
|
||||
|
||||
QVSpace::QVSpace(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Vertical Space Settings"))
|
||||
: base_class(parent, _("Vertical Space Settings"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -36,7 +36,7 @@ namespace frontend {
|
||||
typedef QController<ControlWrap, QView<QWrapDialog> > base_class;
|
||||
|
||||
QWrap::QWrap(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Text Wrap Settings"))
|
||||
: base_class(parent, _("Text Wrap Settings"))
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user