#include "support/debug.h"
#include "support/FileName.h"
+#include "support/gettext.h"
#include "support/filetools.h"
#include "support/lstrings.h"
return true;
}
+
// used when sorting the module list.
class ModuleSorter
{
public:
int operator()(LyXModule const & lm1, LyXModule const & lm2) const
{
- return lm1.getName() < lm2.getName();
+ return _(lm1.getName()) < _(lm2.getName());
}
};
-//Much of this is borrowed from LayoutFileList::read()
+// Much of this is borrowed from LayoutFileList::read()
bool ModuleList::read()
{
FileName const real_file = libFileSearch("", "lyxmodules.lst");
#include "Format.h"
#include "FuncRequest.h"
-#include "support/qstring_helpers.h"
#include "support/filetools.h"
+#include "support/gettext.h"
+#include "support/qstring_helpers.h"
#include <algorithm>
changed();
}
+
namespace {
bool formatSorter(Format const * lhs, Format const * rhs) {
- return lhs->prettyname() < rhs->prettyname();
+ return _(lhs->prettyname()) < _(rhs->prettyname());
}
} // end namespace
+
void GuiSendTo::updateContents()
{
all_formats_ = buffer().params().exportableFormats(false);
- Adjust the cursor language after document language change had changed the
text language (bug 7681).
+- Correctly sort modules in Document>Settings and formats in the "Other
+ formats" dialog (bug 7751).
+
+
* ADVANCED FIND AND REPLACE