From: Alexey Voinov <voins@voins.program.ru>
To: devel@altlinux.ru
Subject: [devel] rpm & translations
Date: Sat, 5 May 2001 14:22:49 +0400
Message-ID: <20010505142249.A4655@voins.local> (raw)
Когда-то давно говорилось о том, что для указания русских переводов
Summary и %description следует указывать полное название локали и все
будет перекодироваться на лету. Похоже нет этого.
$ echo $LANG $LANGUAGE
ru_RU.KOI8-R ru_RU.KOI8-R
$ rpm -q --qf 'Summary: %{SUMMARY}\nGroup: %{GROUP}\nDescription: %{DESCRIPTION}\n' wmCalClock
Summary: Простенькие, но очень хорошие часы для Window Maker
Group: Графические оболочки/Window Maker
Description: Простенькие, но очень хорошие часы для Window Maker. Используют cглаживание шрифтов и тени.
здесь все нормально.
$ LANG=ru_RU.CP1251 LANGUAGE=ru_RU.CP1251 rpm -q --qf 'Summary: %{SUMMARY}\nGroup: %{GROUP}\nDescription: %{DESCRIPTION}\n' wmCalClock
Summary: Простенькие, но очень хорошие часы для Window Maker
Group: цПЮТХВЕЯЙХЕ НАНКНВЙХ/Window Maker
Description: Простенькие, но очень хорошие часы для Window Maker. Используют cглаживание шрифтов и тени.
а вот здесь уже видно, что название группы перекодировалось, а вот Summary
и Description - нет.
$ rpm -q rpm
rpm-3.0.6-ipl24mdk
В wmCalClock.spec написано так:
Summary(ru_RU.KOI8-R): Простенькие, но очень хорошие часы для Window Maker
%description -l ru_RU.KOI8-R
Простенькие, но очень хорошие часы для Window Maker. Используют cглаживание
шрифтов и тени.
Может это у меня глюки?
--
Best Regards!
Alexey Voinov
voins@voins.program.ru
voins@online.ru
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel
reply other threads:[~2001-05-05 10:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010505142249.A4655@voins.local \
--to=voins@voins.program.ru \
--cc=devel@altlinux.ru \
--cc=devel@linux.iplabs.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git