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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 15 05:50:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Xin ZHAO
>Release:        FreeBSD 5.3-delphij i386
>Organization:
SINA Corporation
>Environment:
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


>Description:
	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.
>How-To-Repeat:
	Use zh_CN.GBK or some simplified Chinese locales and start gdm
>Fix:

	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+2TM('!O+WIH7T-.+G!O+F]R:6<)1G)I($]C="`Q-2`P,CHR,CHS.2`R,#`T
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
M,B!G=6DO9W)E971E<B]G<F5E=&5R7VET96TN8SHQ,SD*(&US9VED("(E82`E
M8B`E9"P@)4 at Z)4TB"BUM<V=S='(@(B4M;>:<B"4M9.:7I25![[R,)4 at Z)4TB
M"BMM<V=S='(@(B5MYIR()63FEZ4E0>^\C"5(.B5-(@H@"B`C.B!G=6DO9V1M
M;&]G:6XN8SHR-3,T(&=U:2]G<F5E=&5R+V=R965T97)?:71E;2YC.C$T,PH@
M;7-G:60@(B5A("5B("5D+"`E;#HE32`E<"(*+6US9W-T<B`B)2UMYIR()2UD
MYI>E)4'OO(PE2#HE32(**VUS9W-T<B`B)6WFG(@E9.:7I25![[R,)4 at Z)4TB
K"B`*(",Z(&=U:2]G9&UL;V=I;BYC.C(U.#,*(&US9VED(")&:6YG97(B"@``
`
end
--- patch-zh_CN.po.uu ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list