Re: [kde-russian] Переводы множественных форм

Gregory Mokhin =?iso-8859-1?q?mok_=CE=C1_kde=2Eru?=
Вс Фев 15 18:58:42 MSK 2004


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

Григорий

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






Подробная информация о списке рассылки kde-russian