X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flengthcommon.cpp;h=b29b692f6e7844c145d0d325b519d2c465695be3;hb=cf15bd840b71a01ccbb2fbbbabc7066237b4bfd2;hp=d4f16b05146d06a65ef373f2a2b0a7c62b002d39;hpb=a5263e0f927034885870a65053ef3908d1c6f885;p=lyx.git diff --git a/src/lengthcommon.cpp b/src/lengthcommon.cpp index d4f16b0514..b29b692f6e 100644 --- a/src/lengthcommon.cpp +++ b/src/lengthcommon.cpp @@ -12,16 +12,15 @@ #include +#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 @@ -36,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 %"), "" };