Обсуждение: [pgAdmin III] #4: i18n enhancements

Поиск
Список
Период
Сортировка

[pgAdmin III] #4: i18n enhancements

От
"pgAdmin Trac"
Дата:
#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

Re: [pgAdmin III] #4: i18n enhancements

От
"pgAdmin Trac"
Дата:
#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

Re: [pgAdmin III] #4: i18n enhancements

От
"pgAdmin Trac"
Дата:
#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

Re: [pgAdmin III] #4: i18n enhancements

От
"pgAdmin Trac"
Дата:
#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

Re: [pgAdmin III] #4: i18n enhancements

От
"pgAdmin Trac"
Дата:
#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

Re: [pgAdmin III] #4: i18n enhancements

От
"pgAdmin Trac"
Дата:
#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