X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flengthcommon.cpp;h=b29b692f6e7844c145d0d325b519d2c465695be3;hb=2455bc258f3b62c29ec4a41cb88070ff8518e842;hp=191eca85ba0e7ee85df8e1dbee545ab69f953e2d;hpb=8c622e4ff04765c786cbe9ccc9824f4429aee4e7;p=lyx.git diff --git a/src/lengthcommon.cpp b/src/lengthcommon.cpp index 191eca85ba..b29b692f6e 100644 --- a/src/lengthcommon.cpp +++ b/src/lengthcommon.cpp @@ -12,15 +12,15 @@ #include -#include "lengthcommon.h" +#include "support/gettext.h" +#include "Length.h" -#include "gettext.h" +#include +using namespace std; namespace lyx { -using std::string; - // I am not sure if "mu" should be possible to select (Lgb) // the latex units @@ -35,7 +35,7 @@ int const num_units = int(sizeof(unit_name) / sizeof(unit_name[0]) - 1); // the LyX gui units char const * const unit_name_gui[] = { N_("sp"), N_("pt"), N_("bp"), N_("dd"), N_("mm"), N_("pc"), - N_("cc"), N_("cm"), N_("in"), N_("ex"), N_("em"), N_("mu"), + N_("cc[[unit of measure]]"), N_("cm"), N_("in"), N_("ex"), N_("em"), N_("mu"), N_("Text Width %"), N_("Column Width %"), N_("Page Width %"), N_("Line Width %"), N_("Text Height %"), N_("Page Height %"), "" };