- Localized all column objects, some commands.
This commit is contained in:
Paul Beckingham
2011-06-16 20:28:46 -04:00
parent c7bfba103e
commit 6a48d86f2c
22 changed files with 245 additions and 113 deletions

View File

@@ -25,12 +25,15 @@
//
////////////////////////////////////////////////////////////////////////////////
#define L10N // Localization complete.
#include <ColEntry.h>
#include <i18n.h>
////////////////////////////////////////////////////////////////////////////////
ColumnEntry::ColumnEntry ()
{
_label = "Added";
_label = STRING_COLUMN_LABEL_ADDED;
_attribute = "entry";
}
@@ -46,7 +49,9 @@ void ColumnEntry::setStyle (const std::string& value)
{
_style = value;
if (_style == "age" && _label == "Added") _label = "Age";
if (_style == "age" &&
_label == STRING_COLUMN_LABEL_ADDED)
_label = STRING_COLUMN_LABEL_AGE;
}
////////////////////////////////////////////////////////////////////////////////