Patch for plural forms - Mailing list pgadmin-hackers

From Marek Černocký
Subject Patch for plural forms
Date
Msg-id 1244646913.20153.60.camel@zabiny
Whole thread Raw
Responses Re: Patch for plural forms
List pgadmin-hackers
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

Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: pgAgent "new step" fails for batch jobs in pgAdmin3 1.10.0 Beta 2
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r7909 - trunk/pgadmin3/pgadmin/schema