рассылка русскоязычной группы пользователей и разработчиков KDE
 help / color / mirror / Atom feed
From: Gregory Mokhin <mok@kde.ru>
To: KDE russian translation mailing list <kde-russian@lists.kde.ru>
Subject: Re: [kde-russian] Переводы множественных форм
Date: Sun, 15 Feb 2004 18:58:42 +0300
Message-ID: <14710632066.20040215185842@dzogchen.ru> (raw)
In-Reply-To: <200402121725.20276.leon@asplinux.ru>

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

Григорий

=====
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> Именно это место я исправил, но сколько там еще таких - неизвестно :(





      reply	other threads:[~2004-02-15 15:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-12 15:25 Leonid Kanter
2004-02-15 15:58 ` Gregory Mokhin [this message]

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=14710632066.20040215185842@dzogchen.ru \
    --to=mok@kde.ru \
    --cc=kde-russian@lists.kde.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

рассылка русскоязычной группы пользователей и разработчиков 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