Re: [pgAdmin III] #4: i18n enhancements
От | pgAdmin Trac |
---|---|
Тема | Re: [pgAdmin III] #4: i18n enhancements |
Дата | |
Msg-id | 054.d827efe966a174f05272209d933b0f85@code.pgadmin.org обсуждение исходный текст |
Ответ на | [pgAdmin III] #4: i18n enhancements ("pgAdmin Trac" <trac@code.pgadmin.org>) |
Список | pgadmin-hackers |
#4: i18n enhancements ---------------------+------------------------------------------------------ Reporter: gleu | Owner: gleu Type: feature | Status: assigned Priority: minor | Milestone: 1.12 Component: pgadmin | Version: trunk Keywords: | Platform: ---------------------+------------------------------------------------------ Comment(by dpage): Attached patch from Marek Černocký: I write patch for plural forms of translated texts. It solves second problem from report by Heikki: http://archives.postgresql.org/pgadmin-hackers/2009-05/msg00017.php It use "wxPLURAL" instead "_". I also change "stringextract" script to know this. Following steps required when patche is aplied: - regenerate POT template - merge it with PO files PO files must have set Plural-Forms correctly, e.g. for czech it si: "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2; \n" You can find it in gettext documentation (section 10.2.5) or create new PO file from POT by msginit with appropriate param -l. Marek http://archives.postgresql.org/message-id/1244646913.20153.60.camel@zabiny -- Ticket URL: <http://code.pgadmin.org/trac/ticket/4#comment:2> pgAdmin III <http://code.pgadmin.org/trac/> pgAdmin III
В списке pgadmin-hackers по дате отправления: