l10n: Eliminated STRING_COLUMN_LABEL_DEP*

This commit is contained in:
Paul Beckingham 2018-01-20 19:56:53 -05:00
parent c44a6433fd
commit 0e2cb5866c
10 changed files with 3 additions and 20 deletions

View file

@ -31,10 +31,11 @@
#include <shared.h>
#include <format.h>
#include <utf8.h>
#include <i18n.h>
#include <main.h>
#include <stdlib.h>
#define STRING_COLUMN_LABEL_DEP "Depends"
extern Context context;
////////////////////////////////////////////////////////////////////////////////
@ -61,7 +62,7 @@ void ColumnDepends::setStyle (const std::string& value)
Column::setStyle (value);
if (_style == "indicator" && _label == STRING_COLUMN_LABEL_DEP) _label = _label.substr (0, context.config.get ("dependency.indicator").length ());
else if (_style == "count" && _label == STRING_COLUMN_LABEL_DEP) _label = STRING_COLUMN_LABEL_DEP_S;
else if (_style == "count" && _label == STRING_COLUMN_LABEL_DEP) _label = "Dep";
}
////////////////////////////////////////////////////////////////////////////////