summaryrefslogtreecommitdiffstats
path: root/login-utils/agetty.c
diff options
context:
space:
mode:
authorKarel Zak2008-12-12 14:33:29 +0100
committerKarel Zak2008-12-12 14:33:29 +0100
commitad067f162595be1e8cb0d4fbb88899745674968a (patch)
treef05805d96aae86bef8d2daf3a0d19e55f9dc8bbb /login-utils/agetty.c
parentmount: fix mount_static_LDADD (diff)
downloadkernel-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/agetty.c')
-rw-r--r--login-utils/agetty.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/login-utils/agetty.c b/login-utils/agetty.c
index 47dfa49fc..8c5de6ef6 100644
--- a/login-utils/agetty.c
+++ b/login-utils/agetty.c
@@ -890,13 +890,11 @@ do_prompt(op, tp)
case 'd':
case 't':
{
- char *weekday[] = { N_("Sun"), N_("Mon"), N_("Tue"),
- N_("Wed"), N_("Thu"), N_("Fri"),
- N_("Sat") };
- char *month[] = { N_("Jan"), N_("Feb"), N_("Mar"),
- N_("Apr"), N_("May"), N_("Jun"),
- N_("Jul"), N_("Aug"), N_("Sep"),
- N_("Oct"), N_("Nov"), N_("Dec") };
+ char *weekday[] = { "Sun", "Mon", "Tue", "Wed", "Thu",
+ "Fri", "Sat" };
+ char *month[] = { "Jan", "Feb", "Mar", "Apr", "May",
+ "Jun", "Jul", "Aug", "Sep", "Oct",
+ "Nov", "Dec" };
time_t now;
struct tm *tm;