mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Patch 1 Log:
* controllers/Dialog.[Ch] - View::title_ is now a docstring (ctor and access functions changed) * controllers/ControlLog.[Ch] - title() now returns a docstring * controllers/ControlLog.[Ch] - title() now returns a docstring * qt4/*: adapted to above changes. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15283 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e7c4a0554c
commit
e6fea4b844
@ -19,6 +19,8 @@
|
||||
#include <sstream>
|
||||
#include <fstream>
|
||||
|
||||
using lyx::docstring;
|
||||
|
||||
using std::istringstream;
|
||||
using std::ostream;
|
||||
using std::string;
|
||||
@ -70,21 +72,21 @@ void ControlLog::clearParams()
|
||||
}
|
||||
|
||||
|
||||
string const ControlLog::title() const
|
||||
docstring const ControlLog::title() const
|
||||
{
|
||||
string t;
|
||||
docstring t;
|
||||
switch (type_) {
|
||||
case LatexLog:
|
||||
t = lyx::to_utf8(_("LaTeX Log"));
|
||||
t = _("LaTeX Log");
|
||||
break;
|
||||
case LiterateLog:
|
||||
t = lyx::to_utf8(_("Literate Programming Build Log"));
|
||||
t = _("Literate Programming Build Log");
|
||||
break;
|
||||
case Lyx2lyxLog:
|
||||
t = lyx::to_utf8(_("lyx2lyx Error Log"));
|
||||
t = _("lyx2lyx Error Log");
|
||||
break;
|
||||
case VCLog:
|
||||
t = lyx::to_utf8(_("Version Control Log"));
|
||||
t = _("Version Control Log");
|
||||
break;
|
||||
}
|
||||
return t;
|
||||
|
@ -37,7 +37,7 @@ public:
|
||||
virtual bool isBufferDependent() const { return true; }
|
||||
|
||||
/// The title displayed by the dialog reflects the \c LOGTYPE
|
||||
std::string const title() const;
|
||||
lyx::docstring const title() const;
|
||||
/// put the log file into the ostream
|
||||
void getContents(std::ostream & ss) const;
|
||||
|
||||
|
@ -64,7 +64,7 @@ void ControlViewSource::clearParams()
|
||||
}
|
||||
|
||||
|
||||
string const ControlViewSource::title() const
|
||||
docstring const ControlViewSource::title() const
|
||||
{
|
||||
string source_type;
|
||||
|
||||
@ -81,7 +81,7 @@ string const ControlViewSource::title() const
|
||||
default:
|
||||
BOOST_ASSERT(false);
|
||||
}
|
||||
return lyx::to_utf8(_(source_type + " Source"));
|
||||
return _(source_type + " Source");
|
||||
}
|
||||
|
||||
} // namespace frontend
|
||||
|
@ -37,7 +37,7 @@ public:
|
||||
virtual bool isBufferDependent() const { return true; }
|
||||
|
||||
/// The title displayed by the dialog reflects source type.
|
||||
std::string const title() const;
|
||||
lyx::docstring const title() const;
|
||||
|
||||
/** get the source code of selected paragraphs, or the whole document
|
||||
\param fullSource get full source code
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "FuncStatus.h"
|
||||
#include "lyxfunc.h"
|
||||
|
||||
using lyx::docstring;
|
||||
|
||||
using std::string;
|
||||
|
||||
@ -219,7 +220,7 @@ Dialog::Controller & Dialog::controller() const
|
||||
}
|
||||
|
||||
|
||||
Dialog::View::View(Dialog & parent, string title) :
|
||||
Dialog::View::View(Dialog & parent, docstring title) :
|
||||
p_(parent), title_(title)
|
||||
{}
|
||||
|
||||
@ -231,13 +232,13 @@ Dialog::View & Dialog::view() const
|
||||
}
|
||||
|
||||
|
||||
void Dialog::View::setTitle(string const & newtitle)
|
||||
void Dialog::View::setTitle(docstring const & newtitle)
|
||||
{
|
||||
title_ = newtitle;
|
||||
}
|
||||
|
||||
|
||||
string const & Dialog::View::getTitle() const
|
||||
docstring const & Dialog::View::getTitle() const
|
||||
{
|
||||
return title_;
|
||||
}
|
||||
|
@ -15,6 +15,8 @@
|
||||
#include "Kernel.h"
|
||||
#include "lfuns.h"
|
||||
|
||||
#include "support/docstring.h"
|
||||
|
||||
#include <boost/utility.hpp>
|
||||
#include <boost/scoped_ptr.hpp>
|
||||
|
||||
@ -219,7 +221,7 @@ public:
|
||||
/** \param parent Dialog owning this Controller.
|
||||
* \param title is the dialog title displayed by the WM.
|
||||
*/
|
||||
View(Dialog & parent, std::string title);
|
||||
View(Dialog & parent, lyx::docstring title);
|
||||
virtual ~View() {}
|
||||
|
||||
/** \name Generic View
|
||||
@ -257,9 +259,9 @@ public:
|
||||
virtual void partialUpdate(int id);
|
||||
|
||||
/// sets the title of the dialog (window caption)
|
||||
void setTitle(std::string const &);
|
||||
void setTitle(lyx::docstring const &);
|
||||
/// gets the title of the dialog (window caption)
|
||||
std::string const & getTitle() const;
|
||||
lyx::docstring const & getTitle() const;
|
||||
|
||||
/** \name View Access
|
||||
* Enable the derived classes to access the other parts of the whole.
|
||||
@ -281,7 +283,7 @@ protected:
|
||||
|
||||
private:
|
||||
Dialog & p_;
|
||||
std::string title_;
|
||||
lyx::docstring title_;
|
||||
};
|
||||
|
||||
} // namespace frontend
|
||||
|
@ -213,13 +213,13 @@ Dialogs::DialogPtr Dialogs::build(string const & name)
|
||||
} else if (name == "index") {
|
||||
dialog->setController(new ControlCommand(*dialog, name));
|
||||
dialog->setView(new QIndex(*dialog,
|
||||
lyx::to_utf8(_("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::to_utf8(_("Label")),
|
||||
_("Label"),
|
||||
qt_("&Label:")));
|
||||
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
|
||||
} else if (name == "log") {
|
||||
|
@ -41,7 +41,7 @@ namespace frontend {
|
||||
typedef QController<ControlAboutlyx, QView<QAboutDialog> > base_class;
|
||||
|
||||
QAbout::QAbout(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("About LyX")))
|
||||
: base_class(parent, _("About LyX"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -28,7 +28,7 @@ typedef QController<ControlCommand, QView<QBibitemDialog> > base_class;
|
||||
|
||||
|
||||
QBibitem::QBibitem(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("Bibliography Entry 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, lyx::to_utf8(_("BibTeX Bibliography")))
|
||||
: base_class(parent, _("BibTeX Bibliography"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@ namespace frontend {
|
||||
typedef QController<ControlBox, QView<QBoxDialog> > base_class;
|
||||
|
||||
QBox::QBox(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("Box Settings")))
|
||||
: base_class(parent, _("Box Settings"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -32,7 +32,7 @@ typedef QController<ControlBranch, QView<QBranchDialog> > base_class;
|
||||
|
||||
|
||||
QBranch::QBranch(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("Branch Settings")))
|
||||
: base_class(parent, _("Branch Settings"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -33,7 +33,7 @@ typedef QController<ControlChanges, QView<QChangesDialog> > base_class;
|
||||
|
||||
|
||||
QChanges::QChanges(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("Merge Changes")))
|
||||
: base_class(parent, _("Merge Changes"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -31,7 +31,7 @@ typedef QController<ControlCharacter, QView<QCharacterDialog> > base_class;
|
||||
|
||||
|
||||
QCharacter::QCharacter(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("Text Style")))
|
||||
: base_class(parent, _("Text Style"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include "qt_helpers.h"
|
||||
|
||||
#include "bufferparams.h"
|
||||
#include "gettext.h"
|
||||
|
||||
#include "controllers/ControlCitation.h"
|
||||
|
||||
@ -37,7 +38,7 @@ namespace frontend {
|
||||
|
||||
|
||||
QCitationDialog::QCitationDialog(Dialog & dialog, QCitation * form)
|
||||
: Dialog::View(dialog, "Citation"), form_(form)
|
||||
: Dialog::View(dialog, _("Citation")), form_(form)
|
||||
{
|
||||
setupUi(this);
|
||||
|
||||
|
@ -16,10 +16,12 @@
|
||||
|
||||
#include "controllers/ButtonController.h"
|
||||
|
||||
using lyx::docstring;
|
||||
|
||||
namespace lyx {
|
||||
namespace frontend {
|
||||
|
||||
QDialogView::QDialogView(Dialog & parent, std::string const & t)
|
||||
QDialogView::QDialogView(Dialog & parent, docstring const & t)
|
||||
: Dialog::View(parent,t), updating_(false)
|
||||
{}
|
||||
|
||||
|
@ -31,7 +31,7 @@ class QDialogView : public QObject, public Dialog::View {
|
||||
Q_OBJECT
|
||||
public:
|
||||
///
|
||||
QDialogView(Dialog &, std::string const &);
|
||||
QDialogView(Dialog &, lyx::docstring const &);
|
||||
///
|
||||
virtual ~QDialogView() {}
|
||||
///
|
||||
@ -87,7 +87,7 @@ private:
|
||||
template <class GUIDialog>
|
||||
class QView: public QDialogView {
|
||||
protected:
|
||||
QView(Dialog &, std::string const &);
|
||||
QView(Dialog &, lyx::docstring const &);
|
||||
|
||||
/// update the dialog
|
||||
virtual void update();
|
||||
@ -105,7 +105,7 @@ protected:
|
||||
|
||||
|
||||
template <class GUIDialog>
|
||||
QView<GUIDialog>::QView(Dialog & p, std::string const & t)
|
||||
QView<GUIDialog>::QView(Dialog & p, lyx::docstring const & t)
|
||||
: QDialogView(p, t)
|
||||
{}
|
||||
|
||||
@ -153,7 +153,7 @@ class QController: public Base
|
||||
{
|
||||
protected:
|
||||
///
|
||||
QController(Dialog &, std::string const &);
|
||||
QController(Dialog &, docstring const &);
|
||||
public:
|
||||
/// The parent controller
|
||||
Controller & controller();
|
||||
@ -163,7 +163,7 @@ public:
|
||||
|
||||
|
||||
template <class Controller, class Base>
|
||||
QController<Controller, Base>::QController(Dialog & p, std::string const & t)
|
||||
QController<Controller, Base>::QController(Dialog & p, docstring const & t)
|
||||
: Base(p, t)
|
||||
{}
|
||||
|
||||
|
@ -45,7 +45,7 @@ typedef QController<ControlDocument, QView<QDocumentDialog> > base_class;
|
||||
|
||||
|
||||
QDocument::QDocument(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("Document Settings")))
|
||||
: base_class(parent, _("Document Settings"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ typedef QController<ControlERT, QView<QERTDialog> > base_class;
|
||||
|
||||
|
||||
QERT::QERT(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("TeX Code Settings")))
|
||||
: base_class(parent, _("TeX Code Settings"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@ namespace frontend {
|
||||
typedef QController<ControlErrorList, QView<QErrorListDialog> > base_class;
|
||||
|
||||
QErrorList::QErrorList(Dialog & parent)
|
||||
: base_class(parent, "")
|
||||
: base_class(parent, lyx::docstring())
|
||||
{}
|
||||
|
||||
|
||||
@ -48,7 +48,7 @@ void QErrorList::select(QListWidgetItem * wi)
|
||||
|
||||
void QErrorList::update_contents()
|
||||
{
|
||||
setTitle(controller().name());
|
||||
setTitle(lyx::from_ascii(controller().name()));
|
||||
dialog_->errorsLW->clear();
|
||||
dialog_->descriptionTB->setPlainText(QString());
|
||||
|
||||
|
@ -276,7 +276,7 @@ void getExtra(external::ExtraData & data,
|
||||
typedef QController<ControlExternal, QView<QExternalDialog> > base_class;
|
||||
|
||||
QExternal::QExternal(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("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::to_utf8(_("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::to_utf8(_("Graphics")))
|
||||
: base_class(parent, _("Graphics"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@ typedef QController<ControlInclude, QView<QIncludeDialog> > base_class;
|
||||
|
||||
|
||||
QInclude::QInclude(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("Child Document")))
|
||||
: base_class(parent, _("Child Document"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -30,7 +30,7 @@ namespace frontend {
|
||||
typedef QController<ControlCommand, QView<QIndexDialog> > base_class;
|
||||
|
||||
|
||||
QIndex::QIndex(Dialog & parent, string const & title, QString const & label)
|
||||
QIndex::QIndex(Dialog & parent, docstring const & title, QString const & label)
|
||||
: base_class(parent, title), label_(label)
|
||||
{
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ class QIndex :
|
||||
public:
|
||||
friend class QIndexDialog;
|
||||
|
||||
QIndex(Dialog &, std::string const & title, QString const & label);
|
||||
QIndex(Dialog &, lyx::docstring const & title, QString const & label);
|
||||
protected:
|
||||
virtual bool isValid();
|
||||
private:
|
||||
|
@ -27,7 +27,7 @@ namespace frontend {
|
||||
typedef QController<ControlLog, QView<QLogDialog> > base_class;
|
||||
|
||||
QLog::QLog(Dialog & parent)
|
||||
: base_class(parent, "")
|
||||
: base_class(parent, lyx::docstring())
|
||||
{}
|
||||
|
||||
|
||||
|
@ -24,7 +24,7 @@ typedef QController<ControlMath, QView<QMathDialog> > math_base;
|
||||
|
||||
|
||||
QMath::QMath(Dialog & parent)
|
||||
: math_base(parent, lyx::to_utf8(_("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::to_utf8(_("Math 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::to_utf8(_("Math Delimiter")))
|
||||
: delimiter_base(parent, _("Math Delimiter"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -31,7 +31,7 @@ typedef QController<ControlNote, QView<QNoteDialog> > base_class;
|
||||
|
||||
|
||||
QNote::QNote(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("Note Settings")))
|
||||
: base_class(parent, _("Note Settings"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -35,7 +35,7 @@ typedef QController<ControlParagraph, QView<QParagraphDialog> > base_class;
|
||||
|
||||
|
||||
QParagraph::QParagraph(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("Paragraph Settings")))
|
||||
: base_class(parent, _("Paragraph Settings"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -37,7 +37,7 @@ namespace frontend {
|
||||
typedef QController<ControlPrefs, QView<QPrefsDialog> > base_class;
|
||||
|
||||
QPrefs::QPrefs(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("Preferences")))
|
||||
: base_class(parent, _("Preferences"))
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ typedef QController<ControlPrint, QView<QLPrintDialog> > base_class;
|
||||
|
||||
|
||||
QPrint::QPrint(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("Print Document")))
|
||||
: base_class(parent, _("Print Document"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,7 @@ typedef QController<lyx::frontend::ControlRef, QView<QRefDialog> > base_class;
|
||||
|
||||
|
||||
QRef::QRef(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("Cross-reference"))),
|
||||
: base_class(parent, _("Cross-reference")),
|
||||
sort_(false), at_ref_(false)
|
||||
{
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ typedef QController<ControlSearch, QView<QSearchDialog> > base_class;
|
||||
|
||||
|
||||
QSearch::QSearch(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("Find and Replace")))
|
||||
: base_class(parent, _("Find and Replace"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ typedef QController<ControlSendto, QView<QSendtoDialog> > base_class;
|
||||
|
||||
|
||||
QSendto::QSendto(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("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::to_utf8(_("Show File")))
|
||||
: base_class(parent, _("Show File"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -31,7 +31,7 @@ namespace frontend {
|
||||
typedef QController<ControlSpellchecker, QView<QSpellcheckerDialog> > base_class;
|
||||
|
||||
QSpellchecker::QSpellchecker(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("Spellchecker")))
|
||||
: base_class(parent, _("Spellchecker"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -39,7 +39,7 @@ namespace frontend {
|
||||
typedef QController<ControlTabular, QView<QTabularDialog> > base_class;
|
||||
|
||||
QTabular::QTabular(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("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::to_utf8(_("Insert Table")))
|
||||
: base_class(parent, _("Insert Table"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -29,7 +29,7 @@ namespace frontend {
|
||||
typedef QController<ControlTexinfo, QView<QTexinfoDialog> > base_class;
|
||||
|
||||
QTexinfo::QTexinfo(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("TeX Information"))),
|
||||
: base_class(parent, _("TeX 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::to_utf8(_("Thesaurus")))
|
||||
: base_class(parent, _("Thesaurus"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@ namespace lyx {
|
||||
namespace frontend {
|
||||
|
||||
QTocDialog::QTocDialog(Dialog & dialog, QToc * form)
|
||||
: Dialog::View(dialog, "Toc"), form_(form), depth_(2)
|
||||
: Dialog::View(dialog, _("Toc")), form_(form), depth_(2)
|
||||
{
|
||||
setupUi(this);
|
||||
|
||||
|
@ -129,7 +129,7 @@ VSpace setVSpaceFromWidgets(int spacing,
|
||||
typedef QController<ControlVSpace, QView<QVSpaceDialog> > base_class;
|
||||
|
||||
QVSpace::QVSpace(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("Vertical Space Settings")))
|
||||
: base_class(parent, _("Vertical Space Settings"))
|
||||
{}
|
||||
|
||||
|
||||
|
@ -31,7 +31,7 @@ typedef QController<ControlViewSource, QView<QViewSourceDialog> > base_class;
|
||||
|
||||
|
||||
QViewSource::QViewSource(Dialog & parent)
|
||||
: base_class(parent, "")
|
||||
: base_class(parent, lyx::docstring())
|
||||
{}
|
||||
|
||||
|
||||
|
@ -36,7 +36,7 @@ namespace frontend {
|
||||
typedef QController<ControlWrap, QView<QWrapDialog> > base_class;
|
||||
|
||||
QWrap::QWrap(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("Text Wrap Settings")))
|
||||
: base_class(parent, _("Text Wrap Settings"))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,7 @@ namespace frontend {
|
||||
typedef QController< ControlCommand, QView<QURLDialog> > base_class;
|
||||
|
||||
UrlView::UrlView(Dialog & parent)
|
||||
: base_class(parent, lyx::to_utf8(_("URL")))
|
||||
: base_class(parent, _("URL"))
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user