рассылка русскоязычной группы пользователей и разработчиков KDE
 help / color / mirror / Atom feed
* [kde-russian] Переводы множественных форм
@ 2004-02-12 15:25 Leonid Kanter
  2004-02-15 15:58 ` Gregory Mokhin
  0 siblings, 1 reply; 2+ messages in thread
From: Leonid Kanter @ 2004-02-12 15:25 UTC (permalink / raw)
  To: KDE russian translation mailing list

В переводах множественных форм _категорически нельзя_ пропускать аргумент для 
первой формы, как это сделано вот здесь:

Вы действительно хотите послать сигнал %1 выбранному процессу?\n
Вы действительно хотите послать сигнал %1 %n выбранным процессам?\n
Вы действительно хотите послать сигнал %1 %n выбранным процессам?

Причина: аргументом может быть не 1, а 21, и что тогда получится???

Именно это место я исправил, но сколько там еще таких - неизвестно :(

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [kde-russian] Переводы множественных форм
  2004-02-12 15:25 [kde-russian] Переводы множественных форм Leonid Kanter
@ 2004-02-15 15:58 ` Gregory Mokhin
  0 siblings, 0 replies; 2+ messages in thread
From: Gregory Mokhin @ 2004-02-15 15:58 UTC (permalink / raw)
  To: KDE russian translation mailing list

Я тоже много таких мест исправлял :( Может, кто напишет скрипт и
проверит все файлы на предмет этой ошибки? Есть уже готовый скрипт, но
я его пока в деле не проверял - см. ниже.

Григорий

=====
I've just released a new version of gettext-lint tools.
http://mega.ist.utl.pt/~pmmm/gettext-lint/

I've fixed the python2 vs. python issue and, added a new tool, 
POFileConsistencyShell, an interactive way of fixing your inconsistencies.
I just found too many inconsistencies on the my translations to fix them all 
by hand :-)

Sample output from the tool (user input is in []):

*** msgid:
Replace Text

*** msgstr 1 in kdelibs.po :
Substituir Texto
*** msgstr 2 in katepart.po :
Substituir o Texto

1 - 2 to fix consistency, 0 to input text, other to continue: [2]
+++ Fix consistency in kdelibs.po,1291,Substituir o Texto

I this example, I just typed 2 and the message in kdelibs.po was
replaced by the one the katepart.po. This works with multiple files.
You can also insert a completely new translation that will be replaced
in all entries.

Back up your files before you use it, diff them before you decide they
are ok, report any problems.

Hope you find it useful!



L> В переводах множественных форм _категорически нельзя_ пропускать аргумент для 
L> первой формы, как это сделано вот здесь:

L> Вы действительно хотите послать сигнал %1 выбранному процессу?\n
L> Вы действительно хотите послать сигнал %1 %n выбранным процессам?\n
L> Вы действительно хотите послать сигнал %1 %n выбранным процессам?

L> Причина: аргументом может быть не 1, а 21, и что тогда получится???

L> Именно это место я исправил, но сколько там еще таких - неизвестно :(





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-15 15:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-12 15:25 [kde-russian] Переводы множественных форм Leonid Kanter
2004-02-15 15:58 ` Gregory Mokhin

рассылка русскоязычной группы пользователей и разработчиков KDE

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/kde-russian/0 kde-russian/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 kde-russian kde-russian/ http://lore.altlinux.org/kde-russian \
		kde-russian@lists.kde.ru
	public-inbox-index kde-russian

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.kde-russian


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git