From delphij@frontfree.net  Fri Oct 15 05:45:11 2004
Return-Path: <delphij@frontfree.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 57B5316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Oct 2004 05:45:11 +0000 (GMT)
Received: from mail.freebsd.org.cn (dns3.freebsd.org.cn [61.129.66.75])
	by mx1.FreeBSD.org (Postfix) with SMTP id C22CF43D55
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Oct 2004 05:45:09 +0000 (GMT)
	(envelope-from delphij@frontfree.net)
Received: (qmail 44384 invoked by uid 0); 15 Oct 2004 05:40:28 -0000
Received: from unknown (HELO beastie.frontfree.net) (219.239.98.7)
  by mail.freebsd.org.cn with SMTP; 15 Oct 2004 05:40:28 -0000
Received: from localhost (localhost.frontfree.net [127.0.0.1])
	by beastie.frontfree.net (Postfix) with ESMTP id 415B213121F;
	Fri, 15 Oct 2004 13:45:03 +0800 (CST)
Received: from beastie.frontfree.net ([127.0.0.1])
 by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 03918-08; Fri, 15 Oct 2004 13:44:52 +0800 (CST)
Received: by beastie.frontfree.net (Postfix, from userid 1001)
	id 3A1661311B2; Fri, 15 Oct 2004 13:44:52 +0800 (CST)
Message-Id: <20041015054452.3A1661311B2@beastie.frontfree.net>
Date: Fri, 15 Oct 2004 13:44:52 +0800 (CST)
From: Xin ZHAO <quakelee@gmail.com>
Reply-To: Xin ZHAO <quakelee@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: gnome@FreeBSD.org, marcus@FreeBSD.org
Subject: [PATCH] Fix Simplified Chinese representation of clock on gdm2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         72722
>Category:       ports
>Synopsis:       [PATCH] Fix Simplified Chinese representation of clock on x11/gdm2
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 15 05:50:19 GMT 2004
>Closed-Date:    Sun Nov 07 23:46:56 GMT 2004
>Last-Modified:  Sun Nov 07 23:46:56 GMT 2004
>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@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@3V-T(#$U(#`R.C(S.C(W(#(P,#0*0$`@
M+3(X-#8L,3$@*S(X-#8L,3$@0$`*(`H@(SH@9W5I+V=D;6QO9VEN+F,Z,C4S
M,B!G=6DO9W)E971E<B]G<F5E=&5R7VET96TN8SHQ,SD*(&US9VED("(E82`E
M8B`E9"P@)4@Z)4TB"BUM<V=S='(@(B4M;>:<B"4M9.:7I25![[R,)4@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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-gnome 
Responsible-Changed-By: delphij 
Responsible-Changed-When: Fri Oct 15 06:08:11 GMT 2004 
Responsible-Changed-Why:  
Over to maintainer(s) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72722 
Responsible-Changed-From-To: freebsd-gnome->gnome 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Oct 16 22:21:53 GMT 2004 
Responsible-Changed-Why:  
Fix assignment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72722 
State-Changed-From-To: open->analyzed 
State-Changed-By: marcus 
State-Changed-When: Sun Oct 24 17:38:28 GMT 2004 
State-Changed-Why:  
A different fix for this has been committed to the GNOME 2.8 repo, and will 
be merged into the ports tree with the rest of 2.8. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72722 
State-Changed-From-To: analyzed->patched 
State-Changed-By: marcus 
State-Changed-When: Sun Oct 24 17:41:04 GMT 2004 
State-Changed-Why:  
State should have been patched not analyzed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72722 
State-Changed-From-To: patched->closed 
State-Changed-By: marcus 
State-Changed-When: Sun Nov 7 23:46:40 GMT 2004 
State-Changed-Why:  
Fixed, thanks for reporting! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72722 
>Unformatted:
