l10n: Eliminated STRING_COLUMN_BAD_FORMAT

This commit is contained in:
Paul Beckingham 2018-01-20 14:39:41 -05:00
parent 78c2c1c2da
commit bbb00ac7ef
10 changed files with 1 additions and 11 deletions

View file

@ -52,7 +52,6 @@
#include <ColWait.h>
#include <shared.h>
#include <format.h>
#include <i18n.h>
extern Context context;
@ -274,7 +273,7 @@ void Column::setStyle (const std::string& style)
{
if (style != "default" &&
std::find (_styles.begin (), _styles.end (), style) == _styles.end ())
throw format (STRING_COLUMN_BAD_FORMAT, _name, style);
throw format ("Unrecognized column format '{1}.{2}'", _name, style);
_style = style;
}