From a7741055f19c4273c7c17c8af4f89195d018c2ba Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Wed, 2 Jul 2014 00:00:00 -0500 Subject: [PATCH] top: add another translation hint for graphs alignment This should be the last of this kind of crap. I'll get to work on some means to no longer burden a translator with lengths requirements. Ideally each word should be allowed to stand alone and the minimum/maximum lengths handled programmatically when our ol' top is executed. Signed-off-by: Jim Warner --- top/top_nls.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/top/top_nls.c b/top/top_nls.c index 70aa306d..eed01310 100644 --- a/top/top_nls.c +++ b/top/top_nls.c @@ -458,14 +458,15 @@ static void build_norm_nlstab (void) { Norm_nlstab[WORD_exclude_txt] = _("exclude"); Norm_nlstab[OSEL_statlin_fmt] = _(" to resume, filters: %s"); Norm_nlstab[WORD_noneone_txt] = _("none"); +/* Translation Hint: The following word 'Node' should be exactly 4 characters */ Norm_nlstab[NUMA_nodenam_fmt] = _("Node%-2d:"); Norm_nlstab[NUMA_nodeget_fmt] = _("expand which node (0-%d)"); Norm_nlstab[NUMA_nodebad_txt] = _("invalid node"); Norm_nlstab[NUMA_nodenot_txt] = _("sorry, NUMA extensions unavailable"); /* Translation Hint: 'Mem ' is an abbreviation for physical memory/ram - ' 'Swap' represents the linux swap file -- - ' please make both translations exactly 4 characters, - ' padding with extra spaces as necessary */ + . 'Swap' represents the linux swap file -- + . please make both translations exactly 4 characters, + . padding with extra spaces as necessary */ Norm_nlstab[WORD_abv_mem_txt] = _("Mem "); Norm_nlstab[WORD_abv_swp_txt] = _("Swap"); }