From: "Yuri Chornoivan" <yurchor@ukr.net>
To: "KDE russian translation mailing list" <kde-russian@lists.kde.ru>
Subject: Re: [kde-russian] Lokalize
Date: Thu, 12 Aug 2010 09:19:23 +0300
Message-ID: <op.vhbailkol2zvei@localhost.localdomain> (raw)
In-Reply-To: <454471281582618@web109.yandex.ru>
написане Thu, 12 Aug 2010 06:10:18 +0300, Максим Кучугура <maksvlad@ya.ru>:
> Есть еще вопрос, как изменить в сабже формы множественно числа? в том же
> gtranslate или poedit это задается явно в свойствах проекта...
Примерно так:
Index: src/catalog/gettextheader.cpp
===================================================================
--- src/catalog/gettextheader.cpp (revision 1162117)
+++ src/catalog/gettextheader.cpp (working copy)
@@ -120,7 +120,7 @@
"nplurals=2; plural=(n != 1);",
"nplurals=2; plural=(n > 1);",
"nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 :
2;",
-"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 &&
(n%100<10 || n%100>=20) ? 1 : 2);",
+"nplurals=4; plural=n==1 ? 3 : n%10==1 && n%100!=11 ? 0 : n%10>=2 &&
n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;",
"nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;",
"nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n%100==4 ?
3 : 0);",
"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 &&
(n%100<10 || n%100>=20) ? 1 : 2);",
@@ -128,7 +128,7 @@
"nplurals=2; plural=(n != 1);",
"nplurals=1; plural=0;"
"nplurals=1; plural=0;",
-"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 &&
(n%100<10 || n%100>=20) ? 1 : 2);",
+"nplurals=4; plural=n==1 ? 3 : n%10==1 && n%100!=11 ? 0 : n%10>=2 &&
n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;",
"nplurals=1; plural=0;"
};
cmake + make + su -c "make install"
next prev parent reply other threads:[~2010-08-12 6:19 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-04 6:07 Alexander Wolf
2010-08-04 6:38 ` Yuri Chornoivan
2010-08-04 6:45 ` Alexander Potashev
2010-08-04 6:57 ` Yuri Chornoivan
2010-08-05 2:00 ` Максим Кучугура
2010-08-05 6:52 ` Yuri Chornoivan
2010-08-05 6:57 ` Alexander Potashev
2010-08-05 8:06 ` Alexander Potashev
2010-08-05 15:59 ` Максим Кучугура
2010-08-05 18:32 ` Alexander Potashev
2010-08-10 2:12 ` Максим Кучугура
2010-08-10 8:22 ` Alexander Potashev
2010-08-12 1:07 ` Максим Кучугура
2010-08-12 3:00 ` Максим Кучугура
2010-08-12 3:10 ` Максим Кучугура
2010-08-12 6:19 ` Yuri Chornoivan [this message]
2010-08-05 7:18 ` Yuri Kozlov
2010-08-05 7:52 ` Yuri Chornoivan
2010-08-05 15:08 ` Yuri Kozlov
2010-08-05 15:27 ` Yuri Chornoivan
2010-08-05 17:12 ` Yuri Kozlov
2010-08-05 17:19 ` Yuri Chornoivan
2010-08-05 17:31 ` Yuri Kozlov
2010-08-05 19:14 ` Artem Sereda
2010-08-06 14:39 ` Yuri Kozlov
2010-08-06 15:02 ` Yuri Chornoivan
2010-08-06 16:35 ` Yuri Kozlov
2010-08-05 17:24 ` Artem Sereda
2010-08-05 9:01 ` Artem Sereda
2010-08-05 15:05 ` Yuri Kozlov
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=op.vhbailkol2zvei@localhost.localdomain \
--to=yurchor@ukr.net \
--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