Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 2004 13:44:52 +0800 (CST)
From:      Xin ZHAO <quakelee@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        marcus@FreeBSD.org
Subject:   [PATCH] Fix Simplified Chinese representation of clock on gdm2
Message-ID:  <20041015054452.3A1661311B2@beastie.frontfree.net>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Xin ZHAO
>Organization:	SINA Corporation
>Confidential:	no
>Synopsis:	[PATCH] Fix Simplified Chinese representation of clock on gdm2
>Severity:	serious
>Priority:	low
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 5.3-delphij i386
>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 ---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041015054452.3A1661311B2>