Minor i18n fixes

Minor fixes that the translator (Yuri) has found in some of the
strings. You only know how many typos and thinkos you have when
someone is trying to translate it.

Signed-off-by: Craig Small <csmall@enc.com.au>
This commit is contained in:
Yuri Chornoivan 2014-03-03 21:58:56 +11:00 committed by Craig Small
parent 3569c0351f
commit 2ec9f5c22e
5 changed files with 9 additions and 5 deletions

View File

@ -120,7 +120,7 @@ void do_help (const char *opt, int rc) {
fputs(_("\n" fputs(_("\n"
" The selection options take as their argument either:\n" " The selection options take as their argument either:\n"
" a comma-separated list e.g. '-u root,nobody' or\n" " a comma-separated list e.g. '-u root,nobody' or\n"
" or a blank-separated list e.g. '-p 123 4567'\n"), out); " a blank-separated list e.g. '-p 123 4567'\n"), out);
} }
if (section == HELP_OUT || section == HELP_ALL) { if (section == HELP_OUT || section == HELP_ALL) {
fputs(_("\nOutput formats:\n"), out); fputs(_("\nOutput formats:\n"), out);
@ -141,7 +141,7 @@ void do_help (const char *opt, int rc) {
fputs(_(" u user-oriented format\n"), out); fputs(_(" u user-oriented format\n"), out);
fputs(_(" v virtual memory format\n"), out); fputs(_(" v virtual memory format\n"), out);
fputs(_(" X register format\n"), out); fputs(_(" X register format\n"), out);
fputs(_(" -y do not show flags, show rrs vs. addr (used with -l)\n"), out); fputs(_(" -y do not show flags, show rss vs. addr (used with -l)\n"), out);
fputs(_(" --context display security context (for SELinux)\n"), out); fputs(_(" --context display security context (for SELinux)\n"), out);
fputs(_(" --headers repeat header lines, one per page\n"), out); fputs(_(" --headers repeat header lines, one per page\n"), out);
fputs(_(" --no-headers do not print header at all\n"), out); fputs(_(" --no-headers do not print header at all\n"), out);

View File

@ -751,7 +751,7 @@ int main(int argc, char ** argv)
kill_main(argc, argv); kill_main(argc, argv);
break; break;
default: default:
fprintf(stderr, _("skill: \"%s\" is not support\n"), fprintf(stderr, _("skill: \"%s\" is not supported\n"),
program_invocation_short_name); program_invocation_short_name);
fprintf(stderr, USAGE_MAN_TAIL("skill(1)")); fprintf(stderr, USAGE_MAN_TAIL("skill(1)"));
return EXIT_FAILURE; return EXIT_FAILURE;

View File

@ -376,15 +376,19 @@ int main(int argc, char *argv[])
" %-35s: %.2fK / %.2fK / %.2fK\n\n", " %-35s: %.2fK / %.2fK / %.2fK\n\n",
/* Translation Hint: Next five strings must not /* Translation Hint: Next five strings must not
* exceed 35 length in characters. */ * exceed 35 length in characters. */
/* xgettext:no-c-format */
_("Active / Total Objects (% used)"), _("Active / Total Objects (% used)"),
stats.nr_active_objs, stats.nr_objs, stats.nr_active_objs, stats.nr_objs,
100.0 * stats.nr_active_objs / stats.nr_objs, 100.0 * stats.nr_active_objs / stats.nr_objs,
/* xgettext:no-c-format */
_("Active / Total Slabs (% used)"), _("Active / Total Slabs (% used)"),
stats.nr_active_slabs, stats.nr_slabs, stats.nr_active_slabs, stats.nr_slabs,
100.0 * stats.nr_active_slabs / stats.nr_slabs, 100.0 * stats.nr_active_slabs / stats.nr_slabs,
/* xgettext:no-c-format */
_("Active / Total Caches (% used)"), _("Active / Total Caches (% used)"),
stats.nr_active_caches, stats.nr_caches, stats.nr_active_caches, stats.nr_caches,
100.0 * stats.nr_active_caches / stats.nr_caches, 100.0 * stats.nr_active_caches / stats.nr_caches,
/* xgettext:no-c-format */
_("Active / Total Size (% used)"), _("Active / Total Size (% used)"),
stats.active_size / 1024.0, stats.total_size / 1024.0, stats.active_size / 1024.0, stats.total_size / 1024.0,
100.0 * stats.active_size / stats.total_size, 100.0 * stats.active_size / stats.total_size,

View File

@ -779,7 +779,7 @@ static int show_pmt (const char *str) {
* Our special formatting consists of: * Our special formatting consists of:
* "some text <_delimiter_> some more text <_delimiter_>...\n" * "some text <_delimiter_> some more text <_delimiter_>...\n"
* Where <_delimiter_> is a two byte combination consisting of a * Where <_delimiter_> is a two byte combination consisting of a
* tilde followed by an ascii digit in the the range of 1 - 8. * tilde followed by an ascii digit in the range of 1 - 8.
* examples: ~1, ~5, ~8, etc. * examples: ~1, ~5, ~8, etc.
* The tilde is effectively stripped and the next digit * The tilde is effectively stripped and the next digit
* converted to an index which is then used to select an * converted to an index which is then used to select an

View File

@ -404,7 +404,7 @@ static void build_norm_nlstab (void) {
Norm_nlstab[YINSP_demo01_txt] = _("Open Files"); Norm_nlstab[YINSP_demo01_txt] = _("Open Files");
Norm_nlstab[YINSP_demo02_txt] = _("NUMA Info"); Norm_nlstab[YINSP_demo02_txt] = _("NUMA Info");
Norm_nlstab[YINSP_demo03_txt] = _("Log"); Norm_nlstab[YINSP_demo03_txt] = _("Log");
Norm_nlstab[YINSP_deqfmt_txt] = _("the '=' key will eventually show the actual file read or command(s) excuted ..."); Norm_nlstab[YINSP_deqfmt_txt] = _("the '=' key will eventually show the actual file read or command(s) executed ...");
Norm_nlstab[YINSP_deqtyp_txt] = _("demo"); Norm_nlstab[YINSP_deqtyp_txt] = _("demo");
Norm_nlstab[YINSP_dstory_txt] = _("" Norm_nlstab[YINSP_dstory_txt] = _(""
"This is simulated output representing the contents of some file or the output\n" "This is simulated output representing the contents of some file or the output\n"