top: touch up a few miscellaneous nls related comments
Some recent nls work on that pmap program necessitated
a return to nls translation file creation for testing.
As it turns out, my skills used in pseudo-translations
had become rusty and some newer LC_MESSAGE directories
may have been introduced since last needing the topic.
This patch just updates some programmer notes to agree
with this most recent effort and for future reference!
Reference(s):
. pmap nls support
commit 0c0c543466
Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
f7a9d5d139
commit
10936365de
@ -67,9 +67,10 @@
|
||||
// with "... charset=UTF-8\n"
|
||||
// . translate msgstr values, leaving msgid unchanged
|
||||
// msgfmt ll_CC.po --strict --output-file=procps-ng.mo
|
||||
// . after which chmod 644
|
||||
// . move to /usr/share/local/ll_CC/LC_MESSAGES/ directory
|
||||
//
|
||||
// . after which ensure, chmod 644
|
||||
// . then copy
|
||||
// to /usr/share/locale-langpack/ll_CC/LC_MESSAGES/
|
||||
// or /usr/share/locale/ll_CC/LC_MESSAGES/
|
||||
// Testing -------------------------------------------------
|
||||
// export LC_ALL= && export LANGUAGE=ll_CC
|
||||
// run some capable program like top
|
||||
@ -302,7 +303,7 @@ static void build_norm_nlstab (void) {
|
||||
Norm_nlstab[ON_word_only_txt] = _("On");
|
||||
Norm_nlstab[OFF_one_word_txt] = _("Off");
|
||||
/* Translation Hint: Only the following words should be translated
|
||||
. secs (seconds), max (maximum), user, cols (columns)*/
|
||||
. secs (seconds), max (maximum), user, field, cols (columns)*/
|
||||
Norm_nlstab[USAGE_abbrev_txt] = _(" -hv | -bcHiOSs -d secs -n max -u|U user -p pid(s) -o field -w [cols]");
|
||||
Norm_nlstab[FAIL_statget_txt] = _("failed /proc/stat read");
|
||||
Norm_nlstab[FOREST_modes_fmt] = _("Forest mode %s");
|
||||
|
Loading…
Reference in New Issue
Block a user