diff options
author | Karel Zak | 2008-12-12 14:33:29 +0100 |
---|---|---|
committer | Karel Zak | 2008-12-12 14:33:29 +0100 |
commit | ad067f162595be1e8cb0d4fbb88899745674968a (patch) | |
tree | f05805d96aae86bef8d2daf3a0d19e55f9dc8bbb /login-utils/checktty.c | |
parent | mount: fix mount_static_LDADD (diff) | |
download | kernel-qcow2-util-linux-ad067f162595be1e8cb0d4fbb88899745674968a.tar.gz kernel-qcow2-util-linux-ad067f162595be1e8cb0d4fbb88899745674968a.tar.xz kernel-qcow2-util-linux-ad067f162595be1e8cb0d4fbb88899745674968a.zip |
Revert "login-utils: several strings without gettext calls"
This reverts commit 64fefaf5bffdd4041190f1e5ed4b5d0100638c0d.
It does not make sense to localize config options (wdays in
checktty.c) and debug messages (main() in checktty.c.
Diffstat (limited to 'login-utils/checktty.c')
-rw-r--r-- | login-utils/checktty.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/login-utils/checktty.c b/login-utils/checktty.c index b79f7bd68..c28ee833d 100644 --- a/login-utils/checktty.c +++ b/login-utils/checktty.c @@ -316,7 +316,7 @@ main(int argc, char **argv) for (item = alist; item->range; item++) { - printf(_("hnmatch() on %-30s <-- %-15s: "), item->range, item->ip); + printf("hnmatch() on %-30s <-- %-15s: ", item->range, item->ip); if (getaddrinfo(item->ip, NULL, &hints, &info)==0 && info) { if (info->ai_family == AF_INET) { @@ -334,18 +334,17 @@ main(int argc, char **argv) hostfamily = info->ai_family; freeaddrinfo(info); printf("%s\n", hnmatch("dummy", item->range) ? - _("match") : _("mismatch")); + "match" : "mismatch"); } else - printf(_("getaddrinfo() failed\n")); + printf("getaddrinfo() failed\n"); } return 0; } #endif /* MAIN_TEST_CHECKTTY */ -static char *wdays[] = { N_("sun"), N_("mon"), N_("tue"), N_("wed"), - N_("thu"), N_("fri"), N_("sat") }; +static char *wdays[] = { "sun", "mon", "tue", "wed", "thu", "fri", "sat" }; /* example timespecs: |