top: refactoring now allows column header nls support

Now that column headings are independent of column
data format and require no carefully managed padding
bytes they are candidates for nls translation.

This commit migrates all column headings to the .pot
file with additional translator guidance in the form
of maximum sizes to avoid truncation.

It also places these new additions adjacent to their
associated descriptions, which were already present.

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2012-09-19 02:02:02 -05:00
committed by Craig Small
parent 64cfdda756
commit 0f61354bf7
4 changed files with 175 additions and 63 deletions

View File

@@ -202,7 +202,6 @@ typedef int (*QFP_t)(const void *, const void *);
/* This structure consolidates the information that's used
in a variety of display roles. */
typedef struct FLD_t {
const char *head; // name for col heads + toggle/reorder fields
int width; // field width, if applicable
const int scale; // scale_unum type, if applicable
const int align; // the default column alignment flag