summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2008-12-12 14:41:34 +0100
committerKarel Zak2008-12-12 14:41:34 +0100
commit12318be41b6f0f15a5857644b68d7339ca24344d (patch)
tree72f947c0e3d90d13a5d0e4f9e116e6d1e9bd2bf8
parentRevert "login-utils: several strings without gettext calls" (diff)
downloadkernel-qcow2-util-linux-12318be41b6f0f15a5857644b68d7339ca24344d.tar.gz
kernel-qcow2-util-linux-12318be41b6f0f15a5857644b68d7339ca24344d.tar.xz
kernel-qcow2-util-linux-12318be41b6f0f15a5857644b68d7339ca24344d.zip
TODO: add request to use nl_langinfo()
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--TODO3
-rw-r--r--login-utils/agetty.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/TODO b/TODO
index 3bd0db44d..070b585f0 100644
--- a/TODO
+++ b/TODO
@@ -59,6 +59,9 @@ v2.15:
v2.??:
=====
+ * agetty: use nl_langinfo() for days and months rather than hardcoded
+ English names.
+
* rewrite ipcs to use /proc/sys/kernel rather than unreliable syscalls
(there are problems with 32bit userspace on 64bit kernel)
diff --git a/login-utils/agetty.c b/login-utils/agetty.c
index 8c5de6ef6..3b6de7178 100644
--- a/login-utils/agetty.c
+++ b/login-utils/agetty.c
@@ -890,6 +890,7 @@ do_prompt(op, tp)
case 'd':
case 't':
{
+ /* TODO: use nl_langinfo() */
char *weekday[] = { "Sun", "Mon", "Tue", "Wed", "Thu",
"Fri", "Sat" };
char *month[] = { "Jan", "Feb", "Mar", "Apr", "May",