[pgAdmin III] #4: i18n enhancements

Lists: pgadmin-hackers
From: "pgAdmin Trac" <trac(at)code(dot)pgadmin(dot)org>
To:
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: [pgAdmin III] #4: i18n enhancements
Date: 2009-05-04 19:47:43
Message-ID: 045.bf45133cb35d5217ddfc6722e9875673@code.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-hackers

#4: i18n enhancements
---------------------+------------------------------------------------------
Reporter: gleu | Owner: dpage
Type: feature | Status: new
Priority: minor | Milestone: 1.12
Component: pgadmin | Version: trunk
Keywords: | Platform:
---------------------+------------------------------------------------------
From Heikki:

There's still a lot of troublesome constructs like “Cannot drop system
%s”, where %s is replaced with “View”, “Sequence” etc. That doesn't work
for many languages, including Finnish, where the following word needs to
be inflected differently depending on the context.

and:

For messages like ”%d seconds”, ”%d rows”, the plural forms of the
formatting functions/macros should be used, see
http://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms.
Google suggests that wxWidgets has a wxPLURAL macro for plural forms, that
works like the _() macro that's used for normal strings.

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/4>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III


From: "pgAdmin Trac" <trac(at)code(dot)pgadmin(dot)org>
To:
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: [pgAdmin III] #4: i18n enhancements
Date: 2009-05-04 19:47:56
Message-ID: 054.11111ff8b836963f5c3544cc2b162dfa@code.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-hackers

#4: i18n enhancements
---------------------+------------------------------------------------------
Reporter: gleu | Owner: gleu
Type: feature | Status: assigned
Priority: minor | Milestone: 1.12
Component: pgadmin | Version: trunk
Keywords: | Platform:
---------------------+------------------------------------------------------
Changes (by gleu):

* owner: dpage => gleu
* status: new => assigned

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/4#comment:1>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III


From: "pgAdmin Trac" <trac(at)code(dot)pgadmin(dot)org>
To:
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: [pgAdmin III] #4: i18n enhancements
Date: 2009-06-10 15:42:39
Message-ID: 054.d827efe966a174f05272209d933b0f85@code.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: 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


From: "pgAdmin Trac" <trac(at)code(dot)pgadmin(dot)org>
To:
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: [pgAdmin III] #4: i18n enhancements
Date: 2009-08-17 09:17:37
Message-ID: 054.e170aa7c230f63cb04e7791c95497b59@code.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: 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 gleu):

Comments from Marek:
http://archives.postgresql.org/pgadmin-hackers/2009-08/msg00015.php
and
http://archives.postgresql.org/pgadmin-hackers/2009-08/msg00014.php

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/4#comment:3>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III


From: "pgAdmin Trac" <trac(at)code(dot)pgadmin(dot)org>
To:
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: [pgAdmin III] #4: i18n enhancements
Date: 2010-03-21 16:31:11
Message-ID: 054.f9c5bf0b4e0a151da550acf19640dd92@code.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-hackers

#4: i18n enhancements
---------------------+------------------------------------------------------
Reporter: gleu | Owner: gleu
Type: feature | Status: assigned
Priority: minor | Milestone:
Component: pgadmin | Version: trunk
Keywords: | Platform:
---------------------+------------------------------------------------------
Changes (by gleu):

* milestone: 1.12 =>

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/4#comment:4>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III


From: "pgAdmin Trac" <trac(at)code(dot)pgadmin(dot)org>
To:
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: [pgAdmin III] #4: i18n enhancements
Date: 2010-07-24 18:01:06
Message-ID: 054.c581cd363bd86c904b173fd7fa9e6fb4@code.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-hackers

#4: i18n enhancements
----------------------+-----------------------------------------------------
Reporter: gleu | Owner: gleu
Type: feature | Status: closed
Priority: minor | Milestone: 1.14
Component: pgadmin | Version: trunk
Resolution: fixed | Keywords:
Platform: all |
----------------------+-----------------------------------------------------
Changes (by gleu):

* status: assigned => closed
* platform: => all
* resolution: => fixed
* milestone: => 1.14

Comment:

Done in
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commit;h=4b8ae9d82c3b879eb02dda60908ed9590a674ec4

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/4#comment:5>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III