ports/72722: [PATCH] Fix Simplified Chinese representation of clock on gdm2

Xin ZHAO quakelee at gmail.com
Fri Oct 15 05:50:20 UTC 2004

>Number:         72722
>Category:       ports
>Synopsis:       [PATCH] Fix Simplified Chinese representation of clock on gdm2
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 15 05:50:19 GMT 2004
>Originator:     Xin ZHAO
>Release:        FreeBSD 5.3-delphij i386
SINA Corporation
System: FreeBSD beastie.frontfree.net 5.3-delphij FreeBSD 5.3-delphij #4: Mon Sep 13 12:44:05 CST 2004 delphij at beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386

	There seems to be some typos in gdm2's po files to prevent time to
correctly represented in its clock applications.  We have tested the following
patches and it seems to work well.
	Use zh_CN.GBK or some simplified Chinese locales and start gdm

	Add the following patch into gdm2's files/ directory.
	The Chinese characters are represented in UTF8 so a uuencoded
patch is included as well.

--- patch-zh_CN.po begins here ---
--- po/zh_CN.po.orig	Fri Oct 15 02:22:39 2004
+++ po/zh_CN.po	Fri Oct 15 02:23:27 2004
@@ -2846,11 +2846,11 @@
 #: gui/gdmlogin.c:2532 gui/greeter/greeter_item.c:139
 msgid "%a %b %d, %H:%M"
-msgstr "%-m月%-d日%A,%H:%M"
+msgstr "%m月%d日%A,%H:%M"
 #: gui/gdmlogin.c:2534 gui/greeter/greeter_item.c:143
 msgid "%a %b %d, %l:%M %p"
-msgstr "%-m月%-d日%A,%H:%M"
+msgstr "%m月%d日%A,%H:%M"
 #: gui/gdmlogin.c:2583
 msgid "Finger"
--- patch-zh_CN.po ends here ---

--- patch-zh_CN.po.uu begins here ---
begin 644 patch-zh_CN.po
M"BLK*R!P;R]Z:%]#3BYP;PE&<FD at 3V-T(#$U(#`R.C(S.C(W(#(P,#0*0$`@
M+3(X-#8L,3$@*S(X-#8L,3$@0$`*(`H@(SH at 9W5I+V=D;6QO9VEN+F,Z,C4S
M8B`E9"P@)4 at Z)4TB"BUM<V=S='(@(B4M;>:<B"4M9.:7I25![[R,)4 at Z)4TB
MYI>E)4'OO(PE2#HE32(**VUS9W-T<B`B)6WFG(@E9.:7I25![[R,)4 at Z)4TB
--- patch-zh_CN.po.uu ends here ---


More information about the freebsd-ports-bugs mailing list