[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re[2]: LC NAME ÏÔ ÍÅÒÉËÏ
On 10 Aug 00 at 13:10, osgene@omskelecom.ru wrote:
> > ëÓÔÁÔÉ, "Ï ÐÔÉÞËÁÈ": Á ËÁË ÏÂÓÔÏÉÔ ÄÅÌÏ Ó "ÏÂÙÞÎÏÊ" ÌÏËÁÌÉÚÁÃÉÅÊ
> > ÓÔpÏË ÞÅpÅÚ gettext? ÷ÅÄØ ÐpÁËÔÉÞÅÓËÉ ×ÓÅÇÄÁ × ÐpÏÇpÁÍÍÁÈ ÐÉÛÅÔÓÑ
> > ÞÔÏ-ÔÏ ÔÉÐÁ
> > printf(_("I %slove %s\n"), l? "":_("don't "), _("you"));
> > (ÞÔÏ ÐpÉ l==0 ÄÁÓÔ "I don't love you" ÐÏ-ÁÎÇÌÉÊÓËÉ). îÏ, Ë ÐpÉÍÅpÕ,
> > ÐÏ-ÎÅÍÅÃËÉ ÎÁÄÏ × pÅÚÕÌØÔÁÔÅ ÉÍÅÔØ ÞÔÏ-ÔÏ ÔÉÐÁ "Ich liebe du nicht",
> > Ô.Å. ÐÁpÁÍÅÔpÙ ÄÌÑ printf'Á ÄÏÌÖÎÙ ÂÙ ÐÏÍÅÎÑÔØÓÑ ÍÅÓÔÁÍÉ. îÅ
> > ÓÕÝÅÓÔ×ÕÅÔ ÌÉ ËÁËÏÊ-ÎÉÂÕÄØ ÄpÕÇÏÊ ÁÌØÔÅpÎÁÔÉ×Ù?
>
> printf(gettext("I %s %s you\n"), dont, love);
>
> îÁ ÎÅÍÅÃËÏÍ: "Ich %2$s du %1$s"
á ÎÁÓËÏÌØËÏ ÜÔÏ ÓÔÁÎÄÁpÔÎÏ? ô.Å., ÏÐÉÓÁÎÏ ÌÉ ÜÔÏ × ËÁËÏÍ-ÎÉÂÕÄØ Posix
ÉÌÉ Ansi? ñ ÐÏpÙÓËÁÌ ÐÏ ÏËpÅÓÔÎÏÓÔÑÍ, É: × man'Å ÐÏÄ IRIX 6.5 É OSF/1 4.0
ÜÔÏ ÅÓÔØ, × Solaris 2.5 ÎÅÔÕ, Á × 2.5.1 ÕÖÅ ÅÓÔØ, × OpenBSD 2.6 ÅÓÔØ (man ÚÁ
1993 ÇÏÄ), × BSD/OS 3.1 ÎÅÔÕ, Á × RH 6.0/6.1 ÅÓÔØ ÔÏÌØËÏ × info, × man'Å
ÎÅÔÕ (ÚÁÔÏ × 6.2 ÐÏÑ×ÉÌÏÓØ)...
÷ÏÏÂÝÅ, ×ÅÓØÍÁ ÌÀÂÏÐÙÔÎÏ, ËÁË ÜÔÏ pÅÁÌÉÚÏ×ÁÎÏ -- ×ÅÄØ ÐÁpÁÍÅÔpÙ ËÌÁÄÕÔÓÑ
× ÓÔÅË Ó ÏËpÕÇÌÅÎÉÅÍ ÄÏ pÁÚÍÅpÁ ÓÌÏ×Á, ÎÏ ÎÁ x86 sizeof(double)==8!
___________________________________________________________________
Dmitry Yu. Bolkhovityanov | Novosibirsk, RUSSIA
phone (383-2)-39-49-56 | The Budker Institute of Nuclear Physics
| Lab. 5-13