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:
@@ -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
|
||||
|
Reference in New Issue
Block a user